chrome-devtools-frontend 1.0.952403 → 1.0.953165

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.
Files changed (96) hide show
  1. package/front_end/.eslintrc.js +1 -0
  2. package/front_end/core/host/UserMetrics.ts +515 -481
  3. package/front_end/core/i18n/locales/af.json +158 -176
  4. package/front_end/core/i18n/locales/am.json +163 -181
  5. package/front_end/core/i18n/locales/ar.json +162 -180
  6. package/front_end/core/i18n/locales/as.json +163 -181
  7. package/front_end/core/i18n/locales/az.json +161 -179
  8. package/front_end/core/i18n/locales/be.json +160 -178
  9. package/front_end/core/i18n/locales/bg.json +159 -177
  10. package/front_end/core/i18n/locales/bn.json +166 -184
  11. package/front_end/core/i18n/locales/bs.json +161 -179
  12. package/front_end/core/i18n/locales/ca.json +159 -177
  13. package/front_end/core/i18n/locales/cs.json +159 -177
  14. package/front_end/core/i18n/locales/cy.json +164 -182
  15. package/front_end/core/i18n/locales/da.json +158 -176
  16. package/front_end/core/i18n/locales/de.json +160 -178
  17. package/front_end/core/i18n/locales/el.json +158 -176
  18. package/front_end/core/i18n/locales/en-GB.json +158 -176
  19. package/front_end/core/i18n/locales/es-419.json +160 -178
  20. package/front_end/core/i18n/locales/es.json +156 -174
  21. package/front_end/core/i18n/locales/et.json +161 -179
  22. package/front_end/core/i18n/locales/eu.json +159 -177
  23. package/front_end/core/i18n/locales/fa.json +166 -184
  24. package/front_end/core/i18n/locales/fi.json +161 -179
  25. package/front_end/core/i18n/locales/fil.json +162 -180
  26. package/front_end/core/i18n/locales/fr-CA.json +159 -177
  27. package/front_end/core/i18n/locales/fr.json +158 -176
  28. package/front_end/core/i18n/locales/gl.json +160 -178
  29. package/front_end/core/i18n/locales/gu.json +179 -197
  30. package/front_end/core/i18n/locales/he.json +160 -178
  31. package/front_end/core/i18n/locales/hi.json +166 -184
  32. package/front_end/core/i18n/locales/hr.json +161 -179
  33. package/front_end/core/i18n/locales/hu.json +161 -179
  34. package/front_end/core/i18n/locales/hy.json +157 -175
  35. package/front_end/core/i18n/locales/id.json +160 -178
  36. package/front_end/core/i18n/locales/is.json +163 -181
  37. package/front_end/core/i18n/locales/it.json +162 -180
  38. package/front_end/core/i18n/locales/ja.json +160 -178
  39. package/front_end/core/i18n/locales/ka.json +161 -179
  40. package/front_end/core/i18n/locales/kk.json +164 -182
  41. package/front_end/core/i18n/locales/km.json +160 -178
  42. package/front_end/core/i18n/locales/kn.json +162 -180
  43. package/front_end/core/i18n/locales/ko.json +162 -180
  44. package/front_end/core/i18n/locales/ky.json +160 -178
  45. package/front_end/core/i18n/locales/lo.json +159 -177
  46. package/front_end/core/i18n/locales/lt.json +159 -177
  47. package/front_end/core/i18n/locales/lv.json +162 -180
  48. package/front_end/core/i18n/locales/mk.json +162 -180
  49. package/front_end/core/i18n/locales/ml.json +160 -178
  50. package/front_end/core/i18n/locales/mn.json +164 -182
  51. package/front_end/core/i18n/locales/mr.json +163 -181
  52. package/front_end/core/i18n/locales/ms.json +163 -181
  53. package/front_end/core/i18n/locales/my.json +164 -182
  54. package/front_end/core/i18n/locales/ne.json +160 -178
  55. package/front_end/core/i18n/locales/nl.json +160 -178
  56. package/front_end/core/i18n/locales/no.json +281 -299
  57. package/front_end/core/i18n/locales/or.json +165 -183
  58. package/front_end/core/i18n/locales/pa.json +159 -177
  59. package/front_end/core/i18n/locales/pl.json +163 -181
  60. package/front_end/core/i18n/locales/pt-PT.json +160 -178
  61. package/front_end/core/i18n/locales/pt.json +159 -177
  62. package/front_end/core/i18n/locales/ro.json +161 -179
  63. package/front_end/core/i18n/locales/ru.json +159 -177
  64. package/front_end/core/i18n/locales/si.json +161 -179
  65. package/front_end/core/i18n/locales/sk.json +158 -176
  66. package/front_end/core/i18n/locales/sl.json +160 -178
  67. package/front_end/core/i18n/locales/sq.json +279 -297
  68. package/front_end/core/i18n/locales/sr-Latn.json +160 -178
  69. package/front_end/core/i18n/locales/sr.json +160 -178
  70. package/front_end/core/i18n/locales/sv.json +159 -177
  71. package/front_end/core/i18n/locales/sw.json +164 -182
  72. package/front_end/core/i18n/locales/ta.json +160 -178
  73. package/front_end/core/i18n/locales/te.json +165 -183
  74. package/front_end/core/i18n/locales/th.json +158 -176
  75. package/front_end/core/i18n/locales/tr.json +162 -180
  76. package/front_end/core/i18n/locales/uk.json +160 -178
  77. package/front_end/core/i18n/locales/ur.json +160 -178
  78. package/front_end/core/i18n/locales/uz.json +160 -178
  79. package/front_end/core/i18n/locales/vi.json +162 -180
  80. package/front_end/core/i18n/locales/zh-HK.json +160 -178
  81. package/front_end/core/i18n/locales/zh-TW.json +161 -179
  82. package/front_end/core/i18n/locales/zh.json +162 -180
  83. package/front_end/core/i18n/locales/zu.json +164 -182
  84. package/front_end/core/sdk/ChildTargetManager.ts +1 -0
  85. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +188 -185
  86. package/front_end/third_party/lighthouse/locales/en-US.json +1 -1
  87. package/front_end/third_party/lighthouse/locales/en-XL.json +1 -1
  88. package/front_end/third_party/lighthouse/report/bundle.js +3 -3
  89. package/front_end/third_party/lighthouse/report-assets/report-generator.js +1 -1
  90. package/front_end/ui/components/docs/component_docs.ts +4 -4
  91. package/front_end/ui/components/docs/component_docs_styles.css +51 -0
  92. package/package.json +1 -1
  93. package/scripts/check_experiments.js +3 -6
  94. package/scripts/component_server/server.js +4 -12
  95. package/scripts/eslint_rules/lib/check_enumerated_histograms.js +32 -0
  96. package/scripts/eslint_rules/tests/check_enumerated_histograms_test.js +32 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Lighthouse v9.1.0 8100b8034507e679c95b2fab5ab48965875443b6 (Nov 29 2021)
2
+ * Lighthouse v9.2.0 7bda3f32acb25bdc7dd3f305d47c6190ad444001 (Dec 16 2021)
3
3
  *
4
4
  * Automated auditing, performance metrics, and best practices for the web.
5
5
  *
@@ -74,8 +74,8 @@ for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prot
74
74
  ;return n.variableId=r,n}return __extends(FormatError,e),FormatError}(Error);function createDefaultFormatters(){return{getNumberFormat:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,[void 0].concat(t)))},getDateTimeFormat:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,[void 0].concat(t)))},getPluralRules:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,[void 0].concat(t)))}}}var IntlMessageFormat=function(){function IntlMessageFormat(e,t,r,n){var a=this;if(void 0===t&&(t=IntlMessageFormat.defaultLocale),this.format=function(e){try{return formatPatterns(a.pattern,e)}catch(e){throw e.variableId?new Error("The intl string context variable '"+e.variableId+"' was not provided to the string '"+a.message+"'"):e}},"string"==typeof e){
75
75
  if(!IntlMessageFormat.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=IntlMessageFormat.__parse(e)}else this.ast=e;if(this.message=e,!this.ast||"messageFormatPattern"!==this.ast.type)throw new TypeError("A message must be provided as a String or AST.");var i=mergeConfigs(IntlMessageFormat.formats,r);this.locale=resolveLocale(t||[]);var o=n&&n.formatters||createDefaultFormatters();this.pattern=new Compiler(t,i,o).compile(this.ast)}return IntlMessageFormat.prototype.resolvedOptions=function(){return{locale:this.locale}},IntlMessageFormat.prototype.getAst=function(){return this.ast},IntlMessageFormat.defaultLocale="en",IntlMessageFormat.__parse=void 0,IntlMessageFormat.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",
76
76
  month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},IntlMessageFormat}();IntlMessageFormat.__parse=parser$1.parse;var lib$1=Object.freeze({__proto__:null,default:IntlMessageFormat,createDefaultFormatters,IntlMessageFormat}),require$$1$2=getAugmentedNamespace(lib$1);function isObjectOfUnknownValues$1(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function isObjectOrArrayOfUnknownValues$1(e){return"object"==typeof e&&null!==e}var typeVerifiers={isObjectOfUnknownValues:isObjectOfUnknownValues$1,isObjectOrArrayOfUnknownValues:isObjectOrArrayOfUnknownValues$1},_rollupPluginShim1={},_rollupPluginShim1$1=Object.freeze({__proto__:null,default:_rollupPluginShim1}),require$$3$2=getAugmentedNamespace(_rollupPluginShim1$1)
77
- ;const MessageFormat=require$$1$2,{isObjectOfUnknownValues,isObjectOrArrayOfUnknownValues}=typeVerifiers,LOCALE_MESSAGES=require$$3$2.default||require$$3$2,DEFAULT_LOCALE$1="en-US",CANONICAL_LOCALES=["ar-XB.json","ar.json","bg.json","ca.json","cs.json","da.json","de.json","el.json","en-GB.json","en-US.ctc.json","en-US.json","en-XA.json","en-XL.ctc.json","en-XL.json","es-419.json","es.json","fi.json","fil.json","fr.json","he.json","hi.json","hr.json","hu.json","id.json","it.json","ja.json","ko.json","lt.json","lv.json","nl.json","no.json","pl.json","pt-PT.json","pt.json","ro.json","ru.json","sk.json","sl.json","sr-Latn.json","sr.json","sv.json","ta.json","te.json","th.json","tr.json","uk.json","vi.json","zh-HK.json","zh-TW.json","zh.json"].filter((e=>e.endsWith(".json")&&!e.endsWith(".ctc.json"))).map((e=>e.replace(".json",""))).sort(),MESSAGE_I18N_ID_REGEX=/ | [^\s]+$/,formats={number:{bytes:{maximumFractionDigits:0},milliseconds:{maximumFractionDigits:0},seconds:{
78
- minimumFractionDigits:1,maximumFractionDigits:1},extendedPercent:{maximumFractionDigits:2,style:"percent"}}};function collectAllCustomElementsFromICU(e,t=new Map){for(const r of e)if("argumentElement"===r.type&&(t.set(r.id,r),r.format&&"pluralFormat"===r.format.type))for(const e of r.format.options)collectAllCustomElementsFromICU(e.value.elements,t);return t}function _preformatValues(e,t,r){const n=[...collectAllCustomElementsFromICU(e.getAst().elements).values()],a={};for(const{id:e,format:i}of n){if(e&&e in t==!1)throw new Error(`ICU Message "${r}" contains a value reference ("${e}") that wasn't provided`);const n=t[e];if(i&&"numberFormat"===i.type){if("number"!=typeof n)throw new Error(`ICU Message "${r}" contains a numeric reference ("${e}") but provided value was not a number`);"milliseconds"===i.style?a[e]=10*Math.round(n/10):"seconds"===i.style&&"timeInMs"===e?a[e]=Math.round(n/100)/10:"bytes"===i.style?a[e]=n/1024:a[e]=n}else a[e]=n}for(const e of Object.keys(t))if(!(e in a)){
77
+ ;const MessageFormat=require$$1$2,{isObjectOfUnknownValues,isObjectOrArrayOfUnknownValues}=typeVerifiers,LOCALE_MESSAGES=require$$3$2.default||require$$3$2,DEFAULT_LOCALE$1="en-US",CANONICAL_LOCALES=["ar-XB.json","ar.json","bg.json","ca.json","cs.json","da.json","de.json","el.json","en-GB.json","en-US.json","en-XA.json","en-XL.json","es-419.json","es.json","fi.json","fil.json","fr.json","he.json","hi.json","hr.json","hu.json","id.json","it.json","ja.json","ko.json","lt.json","lv.json","nl.json","no.json","pl.json","pt-PT.json","pt.json","ro.json","ru.json","sk.json","sl.json","sr-Latn.json","sr.json","sv.json","ta.json","te.json","th.json","tr.json","uk.json","vi.json","zh-HK.json","zh-TW.json","zh.json"].filter((e=>e.endsWith(".json")&&!e.endsWith(".ctc.json"))).map((e=>e.replace(".json",""))).sort(),MESSAGE_I18N_ID_REGEX=/ | [^\s]+$/,formats={number:{bytes:{maximumFractionDigits:0},milliseconds:{maximumFractionDigits:0},seconds:{minimumFractionDigits:1,maximumFractionDigits:1},
78
+ extendedPercent:{maximumFractionDigits:2,style:"percent"}}};function collectAllCustomElementsFromICU(e,t=new Map){for(const r of e)if("argumentElement"===r.type&&(t.set(r.id,r),r.format&&"pluralFormat"===r.format.type))for(const e of r.format.options)collectAllCustomElementsFromICU(e.value.elements,t);return t}function _preformatValues(e,t,r){const n=[...collectAllCustomElementsFromICU(e.getAst().elements).values()],a={};for(const{id:e,format:i}of n){if(e&&e in t==!1)throw new Error(`ICU Message "${r}" contains a value reference ("${e}") that wasn't provided`);const n=t[e];if(i&&"numberFormat"===i.type){if("number"!=typeof n)throw new Error(`ICU Message "${r}" contains a numeric reference ("${e}") but provided value was not a number`);"milliseconds"===i.style?a[e]=10*Math.round(n/10):"seconds"===i.style&&"timeInMs"===e?a[e]=Math.round(n/100)/10:"bytes"===i.style?a[e]=n/1024:a[e]=n}else a[e]=n}for(const e of Object.keys(t))if(!(e in a)){
79
79
  if("errorCode"!==e)throw new Error(`Provided value "${e}" does not match any placeholder in ICU message "${r}"`);a.errorCode=t.errorCode}return a}function formatMessage$1(e,t={},r){const n="en-XA"===r||"en-XL"===r?"de-DE":r,a=new(MessageFormat.IntlMessageFormat||MessageFormat)(e,n,formats),i=_preformatValues(a,t,e);return a.format(i)}function _localizeIcuMessage(e,t){const r=_getLocaleMessages(t)[e.i18nId];return r?formatMessage$1(r.message,e.values,t):e.formattedDefault}function getRendererFormattedStrings(e){const t=_getLocaleMessages(e),r=Object.keys(t).filter((e=>e.startsWith("report/"))),n={};for(const e of r){const{filename:r,key:a}=getIcuMessageIdParts(e);if(!r.endsWith("util.js"))throw new Error(`Unexpected message: ${e}`);n[a]=t[e].message}return n}function isIcuMessage$2(e){if(!isObjectOfUnknownValues(e))return!1;const{i18nId:t,values:r,formattedDefault:n}=e;if("string"!=typeof t)return!1;if("string"!=typeof n)return!1;if(void 0!==r){if(!isObjectOfUnknownValues(r))return!1
80
80
  ;for(const e of Object.values(r))if("string"!=typeof e&&"number"!=typeof e)return!1}return MESSAGE_I18N_ID_REGEX.test(t)}function getFormatted(e,t){if(isIcuMessage$2(e))return _localizeIcuMessage(e,t);if("string"==typeof e)return e;throw new Error("Attempted to format invalid icuMessage type")}function _formatPathAsString(e){let t="";for(const r of e)if(/^[a-z]+$/i.test(r))t.length&&(t+="."),t+=r;else{if(/]|"|'|\s/.test(r))throw new Error(`Cannot handle "${r}" in i18n`);t+=`[${r}]`}return t}function replaceIcuMessages(e,t){const r={};return function replaceInObject(e,r,n=[]){if(isObjectOrArrayOfUnknownValues(e))for(const[a,i]of Object.entries(e)){const o=n.concat([a]);if(isIcuMessage$2(i)){const n=getFormatted(i,t),l=r[i.i18nId]||[],c=_formatPathAsString(o);l.push(i.values?{values:i.values,path:c}:c),e[a]=n,r[i.i18nId]=l}else replaceInObject(i,r,o)}}(e,r),r}function _getLocaleMessages(e){const t=LOCALE_MESSAGES[e];if(!t){if(e===DEFAULT_LOCALE$1)return{}
81
81
  ;throw new Error(`Unsupported locale '${e}'`)}return t}function hasLocale(e){if(e===DEFAULT_LOCALE$1)return!0;const t=Intl.NumberFormat.supportedLocalesOf([e]).length>0,r=Boolean(LOCALE_MESSAGES[e]);return t&&r}function getCanonicalLocales$1(){return CANONICAL_LOCALES}function getAvailableLocales$1(){return[...new Set([...Object.keys(LOCALE_MESSAGES),DEFAULT_LOCALE$1])].sort()}function registerLocaleData$1(e,t){LOCALE_MESSAGES[e]=t}function getIcuMessageIdParts(e){if(!MESSAGE_I18N_ID_REGEX.test(e))throw Error(`"${e}" does not appear to be a valid ICU message id`);const[t,r]=e.split(" | ");return{filename:t,key:r}}var format_1={DEFAULT_LOCALE:DEFAULT_LOCALE$1,_formatPathAsString,collectAllCustomElementsFromICU,isIcuMessage:isIcuMessage$2,getFormatted,getRendererFormattedStrings,replaceIcuMessages,hasLocale,registerLocaleData:registerLocaleData$1,formatMessage:formatMessage$1,getIcuMessageIdParts,getAvailableLocales:getAvailableLocales$1,getCanonicalLocales:getCanonicalLocales$1}
@@ -107,15 +107,15 @@ content:null}),await this.session.sendCommand("Fetch.failRequest",{requestId:r,e
107
107
  args:[e],useIsolation:!0}),[l]=await Promise.all([i,o]);return await this.session.sendCommand("Target.setAutoAttach",{flatten:!0,autoAttach:!0,waitForDebuggerOnStart:!0}),l}}var fetcher=Fetcher$1;const pageFunctions$f=pageFunctions$h;class ExecutionContext$2{constructor(e){this._session=e,this._executionContextId=void 0,e.on("Page.frameNavigated",(()=>this.clearContextId())),e.on("Runtime.executionContextDestroyed",(e=>{e.executionContextId===this._executionContextId&&this.clearContextId()}))}getContextId(){return this._executionContextId}clearContextId(){this._executionContextId=void 0}async _getOrCreateIsolatedContextId(){if("number"==typeof this._executionContextId)return this._executionContextId;await this._session.sendCommand("Page.enable"),await this._session.sendCommand("Runtime.enable");const e=(await this._session.sendCommand("Page.getResourceTree")).frameTree.frame.id,t=await this._session.sendCommand("Page.createIsolatedWorld",{frameId:e,
108
108
  worldName:"lighthouse_isolated_context"});return this._executionContextId=t.executionContextId,t.executionContextId}async _evaluateInContext(e,t){const r=this._session.hasNextProtocolTimeout()?this._session.getNextProtocolTimeout():6e4,n={expression:`(function wrapInNativePromise() {\n ${ExecutionContext$2._cachedNativesPreamble};\n globalThis.__lighthouseExecutionContextId = ${t};\n return new Promise(function (resolve) {\n return Promise.resolve()\n .then(_ => ${e})\n .catch(${pageFunctions$f.wrapRuntimeEvalErrorInBrowserString})\n .then(resolve);\n });\n }())`,includeCommandLineAPI:!0,awaitPromise:!0,returnByValue:!0,timeout:r,contextId:t};this._session.setNextProtocolTimeout(r);const a=await this._session.sendCommand("Runtime.evaluate",n);if(a.exceptionDetails){const e=a.exceptionDetails.exception?a.exceptionDetails.exception.description:a.exceptionDetails.text
109
109
  ;return Promise.reject(new Error(`Evaluation exception: ${e}`))}if(void 0===a.result)return Promise.reject(new Error('Runtime.evaluate response did not contain a "result" object'));const i=a.result.value;return i&&i.__failedInBrowser?Promise.reject(Object.assign(new Error,i)):i}async evaluateAsync(e,t={}){const r=t.useIsolation?await this._getOrCreateIsolatedContextId():void 0;try{return await this._evaluateInContext(e,r)}catch(t){if(r&&t.message.includes("Cannot find context")){this.clearContextId();const t=await this._getOrCreateIsolatedContextId();return this._evaluateInContext(e,t)}throw t}}evaluate(e,t){const r=ExecutionContext$2.serializeArguments(t.args),n=`(() => {\n ${t.deps?t.deps.join("\n"):""}\n return (${e})(${r});\n })()`;return this.evaluateAsync(n,t)}async evaluateOnNewDocument(e,t){
110
- const r=ExecutionContext$2.serializeArguments(t.args),n=t.deps?t.deps.join("\n"):"",a=`(() => {\n ${ExecutionContext$2._cachedNativesPreamble};\n ${n};\n (${e})(${r});\n })()`;await this._session.sendCommand("Page.addScriptToEvaluateOnNewDocument",{source:a})}async cacheNativesOnNewDocument(){await this.evaluateOnNewDocument((()=>{window.__nativePromise=window.Promise,window.__nativeURL=window.URL,window.__nativePerformance=window.performance,window.__ElementMatches=window.Element.prototype.matches;const e=window.performance,t=window.performance.now;Object.defineProperty(e,"now",{value:()=>t.call(e),writable:!1})}),{args:[]})}static _cachedNativesPreamble=["const Promise = globalThis.__nativePromise || globalThis.Promise","const URL = globalThis.__nativeURL || globalThis.URL","const performance = globalThis.__nativePerformance || globalThis.performance"].join(";\n");static serializeArguments(e){return e.map((e=>void 0===e?"undefined":JSON.stringify(e))).join(",")}}
111
- var executionContext=ExecutionContext$2,lhError={exports:{}};const i18n$2F=i18n$2H,UIStrings$2J={didntCollectScreenshots:"Chrome didn't collect any screenshots during the page load. Please make sure there is content visible on the page, and then try re-running Lighthouse. ({errorCode})",badTraceRecording:"Something went wrong with recording the trace over your page load. Please run Lighthouse again. ({errorCode})",noFcp:"The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. ({errorCode})",pageLoadTookTooLong:"Your page took too long to load. Please follow the opportunities in the report to reduce your page load time, and then try re-running Lighthouse. ({errorCode})",pageLoadFailed:"Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests.",
112
- pageLoadFailedWithStatusCode:"Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: {statusCode})",pageLoadFailedWithDetails:"Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: {errorDetails})",pageLoadFailedInsecure:"The URL you have provided does not have a valid security certificate. {securityMessages}",pageLoadFailedInterstitial:"Chrome prevented page load with an interstitial. Make sure you are testing the correct URL and that the server is properly responding to all requests.",internalChromeError:"An internal Chrome error occurred. Please restart Chrome and try re-running Lighthouse.",requestContentTimeout:"Fetching resource content has exceeded the allotted time",
113
- notHtml:"The page provided is not HTML (served as MIME type {mimeType}).",urlInvalid:"The URL you have provided appears to be invalid.",protocolTimeout:"Waiting for DevTools protocol response has exceeded the allotted time. (Method: {protocolMethod})",dnsFailure:"DNS servers could not resolve the provided domain.",pageLoadFailedHung:"Lighthouse was unable to reliably load the URL you requested because the page stopped responding.",criTimeout:"Timeout waiting for initial Debugger Protocol connection.",missingRequiredArtifact:"Required {artifactName} gatherer did not run.",erroredRequiredArtifact:"Required {artifactName} gatherer encountered an error: {errorMessage}",oldChromeDoesNotSupportFeature:"This version of Chrome is too old to support '{featureName}'. Use a newer version to see full results."},str_$2B=i18n$2F.createMessageInstanceIdFn("lighthouse-core/lib/lh-error.js",UIStrings$2J),LHERROR_SENTINEL="__LighthouseErrorSentinel",ERROR_SENTINEL="__ErrorSentinel"
114
- ;class LighthouseError$1 extends Error{constructor(e,t){super(e.code),this.name="LHError",this.code=e.code,this.friendlyMessage=str_$2B(e.message,{errorCode:this.code,...t}),this.lhrRuntimeError=!!e.lhrRuntimeError,t&&Object.assign(this,t),Error.captureStackTrace(this,LighthouseError$1)}static fromProtocolMessage(e,t){const r=Object.values(LighthouseError$1.errors).filter((e=>e.pattern)).find((e=>e.pattern&&e.pattern.test(t.message)));if(r)return new LighthouseError$1(r);let n=`(${e}): ${t.message}`;t.data&&(n+=` (${t.data})`);const a=new Error(`Protocol error ${n}`);return Object.assign(a,{protocolMethod:e,protocolError:t.message})}static stringifyReplacer(e){if(e instanceof LighthouseError$1){const{name:t,code:r,message:n,friendlyMessage:a,lhrRuntimeError:i,stack:o,...l}=e;return{sentinel:LHERROR_SENTINEL,code:r,stack:o,...l}}if(e instanceof Error){const{message:t,stack:r}=e,n=e.code;return{sentinel:ERROR_SENTINEL,message:t,code:n,stack:r}}
115
- throw new Error("Invalid value for LHError stringification")}static parseReviver(e,t){if("object"==typeof t&&null!==t){if(t.sentinel===LHERROR_SENTINEL){const{sentinel:e,code:r,stack:n,...a}=t,i=LighthouseError$1.errors[r],o=new LighthouseError$1(i,a);return o.stack=n,o}if(t.sentinel===ERROR_SENTINEL){const{message:e,code:r,stack:n}=t,a=new Error(e);return Object.assign(a,{code:r,stack:n}),a}}return t}}const ERRORS={NO_SPEEDLINE_FRAMES:{code:"NO_SPEEDLINE_FRAMES",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},SPEEDINDEX_OF_ZERO:{code:"SPEEDINDEX_OF_ZERO",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},NO_SCREENSHOTS:{code:"NO_SCREENSHOTS",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},INVALID_SPEEDLINE:{code:"INVALID_SPEEDLINE",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},NO_TRACING_STARTED:{code:"NO_TRACING_STARTED",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_RESOURCE_REQUEST:{
116
- code:"NO_RESOURCE_REQUEST",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_NAVSTART:{code:"NO_NAVSTART",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_FCP:{code:"NO_FCP",message:UIStrings$2J.noFcp,lhrRuntimeError:!0},NO_DCL:{code:"NO_DCL",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_FMP:{code:"NO_FMP",message:UIStrings$2J.badTraceRecording},NO_LCP:{code:"NO_LCP",message:UIStrings$2J.badTraceRecording},NO_LCP_ALL_FRAMES:{code:"NO_LCP_ALL_FRAMES",message:UIStrings$2J.badTraceRecording},UNSUPPORTED_OLD_CHROME:{code:"UNSUPPORTED_OLD_CHROME",message:UIStrings$2J.oldChromeDoesNotSupportFeature},NO_TTI_CPU_IDLE_PERIOD:{code:"NO_TTI_CPU_IDLE_PERIOD",message:UIStrings$2J.pageLoadTookTooLong},NO_TTI_NETWORK_IDLE_PERIOD:{code:"NO_TTI_NETWORK_IDLE_PERIOD",message:UIStrings$2J.pageLoadTookTooLong},NO_DOCUMENT_REQUEST:{code:"NO_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailed,lhrRuntimeError:!0},FAILED_DOCUMENT_REQUEST:{
117
- code:"FAILED_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailedWithDetails,lhrRuntimeError:!0},ERRORED_DOCUMENT_REQUEST:{code:"ERRORED_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailedWithStatusCode,lhrRuntimeError:!0},INSECURE_DOCUMENT_REQUEST:{code:"INSECURE_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailedInsecure,lhrRuntimeError:!0},CHROME_INTERSTITIAL_ERROR:{code:"CHROME_INTERSTITIAL_ERROR",message:UIStrings$2J.pageLoadFailedInterstitial,lhrRuntimeError:!0},PAGE_HUNG:{code:"PAGE_HUNG",message:UIStrings$2J.pageLoadFailedHung,lhrRuntimeError:!0},NOT_HTML:{code:"NOT_HTML",message:UIStrings$2J.notHtml,lhrRuntimeError:!0},TRACING_ALREADY_STARTED:{code:"TRACING_ALREADY_STARTED",message:UIStrings$2J.internalChromeError,pattern:/Tracing.*started/,lhrRuntimeError:!0},PARSING_PROBLEM:{code:"PARSING_PROBLEM",message:UIStrings$2J.internalChromeError,pattern:/Parsing problem/,lhrRuntimeError:!0},READ_FAILED:{code:"READ_FAILED",message:UIStrings$2J.internalChromeError,
118
- pattern:/Read failed/,lhrRuntimeError:!0},INVALID_URL:{code:"INVALID_URL",message:UIStrings$2J.urlInvalid},PROTOCOL_TIMEOUT:{code:"PROTOCOL_TIMEOUT",message:UIStrings$2J.protocolTimeout,lhrRuntimeError:!0},DNS_FAILURE:{code:"DNS_FAILURE",message:UIStrings$2J.dnsFailure,lhrRuntimeError:!0},CRI_TIMEOUT:{code:"CRI_TIMEOUT",message:UIStrings$2J.criTimeout,lhrRuntimeError:!0},MISSING_REQUIRED_ARTIFACT:{code:"MISSING_REQUIRED_ARTIFACT",message:UIStrings$2J.missingRequiredArtifact},ERRORED_REQUIRED_ARTIFACT:{code:"ERRORED_REQUIRED_ARTIFACT",message:UIStrings$2J.erroredRequiredArtifact}};LighthouseError$1.errors=ERRORS,LighthouseError$1.NO_ERROR="NO_ERROR",LighthouseError$1.UNKNOWN_ERROR="UNKNOWN_ERROR",lhError.exports=LighthouseError$1,lhError.exports.UIStrings=UIStrings$2J
110
+ const r=ExecutionContext$2.serializeArguments(t.args),n=t.deps?t.deps.join("\n"):"",a=`(() => {\n ${ExecutionContext$2._cachedNativesPreamble};\n ${n};\n (${e})(${r});\n })()`;await this._session.sendCommand("Page.addScriptToEvaluateOnNewDocument",{source:a})}async cacheNativesOnNewDocument(){await this.evaluateOnNewDocument((()=>{window.__nativePromise=window.Promise,window.__nativeURL=window.URL,window.__nativePerformance=window.performance,window.__nativeFetch=window.fetch,window.__ElementMatches=window.Element.prototype.matches;const e=window.performance,t=window.performance.now;Object.defineProperty(e,"now",{value:()=>t.call(e),writable:!1})}),{args:[]})}static _cachedNativesPreamble=["const Promise = globalThis.__nativePromise || globalThis.Promise","const URL = globalThis.__nativeURL || globalThis.URL","const performance = globalThis.__nativePerformance || globalThis.performance","const fetch = globalThis.__nativeFetch || globalThis.fetch"].join(";\n")
111
+ ;static serializeArguments(e){return e.map((e=>void 0===e?"undefined":JSON.stringify(e))).join(",")}}var executionContext=ExecutionContext$2,lhError={exports:{}};const i18n$2F=i18n$2H,UIStrings$2J={didntCollectScreenshots:"Chrome didn't collect any screenshots during the page load. Please make sure there is content visible on the page, and then try re-running Lighthouse. ({errorCode})",badTraceRecording:"Something went wrong with recording the trace over your page load. Please run Lighthouse again. ({errorCode})",noFcp:"The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. ({errorCode})",pageLoadTookTooLong:"Your page took too long to load. Please follow the opportunities in the report to reduce your page load time, and then try re-running Lighthouse. ({errorCode})",
112
+ pageLoadFailed:"Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests.",pageLoadFailedWithStatusCode:"Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: {statusCode})",pageLoadFailedWithDetails:"Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: {errorDetails})",pageLoadFailedInsecure:"The URL you have provided does not have a valid security certificate. {securityMessages}",pageLoadFailedInterstitial:"Chrome prevented page load with an interstitial. Make sure you are testing the correct URL and that the server is properly responding to all requests.",
113
+ internalChromeError:"An internal Chrome error occurred. Please restart Chrome and try re-running Lighthouse.",requestContentTimeout:"Fetching resource content has exceeded the allotted time",notHtml:"The page provided is not HTML (served as MIME type {mimeType}).",urlInvalid:"The URL you have provided appears to be invalid.",protocolTimeout:"Waiting for DevTools protocol response has exceeded the allotted time. (Method: {protocolMethod})",dnsFailure:"DNS servers could not resolve the provided domain.",pageLoadFailedHung:"Lighthouse was unable to reliably load the URL you requested because the page stopped responding.",criTimeout:"Timeout waiting for initial Debugger Protocol connection.",missingRequiredArtifact:"Required {artifactName} gatherer did not run.",erroredRequiredArtifact:"Required {artifactName} gatherer encountered an error: {errorMessage}",oldChromeDoesNotSupportFeature:"This version of Chrome is too old to support '{featureName}'. Use a newer version to see full results."
114
+ },str_$2B=i18n$2F.createMessageInstanceIdFn("lighthouse-core/lib/lh-error.js",UIStrings$2J),LHERROR_SENTINEL="__LighthouseErrorSentinel",ERROR_SENTINEL="__ErrorSentinel";class LighthouseError$1 extends Error{constructor(e,t){super(e.code),this.name="LHError",this.code=e.code,this.friendlyMessage=str_$2B(e.message,{errorCode:this.code,...t}),this.lhrRuntimeError=!!e.lhrRuntimeError,t&&Object.assign(this,t),Error.captureStackTrace(this,LighthouseError$1)}static fromProtocolMessage(e,t){const r=Object.values(LighthouseError$1.errors).filter((e=>e.pattern)).find((e=>e.pattern&&e.pattern.test(t.message)));if(r)return new LighthouseError$1(r);let n=`(${e}): ${t.message}`;t.data&&(n+=` (${t.data})`);const a=new Error(`Protocol error ${n}`);return Object.assign(a,{protocolMethod:e,protocolError:t.message})}static stringifyReplacer(e){if(e instanceof LighthouseError$1){const{name:t,code:r,message:n,friendlyMessage:a,lhrRuntimeError:i,stack:o,...l}=e;return{sentinel:LHERROR_SENTINEL,code:r,
115
+ stack:o,...l}}if(e instanceof Error){const{message:t,stack:r}=e,n=e.code;return{sentinel:ERROR_SENTINEL,message:t,code:n,stack:r}}throw new Error("Invalid value for LHError stringification")}static parseReviver(e,t){if("object"==typeof t&&null!==t){if(t.sentinel===LHERROR_SENTINEL){const{sentinel:e,code:r,stack:n,...a}=t,i=LighthouseError$1.errors[r],o=new LighthouseError$1(i,a);return o.stack=n,o}if(t.sentinel===ERROR_SENTINEL){const{message:e,code:r,stack:n}=t,a=new Error(e);return Object.assign(a,{code:r,stack:n}),a}}return t}}const ERRORS={NO_SPEEDLINE_FRAMES:{code:"NO_SPEEDLINE_FRAMES",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},SPEEDINDEX_OF_ZERO:{code:"SPEEDINDEX_OF_ZERO",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},NO_SCREENSHOTS:{code:"NO_SCREENSHOTS",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},INVALID_SPEEDLINE:{code:"INVALID_SPEEDLINE",message:UIStrings$2J.didntCollectScreenshots,lhrRuntimeError:!0},
116
+ NO_TRACING_STARTED:{code:"NO_TRACING_STARTED",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_RESOURCE_REQUEST:{code:"NO_RESOURCE_REQUEST",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_NAVSTART:{code:"NO_NAVSTART",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_FCP:{code:"NO_FCP",message:UIStrings$2J.noFcp,lhrRuntimeError:!0},NO_DCL:{code:"NO_DCL",message:UIStrings$2J.badTraceRecording,lhrRuntimeError:!0},NO_FMP:{code:"NO_FMP",message:UIStrings$2J.badTraceRecording},NO_LCP:{code:"NO_LCP",message:UIStrings$2J.badTraceRecording},NO_LCP_ALL_FRAMES:{code:"NO_LCP_ALL_FRAMES",message:UIStrings$2J.badTraceRecording},UNSUPPORTED_OLD_CHROME:{code:"UNSUPPORTED_OLD_CHROME",message:UIStrings$2J.oldChromeDoesNotSupportFeature},NO_TTI_CPU_IDLE_PERIOD:{code:"NO_TTI_CPU_IDLE_PERIOD",message:UIStrings$2J.pageLoadTookTooLong},NO_TTI_NETWORK_IDLE_PERIOD:{code:"NO_TTI_NETWORK_IDLE_PERIOD",message:UIStrings$2J.pageLoadTookTooLong},NO_DOCUMENT_REQUEST:{
117
+ code:"NO_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailed,lhrRuntimeError:!0},FAILED_DOCUMENT_REQUEST:{code:"FAILED_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailedWithDetails,lhrRuntimeError:!0},ERRORED_DOCUMENT_REQUEST:{code:"ERRORED_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailedWithStatusCode,lhrRuntimeError:!0},INSECURE_DOCUMENT_REQUEST:{code:"INSECURE_DOCUMENT_REQUEST",message:UIStrings$2J.pageLoadFailedInsecure,lhrRuntimeError:!0},CHROME_INTERSTITIAL_ERROR:{code:"CHROME_INTERSTITIAL_ERROR",message:UIStrings$2J.pageLoadFailedInterstitial,lhrRuntimeError:!0},PAGE_HUNG:{code:"PAGE_HUNG",message:UIStrings$2J.pageLoadFailedHung,lhrRuntimeError:!0},NOT_HTML:{code:"NOT_HTML",message:UIStrings$2J.notHtml,lhrRuntimeError:!0},TRACING_ALREADY_STARTED:{code:"TRACING_ALREADY_STARTED",message:UIStrings$2J.internalChromeError,pattern:/Tracing.*started/,lhrRuntimeError:!0},PARSING_PROBLEM:{code:"PARSING_PROBLEM",message:UIStrings$2J.internalChromeError,pattern:/Parsing problem/,
118
+ lhrRuntimeError:!0},READ_FAILED:{code:"READ_FAILED",message:UIStrings$2J.internalChromeError,pattern:/Read failed/,lhrRuntimeError:!0},INVALID_URL:{code:"INVALID_URL",message:UIStrings$2J.urlInvalid},PROTOCOL_TIMEOUT:{code:"PROTOCOL_TIMEOUT",message:UIStrings$2J.protocolTimeout,lhrRuntimeError:!0},DNS_FAILURE:{code:"DNS_FAILURE",message:UIStrings$2J.dnsFailure,lhrRuntimeError:!0},CRI_TIMEOUT:{code:"CRI_TIMEOUT",message:UIStrings$2J.criTimeout,lhrRuntimeError:!0},MISSING_REQUIRED_ARTIFACT:{code:"MISSING_REQUIRED_ARTIFACT",message:UIStrings$2J.missingRequiredArtifact},ERRORED_REQUIRED_ARTIFACT:{code:"ERRORED_REQUIRED_ARTIFACT",message:UIStrings$2J.erroredRequiredArtifact}};LighthouseError$1.errors=ERRORS,LighthouseError$1.NO_ERROR="NO_ERROR",LighthouseError$1.UNKNOWN_ERROR="UNKNOWN_ERROR",lhError.exports=LighthouseError$1,lhError.exports.UIStrings=UIStrings$2J
119
119
  ;const URL$L=urlShim,HEADER_TCP="X-TCPMs",HEADER_SSL="X-SSLMs",HEADER_REQ="X-RequestMs",HEADER_RES="X-ResponseMs",HEADER_TOTAL="X-TotalMs",HEADER_FETCHED_SIZE="X-TotalFetchedSize",HEADER_PROTOCOL_IS_H2="X-ProtocolIsH2",RESOURCE_TYPES={XHR:"XHR",Fetch:"Fetch",EventSource:"EventSource",Script:"Script",Stylesheet:"Stylesheet",Image:"Image",Media:"Media",Font:"Font",Document:"Document",TextTrack:"TextTrack",WebSocket:"WebSocket",Other:"Other",Manifest:"Manifest",SignedExchange:"SignedExchange",Ping:"Ping",Preflight:"Preflight",CSPViolationReport:"CSPViolationReport"};class NetworkRequest$p{constructor(){this.requestId="",this.connectionId="0",this.connectionReused=!1,this.url="",this.protocol="",this.isSecure=!1,this.isValid=!1,this.parsedURL={scheme:""},this.documentURL="",this.startTime=-1,this.endTime=-1,this.responseReceivedTime=-1,this.transferSize=0,this.resourceSize=0,this.fromDiskCache=!1,this.fromMemoryCache=!1,this.fromPrefetchCache=!1,this.lrStatistics=void 0,this.finished=!1,
120
120
  this.requestMethod="",this.statusCode=-1,this.redirectSource=void 0,this.redirectDestination=void 0,this.redirects=void 0,this.failed=!1,this.localizedFailDescription="",this.initiator={type:"other"},this.timing=void 0,this.resourceType=void 0,this.mimeType="",this.priority="Low",this.initiatorRequest=void 0,this.responseHeaders=[],this.responseHeadersText="",this.fetchedViaServiceWorker=!1,this.frameId="",this.sessionId=void 0,this.isLinkPreload=!1}hasErrorStatusCode(){return this.statusCode>=400}setInitiatorRequest(e){this.initiatorRequest=e}onRequestWillBeSent(e){let t;this.requestId=e.requestId;try{t=new URL$L(e.request.url)}catch(e){return}this.url=e.request.url,this.documentURL=e.documentURL,this.parsedURL={scheme:t.protocol.split(":")[0],host:t.hostname,securityOrigin:t.origin},this.isSecure=URL$L.isSecureScheme(this.parsedURL.scheme),this.startTime=e.timestamp,this.requestMethod=e.request.method,this.initiator=e.initiator,this.resourceType=e.type&&RESOURCE_TYPES[e.type],
121
121
  this.priority=e.request.initialPriority,this.frameId=e.frameId,this.isLinkPreload="preload"===e.initiator.type||!!e.request.isLinkPreload,this.isValid=!0}onRequestServedFromCache(){this.fromMemoryCache=!0}onResponseReceived(e){this._onResponse(e.response,e.timestamp,e.type),this._updateProtocolForLightrider(),this.frameId=e.frameId}onDataReceived(e){this.resourceSize+=e.dataLength,-1!==e.encodedDataLength&&(this.transferSize+=e.encodedDataLength)}onLoadingFinished(e){this.finished||(this.finished=!0,this.endTime=e.timestamp,e.encodedDataLength>=0&&(this.transferSize=e.encodedDataLength),this._updateResponseReceivedTimeIfNecessary(),this._updateTransferSizeForLightrider(),this._updateTimingsForLightrider())}onLoadingFailed(e){this.finished||(this.finished=!0,this.endTime=e.timestamp,this.failed=!0,this.resourceType=e.type&&RESOURCE_TYPES[e.type],this.localizedFailDescription=e.errorText,this._updateResponseReceivedTimeIfNecessary(),this._updateTransferSizeForLightrider(),
@@ -145,42 +145,43 @@ this._handleTargetAttached(e).catch(this._handleEventError)})),this.on("Page.fra
145
145
  !0):(a<0&&log$t.error("Driver",`Attempted to disable domain '${e}' when already disabled.`),!1)}hasNextProtocolTimeout(){return this._nextProtocolTimeout!==DEFAULT_PROTOCOL_TIMEOUT}getNextProtocolTimeout(){return this._nextProtocolTimeout}setNextProtocolTimeout(e){this._nextProtocolTimeout=e}_handleProtocolEvent(e){this._devtoolsLog.record(e),this._eventEmitter.emit(e.method,e.params)}_handleEventError(e){log$t.error("Driver","Unhandled event error",e.message)}async _handleTargetAttached(e){"iframe"===e.targetInfo.type?(await this.sendCommandToSession("Network.enable",e.sessionId),await this.sendCommandToSession("Target.setAutoAttach",e.sessionId,{autoAttach:!0,flatten:!0,waitForDebuggerOnStart:!0}),await this.sendCommandToSession("Runtime.runIfWaitingForDebugger",e.sessionId)):await this.sendCommandToSession("Runtime.runIfWaitingForDebugger",e.sessionId)}sendCommandToSession(e,t,...r){const n=this._nextProtocolTimeout;let a;this._nextProtocolTimeout=DEFAULT_PROTOCOL_TIMEOUT
146
146
  ;const i=new Promise(((t,r)=>{n!==1/0&&(a=setTimeout(r,n,new LHError$g(LHError$g.errors.PROTOCOL_TIMEOUT,{protocolMethod:e})))}));return Promise.race([this._innerSendCommand(e,t,...r),i]).finally((()=>{a&&clearTimeout(a)}))}sendCommand(e,...t){return this.sendCommandToSession(e,void 0,...t)}_innerSendCommand(e,t,...r){const n=/^(\w+)\.(enable|disable)$/.exec(e);if(n){const e="enable"===n[2];if(!this._shouldToggleDomain(n[1],t,e))return Promise.resolve()}return this._connection.sendCommand(e,t,...r)}isDomainEnabled(e){return!!this._domainEnabledCounts.get(e)}async getRequestContent(e,t=1e3){return fetchResponseBodyFromCache$3(this.defaultSession,e,t)}scrollTo(e){const t=`window.scrollTo(${e.x}, ${e.y})`;return this.executionContext.evaluateAsync(t,{useIsolation:!0})}getScrollPosition(){return this.executionContext.evaluateAsync("({x: window.scrollX, y: window.scrollY})",{useIsolation:!0})}async beginTrace(e){
147
147
  const t=e&&e.additionalTraceCategories&&e.additionalTraceCategories.split(",")||[],r=TraceGatherer$1.getDefaultTraceCategories().concat(t),n=Array.from(new Set(r));if(this.isDomainEnabled("CSS"))throw new Error("CSS domain enabled when starting trace");if(this.isDomainEnabled("DOM"))throw new Error("DOM domain enabled when starting trace");return this.sendCommand("Page.enable").then((e=>this.sendCommand("Tracing.start",{categories:n.join(","),options:"sampling-frequency=10000"})))}endTrace(){return TraceGatherer$1.endTraceAndCollectEvents(this.defaultSession)}beginDevtoolsLog(){this._devtoolsLog.reset(),this._devtoolsLog.beginRecording()}endDevtoolsLog(){return this._devtoolsLog.endRecording(),this._devtoolsLog.messages}}var driver=Driver$1;const isEqual$1=lodash_isequal.exports;class ArbitraryEqualityMap$1{constructor(){this._equalsFn=ArbitraryEqualityMap$1.deepEquals,this._entries=[]}setEqualityFn(e){this._equalsFn=e}has(e){return-1!==this._findIndexOf(e)}get(e){
148
- const t=this._entries[this._findIndexOf(e)];return t&&t.value}set(e,t){let r=this._findIndexOf(e);-1===r&&(r=this._entries.length),this._entries[r]={key:e,value:t}}_findIndexOf(e){for(let t=0;t<this._entries.length;t++)if(this._equalsFn(e,this._entries[t].key))return t;return-1}static deepEquals(e,t){return isEqual$1(e,t)}}var arbitraryEqualityMap=ArbitraryEqualityMap$1;const ArbitraryEqualityMap=arbitraryEqualityMap,log$s=lighthouseLogger;function makeComputedArtifact$I(e){return Object.assign(e,{request:(t,r)=>{const n=r.computedCache,a=e.name,i=n.get(a)||new ArbitraryEqualityMap;n.set(a,i);const o=i.get(t);if(o)return o;const l={msg:`Computing artifact: ${a}`,id:`lh:computed:${a}`};log$s.time(l,"verbose");const c=e.compute_(t,r);return i.set(t,c),c.then((()=>log$s.timeEnd(l))).catch((()=>log$s.timeEnd(l))),c}})}var computedArtifact=makeComputedArtifact$I;const log$r=lighthouseLogger,NetworkRequest$n=networkRequest,EventEmitter$1=require$$1$3.EventEmitter
149
- ;class NetworkRecorder$2 extends EventEmitter$1{constructor(){super(),this._records=[],this._recordsById=new Map,this._mainSessionId=null}getRawRecords(){return Array.from(this._records)}on(e,t){return super.on(e,t)}once(e,t){return super.once(e,t)}onRequestStarted(e){this._records.push(e),this._recordsById.set(e.requestId,e),this.emit("requeststarted",e)}onRequestFinished(e){this.emit("requestloaded",e)}onRequestWillBeSent(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);if(!r){const r=new NetworkRequest$n;return r.onRequestWillBeSent(t),r.sessionId=e.sessionId,this.onRequestStarted(r),void log$r.verbose("network",`request will be sent to ${r.url}`)}if(!t.redirectResponse)return;const n={...t,initiator:r.initiator,requestId:`${r.requestId}:redirect`},a=new NetworkRequest$n;a.onRequestWillBeSent(n),r.onRedirectResponse(t),log$r.verbose("network",`${r.url} redirected to ${a.url}`),r.redirectDestination=a,a.redirectSource=r,this.onRequestStarted(a),
150
- this.onRequestFinished(r)}onRequestServedFromCache(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} served from cache`),r.onRequestServedFromCache())}onResponseReceived(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} response received`),r.onResponseReceived(t))}onDataReceived(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} data received`),r.onDataReceived(t))}onLoadingFinished(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} loading finished`),r.onLoadingFinished(t),this.onRequestFinished(r))}onLoadingFailed(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} loading failed`),r.onLoadingFailed(t),this.onRequestFinished(r))}
151
- onResourceChangedPriority(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&r.onResourceChangedPriority(t)}dispatch(e){switch(e.method){case"Network.requestWillBeSent":return this.onRequestWillBeSent(e);case"Network.requestServedFromCache":return this.onRequestServedFromCache(e);case"Network.responseReceived":return this.onResponseReceived(e);case"Network.dataReceived":return this.onDataReceived(e);case"Network.loadingFinished":return this.onLoadingFinished(e);case"Network.loadingFailed":return this.onLoadingFailed(e);case"Network.resourceChangedPriority":return this.onResourceChangedPriority(e);default:return}}_findRealRequestAndSetSession(e,t){null===this._mainSessionId&&(this._mainSessionId=t),this._mainSessionId===t&&(t=void 0);let r=this._recordsById.get(e);if(r&&r.isValid){for(;r.redirectDestination;)r=r.redirectDestination;return r.setSession(t),r}}static _chooseInitiatorRequest(e,t){if(e.redirectSource)return e.redirectSource
152
- ;const r=e.initiator.stack&&e.initiator.stack.callFrames||[],n=e.initiator.url||r[0]&&r[0].url;let a=t.get(n)||[];if(a=a.filter((t=>t.responseReceivedTime<=e.startTime)),a.length>1){const e=a.filter((e=>e.resourceType!==NetworkRequest$n.TYPES.Other));e.length&&(a=e)}if(a.length>1){const t=a.filter((t=>t.frameId===e.frameId));t.length&&(a=t)}if(a.length>1&&"parser"===e.initiator.type){const e=a.filter((e=>e.resourceType===NetworkRequest$n.TYPES.Document));e.length&&(a=e)}return 1===a.length?a[0]:null}static recordsFromLogs(e){const t=new NetworkRecorder$2;e.forEach((e=>t.dispatch(e)));const r=t.getRawRecords().filter((e=>e.isValid)),n=new Map;for(const e of r){const t=n.get(e.url)||[];t.push(e),n.set(e.url,t)}for(const e of r){const t=NetworkRecorder$2._chooseInitiatorRequest(e,n);t&&e.setInitiatorRequest(t);let r=e;for(;r.redirectDestination;)r=r.redirectDestination;if(r===e||r.redirects)continue;const a=[];for(let e=r.redirectSource;e;e=e.redirectSource)a.unshift(e);r.redirects=a}
153
- return r}}var networkRecorder=NetworkRecorder$2;const makeComputedArtifact$H=computedArtifact,NetworkRecorder$1=networkRecorder;class NetworkRecords$L{static async compute_(e){return NetworkRecorder$1.recordsFromLogs(e)}}var networkRecords=makeComputedArtifact$H(NetworkRecords$L);const INITIAL_CWD=14336,NetworkRequest$m=networkRequest,URL$K=urlShim,DEFAULT_SERVER_RESPONSE_PERCENTAGE=.4,SERVER_RESPONSE_PERCENTAGE_OF_TTFB={Document:.9,XHR:.9,Fetch:.9};class NetworkAnalyzer$c{static get SUMMARY(){return"__SUMMARY__"}static groupByOrigin(e){const t=new Map;return e.forEach((e=>{const r=e.parsedURL.securityOrigin,n=t.get(r)||[];n.push(e),t.set(r,n)})),t}static getSummary(e){return e.sort(((e,t)=>e-t)),{min:e[0],max:e[e.length-1],avg:e.reduce(((e,t)=>e+t),0)/e.length,median:e[Math.floor((e.length-1)/2)]}}static summarize(e){const t=new Map,r=[];for(const[n,a]of e)t.set(n,NetworkAnalyzer$c.getSummary(a)),r.push(...a);return t.set(NetworkAnalyzer$c.SUMMARY,NetworkAnalyzer$c.getSummary(r)),t}
154
- static _estimateValueByOrigin(e,t){const r=NetworkAnalyzer$c.estimateIfConnectionWasReused(e),n=NetworkAnalyzer$c.groupByOrigin(e),a=new Map;for(const[e,i]of n.entries()){let n=[];for(const e of i){const a=e.timing;if(!a)continue;const i=t({record:e,timing:a,connectionReused:r.get(e.requestId)});void 0!==i&&(n=n.concat(i))}n.length&&a.set(e,n)}return a}static _estimateRTTByOriginViaTCPTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({timing:e,connectionReused:t})=>{if(!t)return e.sslStart>0&&e.sslEnd>0?[e.connectEnd-e.sslStart,e.sslStart-e.connectStart]:e.connectStart>0&&e.connectEnd>0?e.connectEnd-e.connectStart:void 0}))}static _estimateRTTByOriginViaDownloadTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:t,connectionReused:r})=>{if(r)return;if(e.transferSize<=INITIAL_CWD)return;if(!Number.isFinite(t.receiveHeadersEnd)||t.receiveHeadersEnd<0)return
155
- ;const n=1e3*(e.endTime-e.startTime)-t.receiveHeadersEnd,a=Math.log2(e.transferSize/INITIAL_CWD);return a>5?void 0:n/a}))}static _estimateRTTByOriginViaSendStartTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:t,connectionReused:r})=>{if(r)return;if(!Number.isFinite(t.sendStart)||t.sendStart<0)return;let n=2;return"https"===e.parsedURL.scheme&&(n+=1),t.sendStart/n}))}static _estimateRTTByOriginViaHeadersEndTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:t,connectionReused:r})=>{if(!Number.isFinite(t.receiveHeadersEnd)||t.receiveHeadersEnd<0)return;if(!e.resourceType)return;const n=SERVER_RESPONSE_PERCENTAGE_OF_TTFB[e.resourceType]||DEFAULT_SERVER_RESPONSE_PERCENTAGE,a=t.receiveHeadersEnd*n;let i=1;return r||(i+=1,"https"===e.parsedURL.scheme&&(i+=1),i+=1),Math.max((t.receiveHeadersEnd-a)/i,3)}))}static _estimateResponseTimeByOrigin(e,t){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:r})=>{
156
- if(!Number.isFinite(r.receiveHeadersEnd)||r.receiveHeadersEnd<0)return;if(!Number.isFinite(r.sendEnd)||r.sendEnd<0)return;const n=r.receiveHeadersEnd-r.sendEnd,a=e.parsedURL.securityOrigin,i=t.get(a)||t.get(NetworkAnalyzer$c.SUMMARY)||0;return Math.max(n-i,0)}))}static canTrustConnectionInformation(e){const t=new Map;for(const r of e){const e=t.get(r.connectionId)||!r.connectionReused;t.set(r.connectionId,e)}return!(t.size<=1)&&Array.from(t.values()).every((e=>e))}static estimateIfConnectionWasReused(e,t){const{forceCoarseEstimates:r=!1}=t||{};if(!r&&NetworkAnalyzer$c.canTrustConnectionInformation(e))return new Map(e.map((e=>[e.requestId,!!e.connectionReused])));const n=new Map,a=NetworkAnalyzer$c.groupByOrigin(e);for(const[e,t]of a.entries()){const e=t.map((e=>e.endTime)).reduce(((e,t)=>Math.min(e,t)),1/0);for(const r of t)n.set(r.requestId,r.startTime>=e||"h2"===r.protocol);const r=t.reduce(((e,t)=>e.startTime>t.startTime?t:e));n.set(r.requestId,!1)}return n}
157
- static estimateRTTByOrigin(e,t){const{forceCoarseEstimates:r=!1,coarseEstimateMultiplier:n=.3,useDownloadEstimates:a=!0,useSendStartEstimates:i=!0,useHeadersEndEstimates:o=!0}=t||{};let l=NetworkAnalyzer$c._estimateRTTByOriginViaTCPTiming(e);if(!l.size||r){l=new Map;const t=NetworkAnalyzer$c._estimateRTTByOriginViaDownloadTiming(e),r=NetworkAnalyzer$c._estimateRTTByOriginViaSendStartTiming(e),c=NetworkAnalyzer$c._estimateRTTByOriginViaHeadersEndTiming(e);for(const[e,r]of t.entries())a&&l.set(e,r);for(const[e,t]of r.entries()){if(!i)continue;const r=l.get(e)||[];l.set(e,r.concat(t))}for(const[e,t]of c.entries()){if(!o)continue;const r=l.get(e)||[];l.set(e,r.concat(t))}for(const e of l.values())e.forEach(((t,r)=>e[r]=t*n))}if(!l.size)throw new Error("No timing information available");return NetworkAnalyzer$c.summarize(l)}static estimateServerResponseTimeByOrigin(e,t){let r=(t||{}).rttByOrigin;if(!r){r=new Map;const n=NetworkAnalyzer$c.estimateRTTByOrigin(e,t)
158
- ;for(const[e,t]of n.entries())r.set(e,t.min)}const n=NetworkAnalyzer$c._estimateResponseTimeByOrigin(e,r);return NetworkAnalyzer$c.summarize(n)}static estimateThroughput(e){let t=0;const r=e.reduce(((e,r)=>("data"===(r.parsedURL&&r.parsedURL.scheme)||r.failed||!r.finished||r.statusCode>300||!r.transferSize||(t+=r.transferSize,e.push({time:r.responseReceivedTime,isStart:!0}),e.push({time:r.endTime,isStart:!1})),e)),[]).sort(((e,t)=>e.time-t.time));if(!r.length)return 1/0;let n=0,a=0,i=0;return r.forEach((e=>{e.isStart?(0===n&&(a=e.time),n++):(n--,0===n&&(i+=e.time-a))})),8*t/i}static findMainDocument(e,t){const r=NetworkAnalyzer$c.findOptionalMainDocument(e,t);if(!r)throw new Error("Unable to identify the main resource");return r}static findOptionalMainDocument(e,t){if(t){const r=e.find((e=>t.startsWith(e.url)&&URL$K.equalWithExcludedFragments(e.url,t)));if(r)return r}const r=e.filter((e=>e.resourceType===NetworkRequest$m.TYPES.Document))
159
- ;if(r.length)return r.reduce(((e,t)=>t.startTime<e.startTime?t:e))}static resolveRedirects(e){for(;e.redirectDestination;)e=e.redirectDestination;return e}}var networkAnalyzer=NetworkAnalyzer$c;const LHError$f=lhError.exports,NetworkAnalyzer$b=networkAnalyzer;function getNetworkError(e){if(!e)return new LHError$f(LHError$f.errors.NO_DOCUMENT_REQUEST);if(e.failed){const t=e.localizedFailDescription;return"net::ERR_NAME_NOT_RESOLVED"===t||"net::ERR_NAME_RESOLUTION_FAILED"===t||t.startsWith("net::ERR_DNS_")?new LHError$f(LHError$f.errors.DNS_FAILURE):new LHError$f(LHError$f.errors.FAILED_DOCUMENT_REQUEST,{errorDetails:t})}return e.hasErrorStatusCode()?new LHError$f(LHError$f.errors.ERRORED_DOCUMENT_REQUEST,{statusCode:`${e.statusCode}`}):void 0}function getInterstitialError(e,t){if(!e)return;return t.find((e=>e.documentURL.startsWith("chrome-error://")))&&e.failed?e.localizedFailDescription.startsWith("net::ERR_CERT")?new LHError$f(LHError$f.errors.INSECURE_DOCUMENT_REQUEST,{
160
- securityMessages:e.localizedFailDescription}):new LHError$f(LHError$f.errors.CHROME_INTERSTITIAL_ERROR):void 0}function getNonHtmlError(e){if(e)return"text/html"!==e.mimeType?new LHError$f(LHError$f.errors.NOT_HTML,{mimeType:e.mimeType}):void 0}function getPageLoadError$1(e,t){const{url:r,loadFailureMode:n,networkRecords:a}=t;let i,o;try{i=NetworkAnalyzer$b.findMainDocument(a,r)}catch(e){}i&&(o=NetworkAnalyzer$b.resolveRedirects(i));const l=getNetworkError(i),c=getInterstitialError(i,a),u=getNonHtmlError(o);if("ignore"!==n)return c||(l||(u||e))}var navigationError={getNetworkError,getInterstitialError,getPageLoadError:getPageLoadError$1,getNonHtmlError};const version="9.1.0";var _rollupPluginShim10=Object.freeze({__proto__:null,version}),require$$15=getAugmentedNamespace(_rollupPluginShim10);const{version:lighthouseVersion$1}=require$$15,NO_THROTTLING_METRICS={latency:0,downloadThroughput:0,uploadThroughput:0,offline:!1},NO_CPU_THROTTLE_METRICS={rate:1}
161
- ;function parseUseragentIntoMetadata(e,t){const r=e.match(/Chrome\/([\d.]+)/),n=r&&r[1]||"99.0.1234.0",[a]=n.split(".",1),i="mobile"===t;return{brands:[{brand:"Chromium",version:a},{brand:"Google Chrome",version:a},{brand:"Lighthouse",version:lighthouseVersion$1}],fullVersion:n,...i?{platform:"Android",platformVersion:"6.0",architecture:"",model:"Moto G4"}:{platform:"macOS",platformVersion:"10.15.7",architecture:"x86",model:""},mobile:i}}async function emulate(e,t){if(!1!==t.emulatedUserAgent){const r=t.emulatedUserAgent;await e.sendCommand("Network.setUserAgentOverride",{userAgent:r,userAgentMetadata:parseUseragentIntoMetadata(r,t.formFactor)})}if(!0!==t.screenEmulation.disabled){const{width:r,height:n,deviceScaleFactor:a,mobile:i}=t.screenEmulation,o={width:r,height:n,deviceScaleFactor:a,mobile:i};await e.sendCommand("Emulation.setDeviceMetricsOverride",o),await e.sendCommand("Emulation.setTouchEmulationEnabled",{enabled:o.mobile})}}async function throttle(e,t){
162
- if("devtools"!==t.throttlingMethod)return clearNetworkThrottling(e);await Promise.all([enableNetworkThrottling(e,t.throttling),enableCPUThrottling(e,t.throttling)])}async function clearThrottling(e){await Promise.all([clearNetworkThrottling(e),clearCPUThrottling(e)])}function enableNetworkThrottling(e,t){const r={offline:!1,latency:t.requestLatencyMs||0,downloadThroughput:t.downloadThroughputKbps||0,uploadThroughput:t.uploadThroughputKbps||0};return r.downloadThroughput=Math.floor(1024*r.downloadThroughput/8),r.uploadThroughput=Math.floor(1024*r.uploadThroughput/8),e.sendCommand("Network.emulateNetworkConditions",r)}function clearNetworkThrottling(e){return e.sendCommand("Network.emulateNetworkConditions",NO_THROTTLING_METRICS)}function enableCPUThrottling(e,t){const r=t.cpuSlowdownMultiplier;return e.sendCommand("Emulation.setCPUThrottlingRate",{rate:r})}function clearCPUThrottling(e){return e.sendCommand("Emulation.setCPUThrottlingRate",NO_CPU_THROTTLE_METRICS)}var emulation$3={
163
- emulate,throttle,clearThrottling,enableNetworkThrottling,clearNetworkThrottling,enableCPUThrottling,clearCPUThrottling};const log$q=lighthouseLogger,i18n$2E=i18n$2H,UIStrings$2I={warningData:"{locationCount, plural,\n =1 {There may be stored data affecting loading performance in this location: {locations}. Audit this page in an incognito window to prevent those resources from affecting your scores.}\n other {There may be stored data affecting loading performance in these locations: {locations}. Audit this page in an incognito window to prevent those resources from affecting your scores.}\n }"},str_$2A=i18n$2E.createMessageInstanceIdFn("lighthouse-core/gather/driver/storage.js",UIStrings$2I);async function clearDataForOrigin(e,t){const r={msg:"Cleaning origin data",id:"lh:storage:clearDataForOrigin"};log$q.time(r);const n=new URL(t).origin,a=["file_systems","shader_cache","service_workers","cache_storage"].join(",");e.setNextProtocolTimeout(5e3);try{
164
- await e.sendCommand("Storage.clearDataForOrigin",{origin:n,storageTypes:a})}catch(e){if("PROTOCOL_TIMEOUT"!==e.code)throw e;log$q.warn("Driver","clearDataForOrigin timed out")}finally{log$q.timeEnd(r)}}async function getImportantStorageWarning(e,t){const r=await e.sendCommand("Storage.getUsageAndQuota",{origin:t}),n={local_storage:"Local Storage",indexeddb:"IndexedDB",websql:"Web SQL"},a=r.usageBreakdown.filter((e=>e.usage)).map((e=>n[e.storageType]||"")).filter(Boolean);if(a.length)return str_$2A(UIStrings$2I.warningData,{locations:a.join(", "),locationCount:a.length})}async function clearBrowserCaches(e){const t={msg:"Cleaning browser cache",id:"lh:storage:clearBrowserCaches"};log$q.time(t),await e.sendCommand("Network.clearBrowserCache"),await e.sendCommand("Network.setCacheDisabled",{cacheDisabled:!0}),await e.sendCommand("Network.setCacheDisabled",{cacheDisabled:!1}),log$q.timeEnd(t)}var storage$2={clearDataForOrigin,clearBrowserCaches,getImportantStorageWarning,
165
- UIStrings:UIStrings$2I};const log$p=lighthouseLogger,storage$1=storage$2,emulation$2=emulation$3,pageFunctions$e=pageFunctions$h;async function enableAsyncStacks(e){const enable=async()=>{await e.sendCommand("Debugger.enable"),await e.sendCommand("Debugger.setSkipAllPauses",{skip:!0}),await e.sendCommand("Debugger.setAsyncCallStackDepth",{maxDepth:8})};e.on("Debugger.paused",(()=>e.sendCommand("Debugger.resume"))),e.on("Page.frameNavigated",(e=>{e.frame.parentId||enable().catch((e=>log$p.error("Driver",e)))})),await enable()}async function shimRequestIdleCallbackOnNewDocument(e,t){await e.executionContext.evaluateOnNewDocument(pageFunctions$e.wrapRequestIdleCallback,{args:[t.throttling.cpuSlowdownMultiplier]})}async function dismissJavaScriptDialogs(e){e.on("Page.javascriptDialogOpening",(t=>{log$p.warn("Driver",`${t.type} dialog opened by the page automatically suppressed.`),e.sendCommand("Page.handleJavaScriptDialog",{accept:!0,promptText:"Lighthouse prompt response"
166
- }).catch((e=>log$p.warn("Driver",e)))})),await e.sendCommand("Page.enable")}async function resetStorageForNavigation(e,t){const r=[],n=await storage$1.getImportantStorageWarning(e,t.url);return n&&r.push(n),await storage$1.clearDataForOrigin(e,t.url),await storage$1.clearBrowserCaches(e),{warnings:r}}async function prepareThrottlingAndNetwork(e,t,r){const n={msg:"Preparing network conditions",id:"lh:gather:prepareThrottlingAndNetwork"};log$p.time(n),r.disableThrottling?await emulation$2.clearThrottling(e):await emulation$2.throttle(e,t);const a=(r.blockedUrlPatterns||[]).concat(t.blockedUrlPatterns||[]);await e.sendCommand("Network.setBlockedURLs",{urls:a});const i=t.extraHeaders;i&&await e.sendCommand("Network.setExtraHTTPHeaders",{headers:i}),log$p.timeEnd(n)}async function prepareDeviceEmulationAndAsyncStacks(e,t){await e.defaultSession.sendCommand("Network.enable"),await emulation$2.emulate(e.defaultSession,t),await enableAsyncStacks(e.defaultSession)}
167
- async function prepareTargetForTimespanMode(e,t){const r={msg:"Preparing target for timespan mode",id:"lh:prepare:timespanMode"};log$p.time(r),await prepareDeviceEmulationAndAsyncStacks(e,t),await prepareThrottlingAndNetwork(e.defaultSession,t,{disableThrottling:!1,blockedUrlPatterns:void 0}),log$p.timeEnd(r)}async function prepareTargetForNavigationMode(e,t){const r={msg:"Preparing target for navigation mode",id:"lh:prepare:navigationMode"};log$p.time(r),await prepareDeviceEmulationAndAsyncStacks(e,t),await dismissJavaScriptDialogs(e.defaultSession),await e.executionContext.cacheNativesOnNewDocument(),"simulate"===t.throttlingMethod&&await shimRequestIdleCallbackOnNewDocument(e,t),log$p.timeEnd(r)}async function prepareTargetForIndividualNavigation(e,t,r){const n={msg:"Preparing target for navigation",id:"lh:prepare:navigation"};log$p.time(n);const a=[];if(!t.disableStorageReset&&!r.disableStorageReset){const{warnings:t}=await resetStorageForNavigation(e,r);a.push(...t)}
168
- return await prepareThrottlingAndNetwork(e,t,r),log$p.timeEnd(n),{warnings:a}}var prepare$1={prepareThrottlingAndNetwork,prepareTargetForTimespanMode,prepareTargetForNavigationMode,prepareTargetForIndividualNavigation};const log$o=lighthouseLogger;class TargetManager$1{constructor(e){this._enabled=!1,this._session=e,this._listeners=[],this._onSessionAttached=this._onSessionAttached.bind(this),this._targets=new Map,this._onFrameNavigated=async e=>{e.frame.parentId||await this._session.sendCommand("Target.setAutoAttach",{autoAttach:!0,flatten:!0,waitForDebuggerOnStart:!0})}}async _onSessionAttached(e){try{const t=await e.sendCommand("Target.getTargetInfo").catch((()=>null)),r=t&&t.targetInfo&&t.targetInfo.type,n="page"===r||"iframe"===r;if(!t||!n)return;const a=t.targetInfo.targetId;if(e.setTargetInfo(t.targetInfo),this._targets.has(a))return;const i=t.targetInfo.url||t.targetInfo.targetId;log$o.verbose("target-manager",`target ${i} attached`);const o={target:t.targetInfo,session:e}
169
- ;this._targets.set(a,o);for(const e of this._listeners)await e(o);await e.sendCommand("Target.setAutoAttach",{autoAttach:!0,flatten:!0,waitForDebuggerOnStart:!0})}catch(e){if(/Target closed/.test(e.message))return;throw e}finally{await e.sendCommand("Runtime.runIfWaitingForDebugger").catch((()=>{}))}}async enable(){this._enabled||(this._enabled=!0,this._targets=new Map,this._session.on("Page.frameNavigated",this._onFrameNavigated),this._session.addSessionAttachedListener(this._onSessionAttached),await this._session.sendCommand("Page.enable"),await this._onSessionAttached(this._session))}async disable(){this._session.off("Page.frameNavigated",this._onFrameNavigated),this._session.removeSessionAttachedListener(this._onSessionAttached),this._enabled=!1,this._targets=new Map}addTargetAttachedListener(e){this._listeners.push(e)}removeTargetAttachedListener(e){this._listeners=this._listeners.filter((t=>t!==e))}}var targetManager=TargetManager$1
170
- ;const log$n=lighthouseLogger,{EventEmitter}=require$$1$3,NetworkRecorder=networkRecorder,NetworkRequest$l=networkRequest,URL$J=urlShim,TargetManager=targetManager;class NetworkMonitor$3{_networkRecorder=void 0;_targetManager=void 0;_frameNavigations=[];constructor(e){this._session=e,this._onTargetAttached=this._onTargetAttached.bind(this),this._sessions=new Map,this._onFrameNavigated=e=>this._frameNavigations.push(e.frame),this._onProtocolMessage=e=>{this.emit("protocolmessage",e),this._networkRecorder&&this._networkRecorder.dispatch(e)};const t=new EventEmitter;this.emit=t.emit.bind(t),this.on=t.on.bind(t),this.once=t.once.bind(t),this.off=t.off.bind(t),this.addListener=t.addListener.bind(t),this.removeListener=t.removeListener.bind(t),this.removeAllListeners=t.removeAllListeners.bind(t)}async _onTargetAttached({session:e,target:t}){const r=t.targetId;this._sessions.set(r,e),e.addProtocolMessageListener(this._onProtocolMessage),await e.sendCommand("Network.enable")}async enable(){
171
- if(this._targetManager)return;this._frameNavigations=[],this._sessions=new Map,this._networkRecorder=new NetworkRecorder,this._targetManager=new TargetManager(this._session);const reEmit=e=>t=>{this.emit(e,t),this._emitNetworkStatus()};this._networkRecorder.on("requeststarted",reEmit("requeststarted")),this._networkRecorder.on("requestloaded",reEmit("requestloaded")),this._session.on("Page.frameNavigated",this._onFrameNavigated),this._targetManager.addTargetAttachedListener(this._onTargetAttached),await this._session.sendCommand("Page.enable"),await this._targetManager.enable()}async disable(){if(this._targetManager){this._session.off("Page.frameNavigated",this._onFrameNavigated),this._targetManager.removeTargetAttachedListener(this._onTargetAttached);for(const e of this._sessions.values())e.removeProtocolMessageListener(this._onProtocolMessage);await this._targetManager.disable(),this._frameNavigations=[],this._networkRecorder=void 0,this._targetManager=void 0,this._sessions=new Map}}
172
- async getFinalNavigationUrl(){const e=this._frameNavigations;if(!e.length)return;const t=(await this._session.sendCommand("Page.getResourceTree")).frameTree.frame.id,r=e.filter((e=>e.id===t)),n=r[r.length-1];return n||log$n.warn("NetworkMonitor","No detected navigations"),n&&n.url}getInflightRequests(){return this._networkRecorder?this._networkRecorder.getRawRecords().filter((e=>!e.finished)):[]}isIdle(){return this._isActiveIdlePeriod(0)}isCriticalIdle(){if(!this._networkRecorder)return!1;const e=this._networkRecorder.getRawRecords().find((e=>"Document"===e.resourceType)),t=e&&e.frameId;return this._isActiveIdlePeriod(0,(e=>e.frameId===t&&("VeryHigh"===e.priority||"High"===e.priority)))}is2Idle(){return this._isActiveIdlePeriod(2)}_isActiveIdlePeriod(e,t){if(!this._networkRecorder)return!1;const r=this._networkRecorder.getRawRecords();let n=0;for(let e=0;e<r.length;e++){const a=r[e];a.finished||(t&&!t(a)||NetworkRequest$l.isNonNetworkRequest(a)||n++)}return n<=e}_emitNetworkStatus(){
173
- const e=this.isIdle(),t=this.is2Idle(),r=this.isCriticalIdle();this.emit(e?"networkidle":"networkbusy"),this.emit(t?"network-2-idle":"network-2-busy"),this.emit(r?"network-critical-idle":"network-critical-busy"),t&&e?log$n.verbose("NetworkRecorder","network fully-quiet"):t&&!e?log$n.verbose("NetworkRecorder","network semi-quiet"):log$n.verbose("NetworkRecorder","network busy")}static findNetworkQuietPeriods(e,t,r=1/0){let n=[];e.forEach((e=>{URL$J.isNonNetworkProtocol(e.protocol)||"ws"!==e.protocol&&"wss"!==e.protocol&&(n.push({time:1e3*e.startTime,isStart:!0}),e.finished&&n.push({time:1e3*e.endTime,isStart:!1}))})),n=n.filter((e=>e.time<=r)).sort(((e,t)=>e.time-t.time));let a=0,i=0;const o=[];return n.forEach((e=>{e.isStart?(a===t&&o.push({start:i,end:e.time}),a++):(a--,a===t&&(i=e.time))})),a<=t&&o.push({start:i,end:r}),o.filter((e=>e.start!==e.end))}}var networkMonitor=NetworkMonitor$3;const log$m=lighthouseLogger,LHError$e=lhError.exports,ExecutionContext=executionContext
174
- ;function waitForNothing(){return{promise:Promise.resolve(),cancel(){}}}function waitForFrameNavigated$1(e){let cancel=()=>{throw new Error("waitForFrameNavigated.cancel() called before it was defined")};return{promise:new Promise(((t,r)=>{e.once("Page.frameNavigated",t),cancel=()=>{e.off("Page.frameNavigated",t),r(new Error("Wait for navigated cancelled"))}})),cancel}}function waitForFcp(e,t,r){let cancel=()=>{throw new Error("waitForFcp.cancel() called before it was defined")};return{promise:new Promise(((n,a)=>{const i=setTimeout((()=>{a(new LHError$e(LHError$e.errors.NO_FCP))}),r);let o;const lifecycleListener=e=>{"firstContentfulPaint"===e.name&&(o=setTimeout((()=>{n(),cancel()}),t))};e.on("Page.lifecycleEvent",lifecycleListener);let l=!1;cancel=()=>{l||(l=!0,e.off("Page.lifecycleEvent",lifecycleListener),i&&clearTimeout(i),o&&clearTimeout(o),a(new Error("Wait for FCP canceled")))}})),cancel}}function waitForNetworkIdle(e,t,r){let n,a=!1,cancel=()=>{
175
- throw new Error("waitForNetworkIdle.cancel() called before it was defined")};const{networkQuietThresholdMs:i,busyEvent:o,idleEvent:l,isIdle:c}=r;return{promise:new Promise(((r,u)=>{const onIdle=()=>{t.once(o,onBusy),n=setTimeout((()=>{cancel(),r()}),i)},onBusy=()=>{t.once(l,onIdle),n&&clearTimeout(n)},domContentLoadedListener=()=>{a=!0,c(t)?onIdle():onBusy()},logStatus=()=>{if(!a)return void log$m.verbose("waitFor","Waiting on DomContentLoaded");const e=t.getInflightRequests();if(e.length<20)for(const t of e)log$m.verbose("waitFor",`Waiting on ${t.url.slice(0,120)} to finish`)};t.on("requeststarted",logStatus),t.on("requestloaded",logStatus),t.on(o,logStatus),e.once("Page.domContentEventFired",domContentLoadedListener);let p=!1;cancel=()=>{p||(p=!0,n&&clearTimeout(n),e.off("Page.domContentEventFired",domContentLoadedListener),t.removeListener(o,onBusy),t.removeListener(l,onIdle),t.removeListener("requeststarted",logStatus),t.removeListener("requestloaded",logStatus),
176
- t.removeListener(o,logStatus))}})),cancel}}function waitForCPUIdle(e,t){if(!t)return{promise:Promise.resolve(),cancel:()=>{}};let r,n=!1;async function checkForQuiet(e,a){if(n)return;const i=await e.evaluate(checkTimeSinceLastLongTaskInPage,{args:[]});if(!n&&"number"==typeof i)if(i>=t)log$m.verbose("waitFor",`CPU has been idle for ${i} ms`),a();else{log$m.verbose("waitFor",`CPU has been idle for ${i} ms`);r=setTimeout((()=>checkForQuiet(e,a)),t-i)}}let cancel=()=>{throw new Error("waitForCPUIdle.cancel() called before it was defined")};const a=new ExecutionContext(e);return{promise:new Promise(((e,t)=>{a.evaluate(registerPerformanceObserverInPage,{args:[]}).then((()=>checkForQuiet(a,e))).catch(t),cancel=()=>{n||(n=!0,r&&clearTimeout(r),t(new Error("Wait for CPU idle canceled")))}})),cancel}}function registerPerformanceObserverInPage(){if(void 0!==window.____lastLongTask)return;window.____lastLongTask=performance.now();new window.PerformanceObserver((e=>{const t=e.getEntries()
177
- ;for(const e of t)if("longtask"===e.entryType){const t=e.startTime+e.duration;window.____lastLongTask=Math.max(window.____lastLongTask||0,t)}})).observe({type:"longtask",buffered:!0})}function checkTimeSinceLastLongTaskInPage(){return new Promise((e=>{const t=performance.now(),r=window.____lastLongTask||0;setTimeout((()=>{const n=window.____lastLongTask||0;e(r===n?t-r:0)}),150)}))}function waitForLoadEvent(e,t){let cancel=()=>{throw new Error("waitForLoadEvent.cancel() called before it was defined")};return{promise:new Promise(((r,n)=>{let a;const loadListener=function(){a=setTimeout(r,t)};e.once("Page.loadEventFired",loadListener);let i=!1;cancel=()=>{i||(i=!0,e.off("Page.loadEventFired",loadListener),a&&clearTimeout(a))}})),cancel}}async function isPageHung(e){try{return e.setNextProtocolTimeout(1e3),await e.sendCommand("Runtime.evaluate",{expression:'"ping"',returnByValue:!0,timeout:1e3}),!1}catch(e){return!0}}const DEFAULT_WAIT_FUNCTIONS={waitForFcp,waitForLoadEvent,waitForCPUIdle,
178
- waitForNetworkIdle};async function waitForFullyLoaded$1(e,t,r){const{pauseAfterFcpMs:n,pauseAfterLoadMs:a,networkQuietThresholdMs:i,cpuQuietThresholdMs:o,maxWaitForLoadedMs:l,maxWaitForFcpMs:c}=r,{waitForFcp:u,waitForLoadEvent:p,waitForNetworkIdle:f,waitForCPUIdle:b}=r._waitForTestOverrides||DEFAULT_WAIT_FUNCTIONS;let S;const _=c?u(e,n,c):waitForNothing(),T=p(e,a),E=f(e,t,{networkQuietThresholdMs:i,busyEvent:"network-2-busy",idleEvent:"network-2-idle",isIdle:e=>e.is2Idle()}),$=f(e,t,{networkQuietThresholdMs:i,busyEvent:"network-critical-busy",idleEvent:"network-critical-idle",isIdle:e=>e.isCriticalIdle()});let A=waitForNothing();const I=Promise.all([_.promise,T.promise,E.promise,$.promise]).then((()=>(A=b(e,o),A.promise))).then((()=>async function(){return log$m.verbose("waitFor","loadEventFired and network considered idle"),{timedOut:!1}})).catch((e=>function(){throw e})),R=new Promise(((e,t)=>{S=setTimeout(e,l)})).then((t=>async()=>{
179
- if(log$m.warn("waitFor","Timed out waiting for page load. Checking if page is hung..."),await isPageHung(e))throw log$m.warn("waitFor","Page appears to be hung, killing JavaScript..."),await e.sendCommand("Emulation.setScriptExecutionDisabled",{value:!0}),await e.sendCommand("Runtime.terminateExecution"),new LHError$e(LHError$e.errors.PAGE_HUNG);return{timedOut:!0}})),x=await Promise.race([I,R]);return S&&clearTimeout(S),_.cancel(),T.cancel(),E.cancel(),A.cancel(),x()}function waitForUserToContinue$1(e){return e.defaultSession.setNextProtocolTimeout(2**31-1),e.executionContext.evaluate((function createInPagePromise(){let resolve=()=>{};const e=new Promise((e=>resolve=e));return console.log(["You have enabled Lighthouse navigation debug mode.",'When you have finished inspecting the page, evaluate "continueLighthouseRun()"',"in the console to continue with the Lighthouse run."].join(" ")),window.continueLighthouseRun=resolve,e}),{args:[]})}var waitForCondition={waitForNothing,
180
- waitForFrameNavigated:waitForFrameNavigated$1,waitForFcp,waitForLoadEvent,waitForNetworkIdle,waitForCPUIdle,waitForFullyLoaded:waitForFullyLoaded$1,waitForUserToContinue:waitForUserToContinue$1};const log$l=lighthouseLogger,NetworkMonitor$2=networkMonitor,{waitForFullyLoaded,waitForFrameNavigated,waitForUserToContinue}=waitForCondition,constants$5=constants$7,i18n$2D=i18n$2H,URL$I=urlShim,UIStrings$2H={warningRedirected:"The page may not be loading as expected because your test URL ({requested}) was redirected to {final}. Try testing the second URL directly.",warningTimeout:"The page loaded too slowly to finish within the time limit. Results may be incomplete."},str_$2z=i18n$2D.createMessageInstanceIdFn("lighthouse-core/gather/driver/navigation.js",UIStrings$2H),DEFAULT_PAUSE_AFTER_FCP=0,DEFAULT_PAUSE_AFTER_LOAD=0,DEFAULT_NETWORK_QUIET_THRESHOLD=5e3,DEFAULT_CPU_QUIET_THRESHOLD=0;function resolveWaitForFullyLoadedOptions(e){
181
- let{pauseAfterFcpMs:t,pauseAfterLoadMs:r,networkQuietThresholdMs:n,cpuQuietThresholdMs:a}=e,i=e.maxWaitForLoad,o=e.maxWaitForFcp;return"number"!=typeof t&&(t=DEFAULT_PAUSE_AFTER_FCP),"number"!=typeof r&&(r=DEFAULT_PAUSE_AFTER_LOAD),"number"!=typeof n&&(n=DEFAULT_NETWORK_QUIET_THRESHOLD),"number"!=typeof a&&(a=DEFAULT_CPU_QUIET_THRESHOLD),"number"!=typeof i&&(i=constants$5.defaultSettings.maxWaitForLoad),"number"!=typeof o&&(o=constants$5.defaultSettings.maxWaitForFcp),e.waitUntil.includes("fcp")||(o=void 0),{pauseAfterFcpMs:t,pauseAfterLoadMs:r,networkQuietThresholdMs:n,cpuQuietThresholdMs:a,maxWaitForLoadedMs:i,maxWaitForFcpMs:o}}async function gotoURL(e,t,r){const n={msg:`Navigating to ${t}`,id:"lh:driver:navigate"};log$l.time(n);const a=e.defaultSession,i=new NetworkMonitor$2(e.defaultSession);await i.enable(),await a.sendCommand("Page.enable"),await a.sendCommand("Page.setLifecycleEventsEnabled",{enabled:!0}),a.setNextProtocolTimeout(1/0);const o=a.sendCommand("Page.navigate",{
182
- url:t}),l=r.waitUntil.includes("navigated"),c=r.waitUntil.includes("load"),u=r.waitUntil.includes("fcp"),p=[];if(l){const e=waitForFrameNavigated(a).promise;p.push(e.then((()=>({timedOut:!1}))))}if(c){const e=resolveWaitForFullyLoadedOptions(r);p.push(waitForFullyLoaded(a,i,e))}else if(u)throw new Error("Cannot wait for FCP without waiting for page load");const f=(await Promise.all(p)).some((e=>e.timedOut)),b=await i.getFinalNavigationUrl()||t;return await o,await i.disable(),r.debugNavigation&&await waitForUserToContinue(e),log$l.timeEnd(n),{finalUrl:b,warnings:getNavigationWarnings({timedOut:f,finalUrl:b,requestedUrl:t})}}function getNavigationWarnings(e){const{requestedUrl:t,finalUrl:r}=e,n=[];return e.timedOut&&n.push(str_$2z(UIStrings$2H.warningTimeout)),URL$I.equalWithExcludedFragments(t,r)||n.push(str_$2z(UIStrings$2H.warningRedirected,{requested:t,final:r})),n}var navigation$1={gotoURL,getNavigationWarnings,UIStrings:UIStrings$2H};function getServiceWorkerVersions(e){
183
- return new Promise(((t,r)=>{const versionUpdatedListener=n=>{const a=n.versions.filter((e=>"redundant"!==e.status)),i=a.find((e=>"activated"===e.status));a.length&&!i||(e.off("ServiceWorker.workerVersionUpdated",versionUpdatedListener),e.sendCommand("ServiceWorker.disable").then((e=>t(n)),r))};e.on("ServiceWorker.workerVersionUpdated",versionUpdatedListener),e.sendCommand("ServiceWorker.enable").catch(r)}))}function getServiceWorkerRegistrations(e){return new Promise(((t,r)=>{e.once("ServiceWorker.workerRegistrationUpdated",(n=>{e.sendCommand("ServiceWorker.disable").then((e=>t(n)),r)})),e.sendCommand("ServiceWorker.enable").catch(r)}))}var serviceWorkers$2={getServiceWorkerVersions,getServiceWorkerRegistrations
148
+ const t=this._entries[this._findIndexOf(e)];return t&&t.value}set(e,t){let r=this._findIndexOf(e);-1===r&&(r=this._entries.length),this._entries[r]={key:e,value:t}}_findIndexOf(e){for(let t=0;t<this._entries.length;t++)if(this._equalsFn(e,this._entries[t].key))return t;return-1}static deepEquals(e,t){return isEqual$1(e,t)}}var arbitraryEqualityMap=ArbitraryEqualityMap$1;const ArbitraryEqualityMap=arbitraryEqualityMap,log$s=lighthouseLogger;function makeComputedArtifact$I(e,t){return Object.assign(e,{request:(r,n)=>{const a=t?Object.fromEntries(t.map((e=>[e,r[e]]))):r,i=n.computedCache,o=e.name,l=i.get(o)||new ArbitraryEqualityMap;i.set(o,l);const c=l.get(a);if(c)return c;const u={msg:`Computing artifact: ${o}`,id:`lh:computed:${o}`};log$s.time(u,"verbose");const p=e.compute_(a,n);return l.set(a,p),p.then((()=>log$s.timeEnd(u))).catch((()=>log$s.timeEnd(u))),p}})}var computedArtifact=makeComputedArtifact$I
149
+ ;const log$r=lighthouseLogger,NetworkRequest$n=networkRequest,EventEmitter$1=require$$1$3.EventEmitter;class NetworkRecorder$2 extends EventEmitter$1{constructor(){super(),this._records=[],this._recordsById=new Map,this._mainSessionId=null}getRawRecords(){return Array.from(this._records)}on(e,t){return super.on(e,t)}once(e,t){return super.once(e,t)}onRequestStarted(e){this._records.push(e),this._recordsById.set(e.requestId,e),this.emit("requeststarted",e)}onRequestFinished(e){this.emit("requestloaded",e)}onRequestWillBeSent(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);if(!r){const r=new NetworkRequest$n;return r.onRequestWillBeSent(t),r.sessionId=e.sessionId,this.onRequestStarted(r),void log$r.verbose("network",`request will be sent to ${r.url}`)}if(!t.redirectResponse)return;const n={...t,initiator:r.initiator,requestId:`${r.requestId}:redirect`},a=new NetworkRequest$n;a.onRequestWillBeSent(n),r.onRedirectResponse(t),
150
+ log$r.verbose("network",`${r.url} redirected to ${a.url}`),r.redirectDestination=a,a.redirectSource=r,this.onRequestStarted(a),this.onRequestFinished(r)}onRequestServedFromCache(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} served from cache`),r.onRequestServedFromCache())}onResponseReceived(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} response received`),r.onResponseReceived(t))}onDataReceived(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} data received`),r.onDataReceived(t))}onLoadingFinished(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} loading finished`),r.onLoadingFinished(t),this.onRequestFinished(r))}onLoadingFailed(e){
151
+ const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&(log$r.verbose("network",`${r.url} loading failed`),r.onLoadingFailed(t),this.onRequestFinished(r))}onResourceChangedPriority(e){const t=e.params,r=this._findRealRequestAndSetSession(t.requestId,e.sessionId);r&&r.onResourceChangedPriority(t)}dispatch(e){switch(e.method){case"Network.requestWillBeSent":return this.onRequestWillBeSent(e);case"Network.requestServedFromCache":return this.onRequestServedFromCache(e);case"Network.responseReceived":return this.onResponseReceived(e);case"Network.dataReceived":return this.onDataReceived(e);case"Network.loadingFinished":return this.onLoadingFinished(e);case"Network.loadingFailed":return this.onLoadingFailed(e);case"Network.resourceChangedPriority":return this.onResourceChangedPriority(e);default:return}}_findRealRequestAndSetSession(e,t){null===this._mainSessionId&&(this._mainSessionId=t),this._mainSessionId===t&&(t=void 0);let r=this._recordsById.get(e)
152
+ ;if(r&&r.isValid){for(;r.redirectDestination;)r=r.redirectDestination;return r.setSession(t),r}}static _chooseInitiatorRequest(e,t){if(e.redirectSource)return e.redirectSource;const r=e.initiator.stack&&e.initiator.stack.callFrames||[],n=e.initiator.url||r[0]&&r[0].url;let a=t.get(n)||[];if(a=a.filter((t=>t.responseReceivedTime<=e.startTime)),a.length>1){const e=a.filter((e=>e.resourceType!==NetworkRequest$n.TYPES.Other));e.length&&(a=e)}if(a.length>1){const t=a.filter((t=>t.frameId===e.frameId));t.length&&(a=t)}if(a.length>1&&"parser"===e.initiator.type){const e=a.filter((e=>e.resourceType===NetworkRequest$n.TYPES.Document));e.length&&(a=e)}return 1===a.length?a[0]:null}static recordsFromLogs(e){const t=new NetworkRecorder$2;e.forEach((e=>t.dispatch(e)));const r=t.getRawRecords().filter((e=>e.isValid)),n=new Map;for(const e of r){const t=n.get(e.url)||[];t.push(e),n.set(e.url,t)}for(const e of r){const t=NetworkRecorder$2._chooseInitiatorRequest(e,n);t&&e.setInitiatorRequest(t)
153
+ ;let r=e;for(;r.redirectDestination;)r=r.redirectDestination;if(r===e||r.redirects)continue;const a=[];for(let e=r.redirectSource;e;e=e.redirectSource)a.unshift(e);r.redirects=a}return r}}var networkRecorder=NetworkRecorder$2;const makeComputedArtifact$H=computedArtifact,NetworkRecorder$1=networkRecorder;class NetworkRecords$L{static async compute_(e){return NetworkRecorder$1.recordsFromLogs(e)}}var networkRecords=makeComputedArtifact$H(NetworkRecords$L,null);const INITIAL_CWD=14336,NetworkRequest$m=networkRequest,URL$K=urlShim,DEFAULT_SERVER_RESPONSE_PERCENTAGE=.4,SERVER_RESPONSE_PERCENTAGE_OF_TTFB={Document:.9,XHR:.9,Fetch:.9};class NetworkAnalyzer$c{static get SUMMARY(){return"__SUMMARY__"}static groupByOrigin(e){const t=new Map;return e.forEach((e=>{const r=e.parsedURL.securityOrigin,n=t.get(r)||[];n.push(e),t.set(r,n)})),t}static getSummary(e){return e.sort(((e,t)=>e-t)),{min:e[0],max:e[e.length-1],avg:e.reduce(((e,t)=>e+t),0)/e.length,median:e[Math.floor((e.length-1)/2)]}}
154
+ static summarize(e){const t=new Map,r=[];for(const[n,a]of e)t.set(n,NetworkAnalyzer$c.getSummary(a)),r.push(...a);return t.set(NetworkAnalyzer$c.SUMMARY,NetworkAnalyzer$c.getSummary(r)),t}static _estimateValueByOrigin(e,t){const r=NetworkAnalyzer$c.estimateIfConnectionWasReused(e),n=NetworkAnalyzer$c.groupByOrigin(e),a=new Map;for(const[e,i]of n.entries()){let n=[];for(const e of i){const a=e.timing;if(!a)continue;const i=t({record:e,timing:a,connectionReused:r.get(e.requestId)});void 0!==i&&(n=n.concat(i))}n.length&&a.set(e,n)}return a}static _estimateRTTByOriginViaTCPTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({timing:e,connectionReused:t})=>{if(!t)return e.sslStart>0&&e.sslEnd>0?[e.connectEnd-e.sslStart,e.sslStart-e.connectStart]:e.connectStart>0&&e.connectEnd>0?e.connectEnd-e.connectStart:void 0}))}static _estimateRTTByOriginViaDownloadTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:t,connectionReused:r})=>{if(r)return
155
+ ;if(e.transferSize<=INITIAL_CWD)return;if(!Number.isFinite(t.receiveHeadersEnd)||t.receiveHeadersEnd<0)return;const n=1e3*(e.endTime-e.startTime)-t.receiveHeadersEnd,a=Math.log2(e.transferSize/INITIAL_CWD);return a>5?void 0:n/a}))}static _estimateRTTByOriginViaSendStartTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:t,connectionReused:r})=>{if(r)return;if(!Number.isFinite(t.sendStart)||t.sendStart<0)return;let n=2;return"https"===e.parsedURL.scheme&&(n+=1),t.sendStart/n}))}static _estimateRTTByOriginViaHeadersEndTiming(e){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:t,connectionReused:r})=>{if(!Number.isFinite(t.receiveHeadersEnd)||t.receiveHeadersEnd<0)return;if(!e.resourceType)return;const n=SERVER_RESPONSE_PERCENTAGE_OF_TTFB[e.resourceType]||DEFAULT_SERVER_RESPONSE_PERCENTAGE,a=t.receiveHeadersEnd*n;let i=1;return r||(i+=1,"https"===e.parsedURL.scheme&&(i+=1),i+=1),Math.max((t.receiveHeadersEnd-a)/i,3)}))}
156
+ static _estimateResponseTimeByOrigin(e,t){return NetworkAnalyzer$c._estimateValueByOrigin(e,(({record:e,timing:r})=>{if(!Number.isFinite(r.receiveHeadersEnd)||r.receiveHeadersEnd<0)return;if(!Number.isFinite(r.sendEnd)||r.sendEnd<0)return;const n=r.receiveHeadersEnd-r.sendEnd,a=e.parsedURL.securityOrigin,i=t.get(a)||t.get(NetworkAnalyzer$c.SUMMARY)||0;return Math.max(n-i,0)}))}static canTrustConnectionInformation(e){const t=new Map;for(const r of e){const e=t.get(r.connectionId)||!r.connectionReused;t.set(r.connectionId,e)}return!(t.size<=1)&&Array.from(t.values()).every((e=>e))}static estimateIfConnectionWasReused(e,t){const{forceCoarseEstimates:r=!1}=t||{};if(!r&&NetworkAnalyzer$c.canTrustConnectionInformation(e))return new Map(e.map((e=>[e.requestId,!!e.connectionReused])));const n=new Map,a=NetworkAnalyzer$c.groupByOrigin(e);for(const[e,t]of a.entries()){const e=t.map((e=>e.endTime)).reduce(((e,t)=>Math.min(e,t)),1/0)
157
+ ;for(const r of t)n.set(r.requestId,r.startTime>=e||"h2"===r.protocol);const r=t.reduce(((e,t)=>e.startTime>t.startTime?t:e));n.set(r.requestId,!1)}return n}static estimateRTTByOrigin(e,t){const{forceCoarseEstimates:r=!1,coarseEstimateMultiplier:n=.3,useDownloadEstimates:a=!0,useSendStartEstimates:i=!0,useHeadersEndEstimates:o=!0}=t||{};let l=NetworkAnalyzer$c._estimateRTTByOriginViaTCPTiming(e);if(!l.size||r){l=new Map;const t=NetworkAnalyzer$c._estimateRTTByOriginViaDownloadTiming(e),r=NetworkAnalyzer$c._estimateRTTByOriginViaSendStartTiming(e),c=NetworkAnalyzer$c._estimateRTTByOriginViaHeadersEndTiming(e);for(const[e,r]of t.entries())a&&l.set(e,r);for(const[e,t]of r.entries()){if(!i)continue;const r=l.get(e)||[];l.set(e,r.concat(t))}for(const[e,t]of c.entries()){if(!o)continue;const r=l.get(e)||[];l.set(e,r.concat(t))}for(const e of l.values())e.forEach(((t,r)=>e[r]=t*n))}if(!l.size)throw new Error("No timing information available");return NetworkAnalyzer$c.summarize(l)}
158
+ static estimateServerResponseTimeByOrigin(e,t){let r=(t||{}).rttByOrigin;if(!r){r=new Map;const n=NetworkAnalyzer$c.estimateRTTByOrigin(e,t);for(const[e,t]of n.entries())r.set(e,t.min)}const n=NetworkAnalyzer$c._estimateResponseTimeByOrigin(e,r);return NetworkAnalyzer$c.summarize(n)}static estimateThroughput(e){let t=0;const r=e.reduce(((e,r)=>("data"===(r.parsedURL&&r.parsedURL.scheme)||r.failed||!r.finished||r.statusCode>300||!r.transferSize||(t+=r.transferSize,e.push({time:r.responseReceivedTime,isStart:!0}),e.push({time:r.endTime,isStart:!1})),e)),[]).sort(((e,t)=>e.time-t.time));if(!r.length)return 1/0;let n=0,a=0,i=0;return r.forEach((e=>{e.isStart?(0===n&&(a=e.time),n++):(n--,0===n&&(i+=e.time-a))})),8*t/i}static findMainDocument(e,t){const r=NetworkAnalyzer$c.findOptionalMainDocument(e,t);if(!r)throw new Error("Unable to identify the main resource");return r}static findOptionalMainDocument(e,t){if(t){
159
+ const r=e.find((e=>t.startsWith(e.url)&&URL$K.equalWithExcludedFragments(e.url,t)));if(r)return r}const r=e.filter((e=>e.resourceType===NetworkRequest$m.TYPES.Document));if(r.length)return r.reduce(((e,t)=>t.startTime<e.startTime?t:e))}static resolveRedirects(e){for(;e.redirectDestination;)e=e.redirectDestination;return e}}var networkAnalyzer=NetworkAnalyzer$c;const LHError$f=lhError.exports,NetworkAnalyzer$b=networkAnalyzer;function getNetworkError(e){if(!e)return new LHError$f(LHError$f.errors.NO_DOCUMENT_REQUEST);if(e.failed){const t=e.localizedFailDescription;return"net::ERR_NAME_NOT_RESOLVED"===t||"net::ERR_NAME_RESOLUTION_FAILED"===t||t.startsWith("net::ERR_DNS_")?new LHError$f(LHError$f.errors.DNS_FAILURE):new LHError$f(LHError$f.errors.FAILED_DOCUMENT_REQUEST,{errorDetails:t})}return e.hasErrorStatusCode()?new LHError$f(LHError$f.errors.ERRORED_DOCUMENT_REQUEST,{statusCode:`${e.statusCode}`}):void 0}function getInterstitialError(e,t){if(!e)return
160
+ ;return t.find((e=>e.documentURL.startsWith("chrome-error://")))&&e.failed?e.localizedFailDescription.startsWith("net::ERR_CERT")?new LHError$f(LHError$f.errors.INSECURE_DOCUMENT_REQUEST,{securityMessages:e.localizedFailDescription}):new LHError$f(LHError$f.errors.CHROME_INTERSTITIAL_ERROR):void 0}function getNonHtmlError(e){if(e)return"text/html"!==e.mimeType?new LHError$f(LHError$f.errors.NOT_HTML,{mimeType:e.mimeType}):void 0}function getPageLoadError$1(e,t){const{url:r,loadFailureMode:n,networkRecords:a}=t;let i,o;try{i=NetworkAnalyzer$b.findMainDocument(a,r)}catch(e){}i&&(o=NetworkAnalyzer$b.resolveRedirects(i));const l=getNetworkError(i),c=getInterstitialError(i,a),u=getNonHtmlError(o);if("ignore"!==n)return c||(l||(u||e))}var navigationError={getNetworkError,getInterstitialError,getPageLoadError:getPageLoadError$1,getNonHtmlError};const version="9.2.0";var _rollupPluginShim10=Object.freeze({__proto__:null,version}),require$$15=getAugmentedNamespace(_rollupPluginShim10)
161
+ ;const{version:lighthouseVersion$1}=require$$15,NO_THROTTLING_METRICS={latency:0,downloadThroughput:0,uploadThroughput:0,offline:!1},NO_CPU_THROTTLE_METRICS={rate:1};function parseUseragentIntoMetadata(e,t){const r=e.match(/Chrome\/([\d.]+)/),n=r&&r[1]||"99.0.1234.0",[a]=n.split(".",1),i="mobile"===t;return{brands:[{brand:"Chromium",version:a},{brand:"Google Chrome",version:a},{brand:"Lighthouse",version:lighthouseVersion$1}],fullVersion:n,...i?{platform:"Android",platformVersion:"6.0",architecture:"",model:"Moto G4"}:{platform:"macOS",platformVersion:"10.15.7",architecture:"x86",model:""},mobile:i}}async function emulate(e,t){if(!1!==t.emulatedUserAgent){const r=t.emulatedUserAgent;await e.sendCommand("Network.setUserAgentOverride",{userAgent:r,userAgentMetadata:parseUseragentIntoMetadata(r,t.formFactor)})}if(!0!==t.screenEmulation.disabled){const{width:r,height:n,deviceScaleFactor:a,mobile:i}=t.screenEmulation,o={width:r,height:n,deviceScaleFactor:a,mobile:i}
162
+ ;await e.sendCommand("Emulation.setDeviceMetricsOverride",o),await e.sendCommand("Emulation.setTouchEmulationEnabled",{enabled:o.mobile})}}async function throttle(e,t){if("devtools"!==t.throttlingMethod)return clearNetworkThrottling(e);await Promise.all([enableNetworkThrottling(e,t.throttling),enableCPUThrottling(e,t.throttling)])}async function clearThrottling(e){await Promise.all([clearNetworkThrottling(e),clearCPUThrottling(e)])}function enableNetworkThrottling(e,t){const r={offline:!1,latency:t.requestLatencyMs||0,downloadThroughput:t.downloadThroughputKbps||0,uploadThroughput:t.uploadThroughputKbps||0};return r.downloadThroughput=Math.floor(1024*r.downloadThroughput/8),r.uploadThroughput=Math.floor(1024*r.uploadThroughput/8),e.sendCommand("Network.emulateNetworkConditions",r)}function clearNetworkThrottling(e){return e.sendCommand("Network.emulateNetworkConditions",NO_THROTTLING_METRICS)}function enableCPUThrottling(e,t){const r=t.cpuSlowdownMultiplier
163
+ ;return e.sendCommand("Emulation.setCPUThrottlingRate",{rate:r})}function clearCPUThrottling(e){return e.sendCommand("Emulation.setCPUThrottlingRate",NO_CPU_THROTTLE_METRICS)}var emulation$3={emulate,throttle,clearThrottling,enableNetworkThrottling,clearNetworkThrottling,enableCPUThrottling,clearCPUThrottling};const log$q=lighthouseLogger,i18n$2E=i18n$2H,UIStrings$2I={warningData:"{locationCount, plural,\n =1 {There may be stored data affecting loading performance in this location: {locations}. Audit this page in an incognito window to prevent those resources from affecting your scores.}\n other {There may be stored data affecting loading performance in these locations: {locations}. Audit this page in an incognito window to prevent those resources from affecting your scores.}\n }"},str_$2A=i18n$2E.createMessageInstanceIdFn("lighthouse-core/gather/driver/storage.js",UIStrings$2I);async function clearDataForOrigin(e,t){const r={msg:"Cleaning origin data",
164
+ id:"lh:storage:clearDataForOrigin"};log$q.time(r);const n=new URL(t).origin,a=["file_systems","shader_cache","service_workers","cache_storage"].join(",");e.setNextProtocolTimeout(5e3);try{await e.sendCommand("Storage.clearDataForOrigin",{origin:n,storageTypes:a})}catch(e){if("PROTOCOL_TIMEOUT"!==e.code)throw e;log$q.warn("Driver","clearDataForOrigin timed out")}finally{log$q.timeEnd(r)}}async function getImportantStorageWarning(e,t){const r=await e.sendCommand("Storage.getUsageAndQuota",{origin:t}),n={local_storage:"Local Storage",indexeddb:"IndexedDB",websql:"Web SQL"},a=r.usageBreakdown.filter((e=>e.usage)).map((e=>n[e.storageType]||"")).filter(Boolean);if(a.length)return str_$2A(UIStrings$2I.warningData,{locations:a.join(", "),locationCount:a.length})}async function clearBrowserCaches(e){const t={msg:"Cleaning browser cache",id:"lh:storage:clearBrowserCaches"};log$q.time(t),await e.sendCommand("Network.clearBrowserCache"),await e.sendCommand("Network.setCacheDisabled",{
165
+ cacheDisabled:!0}),await e.sendCommand("Network.setCacheDisabled",{cacheDisabled:!1}),log$q.timeEnd(t)}var storage$2={clearDataForOrigin,clearBrowserCaches,getImportantStorageWarning,UIStrings:UIStrings$2I};const log$p=lighthouseLogger,storage$1=storage$2,emulation$2=emulation$3,pageFunctions$e=pageFunctions$h;async function enableAsyncStacks(e){const enable=async()=>{await e.sendCommand("Debugger.enable"),await e.sendCommand("Debugger.setSkipAllPauses",{skip:!0}),await e.sendCommand("Debugger.setAsyncCallStackDepth",{maxDepth:8})};e.on("Debugger.paused",(()=>e.sendCommand("Debugger.resume"))),e.on("Page.frameNavigated",(e=>{e.frame.parentId||enable().catch((e=>log$p.error("Driver",e)))})),await enable()}async function shimRequestIdleCallbackOnNewDocument(e,t){await e.executionContext.evaluateOnNewDocument(pageFunctions$e.wrapRequestIdleCallback,{args:[t.throttling.cpuSlowdownMultiplier]})}async function dismissJavaScriptDialogs(e){e.on("Page.javascriptDialogOpening",(t=>{
166
+ log$p.warn("Driver",`${t.type} dialog opened by the page automatically suppressed.`),e.sendCommand("Page.handleJavaScriptDialog",{accept:!0,promptText:"Lighthouse prompt response"}).catch((e=>log$p.warn("Driver",e)))})),await e.sendCommand("Page.enable")}async function resetStorageForNavigation(e,t){const r=[],n=await storage$1.getImportantStorageWarning(e,t.url);return n&&r.push(n),await storage$1.clearDataForOrigin(e,t.url),await storage$1.clearBrowserCaches(e),{warnings:r}}async function prepareThrottlingAndNetwork(e,t,r){const n={msg:"Preparing network conditions",id:"lh:gather:prepareThrottlingAndNetwork"};log$p.time(n),r.disableThrottling?await emulation$2.clearThrottling(e):await emulation$2.throttle(e,t);const a=(r.blockedUrlPatterns||[]).concat(t.blockedUrlPatterns||[]);await e.sendCommand("Network.setBlockedURLs",{urls:a});const i=t.extraHeaders;i&&await e.sendCommand("Network.setExtraHTTPHeaders",{headers:i}),log$p.timeEnd(n)}
167
+ async function prepareDeviceEmulationAndAsyncStacks(e,t){await e.defaultSession.sendCommand("Network.enable"),await emulation$2.emulate(e.defaultSession,t),await enableAsyncStacks(e.defaultSession)}async function prepareTargetForTimespanMode(e,t){const r={msg:"Preparing target for timespan mode",id:"lh:prepare:timespanMode"};log$p.time(r),await prepareDeviceEmulationAndAsyncStacks(e,t),await prepareThrottlingAndNetwork(e.defaultSession,t,{disableThrottling:!1,blockedUrlPatterns:void 0}),log$p.timeEnd(r)}async function prepareTargetForNavigationMode(e,t){const r={msg:"Preparing target for navigation mode",id:"lh:prepare:navigationMode"};log$p.time(r),await prepareDeviceEmulationAndAsyncStacks(e,t),await dismissJavaScriptDialogs(e.defaultSession),await e.executionContext.cacheNativesOnNewDocument(),"simulate"===t.throttlingMethod&&await shimRequestIdleCallbackOnNewDocument(e,t),log$p.timeEnd(r)}async function prepareTargetForIndividualNavigation(e,t,r){const n={
168
+ msg:"Preparing target for navigation",id:"lh:prepare:navigation"};log$p.time(n);const a=[];if(!t.disableStorageReset&&!r.disableStorageReset){const{warnings:t}=await resetStorageForNavigation(e,r);a.push(...t)}return await prepareThrottlingAndNetwork(e,t,r),log$p.timeEnd(n),{warnings:a}}var prepare$1={prepareThrottlingAndNetwork,prepareTargetForTimespanMode,prepareTargetForNavigationMode,prepareTargetForIndividualNavigation};const log$o=lighthouseLogger;class TargetManager$1{constructor(e){this._enabled=!1,this._session=e,this._listeners=[],this._onSessionAttached=this._onSessionAttached.bind(this),this._targets=new Map,this._onFrameNavigated=async e=>{e.frame.parentId||await this._session.sendCommand("Target.setAutoAttach",{autoAttach:!0,flatten:!0,waitForDebuggerOnStart:!0})}}async _onSessionAttached(e){try{const t=await e.sendCommand("Target.getTargetInfo").catch((()=>null)),r=t&&t.targetInfo&&t.targetInfo.type,n="page"===r||"iframe"===r;if(!t||!n)return
169
+ ;const a=t.targetInfo.targetId;if(e.setTargetInfo(t.targetInfo),this._targets.has(a))return;const i=t.targetInfo.url||t.targetInfo.targetId;log$o.verbose("target-manager",`target ${i} attached`);const o={target:t.targetInfo,session:e};this._targets.set(a,o);for(const e of this._listeners)await e(o);await e.sendCommand("Target.setAutoAttach",{autoAttach:!0,flatten:!0,waitForDebuggerOnStart:!0})}catch(e){if(/Target closed/.test(e.message))return;throw e}finally{await e.sendCommand("Runtime.runIfWaitingForDebugger").catch((()=>{}))}}async enable(){this._enabled||(this._enabled=!0,this._targets=new Map,this._session.on("Page.frameNavigated",this._onFrameNavigated),this._session.addSessionAttachedListener(this._onSessionAttached),await this._session.sendCommand("Page.enable"),await this._onSessionAttached(this._session))}async disable(){this._session.off("Page.frameNavigated",this._onFrameNavigated),this._session.removeSessionAttachedListener(this._onSessionAttached),this._enabled=!1,
170
+ this._targets=new Map}addTargetAttachedListener(e){this._listeners.push(e)}removeTargetAttachedListener(e){this._listeners=this._listeners.filter((t=>t!==e))}}var targetManager=TargetManager$1;const log$n=lighthouseLogger,{EventEmitter}=require$$1$3,NetworkRecorder=networkRecorder,NetworkRequest$l=networkRequest,URL$J=urlShim,TargetManager=targetManager;class NetworkMonitor$3{_networkRecorder=void 0;_targetManager=void 0;_frameNavigations=[];constructor(e){this._session=e,this._onTargetAttached=this._onTargetAttached.bind(this),this._sessions=new Map,this._onFrameNavigated=e=>this._frameNavigations.push(e.frame),this._onProtocolMessage=e=>{this.emit("protocolmessage",e),this._networkRecorder&&this._networkRecorder.dispatch(e)};const t=new EventEmitter;this.emit=t.emit.bind(t),this.on=t.on.bind(t),this.once=t.once.bind(t),this.off=t.off.bind(t),this.addListener=t.addListener.bind(t),this.removeListener=t.removeListener.bind(t),this.removeAllListeners=t.removeAllListeners.bind(t)}
171
+ async _onTargetAttached({session:e,target:t}){const r=t.targetId;this._sessions.set(r,e),e.addProtocolMessageListener(this._onProtocolMessage),await e.sendCommand("Network.enable")}async enable(){if(this._targetManager)return;this._frameNavigations=[],this._sessions=new Map,this._networkRecorder=new NetworkRecorder,this._targetManager=new TargetManager(this._session);const reEmit=e=>t=>{this.emit(e,t),this._emitNetworkStatus()};this._networkRecorder.on("requeststarted",reEmit("requeststarted")),this._networkRecorder.on("requestloaded",reEmit("requestloaded")),this._session.on("Page.frameNavigated",this._onFrameNavigated),this._targetManager.addTargetAttachedListener(this._onTargetAttached),await this._session.sendCommand("Page.enable"),await this._targetManager.enable()}async disable(){if(this._targetManager){this._session.off("Page.frameNavigated",this._onFrameNavigated),this._targetManager.removeTargetAttachedListener(this._onTargetAttached)
172
+ ;for(const e of this._sessions.values())e.removeProtocolMessageListener(this._onProtocolMessage);await this._targetManager.disable(),this._frameNavigations=[],this._networkRecorder=void 0,this._targetManager=void 0,this._sessions=new Map}}async getFinalNavigationUrl(){const e=this._frameNavigations;if(!e.length)return;const t=(await this._session.sendCommand("Page.getResourceTree")).frameTree.frame.id,r=e.filter((e=>e.id===t)),n=r[r.length-1];return n||log$n.warn("NetworkMonitor","No detected navigations"),n&&n.url}getInflightRequests(){return this._networkRecorder?this._networkRecorder.getRawRecords().filter((e=>!e.finished)):[]}isIdle(){return this._isActiveIdlePeriod(0)}isCriticalIdle(){if(!this._networkRecorder)return!1;const e=this._networkRecorder.getRawRecords().find((e=>"Document"===e.resourceType)),t=e&&e.frameId;return this._isActiveIdlePeriod(0,(e=>e.frameId===t&&("VeryHigh"===e.priority||"High"===e.priority)))}is2Idle(){return this._isActiveIdlePeriod(2)}
173
+ _isActiveIdlePeriod(e,t){if(!this._networkRecorder)return!1;const r=this._networkRecorder.getRawRecords();let n=0;for(let e=0;e<r.length;e++){const a=r[e];a.finished||(t&&!t(a)||NetworkRequest$l.isNonNetworkRequest(a)||n++)}return n<=e}_emitNetworkStatus(){const e=this.isIdle(),t=this.is2Idle(),r=this.isCriticalIdle();this.emit(e?"networkidle":"networkbusy"),this.emit(t?"network-2-idle":"network-2-busy"),this.emit(r?"network-critical-idle":"network-critical-busy"),t&&e?log$n.verbose("NetworkRecorder","network fully-quiet"):t&&!e?log$n.verbose("NetworkRecorder","network semi-quiet"):log$n.verbose("NetworkRecorder","network busy")}static findNetworkQuietPeriods(e,t,r=1/0){let n=[];e.forEach((e=>{URL$J.isNonNetworkProtocol(e.protocol)||"ws"!==e.protocol&&"wss"!==e.protocol&&(n.push({time:1e3*e.startTime,isStart:!0}),e.finished&&n.push({time:1e3*e.endTime,isStart:!1}))})),n=n.filter((e=>e.time<=r)).sort(((e,t)=>e.time-t.time));let a=0,i=0;const o=[];return n.forEach((e=>{
174
+ e.isStart?(a===t&&o.push({start:i,end:e.time}),a++):(a--,a===t&&(i=e.time))})),a<=t&&o.push({start:i,end:r}),o.filter((e=>e.start!==e.end))}}var networkMonitor=NetworkMonitor$3;const log$m=lighthouseLogger,LHError$e=lhError.exports,ExecutionContext=executionContext;function waitForNothing(){return{promise:Promise.resolve(),cancel(){}}}function waitForFrameNavigated$1(e){let cancel=()=>{throw new Error("waitForFrameNavigated.cancel() called before it was defined")};return{promise:new Promise(((t,r)=>{e.once("Page.frameNavigated",t),cancel=()=>{e.off("Page.frameNavigated",t),r(new Error("Wait for navigated cancelled"))}})),cancel}}function waitForFcp(e,t,r){let cancel=()=>{throw new Error("waitForFcp.cancel() called before it was defined")};return{promise:new Promise(((n,a)=>{const i=setTimeout((()=>{a(new LHError$e(LHError$e.errors.NO_FCP))}),r);let o;const lifecycleListener=e=>{"firstContentfulPaint"===e.name&&(o=setTimeout((()=>{n(),cancel()}),t))}
175
+ ;e.on("Page.lifecycleEvent",lifecycleListener);let l=!1;cancel=()=>{l||(l=!0,e.off("Page.lifecycleEvent",lifecycleListener),i&&clearTimeout(i),o&&clearTimeout(o),a(new Error("Wait for FCP canceled")))}})),cancel}}function waitForNetworkIdle(e,t,r){let n,a=!1,cancel=()=>{throw new Error("waitForNetworkIdle.cancel() called before it was defined")};const{networkQuietThresholdMs:i,busyEvent:o,idleEvent:l,isIdle:c}=r;return{promise:new Promise(((r,u)=>{const onIdle=()=>{t.once(o,onBusy),n=setTimeout((()=>{cancel(),r()}),i)},onBusy=()=>{t.once(l,onIdle),n&&clearTimeout(n)},domContentLoadedListener=()=>{a=!0,c(t)?onIdle():onBusy()},logStatus=()=>{if(!a)return void log$m.verbose("waitFor","Waiting on DomContentLoaded");const e=t.getInflightRequests();if(e.length<20)for(const t of e)log$m.verbose("waitFor",`Waiting on ${t.url.slice(0,120)} to finish`)};t.on("requeststarted",logStatus),t.on("requestloaded",logStatus),t.on(o,logStatus),e.once("Page.domContentEventFired",domContentLoadedListener)
176
+ ;let p=!1;cancel=()=>{p||(p=!0,n&&clearTimeout(n),e.off("Page.domContentEventFired",domContentLoadedListener),t.removeListener(o,onBusy),t.removeListener(l,onIdle),t.removeListener("requeststarted",logStatus),t.removeListener("requestloaded",logStatus),t.removeListener(o,logStatus))}})),cancel}}function waitForCPUIdle(e,t){if(!t)return{promise:Promise.resolve(),cancel:()=>{}};let r,n=!1;async function checkForQuiet(e,a){if(n)return;const i=await e.evaluate(checkTimeSinceLastLongTaskInPage,{args:[]});if(!n&&"number"==typeof i)if(i>=t)log$m.verbose("waitFor",`CPU has been idle for ${i} ms`),a();else{log$m.verbose("waitFor",`CPU has been idle for ${i} ms`);r=setTimeout((()=>checkForQuiet(e,a)),t-i)}}let cancel=()=>{throw new Error("waitForCPUIdle.cancel() called before it was defined")};const a=new ExecutionContext(e);return{promise:new Promise(((e,t)=>{a.evaluate(registerPerformanceObserverInPage,{args:[]}).then((()=>checkForQuiet(a,e))).catch(t),cancel=()=>{n||(n=!0,r&&clearTimeout(r),
177
+ t(new Error("Wait for CPU idle canceled")))}})),cancel}}function registerPerformanceObserverInPage(){if(void 0!==window.____lastLongTask)return;window.____lastLongTask=performance.now();new window.PerformanceObserver((e=>{const t=e.getEntries();for(const e of t)if("longtask"===e.entryType){const t=e.startTime+e.duration;window.____lastLongTask=Math.max(window.____lastLongTask||0,t)}})).observe({type:"longtask",buffered:!0})}function checkTimeSinceLastLongTaskInPage(){return new Promise((e=>{const t=performance.now(),r=window.____lastLongTask||0;setTimeout((()=>{const n=window.____lastLongTask||0;e(r===n?t-r:0)}),150)}))}function waitForLoadEvent(e,t){let cancel=()=>{throw new Error("waitForLoadEvent.cancel() called before it was defined")};return{promise:new Promise(((r,n)=>{let a;const loadListener=function(){a=setTimeout(r,t)};e.once("Page.loadEventFired",loadListener);let i=!1;cancel=()=>{i||(i=!0,e.off("Page.loadEventFired",loadListener),a&&clearTimeout(a))}})),cancel}}
178
+ async function isPageHung(e){try{return e.setNextProtocolTimeout(1e3),await e.sendCommand("Runtime.evaluate",{expression:'"ping"',returnByValue:!0,timeout:1e3}),!1}catch(e){return!0}}const DEFAULT_WAIT_FUNCTIONS={waitForFcp,waitForLoadEvent,waitForCPUIdle,waitForNetworkIdle};async function waitForFullyLoaded$1(e,t,r){const{pauseAfterFcpMs:n,pauseAfterLoadMs:a,networkQuietThresholdMs:i,cpuQuietThresholdMs:o,maxWaitForLoadedMs:l,maxWaitForFcpMs:c}=r,{waitForFcp:u,waitForLoadEvent:p,waitForNetworkIdle:f,waitForCPUIdle:b}=r._waitForTestOverrides||DEFAULT_WAIT_FUNCTIONS;let S;const _=c?u(e,n,c):waitForNothing(),T=p(e,a),E=f(e,t,{networkQuietThresholdMs:i,busyEvent:"network-2-busy",idleEvent:"network-2-idle",isIdle:e=>e.is2Idle()}),$=f(e,t,{networkQuietThresholdMs:i,busyEvent:"network-critical-busy",idleEvent:"network-critical-idle",isIdle:e=>e.isCriticalIdle()});let A=waitForNothing();const I=Promise.all([_.promise,T.promise,E.promise,$.promise]).then((()=>(A=b(e,o),
179
+ A.promise))).then((()=>async function(){return log$m.verbose("waitFor","loadEventFired and network considered idle"),{timedOut:!1}})).catch((e=>function(){throw e})),R=new Promise(((e,t)=>{S=setTimeout(e,l)})).then((t=>async()=>{if(log$m.warn("waitFor","Timed out waiting for page load. Checking if page is hung..."),await isPageHung(e))throw log$m.warn("waitFor","Page appears to be hung, killing JavaScript..."),await e.sendCommand("Emulation.setScriptExecutionDisabled",{value:!0}),await e.sendCommand("Runtime.terminateExecution"),new LHError$e(LHError$e.errors.PAGE_HUNG);return{timedOut:!0}})),x=await Promise.race([I,R]);return S&&clearTimeout(S),_.cancel(),T.cancel(),E.cancel(),A.cancel(),x()}function waitForUserToContinue$1(e){return e.defaultSession.setNextProtocolTimeout(2**31-1),e.executionContext.evaluate((function createInPagePromise(){let resolve=()=>{};const e=new Promise((e=>resolve=e))
180
+ ;return console.log(["You have enabled Lighthouse navigation debug mode.",'When you have finished inspecting the page, evaluate "continueLighthouseRun()"',"in the console to continue with the Lighthouse run."].join(" ")),window.continueLighthouseRun=resolve,e}),{args:[]})}var waitForCondition={waitForNothing,waitForFrameNavigated:waitForFrameNavigated$1,waitForFcp,waitForLoadEvent,waitForNetworkIdle,waitForCPUIdle,waitForFullyLoaded:waitForFullyLoaded$1,waitForUserToContinue:waitForUserToContinue$1};const log$l=lighthouseLogger,NetworkMonitor$2=networkMonitor,{waitForFullyLoaded,waitForFrameNavigated,waitForUserToContinue}=waitForCondition,constants$5=constants$7,i18n$2D=i18n$2H,URL$I=urlShim,UIStrings$2H={warningRedirected:"The page may not be loading as expected because your test URL ({requested}) was redirected to {final}. Try testing the second URL directly.",warningTimeout:"The page loaded too slowly to finish within the time limit. Results may be incomplete."
181
+ },str_$2z=i18n$2D.createMessageInstanceIdFn("lighthouse-core/gather/driver/navigation.js",UIStrings$2H),DEFAULT_PAUSE_AFTER_FCP=0,DEFAULT_PAUSE_AFTER_LOAD=0,DEFAULT_NETWORK_QUIET_THRESHOLD=5e3,DEFAULT_CPU_QUIET_THRESHOLD=0;function resolveWaitForFullyLoadedOptions(e){let{pauseAfterFcpMs:t,pauseAfterLoadMs:r,networkQuietThresholdMs:n,cpuQuietThresholdMs:a}=e,i=e.maxWaitForLoad,o=e.maxWaitForFcp;return"number"!=typeof t&&(t=DEFAULT_PAUSE_AFTER_FCP),"number"!=typeof r&&(r=DEFAULT_PAUSE_AFTER_LOAD),"number"!=typeof n&&(n=DEFAULT_NETWORK_QUIET_THRESHOLD),"number"!=typeof a&&(a=DEFAULT_CPU_QUIET_THRESHOLD),"number"!=typeof i&&(i=constants$5.defaultSettings.maxWaitForLoad),"number"!=typeof o&&(o=constants$5.defaultSettings.maxWaitForFcp),e.waitUntil.includes("fcp")||(o=void 0),{pauseAfterFcpMs:t,pauseAfterLoadMs:r,networkQuietThresholdMs:n,cpuQuietThresholdMs:a,maxWaitForLoadedMs:i,maxWaitForFcpMs:o}}async function gotoURL(e,t,r){const n={msg:`Navigating to ${t}`,id:"lh:driver:navigate"}
182
+ ;log$l.time(n);const a=e.defaultSession,i=new NetworkMonitor$2(e.defaultSession);await i.enable(),await a.sendCommand("Page.enable"),await a.sendCommand("Page.setLifecycleEventsEnabled",{enabled:!0}),a.setNextProtocolTimeout(1/0);const o=a.sendCommand("Page.navigate",{url:t}),l=r.waitUntil.includes("navigated"),c=r.waitUntil.includes("load"),u=r.waitUntil.includes("fcp"),p=[];if(l){const e=waitForFrameNavigated(a).promise;p.push(e.then((()=>({timedOut:!1}))))}if(c){const e=resolveWaitForFullyLoadedOptions(r);p.push(waitForFullyLoaded(a,i,e))}else if(u)throw new Error("Cannot wait for FCP without waiting for page load");const f=(await Promise.all(p)).some((e=>e.timedOut)),b=await i.getFinalNavigationUrl()||t;return await o,await i.disable(),r.debugNavigation&&await waitForUserToContinue(e),log$l.timeEnd(n),{finalUrl:b,warnings:getNavigationWarnings({timedOut:f,finalUrl:b,requestedUrl:t})}}function getNavigationWarnings(e){const{requestedUrl:t,finalUrl:r}=e,n=[]
183
+ ;return e.timedOut&&n.push(str_$2z(UIStrings$2H.warningTimeout)),URL$I.equalWithExcludedFragments(t,r)||n.push(str_$2z(UIStrings$2H.warningRedirected,{requested:t,final:r})),n}var navigation$1={gotoURL,getNavigationWarnings,UIStrings:UIStrings$2H};function getServiceWorkerVersions(e){return new Promise(((t,r)=>{const versionUpdatedListener=n=>{const a=n.versions.filter((e=>"redundant"!==e.status)),i=a.find((e=>"activated"===e.status));a.length&&!i||(e.off("ServiceWorker.workerVersionUpdated",versionUpdatedListener),e.sendCommand("ServiceWorker.disable").then((e=>t(n)),r))};e.on("ServiceWorker.workerVersionUpdated",versionUpdatedListener),e.sendCommand("ServiceWorker.enable").catch(r)}))}function getServiceWorkerRegistrations(e){return new Promise(((t,r)=>{e.once("ServiceWorker.workerRegistrationUpdated",(n=>{e.sendCommand("ServiceWorker.disable").then((e=>t(n)),r)})),e.sendCommand("ServiceWorker.enable").catch(r)}))}var serviceWorkers$2={getServiceWorkerVersions,
184
+ getServiceWorkerRegistrations
184
185
  },parsers={},require$$0$2=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]
185
186
  ;!function(e){const t=require$$0$2;e.TYPES={INTEGER:1,NUMBER:2,LENGTH:3,PERCENT:4,URL:5,COLOR:6,STRING:7,ANGLE:8,KEYWORD:9,NULL_OR_EMPTY_STR:10};var r=/^[-+]?[0-9]+$/,n=/^[-+]?[0-9]*\.[0-9]+$/,a=/^(0|[-+]?[0-9]*\.?[0-9]+(in|cm|em|mm|pt|pc|px|ex|rem|vh|vw))$/,i=/^[-+]?[0-9]*\.?[0-9]+%$/,o=/^url\(\s*([^)]*)\s*\)$/,l=/^("[^"]*"|'[^']*')$/,c=/^#[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]([0-9a-fA-F][0-9a-fA-F][0-9a-fA-F])?$/,u=/^rgb\(([^)]*)\)$/,p=/^rgba\(([^)]*)\)$/,f=/^hsla?\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*(,\s*(-?\d+|-?\d*.\d+)\s*)?\)/,b=/^([-+]?[0-9]*\.?[0-9]+)(deg|grad|rad)$/;e.valueType=function valueType(S){if(""===S||null===S)return e.TYPES.NULL_OR_EMPTY_STR;if("number"==typeof S&&(S=S.toString()),"string"==typeof S){if(r.test(S))return e.TYPES.INTEGER;if(n.test(S))return e.TYPES.NUMBER;if(a.test(S))return e.TYPES.LENGTH;if(i.test(S))return e.TYPES.PERCENT;if(o.test(S))return e.TYPES.URL;if(l.test(S))return e.TYPES.STRING
186
187
  ;if(b.test(S))return e.TYPES.ANGLE;if(c.test(S))return e.TYPES.COLOR;var _,T=u.exec(S);if(null!==T){if(3!==(_=T[1].split(/\s*,\s*/)).length)return;return _.every(i.test.bind(i))||_.every(r.test.bind(r))?e.TYPES.COLOR:void 0}if(null!==(T=p.exec(S))){if(4!==(_=T[1].split(/\s*,\s*/)).length)return;return(_.slice(0,3).every(i.test.bind(i))||_.every(r.test.bind(r)))&&n.test(_[3])?e.TYPES.COLOR:void 0}if(f.test(S))return e.TYPES.COLOR;if(S=S.toLowerCase(),t.includes(S))return e.TYPES.COLOR;switch(S){case"activeborder":case"activecaption":case"appworkspace":case"background":case"buttonface":case"buttonhighlight":case"buttonshadow":case"buttontext":case"captiontext":case"graytext":case"highlight":case"highlighttext":case"inactiveborder":case"inactivecaption":case"inactivecaptiontext":case"infobackground":case"infotext":case"menu":case"menutext":case"scrollbar":case"threeddarkshadow":case"threedface":case"threedhighlight":case"threedlightshadow":case"threedshadow":case"window":
@@ -324,14 +325,14 @@ e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",onend)}function
324
325
  if(cleanup(),0===EventEmitter$5.listenerCount(this,"error"))throw e}function cleanup(){r.removeListener("data",ondata),e.removeListener("drain",ondrain),r.removeListener("end",onend),r.removeListener("close",onclose),r.removeListener("error",onerror),e.removeListener("error",onerror),r.removeListener("end",cleanup),r.removeListener("close",cleanup),e.removeListener("close",cleanup)}return r.on("error",onerror),e.on("error",onerror),r.on("end",cleanup),r.on("close",cleanup),e.on("close",cleanup),e.emit("pipe",r),e};var _polyfillNode_stream=Object.freeze({__proto__:null,default:Stream,Readable,Writable,Duplex,Transform,PassThrough,Stream}),require$$3$1=getAugmentedNamespace(_polyfillNode_stream),require$$4$1=getAugmentedNamespace(_polyfillNode_util$1);class BaseNode$e{constructor(e){this._id=e,this._isMainDocument=!1,this._dependents=[],this._dependencies=[]}get id(){return this._id}get type(){throw new Error("Unimplemented")}get startTime(){throw new Error("Unimplemented")}
325
326
  get endTime(){throw new Error("Unimplemented")}setIsMainDocument(e){this._isMainDocument=e}isMainDocument(){return this._isMainDocument}getDependents(){return this._dependents.slice()}getNumberOfDependents(){return this._dependents.length}getDependencies(){return this._dependencies.slice()}getNumberOfDependencies(){return this._dependencies.length}getRootNode(){let e=this;for(;e._dependencies.length;)e=e._dependencies[0];return e}addDependent(e){e.addDependency(this)}addDependency(e){if(e===this)throw new Error("Cannot add dependency on itself");this._dependencies.includes(e)||(e._dependents.push(this),this._dependencies.push(e))}removeDependent(e){e.removeDependency(this)}removeDependency(e){if(!this._dependencies.includes(e))return;const t=e._dependents.indexOf(this);e._dependents.splice(t,1),this._dependencies.splice(this._dependencies.indexOf(e),1)}removeAllDependencies(){for(const e of this._dependencies.slice())this.removeDependency(e)}isDependentOn(e){let t=!1
326
327
  ;return this.traverse((r=>{t||(t=r===e)}),(e=>t?[]:e.getDependencies())),t}cloneWithoutRelationships(){const e=new BaseNode$e(this.id);return e.setIsMainDocument(this._isMainDocument),e}cloneWithRelationships(e){const t=this.getRootNode(),r=new Map;t.traverse((t=>{r.has(t.id)||(void 0!==e?e(t)&&t.traverse((e=>r.set(e.id,e.cloneWithoutRelationships())),(e=>e._dependencies.filter((e=>!r.has(e.id))))):r.set(t.id,t.cloneWithoutRelationships()))})),t.traverse((e=>{const t=r.get(e.id);if(t)for(const n of e._dependencies){const e=r.get(n.id);if(!e)throw new Error("Dependency somehow not cloned");t.addDependency(e)}}));const n=r.get(this.id);if(!n)throw new Error("Cloned graph missing node");return n}traverse(e,t){for(const{node:r,traversalPath:n}of this.traverseGenerator(t))e(r,n)}*traverseGenerator(e){e||(e=e=>e.getDependents());const t=[[this]],r=new Set([this.id]);for(;t.length;){const n=t.shift(),a=n[0];yield{node:a,traversalPath:n};for(const i of e(a))r.has(i.id)||(r.add(i.id),
327
- t.push([i,...n]))}}static hasCycle(e,t="both"){if("both"===t)return BaseNode$e.hasCycle(e,"dependents")||BaseNode$e.hasCycle(e,"dependencies");const r=new Set,n=[],a=[e],i=new Map([[e,0]]);for(;a.length;){const e=a.pop();if(n.includes(e))return!0;if(r.has(e))continue;for(;n.length>i.get(e);)n.pop();r.add(e),n.push(e);const o="dependents"===t?e._dependents:e._dependencies;for(const e of o)a.includes(e)||(a.push(e),i.set(e,n.length))}return!1}}BaseNode$e.TYPES={NETWORK:"network",CPU:"cpu"};var baseNode=BaseNode$e;const INITIAL_CONGESTION_WINDOW=10,TCP_SEGMENT_SIZE=1460;class TcpConnection$2{constructor(e,t,r=0,n=!0,a=!1){this._warmed=!1,this._ssl=n,this._h2=a,this._rtt=e,this._throughput=t,this._serverLatency=r,this._congestionWindow=INITIAL_CONGESTION_WINDOW,this._h2OverflowBytesDownloaded=0}static maximumSaturatedConnections(e,t){const r=8*(1e3/e*TCP_SEGMENT_SIZE);return Math.floor(t/r)}_computeMaximumCongestionWindowInSegments(){const e=this._throughput/8*(this._rtt/1e3)
328
- ;return Math.floor(e/TCP_SEGMENT_SIZE)}setThroughput(e){this._throughput=e}setCongestionWindow(e){this._congestionWindow=e}setWarmed(e){this._warmed=e}isWarm(){return this._warmed}isH2(){return this._h2}get congestionWindow(){return this._congestionWindow}setH2OverflowBytesDownloaded(e){this._h2&&(this._h2OverflowBytesDownloaded=e)}clone(){return Object.assign(new TcpConnection$2(this._rtt,this._throughput),this)}simulateDownloadUntil(e,t){const{timeAlreadyElapsed:r=0,maximumTimeToElapse:n=1/0,dnsResolutionTime:a=0}=t||{};this._warmed&&this._h2&&(e-=this._h2OverflowBytesDownloaded);const i=this._rtt,o=i/2,l=this._computeMaximumCongestionWindowInSegments();let c=o;this._warmed||(c=a+o+o+o+(this._ssl?i:0));let u=Math.ceil(c/i),p=c+this._serverLatency+o;this._warmed&&this._h2&&(p=0);const f=Math.max(p-r,0),b=n-f;let S=Math.min(this._congestionWindow,l),_=0;f>0?_=S*TCP_SEGMENT_SIZE:u=0;let T=0,E=e-_;for(;E>0&&T<=b;){u++,T+=i,S=Math.max(Math.min(l,2*S),1);const e=S*TCP_SEGMENT_SIZE;_+=e,
329
- E-=e}const $=f+T,A=this._h2?Math.max(_-e,0):0;return{roundTrips:u,timeElapsed:$,bytesDownloaded:Math.max(Math.min(_,e),0),extraBytesDownloaded:A,congestionWindow:S}}}var tcpConnection=TcpConnection$2;const NetworkAnalyzer$a=networkAnalyzer,TcpConnection$1=tcpConnection,DEFAULT_SERVER_RESPONSE_TIME=30,TLS_SCHEMES=["https","wss"],CONNECTIONS_PER_ORIGIN=6;var connectionPool=class ConnectionPool{constructor(e,t){this._options=t,this._records=e,this._connectionsByOrigin=new Map,this._connectionsByRecord=new Map,this._connectionsInUse=new Set,this._connectionReusedByRequestId=NetworkAnalyzer$a.estimateIfConnectionWasReused(e,{forceCoarseEstimates:!0}),this._initializeConnections()}connectionsInUse(){return Array.from(this._connectionsInUse)}_initializeConnections(){const e=this._connectionReusedByRequestId,t=this._options.additionalRttByOrigin,r=this._options.serverResponseTimeByOrigin,n=NetworkAnalyzer$a.groupByOrigin(this._records);for(const[a,i]of n.entries()){
330
- const n=[],o=t.get(a)||0,l=r.get(a)||DEFAULT_SERVER_RESPONSE_TIME;for(const t of i){if(e.get(t.requestId))continue;const r=TLS_SCHEMES.includes(t.parsedURL.scheme),a="h2"===t.protocol,i=new TcpConnection$1(this._options.rtt+o,this._options.throughput,l,r,a);n.push(i)}if(!n.length)throw new Error(`Could not find a connection for origin: ${a}`);const c=n[0].isH2()?1:CONNECTIONS_PER_ORIGIN;for(;n.length<c;)n.push(n[0].clone());this._connectionsByOrigin.set(a,n)}}_findAvailableConnectionWithLargestCongestionWindow(e,t){const{ignoreConnectionReused:r,observedConnectionWasReused:n}=t;let a=null;for(let t=0;t<e.length;t++){const i=e[t];if(!r&&i._warmed!==n)continue;if(this._connectionsInUse.has(i))continue;const o=a&&a.congestionWindow||-1/0;i.congestionWindow>o&&(a=i)}return a}acquire(e,t={}){if(this._connectionsByRecord.has(e))throw new Error("Record already has a connection")
331
- ;const r=e.parsedURL.securityOrigin,n=!!this._connectionReusedByRequestId.get(e.requestId),a=this._connectionsByOrigin.get(r)||[],i=this._findAvailableConnectionWithLargestCongestionWindow(a,{ignoreConnectionReused:t.ignoreConnectionReused,observedConnectionWasReused:n});return i?(this._connectionsInUse.add(i),this._connectionsByRecord.set(e,i),i):null}acquireActiveConnectionFromRecord(e){const t=this._connectionsByRecord.get(e);if(!t)throw new Error("Could not find an active connection for record");return t}release(e){const t=this._connectionsByRecord.get(e);this._connectionsByRecord.delete(e),this._connectionsInUse.delete(t)}};const DNS_RESOLUTION_RTT_MULTIPLIER=2;class DNSCache$1{constructor({rtt:e}){this._rtt=e,this._resolvedDomainNames=new Map}getTimeUntilResolution(e,t){const{requestedAt:r=0,shouldUpdateCache:n=!1}=t||{},a=e.parsedURL.host,i=this._resolvedDomainNames.get(a);let o=this._rtt*DNSCache$1.RTT_MULTIPLIER;if(i){const e=Math.max(i.resolvedAt-r,0);o=Math.min(e,o)}
332
- const l=r+o;return n&&this._updateCacheResolvedAtIfNeeded(e,l),o}_updateCacheResolvedAtIfNeeded(e,t){const r=e.parsedURL.host,n=this._resolvedDomainNames.get(r)||{resolvedAt:t};n.resolvedAt=Math.min(n.resolvedAt,t),this._resolvedDomainNames.set(r,n)}setResolvedAt(e,t){this._resolvedDomainNames.set(e,{resolvedAt:t})}}DNSCache$1.RTT_MULTIPLIER=DNS_RESOLUTION_RTT_MULTIPLIER;var dnsCache=DNSCache$1;const BaseNode$d=baseNode;class SimulatorTimingMap$1{constructor(){this._nodeTimings=new Map}getNodes(){return Array.from(this._nodeTimings.keys())}setReadyToStart(e,t){this._nodeTimings.set(e,t)}setInProgress(e,t){const r={...this.getQueued(e),startTime:t.startTime,timeElapsed:0};this._nodeTimings.set(e,e.type===BaseNode$d.TYPES.NETWORK?{...r,timeElapsedOvershoot:0,bytesDownloaded:0}:r)}setCompleted(e,t){const r={...this.getInProgress(e),endTime:t.endTime};this._nodeTimings.set(e,r)}setCpu(e,t){const r={...this.getCpuStarted(e),timeElapsed:t.timeElapsed};this._nodeTimings.set(e,r)}
333
- setCpuEstimated(e,t){const r={...this.getCpuStarted(e),estimatedTimeElapsed:t.estimatedTimeElapsed};this._nodeTimings.set(e,r)}setNetwork(e,t){const r={...this.getNetworkStarted(e),timeElapsed:t.timeElapsed,timeElapsedOvershoot:t.timeElapsedOvershoot,bytesDownloaded:t.bytesDownloaded};this._nodeTimings.set(e,r)}setNetworkEstimated(e,t){const r={...this.getNetworkStarted(e),estimatedTimeElapsed:t.estimatedTimeElapsed};this._nodeTimings.set(e,r)}getQueued(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);return t}getCpuStarted(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`);if("bytesDownloaded"in t)throw new Error(`Node ${e.id} timing not valid`);return t}getNetworkStarted(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`)
334
- ;if(!("bytesDownloaded"in t))throw new Error(`Node ${e.id} timing not valid`);return t}getInProgress(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`);if(!("estimatedTimeElapsed"in t))throw new Error(`Node ${e.id} not yet in progress`);return t}getCompleted(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`);if(!("estimatedTimeElapsed"in t))throw new Error(`Node ${e.id} not yet in progress`);if(!("endTime"in t))throw new Error(`Node ${e.id} not yet completed`);return t}}var simulatorTimingMap=SimulatorTimingMap$1
328
+ t.push([i,...n]))}}static hasCycle(e,t="both"){if("both"===t)return BaseNode$e.hasCycle(e,"dependents")||BaseNode$e.hasCycle(e,"dependencies");const r=new Set,n=[],a=[e],i=new Map([[e,0]]);for(;a.length;){const e=a.pop();if(n.includes(e))return!0;if(r.has(e))continue;for(;n.length>i.get(e);)n.pop();r.add(e),n.push(e);const o="dependents"===t?e._dependents:e._dependencies;for(const e of o)a.includes(e)||(a.push(e),i.set(e,n.length))}return!1}canDependOn(e){return e.startTime<=this.startTime}}BaseNode$e.TYPES={NETWORK:"network",CPU:"cpu"};var baseNode=BaseNode$e;const INITIAL_CONGESTION_WINDOW=10,TCP_SEGMENT_SIZE=1460;class TcpConnection$2{constructor(e,t,r=0,n=!0,a=!1){this._warmed=!1,this._ssl=n,this._h2=a,this._rtt=e,this._throughput=t,this._serverLatency=r,this._congestionWindow=INITIAL_CONGESTION_WINDOW,this._h2OverflowBytesDownloaded=0}static maximumSaturatedConnections(e,t){const r=8*(1e3/e*TCP_SEGMENT_SIZE);return Math.floor(t/r)}_computeMaximumCongestionWindowInSegments(){
329
+ const e=this._throughput/8*(this._rtt/1e3);return Math.floor(e/TCP_SEGMENT_SIZE)}setThroughput(e){this._throughput=e}setCongestionWindow(e){this._congestionWindow=e}setWarmed(e){this._warmed=e}isWarm(){return this._warmed}isH2(){return this._h2}get congestionWindow(){return this._congestionWindow}setH2OverflowBytesDownloaded(e){this._h2&&(this._h2OverflowBytesDownloaded=e)}clone(){return Object.assign(new TcpConnection$2(this._rtt,this._throughput),this)}simulateDownloadUntil(e,t){const{timeAlreadyElapsed:r=0,maximumTimeToElapse:n=1/0,dnsResolutionTime:a=0}=t||{};this._warmed&&this._h2&&(e-=this._h2OverflowBytesDownloaded);const i=this._rtt,o=i/2,l=this._computeMaximumCongestionWindowInSegments();let c=o;this._warmed||(c=a+o+o+o+(this._ssl?i:0));let u=Math.ceil(c/i),p=c+this._serverLatency+o;this._warmed&&this._h2&&(p=0);const f=Math.max(p-r,0),b=n-f;let S=Math.min(this._congestionWindow,l),_=0;f>0?_=S*TCP_SEGMENT_SIZE:u=0;let T=0,E=e-_;for(;E>0&&T<=b;){u++,T+=i,
330
+ S=Math.max(Math.min(l,2*S),1);const e=S*TCP_SEGMENT_SIZE;_+=e,E-=e}const $=f+T,A=this._h2?Math.max(_-e,0):0;return{roundTrips:u,timeElapsed:$,bytesDownloaded:Math.max(Math.min(_,e),0),extraBytesDownloaded:A,congestionWindow:S}}}var tcpConnection=TcpConnection$2;const NetworkAnalyzer$a=networkAnalyzer,TcpConnection$1=tcpConnection,DEFAULT_SERVER_RESPONSE_TIME=30,TLS_SCHEMES=["https","wss"],CONNECTIONS_PER_ORIGIN=6;var connectionPool=class ConnectionPool{constructor(e,t){this._options=t,this._records=e,this._connectionsByOrigin=new Map,this._connectionsByRecord=new Map,this._connectionsInUse=new Set,this._connectionReusedByRequestId=NetworkAnalyzer$a.estimateIfConnectionWasReused(e,{forceCoarseEstimates:!0}),this._initializeConnections()}connectionsInUse(){return Array.from(this._connectionsInUse)}_initializeConnections(){
331
+ const e=this._connectionReusedByRequestId,t=this._options.additionalRttByOrigin,r=this._options.serverResponseTimeByOrigin,n=NetworkAnalyzer$a.groupByOrigin(this._records);for(const[a,i]of n.entries()){const n=[],o=t.get(a)||0,l=r.get(a)||DEFAULT_SERVER_RESPONSE_TIME;for(const t of i){if(e.get(t.requestId))continue;const r=TLS_SCHEMES.includes(t.parsedURL.scheme),a="h2"===t.protocol,i=new TcpConnection$1(this._options.rtt+o,this._options.throughput,l,r,a);n.push(i)}if(!n.length)throw new Error(`Could not find a connection for origin: ${a}`);const c=n[0].isH2()?1:CONNECTIONS_PER_ORIGIN;for(;n.length<c;)n.push(n[0].clone());this._connectionsByOrigin.set(a,n)}}_findAvailableConnectionWithLargestCongestionWindow(e,t){const{ignoreConnectionReused:r,observedConnectionWasReused:n}=t;let a=null;for(let t=0;t<e.length;t++){const i=e[t];if(!r&&i._warmed!==n)continue;if(this._connectionsInUse.has(i))continue;const o=a&&a.congestionWindow||-1/0;i.congestionWindow>o&&(a=i)}return a}acquire(e,t={}){
332
+ if(this._connectionsByRecord.has(e))throw new Error("Record already has a connection");const r=e.parsedURL.securityOrigin,n=!!this._connectionReusedByRequestId.get(e.requestId),a=this._connectionsByOrigin.get(r)||[],i=this._findAvailableConnectionWithLargestCongestionWindow(a,{ignoreConnectionReused:t.ignoreConnectionReused,observedConnectionWasReused:n});return i?(this._connectionsInUse.add(i),this._connectionsByRecord.set(e,i),i):null}acquireActiveConnectionFromRecord(e){const t=this._connectionsByRecord.get(e);if(!t)throw new Error("Could not find an active connection for record");return t}release(e){const t=this._connectionsByRecord.get(e);this._connectionsByRecord.delete(e),this._connectionsInUse.delete(t)}};const DNS_RESOLUTION_RTT_MULTIPLIER=2;class DNSCache$1{constructor({rtt:e}){this._rtt=e,this._resolvedDomainNames=new Map}getTimeUntilResolution(e,t){const{requestedAt:r=0,shouldUpdateCache:n=!1}=t||{},a=e.parsedURL.host,i=this._resolvedDomainNames.get(a)
333
+ ;let o=this._rtt*DNSCache$1.RTT_MULTIPLIER;if(i){const e=Math.max(i.resolvedAt-r,0);o=Math.min(e,o)}const l=r+o;return n&&this._updateCacheResolvedAtIfNeeded(e,l),o}_updateCacheResolvedAtIfNeeded(e,t){const r=e.parsedURL.host,n=this._resolvedDomainNames.get(r)||{resolvedAt:t};n.resolvedAt=Math.min(n.resolvedAt,t),this._resolvedDomainNames.set(r,n)}setResolvedAt(e,t){this._resolvedDomainNames.set(e,{resolvedAt:t})}}DNSCache$1.RTT_MULTIPLIER=DNS_RESOLUTION_RTT_MULTIPLIER;var dnsCache=DNSCache$1;const BaseNode$d=baseNode;class SimulatorTimingMap$1{constructor(){this._nodeTimings=new Map}getNodes(){return Array.from(this._nodeTimings.keys())}setReadyToStart(e,t){this._nodeTimings.set(e,t)}setInProgress(e,t){const r={...this.getQueued(e),startTime:t.startTime,timeElapsed:0};this._nodeTimings.set(e,e.type===BaseNode$d.TYPES.NETWORK?{...r,timeElapsedOvershoot:0,bytesDownloaded:0}:r)}setCompleted(e,t){const r={...this.getInProgress(e),endTime:t.endTime};this._nodeTimings.set(e,r)}setCpu(e,t){
334
+ const r={...this.getCpuStarted(e),timeElapsed:t.timeElapsed};this._nodeTimings.set(e,r)}setCpuEstimated(e,t){const r={...this.getCpuStarted(e),estimatedTimeElapsed:t.estimatedTimeElapsed};this._nodeTimings.set(e,r)}setNetwork(e,t){const r={...this.getNetworkStarted(e),timeElapsed:t.timeElapsed,timeElapsedOvershoot:t.timeElapsedOvershoot,bytesDownloaded:t.bytesDownloaded};this._nodeTimings.set(e,r)}setNetworkEstimated(e,t){const r={...this.getNetworkStarted(e),estimatedTimeElapsed:t.estimatedTimeElapsed};this._nodeTimings.set(e,r)}getQueued(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);return t}getCpuStarted(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`);if("bytesDownloaded"in t)throw new Error(`Node ${e.id} timing not valid`);return t}getNetworkStarted(e){const t=this._nodeTimings.get(e)
335
+ ;if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`);if(!("bytesDownloaded"in t))throw new Error(`Node ${e.id} timing not valid`);return t}getInProgress(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`);if(!("estimatedTimeElapsed"in t))throw new Error(`Node ${e.id} not yet in progress`);return t}getCompleted(e){const t=this._nodeTimings.get(e);if(!t)throw new Error(`Node ${e.id} not yet queued`);if(!("startTime"in t))throw new Error(`Node ${e.id} not yet started`);if(!("estimatedTimeElapsed"in t))throw new Error(`Node ${e.id} not yet in progress`);if(!("endTime"in t))throw new Error(`Node ${e.id} not yet completed`);return t}}var simulatorTimingMap=SimulatorTimingMap$1
335
336
  ;const BaseNode$c=baseNode,TcpConnection=tcpConnection,ConnectionPool=connectionPool,DNSCache=dnsCache,mobileSlow4G=constants$7.throttling.mobileSlow4G,SimulatorTimingMap=simulatorTimingMap,DEFAULT_MAXIMUM_CONCURRENT_REQUESTS=10,DEFAULT_LAYOUT_TASK_MULTIPLIER=.5,DEFAULT_MAXIMUM_CPU_TASK_DURATION=1e4,NodeState={NotReadyToStart:0,ReadyToStart:1,InProgress:2,Complete:3},PriorityStartTimePenalty={VeryHigh:0,High:.25,Medium:.5,Low:1,VeryLow:2},ALL_SIMULATION_NODE_TIMINGS=new Map;class Simulator$2{constructor(e){if(this._options=Object.assign({rtt:mobileSlow4G.rttMs,throughput:1024*mobileSlow4G.throughputKbps,maximumConcurrentRequests:DEFAULT_MAXIMUM_CONCURRENT_REQUESTS,cpuSlowdownMultiplier:mobileSlow4G.cpuSlowdownMultiplier,layoutTaskMultiplier:DEFAULT_LAYOUT_TASK_MULTIPLIER,additionalRttByOrigin:new Map,serverResponseTimeByOrigin:new Map},e),this._rtt=this._options.rtt,this._throughput=this._options.throughput,
336
337
  this._maximumConcurrentRequests=Math.max(Math.min(TcpConnection.maximumSaturatedConnections(this._rtt,this._throughput),this._options.maximumConcurrentRequests),1),this._cpuSlowdownMultiplier=this._options.cpuSlowdownMultiplier,this._layoutTaskMultiplier=this._cpuSlowdownMultiplier*this._options.layoutTaskMultiplier,this._cachedNodeListByStartPosition=[],this._flexibleOrdering=!1,this._nodeTimings=new SimulatorTimingMap,this._numberInProgressByType=new Map,this._nodes={},this._dns=new DNSCache({rtt:this._rtt}),this._connectionPool=null,!Number.isFinite(this._rtt))throw new Error(`Invalid rtt ${this._rtt}`);if(!Number.isFinite(this._throughput))throw new Error(`Invalid rtt ${this._throughput}`)}get rtt(){return this._rtt}_initializeConnectionPool(e){const t=[];e.getRootNode().traverse((e=>{e.type===BaseNode$c.TYPES.NETWORK&&t.push(e.record)})),this._connectionPool=new ConnectionPool(t,this._options)}_initializeAuxiliaryData(){this._nodeTimings=new SimulatorTimingMap,
337
338
  this._numberInProgressByType=new Map,this._nodes={},this._cachedNodeListByStartPosition=[];for(const e of Object.values(NodeState))this._nodes[e]=new Set}_numberInProgress(e){return this._numberInProgressByType.get(e)||0}_markNodeAsReadyToStart(e,t){const r=Simulator$2._computeNodeStartPosition(e),n=this._cachedNodeListByStartPosition.findIndex((e=>Simulator$2._computeNodeStartPosition(e)>r)),a=-1===n?this._cachedNodeListByStartPosition.length:n;this._cachedNodeListByStartPosition.splice(a,0,e),this._nodes[NodeState.ReadyToStart].add(e),this._nodes[NodeState.NotReadyToStart].delete(e),this._nodeTimings.setReadyToStart(e,{queuedTime:t})}_markNodeAsInProgress(e,t){const r=this._cachedNodeListByStartPosition.indexOf(e);this._cachedNodeListByStartPosition.splice(r,1),this._nodes[NodeState.InProgress].add(e),this._nodes[NodeState.ReadyToStart].delete(e),this._numberInProgressByType.set(e.type,this._numberInProgress(e.type)+1),this._nodeTimings.setInProgress(e,{startTime:t})}
@@ -340,21 +341,21 @@ for(const e of this._connectionPool.connectionsInUse())e.setThroughput(this._thr
340
341
  const e=this._connectionPool.acquireActiveConnectionFromRecord(t),a=this._dns.getTimeUntilResolution(t,{requestedAt:r.startTime,shouldUpdateCache:!0}),i=r.timeElapsed;n=e.simulateDownloadUntil(t.transferSize-r.bytesDownloaded,{timeAlreadyElapsed:i,dnsResolutionTime:a,maximumTimeToElapse:1/0}).timeElapsed}const a=n+r.timeElapsedOvershoot;return this._nodeTimings.setNetworkEstimated(e,{estimatedTimeElapsed:a}),a}_findNextNodeCompletionTime(){let e=1/0;for(const t of this._nodes[NodeState.InProgress])e=Math.min(e,this._estimateTimeRemaining(t));return e}_updateProgressMadeInTimePeriod(e,t,r){const n=this._nodeTimings.getInProgress(e),a=n.estimatedTimeElapsed===t;if(e.type===BaseNode$c.TYPES.CPU||e.isConnectionless)return a?this._markNodeAsComplete(e,r):n.timeElapsed+=t;if(e.type!==BaseNode$c.TYPES.NETWORK)throw new Error("Unsupported");if(!("bytesDownloaded"in n))throw new Error("Invalid timing data")
341
342
  ;const i=e.record,o=this._connectionPool.acquireActiveConnectionFromRecord(i),l=this._dns.getTimeUntilResolution(i,{requestedAt:n.startTime,shouldUpdateCache:!0}),c=o.simulateDownloadUntil(i.transferSize-n.bytesDownloaded,{dnsResolutionTime:l,timeAlreadyElapsed:n.timeElapsed,maximumTimeToElapse:t-n.timeElapsedOvershoot});o.setCongestionWindow(c.congestionWindow),o.setH2OverflowBytesDownloaded(c.extraBytesDownloaded),a?(o.setWarmed(!0),this._connectionPool.release(i),this._markNodeAsComplete(e,r)):(n.timeElapsed+=c.timeElapsed,n.timeElapsedOvershoot+=c.timeElapsed-t,n.bytesDownloaded+=c.bytesDownloaded)}_computeFinalNodeTimings(){const e=[];for(const t of this._nodeTimings.getNodes()){const r=this._nodeTimings.getCompleted(t);e.push([t,{startTime:r.startTime,endTime:r.endTime,duration:r.endTime-r.startTime}])}return e.sort(((e,t)=>e[1].startTime-t[1].startTime)),new Map(e)}getOptions(){return this._options}simulate(e,t){
342
343
  if(BaseNode$c.hasCycle(e))throw new Error("Cannot simulate graph with cycle");t=Object.assign({label:void 0,flexibleOrdering:!1},t),this._flexibleOrdering=!!t.flexibleOrdering,this._dns=new DNSCache({rtt:this._rtt}),this._initializeConnectionPool(e),this._initializeAuxiliaryData();const r=this._nodes[NodeState.NotReadyToStart],n=this._nodes[NodeState.ReadyToStart],a=this._nodes[NodeState.InProgress],i=e.getRootNode();i.traverse((e=>r.add(e)));let o=0,l=0;for(this._markNodeAsReadyToStart(i,o);n.size||a.size;){for(const e of this._getNodesSortedByStartPosition())this._startNodeIfPossible(e,o);if(!a.size){if(this._flexibleOrdering)throw new Error("Failed to start a node");this._flexibleOrdering=!0;continue}this._updateNetworkCapacity();const e=this._findNextNodeCompletionTime();if(o+=e,!Number.isFinite(e)||l>1e5)throw new Error("Simulation failed, depth exceeded");l++;for(const t of a)this._updateProgressMadeInTimePeriod(t,e,o)}const c=this._computeFinalNodeTimings()
343
- ;return ALL_SIMULATION_NODE_TIMINGS.set(t.label||"unlabeled",c),{timeInMs:o,nodeTimings:c}}static get ALL_NODE_TIMINGS(){return ALL_SIMULATION_NODE_TIMINGS}static _computeNodeStartPosition(e){return"cpu"===e.type?e.startTime:e.startTime+(1e3*PriorityStartTimePenalty[e.record.priority]*1e3||0)}}var simulator=Simulator$2;function convertNodeTimingsToTrace(e){const t=[],r=1e9,n={pid:1,tid:1,cat:"devtools.timeline"},a="A00001",toMicroseconds=e=>r+1e3*e;t.push(createFakeTracingStartedEvent()),t.push({...createFakeTracingStartedEvent(),name:"TracingStartedInBrowser"});let i=1,o=0;for(const[r,n]of e.entries())if(o=Math.max(o,n.endTime),"cpu"===r.type)t.push(...createFakeTaskEvents(r,n));else{if(/^data/.test(r.record.url))continue;t.push(...createFakeNetworkEvents(r.record,n))}return t.push(...createFakeTaskEvents({childEvents:[],event:{}},{startTime:o+1e3,endTime:o+1001})),{traceEvents:t};function createFakeTracingStartedEvent(){const e={frameTreeNodeId:1,sessionId:"1.1",page:a,
344
- persistentIds:!0,frames:[{frame:a,url:"about:blank",name:"",processId:1}]};return{...n,ts:9999e5,ph:"I",s:"t",cat:"disabled-by-default-devtools.timeline",name:"TracingStartedInPage",args:{data:e},dur:0}}function createFakeTaskEvents(e,t){const r={url:"",frame:a,lineNumber:0,columnNumber:0},i=toMicroseconds(t.startTime),o=[{...n,ph:"X",name:"Task",ts:i,dur:1e3*(t.endTime-t.startTime),args:{data:r}}],l=e.event.ts||0,c=1e3*(t.endTime-t.startTime)/e.event.dur,u=new Set(["ResourceSendRequest","ResourceFinish","ResourceReceiveResponse","ResourceReceivedData"]);for(const t of e.childEvents){if(u.has(t.name))continue;const e=i+(t.ts-l)*c,r={...t,pid:n.pid,tid:n.tid,ts:e};t.dur&&(r.dur=t.dur*c),o.push(r)}return o}function createFakeNetworkEvents(e,t){i++;let{startTime:r,endTime:o}=t;r===o&&(o+=.3);const l={requestId:i.toString(),frame:a},c={...n,ph:"I",s:"t",dur:0},u={...l,requestMethod:e.requestMethod,url:e.url,priority:e.priority},p={...l,statusCode:e.statusCode,mimeType:e.mimeType,
345
- encodedDataLength:e.transferSize,fromCache:e.fromDiskCache,fromServiceWorker:e.fetchedViaServiceWorker},f={...l,decodedBodyLength:e.resourceSize,didFail:!!e.failed,finishTime:o},b=[{...c,name:"ResourceSendRequest",ts:toMicroseconds(r),args:{data:u}},{...c,name:"ResourceFinish",ts:toMicroseconds(o),args:{data:f}}];return e.failed||b.push({...c,name:"ResourceReceiveResponse",ts:toMicroseconds((r+o)/2),args:{data:p}}),b}}var lanternTraceSaver$1={simulationNamesToIgnore:["unlabeled","optimisticSpeedIndex","optimisticFlexSpeedIndex","pessimisticSpeedIndex"],convertNodeTimingsToTrace};const log$d=lighthouseLogger,TraceProcessor$2=traceProcessor;function getUberMetrics(e){const t=e.metrics;if(t&&t.details&&"items"in t.details)return t.details.items[0]}class Metrics$2{constructor(e,t){this._traceEvents=e,this._auditResults=t}static get metricsDefinitions(){return[{name:"Time Origin",id:"timeorigin",tsKey:"observedTimeOriginTs"},{name:"First Contentful Paint",id:"ttfcp",
346
- tsKey:"observedFirstContentfulPaintTs"},{name:"First Meaningful Paint",id:"ttfmp",tsKey:"observedFirstMeaningfulPaintTs"},{name:"Speed Index",id:"si",tsKey:"observedSpeedIndexTs"},{name:"First Visual Change",id:"fv",tsKey:"observedFirstVisualChangeTs"},{name:"Visually Complete 100%",id:"vc100",tsKey:"observedLastVisualChangeTs"},{name:"Interactive",id:"tti",tsKey:"interactiveTs"},{name:"End of Trace",id:"eot",tsKey:"observedTraceEndTs"},{name:"On Load",id:"onload",tsKey:"observedLoadTs"},{name:"DOM Content Loaded",id:"dcl",tsKey:"observedDomContentLoadedTs"}]}gatherMetrics(){const e=getUberMetrics(this._auditResults);if(!e)return[];const t=[];return Metrics$2.metricsDefinitions.forEach((r=>{const n=e[r.tsKey];void 0!==n?t.push({id:r.id,name:r.name,ts:n}):log$d.error("pwmetrics-events",`${r.name} timestamp not found`)})),t}getTimeOriginEvt(e){const t=e.find((e=>"timeorigin"===e.id));if(!t)return{errorMessage:"timeorigin Metric not found in definitions"};try{
347
- const e=TraceProcessor$2.findMainFrameIds(this._traceEvents);return{pid:e.pid,tid:e.tid,ts:t.ts}}catch(e){return{errorMessage:e.message}}}synthesizeEventPair(e,t){const r={pid:t.pid,tid:t.tid,cat:"blink.user_timing",name:e.name,args:{},id:`0x${(1e6*Math.random()|0).toString(16)}`};return[Object.assign({},r,{ts:t.ts,ph:"b"}),Object.assign({},r,{ts:e.ts,ph:"e"})]}generateFakeEvents(){const e=this.gatherMetrics();if(0===e.length)return log$d.error("metrics-events","Metrics collection had errors, not synthetizing trace events"),[];const t=this.getTimeOriginEvt(e);if("errorMessage"in t)return log$d.error("pwmetrics-events",`Reference timeOrigin error: ${t.errorMessage}`),[];const r=[];return e.forEach((e=>{"timeorigin"!==e.id&&(e.ts?(log$d.verbose("pwmetrics-events",`Sythesizing trace events for ${e.name}`),r.push(...this.synthesizeEventPair(e,t))):log$d.error("pwmetrics-events",`(${e.name}) missing timestamp. Skipping…`))})),r}}var pwmetricsEvents=Metrics$2
348
- ;const makeComputedArtifact$G=computedArtifact,NetworkAnalyzer$9=networkAnalyzer,NetworkRecords$J=networkRecords;class NetworkAnalysis$1{static computeRTTAndServerResponseTime(e){const t=new Map;for(const[r,n]of NetworkAnalyzer$9.estimateRTTByOrigin(e).entries())t.set(r,n.min);const r=Math.min(...Array.from(t.values())),n=NetworkAnalyzer$9.estimateServerResponseTimeByOrigin(e,{rttByOrigin:t}),a=new Map,i=new Map;for(const[e,o]of n.entries()){const n=t.get(e)||r;a.set(e,n-r),i.set(e,o.median)}return{rtt:r,additionalRttByOrigin:a,serverResponseTimeByOrigin:i}}static async compute_(e,t){const r=await NetworkRecords$J.request(e,t);return{throughput:NetworkAnalyzer$9.estimateThroughput(r),...NetworkAnalysis$1.computeRTTAndServerResponseTime(r)}}}var networkAnalysis=makeComputedArtifact$G(NetworkAnalysis$1);const makeComputedArtifact$F=computedArtifact,constants$3=constants$7,Simulator$1=simulator,NetworkAnalysis=networkAnalysis;class LoadSimulator$a{static async compute_(e,t){
349
- const{throttlingMethod:r,throttling:n,precomputedLanternData:a}=e.settings,i=await NetworkAnalysis.request(e.devtoolsLog,t),o={additionalRttByOrigin:i.additionalRttByOrigin,serverResponseTimeByOrigin:i.serverResponseTimeByOrigin};switch(a&&(o.additionalRttByOrigin=new Map(Object.entries(a.additionalRttByOrigin)),o.serverResponseTimeByOrigin=new Map(Object.entries(a.serverResponseTimeByOrigin))),r){case"provided":o.rtt=i.rtt,o.throughput=i.throughput,o.cpuSlowdownMultiplier=1,o.layoutTaskMultiplier=1;break;case"devtools":n&&(o.rtt=n.requestLatencyMs/constants$3.throttling.DEVTOOLS_RTT_ADJUSTMENT_FACTOR,o.throughput=1024*n.downloadThroughputKbps/constants$3.throttling.DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR),o.cpuSlowdownMultiplier=1,o.layoutTaskMultiplier=1;break;case"simulate":n&&(o.rtt=n.rttMs,o.throughput=1024*n.throughputKbps,o.cpuSlowdownMultiplier=n.cpuSlowdownMultiplier)}return new Simulator$1(o)}static convertAnalysisToSaveableLanternData(e){const t={additionalRttByOrigin:{},
350
- serverResponseTimeByOrigin:{}};for(const[r,n]of e.additionalRttByOrigin.entries())r.startsWith("http")&&(t.additionalRttByOrigin[r]=n);for(const[r,n]of e.serverResponseTimeByOrigin.entries())r.startsWith("http")&&(t.serverResponseTimeByOrigin[r]=n);return t}}var loadSimulator=makeComputedArtifact$F(LoadSimulator$a);const fs$1=require$$0$3,path$3=require$$5$2,log$c=lighthouseLogger,stream=require$$3$1,{promisify}=require$$4$1,Simulator=simulator,lanternTraceSaver=lanternTraceSaver$1,Metrics$1=pwmetricsEvents,NetworkAnalysisComputed$3=networkAnalysis,LoadSimulatorComputed=loadSimulator,LHError$d=lhError.exports,pipeline=promisify&&promisify(stream.pipeline),artifactsFilename="artifacts.json",traceSuffix=".trace.json",devtoolsLogSuffix=".devtoolslog.json";function loadArtifacts(e){if(log$c.log("Reading artifacts from disk:",e),!fs$1.existsSync(e))throw new Error("No saved artifacts found at "+e)
351
- ;const t=fs$1.readFileSync(path$3.join(e,artifactsFilename),"utf8"),r=JSON.parse(t,LHError$d.parseReviver),n=fs$1.readdirSync(e);return r.devtoolsLogs={},n.filter((e=>e.endsWith(devtoolsLogSuffix))).forEach((t=>{const n=t.replace(devtoolsLogSuffix,""),a=JSON.parse(fs$1.readFileSync(path$3.join(e,t),"utf8"));r.devtoolsLogs[n]=a})),r.traces={},n.filter((e=>e.endsWith(traceSuffix))).forEach((t=>{const n=fs$1.readFileSync(path$3.join(e,t),{encoding:"utf-8"}),a=JSON.parse(n),i=t.replace(traceSuffix,"");r.traces[i]=Array.isArray(a)?{traceEvents:a}:a})),Array.isArray(r.Timing)&&r.Timing.forEach((e=>e.gather=!0)),r}function stringifyReplacer(e,t){return t instanceof Error?LHError$d.stringifyReplacer(t):t}async function saveArtifacts(e,t){const r={msg:"Saving artifacts",id:"lh:assetSaver:saveArtifacts"};log$c.time(r),fs$1.mkdirSync(t,{recursive:!0});const n=fs$1.readdirSync(t)
352
- ;for(const e of n)(e.endsWith(traceSuffix)||e.endsWith(devtoolsLogSuffix)||e===artifactsFilename)&&fs$1.unlinkSync(`${t}/${e}`);const{traces:a,devtoolsLogs:i,...o}=e;for(const[e,r]of Object.entries(a))await saveTrace(r,`${t}/${e}${traceSuffix}`);for(const[e,r]of Object.entries(i))await saveDevtoolsLog(r,`${t}/${e}${devtoolsLogSuffix}`);const l=JSON.stringify(o,stringifyReplacer,2)+"\n";fs$1.writeFileSync(`${t}/${artifactsFilename}`,l,"utf8"),log$c.log("Artifacts saved to disk in folder:",t),log$c.timeEnd(r)}function saveLhr(e,t){fs$1.writeFileSync(`${t}/lhr.report.json`,JSON.stringify(e,null,2))}async function prepareAssets(e,t){const r=Object.keys(e.traces),n=[];for(const a of r){const r=e.traces[a],i=e.devtoolsLogs[a],o=Object.assign({},r);if(t){const e=new Metrics$1(o.traceEvents,t).generateFakeEvents();o.traceEvents=o.traceEvents.concat(e)}n.push({passName:a,traceData:o,devtoolsLog:i})}return n}function*arrayOfObjectsJsonGenerator(e){if(yield"[\n",e.length>0){
353
- const t=e[Symbol.iterator](),r=t.next().value;yield` ${JSON.stringify(r)}`;let n=500,a="";for(const e of t)a+=`,\n ${JSON.stringify(e)}`,n--,0===n&&(yield a,n=500,a="");yield a}yield"\n]"}function*traceJsonGenerator(e){const{traceEvents:t,...r}=e;yield"{\n",yield'"traceEvents": ',yield*arrayOfObjectsJsonGenerator(t);for(const[e,t]of Object.entries(r))yield`,\n"${e}": ${JSON.stringify(t,null,2)}`;yield"}\n"}async function saveTrace(e,t){const r=traceJsonGenerator(e),n=fs$1.createWriteStream(t);return pipeline(r,n)}function saveDevtoolsLog(e,t){const r=arrayOfObjectsJsonGenerator(e),n=fs$1.createWriteStream(t);return pipeline(r,n)}async function saveLanternDebugTraces(e){if(process.env.LANTERN_DEBUG)for(const[t,r]of Simulator.ALL_NODE_TIMINGS){if(lanternTraceSaver.simulationNamesToIgnore.includes(t))continue;const n=`${e}-${t}${traceSuffix}`;await saveTrace(lanternTraceSaver.convertNodeTimingsToTrace(r),n),log$c.log("saveAssets",`${t} lantern trace file streamed to disk: ${n}`)}}
354
- async function saveAssets(e,t,r){const n=(await prepareAssets(e,t)).map((async(e,t)=>{const n=`${r}-${t}${devtoolsLogSuffix}`;fs$1.writeFileSync(n,JSON.stringify(e.devtoolsLog,null,2)),log$c.log("saveAssets","devtools log saved to disk: "+n);const a=`${r}-${t}${traceSuffix}`;log$c.log("saveAssets","streaming trace file to disk: "+a),await saveTrace(e.traceData,a),log$c.log("saveAssets","trace file streamed to disk: "+a)}));await Promise.all(n),await saveLanternDebugTraces(r)}async function saveLanternNetworkData(e,t){const r={computedCache:new Map},n=await NetworkAnalysisComputed$3.request(e,r),a=LoadSimulatorComputed.convertAnalysisToSaveableLanternData(n);fs$1.writeFileSync(t,JSON.stringify(a))}var assetSaver$1={saveArtifacts,saveLhr,loadArtifacts,saveAssets,prepareAssets,saveTrace,saveDevtoolsLog,saveLanternNetworkData,stringifyReplacer},_rollupPluginShim5={},_rollupPluginShim5$1=Object.freeze({__proto__:null,default:_rollupPluginShim5
355
- }),require$$1$1=getAugmentedNamespace(_rollupPluginShim5$1);const log$b=lighthouseLogger,SENTRY_URL="https://a6bb0da87ee048cc9ae2a345fc09ab2e:63a7029f46f74265981b7e005e0f69f8@sentry.io/174697",SAMPLE_RATE=.01,SAMPLED_ERRORS=[],noop=()=>{},sentryDelegate={init,captureMessage:noop,captureBreadcrumb:noop,getContext:noop,captureException:async()=>{},_shouldSample:()=>SAMPLE_RATE>=Math.random()};function init(e){if(e.flags.enableErrorReporting&&sentryDelegate._shouldSample())try{const t=require$$1$1,r=Object.assign({},e.environmentData,{captureUnhandledRejections:!0});t.config(SENTRY_URL,r).install(),sentryDelegate.captureMessage=(...e)=>t.captureMessage(...e),sentryDelegate.captureBreadcrumb=(...e)=>t.captureBreadcrumb(...e),sentryDelegate.getContext=()=>t.getContext();const n=new Map;sentryDelegate.captureException=async(e,r={})=>{if(!e)return;if(e.expected)return;const a=r.tags||{};if(a.audit){const t=`audit-${a.audit}-${e.message}`;if(n.has(t))return;n.set(t,!0)}if(a.gatherer){
356
- const t=`gatherer-${a.gatherer}-${e.message}`;if(n.has(t))return;n.set(t,!0)}const i=SAMPLED_ERRORS.find((t=>t.pattern.test(e.message)));return i&&i.rate<=Math.random()?void 0:(e.protocolMethod&&(r.fingerprint=["{{ default }}",e.protocolMethod,e.protocolError],r.tags=r.tags||{},r.tags.protocolMethod=e.protocolMethod),new Promise((n=>{t.captureException(e,r,(()=>n()))})))};const a=Object.assign({url:e.url,formFactor:e.flags.formFactor,throttlingMethod:e.flags.throttlingMethod},e.flags.throttling);t.mergeContext({extra:Object.assign({},e.environmentData.extra,a)})}catch(e){log$b.warn("sentry","Could not load raven library, errors will not be reported.")}}var sentry=sentryDelegate,_rollupPluginShim9={},_rollupPluginShim9$1=Object.freeze({__proto__:null,default:_rollupPluginShim9}),require$$0$1=getAugmentedNamespace(_rollupPluginShim9$1);const htmlReportAssets=require$$0$1;class ReportGenerator{static replaceStrings(e,t){if(0===t.length)return e;const r=t[0],n=t.slice(1)
357
- ;return e.split(r.search).map((e=>ReportGenerator.replaceStrings(e,n))).join(r.replacement)}static sanitizeJson(e){return JSON.stringify(e).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}static generateReportHtml(e){const t=ReportGenerator.sanitizeJson(e),r=htmlReportAssets.REPORT_JAVASCRIPT.replace(/<\//g,"\\u003c/");return ReportGenerator.replaceStrings(htmlReportAssets.REPORT_TEMPLATE,[{search:"%%LIGHTHOUSE_JSON%%",replacement:t},{search:"%%LIGHTHOUSE_JAVASCRIPT%%",replacement:r}])}static generateFlowReportHtml(e){const t=ReportGenerator.sanitizeJson(e);return ReportGenerator.replaceStrings(htmlReportAssets.FLOW_REPORT_TEMPLATE,[{search:"%%LIGHTHOUSE_FLOW_JSON%%",replacement:t},{search:"%%LIGHTHOUSE_FLOW_JAVASCRIPT%%",replacement:htmlReportAssets.FLOW_REPORT_JAVASCRIPT},{search:"/*%%LIGHTHOUSE_FLOW_CSS%%*/",replacement:htmlReportAssets.FLOW_REPORT_CSS}])}static generateReportCSV(e){
344
+ ;return ALL_SIMULATION_NODE_TIMINGS.set(t.label||"unlabeled",c),{timeInMs:o,nodeTimings:c}}computeWastedMsFromWastedBytes(e){const{throughput:t,observedThroughput:r}=this._options,n=0===t?r:t;if(0===n)return 0;return 8*e/n*1e3}static get ALL_NODE_TIMINGS(){return ALL_SIMULATION_NODE_TIMINGS}static _computeNodeStartPosition(e){return"cpu"===e.type?e.startTime:e.startTime+(1e3*PriorityStartTimePenalty[e.record.priority]*1e3||0)}}var simulator=Simulator$2;function convertNodeTimingsToTrace(e){const t=[],r=1e9,n={pid:1,tid:1,cat:"devtools.timeline"},a="A00001",toMicroseconds=e=>r+1e3*e;t.push(createFakeTracingStartedEvent()),t.push({...createFakeTracingStartedEvent(),name:"TracingStartedInBrowser"});let i=1,o=0;for(const[r,n]of e.entries())if(o=Math.max(o,n.endTime),"cpu"===r.type)t.push(...createFakeTaskEvents(r,n));else{if(/^data/.test(r.record.url))continue;t.push(...createFakeNetworkEvents(r.record,n))}return t.push(...createFakeTaskEvents({childEvents:[],event:{}},{startTime:o+1e3,
345
+ endTime:o+1001})),{traceEvents:t};function createFakeTracingStartedEvent(){const e={frameTreeNodeId:1,sessionId:"1.1",page:a,persistentIds:!0,frames:[{frame:a,url:"about:blank",name:"",processId:1}]};return{...n,ts:9999e5,ph:"I",s:"t",cat:"disabled-by-default-devtools.timeline",name:"TracingStartedInPage",args:{data:e},dur:0}}function createFakeTaskEvents(e,t){const r={url:"",frame:a,lineNumber:0,columnNumber:0},i=toMicroseconds(t.startTime),o=[{...n,ph:"X",name:"Task",ts:i,dur:1e3*(t.endTime-t.startTime),args:{data:r}}],l=e.event.ts||0,c=1e3*(t.endTime-t.startTime)/e.event.dur,u=new Set(["ResourceSendRequest","ResourceFinish","ResourceReceiveResponse","ResourceReceivedData"]);for(const t of e.childEvents){if(u.has(t.name))continue;const e=i+(t.ts-l)*c,r={...t,pid:n.pid,tid:n.tid,ts:e};t.dur&&(r.dur=t.dur*c),o.push(r)}return o}function createFakeNetworkEvents(e,t){i++;let{startTime:r,endTime:o}=t;r===o&&(o+=.3);const l={requestId:i.toString(),frame:a},c={...n,ph:"I",s:"t",dur:0},u={
346
+ ...l,requestMethod:e.requestMethod,url:e.url,priority:e.priority},p={...l,statusCode:e.statusCode,mimeType:e.mimeType,encodedDataLength:e.transferSize,fromCache:e.fromDiskCache,fromServiceWorker:e.fetchedViaServiceWorker},f={...l,decodedBodyLength:e.resourceSize,didFail:!!e.failed,finishTime:o},b=[{...c,name:"ResourceSendRequest",ts:toMicroseconds(r),args:{data:u}},{...c,name:"ResourceFinish",ts:toMicroseconds(o),args:{data:f}}];return e.failed||b.push({...c,name:"ResourceReceiveResponse",ts:toMicroseconds((r+o)/2),args:{data:p}}),b}}var lanternTraceSaver$1={simulationNamesToIgnore:["unlabeled","optimisticSpeedIndex","optimisticFlexSpeedIndex","pessimisticSpeedIndex"],convertNodeTimingsToTrace};const log$d=lighthouseLogger,TraceProcessor$2=traceProcessor;function getUberMetrics(e){const t=e.metrics;if(t&&t.details&&"items"in t.details)return t.details.items[0]}class Metrics$2{constructor(e,t){this._traceEvents=e,this._auditResults=t}static get metricsDefinitions(){return[{
347
+ name:"Time Origin",id:"timeorigin",tsKey:"observedTimeOriginTs"},{name:"First Contentful Paint",id:"ttfcp",tsKey:"observedFirstContentfulPaintTs"},{name:"First Meaningful Paint",id:"ttfmp",tsKey:"observedFirstMeaningfulPaintTs"},{name:"Speed Index",id:"si",tsKey:"observedSpeedIndexTs"},{name:"First Visual Change",id:"fv",tsKey:"observedFirstVisualChangeTs"},{name:"Visually Complete 100%",id:"vc100",tsKey:"observedLastVisualChangeTs"},{name:"Interactive",id:"tti",tsKey:"interactiveTs"},{name:"End of Trace",id:"eot",tsKey:"observedTraceEndTs"},{name:"On Load",id:"onload",tsKey:"observedLoadTs"},{name:"DOM Content Loaded",id:"dcl",tsKey:"observedDomContentLoadedTs"}]}gatherMetrics(){const e=getUberMetrics(this._auditResults);if(!e)return[];const t=[];return Metrics$2.metricsDefinitions.forEach((r=>{const n=e[r.tsKey];void 0!==n?t.push({id:r.id,name:r.name,ts:n}):log$d.error("pwmetrics-events",`${r.name} timestamp not found`)})),t}getTimeOriginEvt(e){
348
+ const t=e.find((e=>"timeorigin"===e.id));if(!t)return{errorMessage:"timeorigin Metric not found in definitions"};try{const e=TraceProcessor$2.findMainFrameIds(this._traceEvents);return{pid:e.pid,tid:e.tid,ts:t.ts}}catch(e){return{errorMessage:e.message}}}synthesizeEventPair(e,t){const r={pid:t.pid,tid:t.tid,cat:"blink.user_timing",name:e.name,args:{},id:`0x${(1e6*Math.random()|0).toString(16)}`};return[Object.assign({},r,{ts:t.ts,ph:"b"}),Object.assign({},r,{ts:e.ts,ph:"e"})]}generateFakeEvents(){const e=this.gatherMetrics();if(0===e.length)return log$d.error("metrics-events","Metrics collection had errors, not synthetizing trace events"),[];const t=this.getTimeOriginEvt(e);if("errorMessage"in t)return log$d.error("pwmetrics-events",`Reference timeOrigin error: ${t.errorMessage}`),[];const r=[];return e.forEach((e=>{"timeorigin"!==e.id&&(e.ts?(log$d.verbose("pwmetrics-events",`Sythesizing trace events for ${e.name}`),
349
+ r.push(...this.synthesizeEventPair(e,t))):log$d.error("pwmetrics-events",`(${e.name}) missing timestamp. Skipping…`))})),r}}var pwmetricsEvents=Metrics$2;const makeComputedArtifact$G=computedArtifact,NetworkAnalyzer$9=networkAnalyzer,NetworkRecords$J=networkRecords;class NetworkAnalysis$1{static computeRTTAndServerResponseTime(e){const t=new Map;for(const[r,n]of NetworkAnalyzer$9.estimateRTTByOrigin(e).entries())t.set(r,n.min);const r=Math.min(...Array.from(t.values())),n=NetworkAnalyzer$9.estimateServerResponseTimeByOrigin(e,{rttByOrigin:t}),a=new Map,i=new Map;for(const[e,o]of n.entries()){const n=t.get(e)||r;a.set(e,n-r),i.set(e,o.median)}return{rtt:r,additionalRttByOrigin:a,serverResponseTimeByOrigin:i}}static async compute_(e,t){const r=await NetworkRecords$J.request(e,t);return{throughput:NetworkAnalyzer$9.estimateThroughput(r),...NetworkAnalysis$1.computeRTTAndServerResponseTime(r)}}}var networkAnalysis=makeComputedArtifact$G(NetworkAnalysis$1,null)
350
+ ;const makeComputedArtifact$F=computedArtifact,constants$3=constants$7,Simulator$1=simulator,NetworkAnalysis=networkAnalysis;class LoadSimulator$a{static async compute_(e,t){const{throttlingMethod:r,throttling:n,precomputedLanternData:a}=e.settings,i=await NetworkAnalysis.request(e.devtoolsLog,t),o={additionalRttByOrigin:i.additionalRttByOrigin,serverResponseTimeByOrigin:i.serverResponseTimeByOrigin,observedThroughput:i.throughput};switch(a&&(o.additionalRttByOrigin=new Map(Object.entries(a.additionalRttByOrigin)),o.serverResponseTimeByOrigin=new Map(Object.entries(a.serverResponseTimeByOrigin))),r){case"provided":o.rtt=i.rtt,o.throughput=i.throughput,o.cpuSlowdownMultiplier=1,o.layoutTaskMultiplier=1;break;case"devtools":n&&(o.rtt=n.requestLatencyMs/constants$3.throttling.DEVTOOLS_RTT_ADJUSTMENT_FACTOR,o.throughput=1024*n.downloadThroughputKbps/constants$3.throttling.DEVTOOLS_THROUGHPUT_ADJUSTMENT_FACTOR),o.cpuSlowdownMultiplier=1,o.layoutTaskMultiplier=1;break;case"simulate":
351
+ n&&(o.rtt=n.rttMs,o.throughput=1024*n.throughputKbps,o.cpuSlowdownMultiplier=n.cpuSlowdownMultiplier)}return new Simulator$1(o)}static convertAnalysisToSaveableLanternData(e){const t={additionalRttByOrigin:{},serverResponseTimeByOrigin:{}};for(const[r,n]of e.additionalRttByOrigin.entries())r.startsWith("http")&&(t.additionalRttByOrigin[r]=n);for(const[r,n]of e.serverResponseTimeByOrigin.entries())r.startsWith("http")&&(t.serverResponseTimeByOrigin[r]=n);return t}}var loadSimulator=makeComputedArtifact$F(LoadSimulator$a,["devtoolsLog","settings"]);const fs$1=require$$0$3,path$3=require$$5$2,log$c=lighthouseLogger,stream=require$$3$1,{promisify}=require$$4$1,Simulator=simulator,lanternTraceSaver=lanternTraceSaver$1,Metrics$1=pwmetricsEvents,NetworkAnalysisComputed$3=networkAnalysis,LoadSimulatorComputed=loadSimulator,LHError$d=lhError.exports,pipeline=promisify&&promisify(stream.pipeline),artifactsFilename="artifacts.json",traceSuffix=".trace.json",devtoolsLogSuffix=".devtoolslog.json"
352
+ ;function loadArtifacts(e){if(log$c.log("Reading artifacts from disk:",e),!fs$1.existsSync(e))throw new Error("No saved artifacts found at "+e);const t=fs$1.readFileSync(path$3.join(e,artifactsFilename),"utf8"),r=JSON.parse(t,LHError$d.parseReviver),n=fs$1.readdirSync(e);return r.devtoolsLogs={},n.filter((e=>e.endsWith(devtoolsLogSuffix))).forEach((t=>{const n=t.replace(devtoolsLogSuffix,""),a=JSON.parse(fs$1.readFileSync(path$3.join(e,t),"utf8"));r.devtoolsLogs[n]=a})),r.traces={},n.filter((e=>e.endsWith(traceSuffix))).forEach((t=>{const n=fs$1.readFileSync(path$3.join(e,t),{encoding:"utf-8"}),a=JSON.parse(n),i=t.replace(traceSuffix,"");r.traces[i]=Array.isArray(a)?{traceEvents:a}:a})),Array.isArray(r.Timing)&&r.Timing.forEach((e=>e.gather=!0)),r}function stringifyReplacer(e,t){return t instanceof Error?LHError$d.stringifyReplacer(t):t}async function saveArtifacts(e,t){const r={msg:"Saving artifacts",id:"lh:assetSaver:saveArtifacts"};log$c.time(r),fs$1.mkdirSync(t,{recursive:!0})
353
+ ;const n=fs$1.readdirSync(t);for(const e of n)(e.endsWith(traceSuffix)||e.endsWith(devtoolsLogSuffix)||e===artifactsFilename)&&fs$1.unlinkSync(`${t}/${e}`);const{traces:a,devtoolsLogs:i,...o}=e;for(const[e,r]of Object.entries(a))await saveTrace(r,`${t}/${e}${traceSuffix}`);for(const[e,r]of Object.entries(i))await saveDevtoolsLog(r,`${t}/${e}${devtoolsLogSuffix}`);const l=JSON.stringify(o,stringifyReplacer,2)+"\n";fs$1.writeFileSync(`${t}/${artifactsFilename}`,l,"utf8"),log$c.log("Artifacts saved to disk in folder:",t),log$c.timeEnd(r)}function saveLhr(e,t){fs$1.writeFileSync(`${t}/lhr.report.json`,JSON.stringify(e,null,2))}async function prepareAssets(e,t){const r=Object.keys(e.traces),n=[];for(const a of r){const r=e.traces[a],i=e.devtoolsLogs[a],o=Object.assign({},r);if(t){const e=new Metrics$1(o.traceEvents,t).generateFakeEvents();o.traceEvents=o.traceEvents.concat(e)}n.push({passName:a,traceData:o,devtoolsLog:i})}return n}function*arrayOfObjectsJsonGenerator(e){if(yield"[\n",
354
+ e.length>0){const t=e[Symbol.iterator](),r=t.next().value;yield` ${JSON.stringify(r)}`;let n=500,a="";for(const e of t)a+=`,\n ${JSON.stringify(e)}`,n--,0===n&&(yield a,n=500,a="");yield a}yield"\n]"}function*traceJsonGenerator(e){const{traceEvents:t,...r}=e;yield"{\n",yield'"traceEvents": ',yield*arrayOfObjectsJsonGenerator(t);for(const[e,t]of Object.entries(r))yield`,\n"${e}": ${JSON.stringify(t,null,2)}`;yield"}\n"}async function saveTrace(e,t){const r=traceJsonGenerator(e),n=fs$1.createWriteStream(t);return pipeline(r,n)}function saveDevtoolsLog(e,t){const r=arrayOfObjectsJsonGenerator(e),n=fs$1.createWriteStream(t);return pipeline(r,n)}async function saveLanternDebugTraces(e){if(process.env.LANTERN_DEBUG)for(const[t,r]of Simulator.ALL_NODE_TIMINGS){if(lanternTraceSaver.simulationNamesToIgnore.includes(t))continue;const n=`${e}-${t}${traceSuffix}`;await saveTrace(lanternTraceSaver.convertNodeTimingsToTrace(r),n),
355
+ log$c.log("saveAssets",`${t} lantern trace file streamed to disk: ${n}`)}}async function saveAssets(e,t,r){const n=(await prepareAssets(e,t)).map((async(e,t)=>{const n=`${r}-${t}${devtoolsLogSuffix}`;fs$1.writeFileSync(n,JSON.stringify(e.devtoolsLog,null,2)),log$c.log("saveAssets","devtools log saved to disk: "+n);const a=`${r}-${t}${traceSuffix}`;log$c.log("saveAssets","streaming trace file to disk: "+a),await saveTrace(e.traceData,a),log$c.log("saveAssets","trace file streamed to disk: "+a)}));await Promise.all(n),await saveLanternDebugTraces(r)}async function saveLanternNetworkData(e,t){const r={computedCache:new Map},n=await NetworkAnalysisComputed$3.request(e,r),a=LoadSimulatorComputed.convertAnalysisToSaveableLanternData(n);fs$1.writeFileSync(t,JSON.stringify(a))}var assetSaver$1={saveArtifacts,saveLhr,loadArtifacts,saveAssets,prepareAssets,saveTrace,saveDevtoolsLog,saveLanternNetworkData,stringifyReplacer},_rollupPluginShim5={},_rollupPluginShim5$1=Object.freeze({__proto__:null,
356
+ default:_rollupPluginShim5}),require$$1$1=getAugmentedNamespace(_rollupPluginShim5$1);const log$b=lighthouseLogger,SENTRY_URL="https://a6bb0da87ee048cc9ae2a345fc09ab2e:63a7029f46f74265981b7e005e0f69f8@sentry.io/174697",SAMPLE_RATE=.01,SAMPLED_ERRORS=[],noop=()=>{},sentryDelegate={init,captureMessage:noop,captureBreadcrumb:noop,getContext:noop,captureException:async()=>{},_shouldSample:()=>SAMPLE_RATE>=Math.random()};function init(e){if(e.flags.enableErrorReporting&&sentryDelegate._shouldSample())try{const t=require$$1$1,r=Object.assign({},e.environmentData,{captureUnhandledRejections:!0});t.config(SENTRY_URL,r).install(),sentryDelegate.captureMessage=(...e)=>t.captureMessage(...e),sentryDelegate.captureBreadcrumb=(...e)=>t.captureBreadcrumb(...e),sentryDelegate.getContext=()=>t.getContext();const n=new Map;sentryDelegate.captureException=async(e,r={})=>{if(!e)return;if(e.expected)return;const a=r.tags||{};if(a.audit){const t=`audit-${a.audit}-${e.message}`;if(n.has(t))return
357
+ ;n.set(t,!0)}if(a.gatherer){const t=`gatherer-${a.gatherer}-${e.message}`;if(n.has(t))return;n.set(t,!0)}const i=SAMPLED_ERRORS.find((t=>t.pattern.test(e.message)));return i&&i.rate<=Math.random()?void 0:(e.protocolMethod&&(r.fingerprint=["{{ default }}",e.protocolMethod,e.protocolError],r.tags=r.tags||{},r.tags.protocolMethod=e.protocolMethod),new Promise((n=>{t.captureException(e,r,(()=>n()))})))};const a=Object.assign({url:e.url,formFactor:e.flags.formFactor,throttlingMethod:e.flags.throttlingMethod},e.flags.throttling);t.mergeContext({extra:Object.assign({},e.environmentData.extra,a)})}catch(e){log$b.warn("sentry","Could not load raven library, errors will not be reported.")}}var sentry=sentryDelegate,_rollupPluginShim9={},_rollupPluginShim9$1=Object.freeze({__proto__:null,default:_rollupPluginShim9}),require$$0$1=getAugmentedNamespace(_rollupPluginShim9$1);const htmlReportAssets=require$$0$1;class ReportGenerator{static replaceStrings(e,t){if(0===t.length)return e
358
+ ;const r=t[0],n=t.slice(1);return e.split(r.search).map((e=>ReportGenerator.replaceStrings(e,n))).join(r.replacement)}static sanitizeJson(e){return JSON.stringify(e).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}static generateReportHtml(e){const t=ReportGenerator.sanitizeJson(e),r=htmlReportAssets.REPORT_JAVASCRIPT.replace(/<\//g,"\\u003c/");return ReportGenerator.replaceStrings(htmlReportAssets.REPORT_TEMPLATE,[{search:"%%LIGHTHOUSE_JSON%%",replacement:t},{search:"%%LIGHTHOUSE_JAVASCRIPT%%",replacement:r}])}static generateFlowReportHtml(e){const t=ReportGenerator.sanitizeJson(e);return ReportGenerator.replaceStrings(htmlReportAssets.FLOW_REPORT_TEMPLATE,[{search:"%%LIGHTHOUSE_FLOW_JSON%%",replacement:t},{search:"%%LIGHTHOUSE_FLOW_JAVASCRIPT%%",replacement:htmlReportAssets.FLOW_REPORT_JAVASCRIPT},{search:"/*%%LIGHTHOUSE_FLOW_CSS%%*/",replacement:htmlReportAssets.FLOW_REPORT_CSS}])}static generateReportCSV(e){
358
359
  const escape=e=>`"${e.replace(/"/g,'""')}"`,rowFormatter=e=>e.map((e=>e.toString())).map(escape),t=Object.keys(e.categories).map((t=>{const r=[],n=e.categories[t],a=null===n.score?-1:n.score;return r.push(rowFormatter([e.requestedUrl,e.finalUrl,n.title,`${t}-score`,`Overall ${n.title} Category Score`,"numeric",a])),r.concat(n.auditRefs.map((t=>{const r=e.audits[t.id],a=null===r.score?-1:r.score;return rowFormatter([e.requestedUrl,e.finalUrl,n.title,r.id,r.title,r.scoreDisplayMode,a])})))}));return[["requestedUrl","finalUrl","category","name","title","type","score"]].concat(...t).map((e=>e.join(","))).join("\r\n")}static generateReport(e,t){const r=Array.isArray(t);"string"==typeof t&&(t=[t]);const n=t.map((t=>{if("html"===t)return ReportGenerator.generateReportHtml(e);if("csv"===t)return ReportGenerator.generateReportCSV(e);if("json"===t)return JSON.stringify(e,null,2);throw new Error("Invalid output mode: "+t)}));return r?n:n[0]}}var reportGenerator=ReportGenerator
359
360
  ;const isDeepEqual$1=lodash_isequal.exports,Driver=driver,GatherRunner=gatherRunner,ReportScoring=scoring,Audit$1K=audit,log$a=lighthouseLogger,format$2=format_1,stackPacks=stackPacks_1,assetSaver=assetSaver$1,path$2=require$$5$2,URL$G=urlShim,Sentry$6=sentry,generateReport=reportGenerator.generateReport,LHError$c=lhError.exports,{version:lighthouseVersion}=require$$15;class Runner$3{static async run(e,t){const r=t.config.settings;try{const n={msg:"Runner setup",id:"lh:runner:run"};log$a.time(n,"verbose");const a=[],i=Sentry$6.getContext();let o,l;if(Sentry$6.captureBreadcrumb({message:"Run started",category:"lifecycle",data:i&&i.extra}),r.auditMode&&!r.gatherMode){const e=Runner$3._getDataSavePath(r);if(o=assetSaver.loadArtifacts(e),l=o.URL.requestedUrl,!l)throw new Error("Cannot run audit mode on empty URL");if(t.url&&!URL$G.equalWithExcludedFragments(t.url,l))throw new Error("Cannot run audit mode on different URL")}else{
360
361
  if(!(t.url&&URL$G.isValid(t.url)&&URL$G.isProtocolAllowed(t.url)))throw new LHError$c(LHError$c.errors.INVALID_URL);if(l=new URL$G(t.url).href,o=await e({requestedUrl:l,config:t.config,driverMock:t.driverMock}),r.gatherMode){const e=Runner$3._getDataSavePath(r);await assetSaver.saveArtifacts(o,e)}}if(r.gatherMode&&!r.auditMode)return;if(!t.config.audits)throw new Error("No audits to evaluate.");const c=await Runner$3._runAudits(r,t.config.audits,o,a,t.computedCache),u={msg:"Generating results...",id:"lh:runner:generate"};log$a.time(u),o.LighthouseRunWarnings&&a.push(...o.LighthouseRunWarnings);const p={"axe-core":o.Accessibility&&o.Accessibility.version};let f={};t.config.categories&&(f=ReportScoring.scoreAllCategories(t.config.categories,c)),log$a.timeEnd(u),log$a.timeEnd(n);const b={lighthouseVersion,requestedUrl:l,finalUrl:o.URL.finalUrl,fetchTime:o.fetchTime,gatherMode:o.GatherContext.gatherMode,runtimeError:Runner$3.getArtifactRuntimeError(o),runWarnings:a,
@@ -378,19 +379,19 @@ groups:{metrics:{title:a(n.metricGroupTitle)},"load-opportunities":{title:a(n.lo
378
379
  title:a(n.a11yLanguageGroupTitle),description:a(n.a11yLanguageGroupDescription)},"a11y-audio-video":{title:a(n.a11yAudioVideoGroupTitle),description:a(n.a11yAudioVideoGroupDescription)},"a11y-tables-lists":{title:a(n.a11yTablesListsVideoGroupTitle),description:a(n.a11yTablesListsVideoGroupDescription)},"seo-mobile":{title:a(n.seoMobileGroupTitle),description:a(n.seoMobileGroupDescription)},"seo-content":{title:a(n.seoContentGroupTitle),description:a(n.seoContentGroupDescription)},"seo-crawl":{title:a(n.seoCrawlingGroupTitle),description:a(n.seoCrawlingGroupDescription)},"best-practices-trust-safety":{title:a(n.bestPracticesTrustSafetyGroupTitle)},"best-practices-ux":{title:a(n.bestPracticesUXGroupTitle)},"best-practices-browser-compat":{title:a(n.bestPracticesBrowserCompatGroupTitle)},"best-practices-general":{title:a(n.bestPracticesGeneralGroupTitle)},hidden:{title:""}},categories:{performance:{title:a(n.performanceCategoryTitle),supportedModes:["navigation","timespan","snapshot"],
379
380
  auditRefs:[{id:"first-contentful-paint",weight:10,group:"metrics",acronym:"FCP",relevantAudits:r.fcpRelevantAudits},{id:"interactive",weight:10,group:"metrics",acronym:"TTI"},{id:"speed-index",weight:10,group:"metrics",acronym:"SI"},{id:"total-blocking-time",weight:30,group:"metrics",acronym:"TBT",relevantAudits:r.tbtRelevantAudits},{id:"largest-contentful-paint",weight:25,group:"metrics",acronym:"LCP",relevantAudits:r.lcpRelevantAudits},{id:"cumulative-layout-shift",weight:15,group:"metrics",acronym:"CLS",relevantAudits:r.clsRelevantAudits},{id:"max-potential-fid",weight:0,group:"hidden"},{id:"first-meaningful-paint",weight:0,acronym:"FMP",group:"hidden"},{id:"render-blocking-resources",weight:0},{id:"uses-responsive-images",weight:0},{id:"offscreen-images",weight:0},{id:"unminified-css",weight:0},{id:"unminified-javascript",weight:0},{id:"unused-css-rules",weight:0},{id:"unused-javascript",weight:0},{id:"uses-optimized-images",weight:0},{id:"modern-image-formats",weight:0},{
380
381
  id:"uses-text-compression",weight:0},{id:"uses-rel-preconnect",weight:0},{id:"server-response-time",weight:0},{id:"redirects",weight:0},{id:"uses-rel-preload",weight:0},{id:"uses-http2",weight:0},{id:"efficient-animated-content",weight:0},{id:"duplicated-javascript",weight:0},{id:"legacy-javascript",weight:0},{id:"preload-lcp-image",weight:0},{id:"total-byte-weight",weight:0},{id:"uses-long-cache-ttl",weight:0},{id:"dom-size",weight:0},{id:"critical-request-chains",weight:0},{id:"user-timings",weight:0},{id:"bootup-time",weight:0},{id:"mainthread-work-breakdown",weight:0},{id:"font-display",weight:0},{id:"resource-summary",weight:0},{id:"third-party-summary",weight:0},{id:"third-party-facades",weight:0},{id:"largest-contentful-paint-element",weight:0},{id:"lcp-lazy-loaded",weight:0},{id:"layout-shift-elements",weight:0},{id:"uses-passive-event-listeners",weight:0},{id:"no-document-write",weight:0},{id:"long-tasks",weight:0},{id:"non-composited-animations",weight:0},{
381
- id:"unsized-images",weight:0},{id:"viewport",weight:0},{id:"performance-budget",weight:0,group:"budgets"},{id:"timing-budget",weight:0,group:"budgets"},{id:"network-requests",weight:0,group:"hidden"},{id:"network-rtt",weight:0,group:"hidden"},{id:"network-server-latency",weight:0,group:"hidden"},{id:"main-thread-tasks",weight:0,group:"hidden"},{id:"diagnostics",weight:0,group:"hidden"},{id:"metrics",weight:0,group:"hidden"},{id:"screenshot-thumbnails",weight:0,group:"hidden"},{id:"final-screenshot",weight:0,group:"hidden"},{id:"script-treemap-data",weight:0,group:"hidden"}]},accessibility:{title:a(n.a11yCategoryTitle),description:a(n.a11yCategoryDescription),manualDescription:a(n.a11yCategoryManualDescription),supportedModes:["navigation","snapshot"],auditRefs:[{id:"accesskeys",weight:3,group:"a11y-navigation"},{id:"aria-allowed-attr",weight:10,group:"a11y-aria"},{id:"aria-command-name",weight:3,group:"a11y-aria"},{id:"aria-hidden-body",weight:10,group:"a11y-aria"},{
382
- id:"aria-hidden-focus",weight:3,group:"a11y-aria"},{id:"aria-input-field-name",weight:3,group:"a11y-aria"},{id:"aria-meter-name",weight:3,group:"a11y-aria"},{id:"aria-progressbar-name",weight:3,group:"a11y-aria"},{id:"aria-required-attr",weight:10,group:"a11y-aria"},{id:"aria-required-children",weight:10,group:"a11y-aria"},{id:"aria-required-parent",weight:10,group:"a11y-aria"},{id:"aria-roles",weight:10,group:"a11y-aria"},{id:"aria-toggle-field-name",weight:3,group:"a11y-aria"},{id:"aria-tooltip-name",weight:3,group:"a11y-aria"},{id:"aria-treeitem-name",weight:3,group:"a11y-aria"},{id:"aria-valid-attr-value",weight:10,group:"a11y-aria"},{id:"aria-valid-attr",weight:10,group:"a11y-aria"},{id:"button-name",weight:10,group:"a11y-names-labels"},{id:"bypass",weight:3,group:"a11y-navigation"},{id:"color-contrast",weight:3,group:"a11y-color-contrast"},{id:"definition-list",weight:3,group:"a11y-tables-lists"},{id:"dlitem",weight:3,group:"a11y-tables-lists"},{id:"document-title",weight:3,
383
- group:"a11y-names-labels"},{id:"duplicate-id-active",weight:3,group:"a11y-navigation"},{id:"duplicate-id-aria",weight:10,group:"a11y-aria"},{id:"form-field-multiple-labels",weight:2,group:"a11y-names-labels"},{id:"frame-title",weight:3,group:"a11y-names-labels"},{id:"heading-order",weight:2,group:"a11y-navigation"},{id:"html-has-lang",weight:3,group:"a11y-language"},{id:"html-lang-valid",weight:3,group:"a11y-language"},{id:"image-alt",weight:10,group:"a11y-names-labels"},{id:"input-image-alt",weight:10,group:"a11y-names-labels"},{id:"label",weight:10,group:"a11y-names-labels"},{id:"link-name",weight:3,group:"a11y-names-labels"},{id:"list",weight:3,group:"a11y-tables-lists"},{id:"listitem",weight:3,group:"a11y-tables-lists"},{id:"meta-refresh",weight:10,group:"a11y-best-practices"},{id:"meta-viewport",weight:10,group:"a11y-best-practices"},{id:"object-alt",weight:3,group:"a11y-names-labels"},{id:"tabindex",weight:3,group:"a11y-navigation"},{id:"td-headers-attr",weight:3,
384
- group:"a11y-tables-lists"},{id:"th-has-data-cells",weight:3,group:"a11y-tables-lists"},{id:"valid-lang",weight:3,group:"a11y-language"},{id:"video-caption",weight:10,group:"a11y-audio-video"},{id:"logical-tab-order",weight:0},{id:"focusable-controls",weight:0},{id:"interactive-element-affordance",weight:0},{id:"managed-focus",weight:0},{id:"focus-traps",weight:0},{id:"custom-controls-labels",weight:0},{id:"custom-controls-roles",weight:0},{id:"visual-order-follows-dom",weight:0},{id:"offscreen-content-hidden",weight:0},{id:"use-landmarks",weight:0}]},"best-practices":{title:a(n.bestPracticesCategoryTitle),supportedModes:["navigation","timespan","snapshot"],auditRefs:[{id:"is-on-https",weight:1,group:"best-practices-trust-safety"},{id:"geolocation-on-start",weight:1,group:"best-practices-trust-safety"},{id:"notification-on-start",weight:1,group:"best-practices-trust-safety"},{id:"no-vulnerable-libraries",weight:1,group:"best-practices-trust-safety"},{id:"csp-xss",weight:0,
385
- group:"best-practices-trust-safety"},{id:"password-inputs-can-be-pasted-into",weight:1,group:"best-practices-ux"},{id:"image-aspect-ratio",weight:1,group:"best-practices-ux"},{id:"image-size-responsive",weight:1,group:"best-practices-ux"},{id:"preload-fonts",weight:1,group:"best-practices-ux"},{id:"doctype",weight:1,group:"best-practices-browser-compat"},{id:"charset",weight:1,group:"best-practices-browser-compat"},{id:"no-unload-listeners",weight:1,group:"best-practices-general"},{id:"js-libraries",weight:0,group:"best-practices-general"},{id:"deprecations",weight:1,group:"best-practices-general"},{id:"errors-in-console",weight:1,group:"best-practices-general"},{id:"valid-source-maps",weight:0,group:"best-practices-general"},{id:"inspector-issues",weight:1,group:"best-practices-general"}]},seo:{title:a(n.seoCategoryTitle),description:a(n.seoCategoryDescription),manualDescription:a(n.seoCategoryManualDescription),supportedModes:["navigation","snapshot"],auditRefs:[{id:"viewport",
386
- weight:1,group:"seo-mobile"},{id:"document-title",weight:1,group:"seo-content"},{id:"meta-description",weight:1,group:"seo-content"},{id:"http-status-code",weight:1,group:"seo-crawl"},{id:"link-text",weight:1,group:"seo-content"},{id:"crawlable-anchors",weight:1,group:"seo-crawl"},{id:"is-crawlable",weight:1,group:"seo-crawl"},{id:"robots-txt",weight:1,group:"seo-crawl"},{id:"image-alt",weight:1,group:"seo-content"},{id:"hreflang",weight:1,group:"seo-content"},{id:"canonical",weight:1,group:"seo-content"},{id:"font-size",weight:1,group:"seo-mobile"},{id:"plugins",weight:1,group:"seo-content"},{id:"tap-targets",weight:1,group:"seo-mobile"},{id:"structured-data",weight:0}]},pwa:{title:a(n.pwaCategoryTitle),description:a(n.pwaCategoryDescription),manualDescription:a(n.pwaCategoryManualDescription),supportedModes:["navigation"],auditRefs:[{id:"installable-manifest",weight:2,group:"pwa-installable"},{id:"service-worker",weight:1,group:"pwa-optimized"},{id:"splash-screen",weight:1,
387
- group:"pwa-optimized"},{id:"themed-omnibox",weight:1,group:"pwa-optimized"},{id:"content-width",weight:1,group:"pwa-optimized"},{id:"viewport",weight:2,group:"pwa-optimized"},{id:"apple-touch-icon",weight:1,group:"pwa-optimized"},{id:"maskable-icon",weight:1,group:"pwa-optimized"},{id:"pwa-cross-browser",weight:0},{id:"pwa-page-transitions",weight:0},{id:"pwa-each-page-has-url",weight:0}]}}};e.exports=i,Object.defineProperty(e.exports,"UIStrings",{enumerable:!1,get:()=>n})}(defaultConfig$1);const Audit$1J=audit,BaseFRGatherer=baseGatherer,i18n$2B=i18n$2H;function isFRGathererDefn(e){return"meta"in e.instance}function isValidArtifactDependency(e,t){const r={timespan:0,snapshot:1,navigation:2},n=Math.min(...e.instance.meta.supportedModes.map((e=>r[e]))),a=Math.min(...t.instance.meta.supportedModes.map((e=>r[e])));return n===r.timespan?a===r.timespan:n!==r.snapshot||a===r.snapshot}function assertValidPluginName(e,t){
388
- if(!t.startsWith("lighthouse-plugin-"))throw new Error(`plugin name '${t}' does not start with 'lighthouse-plugin-'`);if(e.categories&&e.categories[t])throw new Error(`plugin name '${t}' not allowed because it is the id of a category already found in config`)}function assertValidFRGatherer(e){const t=e.instance,r=t.name;if("object"!=typeof t.meta)throw new Error(`${r} gatherer did not provide a meta object.`);if(0===t.meta.supportedModes.length)throw new Error(`${r} gatherer did not support any gather modes.`);if("function"!=typeof t.getArtifact||t.getArtifact===BaseFRGatherer.prototype.getArtifact)throw new Error(`${r} gatherer did not define a "getArtifact" method.`)}function assertValidFRNavigations(e){if(!e||!e.length)return{warnings:[]};const t=[],r=e[0];if("fatal"!==r.loadFailureMode){const e=r.loadFailureMode,n=[`"${r.id}" is the first navigation but had a failure mode of ${e}.`,"The first navigation will always be treated as loadFailureMode=fatal."].join(" ");t.push(n),
389
- r.loadFailureMode="fatal"}const n=e.map((e=>e.id)),a=n.find(((e,t)=>n.slice(t+1).some((t=>e===t))));if(a)throw new Error(`Navigation must have unique identifiers, but "${a}" was repeated.`);return{warnings:t}}function assertValidAudit(e){const{implementation:t,path:r}=e,n=r||t&&t.meta&&t.meta.id||"Unknown audit";if("function"!=typeof t.audit||t.audit===Audit$1J.audit)throw new Error(`${n} has no audit() method.`);if("string"!=typeof t.meta.id)throw new Error(`${n} has no meta.id property, or the property is not a string.`);if(!i18n$2B.isStringOrIcuMessage(t.meta.title))throw new Error(`${n} has no meta.title property, or the property is not a string.`);const a=t.meta.scoreDisplayMode||Audit$1J.SCORING_MODES.BINARY;if(!i18n$2B.isStringOrIcuMessage(t.meta.failureTitle)&&a===Audit$1J.SCORING_MODES.BINARY)throw new Error(`${n} has no meta.failureTitle and should.`)
390
- ;if(!i18n$2B.isStringOrIcuMessage(t.meta.description))throw new Error(`${n} has no meta.description property, or the property is not a string.`);if(""===t.meta.description)throw new Error(`${n} has an empty meta.description string. Please add a description for the UI.`);if(!Array.isArray(t.meta.requiredArtifacts))throw new Error(`${n} has no meta.requiredArtifacts property, or the property is not an array.`)}function assertValidCategories(e,t,r){if(!e)return;const n=new Map((t||[]).map((e=>[e.implementation.meta.id,e])));Object.keys(e).forEach((t=>{e[t].auditRefs.forEach(((e,a)=>{if(!e.id)throw new Error(`missing an audit id at ${t}[${a}]`);const i=n.get(e.id);if(!i)throw new Error(`could not find ${e.id} audit for category ${t}`);const o="manual"===i.implementation.meta.scoreDisplayMode;if("accessibility"===t&&!e.group&&!o)throw new Error(`${e.id} accessibility audit does not have a group`);if(e.weight>0&&o)throw new Error(`${e.id} is manual but has a positive weight`)
391
- ;if(e.group&&(!r||!r[e.group]))throw new Error(`${e.id} references unknown group ${e.group}`)}))}))}function assertValidSettings(e){if(!e.formFactor)throw new Error("`settings.formFactor` must be defined as 'mobile' or 'desktop'. See https://github.com/GoogleChrome/lighthouse/blob/master/docs/emulation.md");if(!e.screenEmulation.disabled&&e.screenEmulation.mobile!==("mobile"===e.formFactor))throw new Error(`Screen emulation mobile setting (${e.screenEmulation.mobile}) does not match formFactor setting (${e.formFactor}). See https://github.com/GoogleChrome/lighthouse/blob/master/docs/emulation.md`)}function assertArtifactTopologicalOrder(e){const t=new Set;for(const r of e)for(const e of r.artifacts)if(t.add(e.id),e.dependencies)for(const[r,{id:n}]of Object.entries(e.dependencies))t.has(n)||throwInvalidDependencyOrder(e.id,r)}function assertValidConfig(e){const{warnings:t}=assertValidFRNavigations(e.navigations);for(const t of e.artifacts||[])assertValidFRGatherer(t.gatherer)
392
- ;for(const t of e.audits||[])assertValidAudit(t);return assertValidCategories(e.categories,e.audits,e.groups),assertValidSettings(e.settings),{warnings:t}}function throwInvalidDependencyOrder(e,t){throw new Error([`Failed to find dependency "${t}" for "${e}" artifact`,"Check that...",` 1. A gatherer exposes a matching Symbol that satisfies "${t}".`,` 2. "${t}" is configured to run before "${e}"`].join("\n"))}function throwInvalidArtifactDependency(e,t){throw new Error([`Dependency "${t}" for "${e}" artifact is invalid.`,"The dependency must be collected before the dependent."].join("\n"))}var validation$2={isFRGathererDefn,isValidArtifactDependency,assertValidPluginName,assertValidFRGatherer,assertValidFRNavigations,assertValidAudit,assertValidCategories,assertValidSettings,assertArtifactTopologicalOrder,assertValidConfig,throwInvalidDependencyOrder,throwInvalidArtifactDependency};function isArrayOfUnknownObjects$1(e){return Array.isArray(e)&&e.every(isObjectOfUnknownProperties$1)}
393
- function isObjectOfUnknownProperties$1(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function isNumber(e){return"number"==typeof e&&!isNaN(e)}class Budget$4{static assertNoExcessProperties(e,t){const r=Object.keys(e);if(r.length>0){const e=r.join(", ");throw new Error(`${t} has unrecognized properties: [${e}]`)}}static assertNoDuplicateStrings(e,t){const r=new Set;for(const n of e){if(r.has(n))throw new Error(`${t} has duplicate entry of type '${n}'`);r.add(n)}}static validateResourceBudget(e){const{resourceType:t,budget:r,...n}=e;Budget$4.assertNoExcessProperties(n,"Resource Budget");const a=["total","document","script","stylesheet","image","media","font","other","third-party"];if(!a.includes(t))throw new Error(`Invalid resource type: ${t}. \nValid resource types are: ${a.join(", ")}`);if(!isNumber(r))throw new Error(`Invalid budget: ${r}`);return{resourceType:t,budget:r}}static throwInvalidPathError(e,t){
382
+ id:"unsized-images",weight:0},{id:"viewport",weight:0},{id:"no-unload-listeners",weight:0},{id:"performance-budget",weight:0,group:"budgets"},{id:"timing-budget",weight:0,group:"budgets"},{id:"network-requests",weight:0,group:"hidden"},{id:"network-rtt",weight:0,group:"hidden"},{id:"network-server-latency",weight:0,group:"hidden"},{id:"main-thread-tasks",weight:0,group:"hidden"},{id:"diagnostics",weight:0,group:"hidden"},{id:"metrics",weight:0,group:"hidden"},{id:"screenshot-thumbnails",weight:0,group:"hidden"},{id:"final-screenshot",weight:0,group:"hidden"},{id:"script-treemap-data",weight:0,group:"hidden"}]},accessibility:{title:a(n.a11yCategoryTitle),description:a(n.a11yCategoryDescription),manualDescription:a(n.a11yCategoryManualDescription),supportedModes:["navigation","snapshot"],auditRefs:[{id:"accesskeys",weight:3,group:"a11y-navigation"},{id:"aria-allowed-attr",weight:10,group:"a11y-aria"},{id:"aria-command-name",weight:3,group:"a11y-aria"},{id:"aria-hidden-body",weight:10,
383
+ group:"a11y-aria"},{id:"aria-hidden-focus",weight:3,group:"a11y-aria"},{id:"aria-input-field-name",weight:3,group:"a11y-aria"},{id:"aria-meter-name",weight:3,group:"a11y-aria"},{id:"aria-progressbar-name",weight:3,group:"a11y-aria"},{id:"aria-required-attr",weight:10,group:"a11y-aria"},{id:"aria-required-children",weight:10,group:"a11y-aria"},{id:"aria-required-parent",weight:10,group:"a11y-aria"},{id:"aria-roles",weight:10,group:"a11y-aria"},{id:"aria-toggle-field-name",weight:3,group:"a11y-aria"},{id:"aria-tooltip-name",weight:3,group:"a11y-aria"},{id:"aria-treeitem-name",weight:3,group:"a11y-aria"},{id:"aria-valid-attr-value",weight:10,group:"a11y-aria"},{id:"aria-valid-attr",weight:10,group:"a11y-aria"},{id:"button-name",weight:10,group:"a11y-names-labels"},{id:"bypass",weight:3,group:"a11y-navigation"},{id:"color-contrast",weight:3,group:"a11y-color-contrast"},{id:"definition-list",weight:3,group:"a11y-tables-lists"},{id:"dlitem",weight:3,group:"a11y-tables-lists"},{
384
+ id:"document-title",weight:3,group:"a11y-names-labels"},{id:"duplicate-id-active",weight:3,group:"a11y-navigation"},{id:"duplicate-id-aria",weight:10,group:"a11y-aria"},{id:"form-field-multiple-labels",weight:2,group:"a11y-names-labels"},{id:"frame-title",weight:3,group:"a11y-names-labels"},{id:"heading-order",weight:2,group:"a11y-navigation"},{id:"html-has-lang",weight:3,group:"a11y-language"},{id:"html-lang-valid",weight:3,group:"a11y-language"},{id:"image-alt",weight:10,group:"a11y-names-labels"},{id:"input-image-alt",weight:10,group:"a11y-names-labels"},{id:"label",weight:10,group:"a11y-names-labels"},{id:"link-name",weight:3,group:"a11y-names-labels"},{id:"list",weight:3,group:"a11y-tables-lists"},{id:"listitem",weight:3,group:"a11y-tables-lists"},{id:"meta-refresh",weight:10,group:"a11y-best-practices"},{id:"meta-viewport",weight:10,group:"a11y-best-practices"},{id:"object-alt",weight:3,group:"a11y-names-labels"},{id:"tabindex",weight:3,group:"a11y-navigation"},{
385
+ id:"td-headers-attr",weight:3,group:"a11y-tables-lists"},{id:"th-has-data-cells",weight:3,group:"a11y-tables-lists"},{id:"valid-lang",weight:3,group:"a11y-language"},{id:"video-caption",weight:10,group:"a11y-audio-video"},{id:"logical-tab-order",weight:0},{id:"focusable-controls",weight:0},{id:"interactive-element-affordance",weight:0},{id:"managed-focus",weight:0},{id:"focus-traps",weight:0},{id:"custom-controls-labels",weight:0},{id:"custom-controls-roles",weight:0},{id:"visual-order-follows-dom",weight:0},{id:"offscreen-content-hidden",weight:0},{id:"use-landmarks",weight:0}]},"best-practices":{title:a(n.bestPracticesCategoryTitle),supportedModes:["navigation","timespan","snapshot"],auditRefs:[{id:"is-on-https",weight:1,group:"best-practices-trust-safety"},{id:"geolocation-on-start",weight:1,group:"best-practices-trust-safety"},{id:"notification-on-start",weight:1,group:"best-practices-trust-safety"},{id:"no-vulnerable-libraries",weight:1,group:"best-practices-trust-safety"},{
386
+ id:"csp-xss",weight:0,group:"best-practices-trust-safety"},{id:"password-inputs-can-be-pasted-into",weight:1,group:"best-practices-ux"},{id:"image-aspect-ratio",weight:1,group:"best-practices-ux"},{id:"image-size-responsive",weight:1,group:"best-practices-ux"},{id:"preload-fonts",weight:1,group:"best-practices-ux"},{id:"doctype",weight:1,group:"best-practices-browser-compat"},{id:"charset",weight:1,group:"best-practices-browser-compat"},{id:"js-libraries",weight:0,group:"best-practices-general"},{id:"deprecations",weight:1,group:"best-practices-general"},{id:"errors-in-console",weight:1,group:"best-practices-general"},{id:"valid-source-maps",weight:0,group:"best-practices-general"},{id:"inspector-issues",weight:1,group:"best-practices-general"}]},seo:{title:a(n.seoCategoryTitle),description:a(n.seoCategoryDescription),manualDescription:a(n.seoCategoryManualDescription),supportedModes:["navigation","snapshot"],auditRefs:[{id:"viewport",weight:1,group:"seo-mobile"},{id:"document-title",
387
+ weight:1,group:"seo-content"},{id:"meta-description",weight:1,group:"seo-content"},{id:"http-status-code",weight:1,group:"seo-crawl"},{id:"link-text",weight:1,group:"seo-content"},{id:"crawlable-anchors",weight:1,group:"seo-crawl"},{id:"is-crawlable",weight:1,group:"seo-crawl"},{id:"robots-txt",weight:1,group:"seo-crawl"},{id:"image-alt",weight:1,group:"seo-content"},{id:"hreflang",weight:1,group:"seo-content"},{id:"canonical",weight:1,group:"seo-content"},{id:"font-size",weight:1,group:"seo-mobile"},{id:"plugins",weight:1,group:"seo-content"},{id:"tap-targets",weight:1,group:"seo-mobile"},{id:"structured-data",weight:0}]},pwa:{title:a(n.pwaCategoryTitle),description:a(n.pwaCategoryDescription),manualDescription:a(n.pwaCategoryManualDescription),supportedModes:["navigation"],auditRefs:[{id:"installable-manifest",weight:2,group:"pwa-installable"},{id:"service-worker",weight:1,group:"pwa-optimized"},{id:"splash-screen",weight:1,group:"pwa-optimized"},{id:"themed-omnibox",weight:1,
388
+ group:"pwa-optimized"},{id:"content-width",weight:1,group:"pwa-optimized"},{id:"viewport",weight:2,group:"pwa-optimized"},{id:"apple-touch-icon",weight:1,group:"pwa-optimized"},{id:"maskable-icon",weight:1,group:"pwa-optimized"},{id:"pwa-cross-browser",weight:0},{id:"pwa-page-transitions",weight:0},{id:"pwa-each-page-has-url",weight:0}]}}};e.exports=i,Object.defineProperty(e.exports,"UIStrings",{enumerable:!1,get:()=>n})}(defaultConfig$1);const Audit$1J=audit,BaseFRGatherer=baseGatherer,i18n$2B=i18n$2H;function isFRGathererDefn(e){return"meta"in e.instance}function isValidArtifactDependency(e,t){const r={timespan:0,snapshot:1,navigation:2},n=Math.min(...e.instance.meta.supportedModes.map((e=>r[e]))),a=Math.min(...t.instance.meta.supportedModes.map((e=>r[e])));return n===r.timespan?a===r.timespan:n!==r.snapshot||a===r.snapshot}function assertValidPluginName(e,t){if(!t.startsWith("lighthouse-plugin-"))throw new Error(`plugin name '${t}' does not start with 'lighthouse-plugin-'`)
389
+ ;if(e.categories&&e.categories[t])throw new Error(`plugin name '${t}' not allowed because it is the id of a category already found in config`)}function assertValidFRGatherer(e){const t=e.instance,r=t.name;if("object"!=typeof t.meta)throw new Error(`${r} gatherer did not provide a meta object.`);if(0===t.meta.supportedModes.length)throw new Error(`${r} gatherer did not support any gather modes.`);if("function"!=typeof t.getArtifact||t.getArtifact===BaseFRGatherer.prototype.getArtifact)throw new Error(`${r} gatherer did not define a "getArtifact" method.`)}function assertValidFRNavigations(e){if(!e||!e.length)return{warnings:[]};const t=[],r=e[0];if("fatal"!==r.loadFailureMode){const e=r.loadFailureMode,n=[`"${r.id}" is the first navigation but had a failure mode of ${e}.`,"The first navigation will always be treated as loadFailureMode=fatal."].join(" ");t.push(n),r.loadFailureMode="fatal"}const n=e.map((e=>e.id)),a=n.find(((e,t)=>n.slice(t+1).some((t=>e===t))))
390
+ ;if(a)throw new Error(`Navigation must have unique identifiers, but "${a}" was repeated.`);return{warnings:t}}function assertValidAudit(e){const{implementation:t,path:r}=e,n=r||t&&t.meta&&t.meta.id||"Unknown audit";if("function"!=typeof t.audit||t.audit===Audit$1J.audit)throw new Error(`${n} has no audit() method.`);if("string"!=typeof t.meta.id)throw new Error(`${n} has no meta.id property, or the property is not a string.`);if(!i18n$2B.isStringOrIcuMessage(t.meta.title))throw new Error(`${n} has no meta.title property, or the property is not a string.`);const a=t.meta.scoreDisplayMode||Audit$1J.SCORING_MODES.BINARY;if(!i18n$2B.isStringOrIcuMessage(t.meta.failureTitle)&&a===Audit$1J.SCORING_MODES.BINARY)throw new Error(`${n} has no meta.failureTitle and should.`);if(!i18n$2B.isStringOrIcuMessage(t.meta.description))throw new Error(`${n} has no meta.description property, or the property is not a string.`)
391
+ ;if(""===t.meta.description)throw new Error(`${n} has an empty meta.description string. Please add a description for the UI.`);if(!Array.isArray(t.meta.requiredArtifacts))throw new Error(`${n} has no meta.requiredArtifacts property, or the property is not an array.`)}function assertValidCategories(e,t,r){if(!e)return;const n=new Map((t||[]).map((e=>[e.implementation.meta.id,e])));Object.keys(e).forEach((t=>{e[t].auditRefs.forEach(((e,a)=>{if(!e.id)throw new Error(`missing an audit id at ${t}[${a}]`);const i=n.get(e.id);if(!i)throw new Error(`could not find ${e.id} audit for category ${t}`);const o="manual"===i.implementation.meta.scoreDisplayMode;if("accessibility"===t&&!e.group&&!o)throw new Error(`${e.id} accessibility audit does not have a group`);if(e.weight>0&&o)throw new Error(`${e.id} is manual but has a positive weight`);if(e.group&&(!r||!r[e.group]))throw new Error(`${e.id} references unknown group ${e.group}`)}))}))}function assertValidSettings(e){
392
+ if(!e.formFactor)throw new Error("`settings.formFactor` must be defined as 'mobile' or 'desktop'. See https://github.com/GoogleChrome/lighthouse/blob/master/docs/emulation.md");if(!e.screenEmulation.disabled&&e.screenEmulation.mobile!==("mobile"===e.formFactor))throw new Error(`Screen emulation mobile setting (${e.screenEmulation.mobile}) does not match formFactor setting (${e.formFactor}). See https://github.com/GoogleChrome/lighthouse/blob/master/docs/emulation.md`)}function assertArtifactTopologicalOrder(e){const t=new Set;for(const r of e)for(const e of r.artifacts)if(t.add(e.id),e.dependencies)for(const[r,{id:n}]of Object.entries(e.dependencies))t.has(n)||throwInvalidDependencyOrder(e.id,r)}function assertValidConfig(e){const{warnings:t}=assertValidFRNavigations(e.navigations);for(const t of e.artifacts||[])assertValidFRGatherer(t.gatherer);for(const t of e.audits||[])assertValidAudit(t);return assertValidCategories(e.categories,e.audits,e.groups),assertValidSettings(e.settings),{
393
+ warnings:t}}function throwInvalidDependencyOrder(e,t){throw new Error([`Failed to find dependency "${t}" for "${e}" artifact`,"Check that...",` 1. A gatherer exposes a matching Symbol that satisfies "${t}".`,` 2. "${t}" is configured to run before "${e}"`].join("\n"))}function throwInvalidArtifactDependency(e,t){throw new Error([`Dependency "${t}" for "${e}" artifact is invalid.`,"The dependency must be collected before the dependent."].join("\n"))}var validation$2={isFRGathererDefn,isValidArtifactDependency,assertValidPluginName,assertValidFRGatherer,assertValidFRNavigations,assertValidAudit,assertValidCategories,assertValidSettings,assertArtifactTopologicalOrder,assertValidConfig,throwInvalidDependencyOrder,throwInvalidArtifactDependency};function isArrayOfUnknownObjects$1(e){return Array.isArray(e)&&e.every(isObjectOfUnknownProperties$1)}function isObjectOfUnknownProperties$1(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function isNumber(e){
394
+ return"number"==typeof e&&!isNaN(e)}class Budget$4{static assertNoExcessProperties(e,t){const r=Object.keys(e);if(r.length>0){const e=r.join(", ");throw new Error(`${t} has unrecognized properties: [${e}]`)}}static assertNoDuplicateStrings(e,t){const r=new Set;for(const n of e){if(r.has(n))throw new Error(`${t} has duplicate entry of type '${n}'`);r.add(n)}}static validateResourceBudget(e){const{resourceType:t,budget:r,...n}=e;Budget$4.assertNoExcessProperties(n,"Resource Budget");const a=["total","document","script","stylesheet","image","media","font","other","third-party"];if(!a.includes(t))throw new Error(`Invalid resource type: ${t}. \nValid resource types are: ${a.join(", ")}`);if(!isNumber(r))throw new Error(`Invalid budget: ${r}`);return{resourceType:t,budget:r}}static throwInvalidPathError(e,t){
394
395
  throw new Error(`Invalid path ${e}. ${t}\n'Path' should be specified using the 'robots.txt' format.\nLearn more about the 'robots.txt' format here:\nhttps://developers.google.com/search/reference/robots_txt#url-matching-based-on-path-values`)}static validatePath(e){if(void 0!==e){if("string"==typeof e)return e.startsWith("/")?(e.match(/\*/g)||[]).length>1?this.throwInvalidPathError(e,"Path should only contain one '*'."):(e.match(/\$/g)||[]).length>1?this.throwInvalidPathError(e,"Path should only contain one '$' character."):e.includes("$")&&!e.endsWith("$")&&this.throwInvalidPathError(e,"'$' character should only occur at end of path."):this.throwInvalidPathError(e,"Path should start with '/'."),e;this.throwInvalidPathError(e,"Path should be a string.")}}static getMatchingBudget(e,t){if(null!==e)for(let r=e.length-1;r>=0;r--){const n=e[r];if(this.urlMatchesPattern(t,n.path))return n}}static urlMatchesPattern(e,t="/"){
395
396
  const r=new URL(e),n=r.pathname+r.search,a=t.includes("*"),i=t.includes("$");if(!a&&!i)return n.startsWith(t);if(!a&&i)return n===t.slice(0,-1);if(a&&!i){const[e,r]=t.split("*"),a=n.slice(e.length);return n.startsWith(e)&&a.includes(r)}if(a&&i){const[e,r]=t.split("*"),a=n.slice(e.length);return n.startsWith(e)&&a.endsWith(r.slice(0,-1))}return!1}static validateTimingBudget(e){const{metric:t,budget:r,...n}=e;Budget$4.assertNoExcessProperties(n,"Timing Budget");const a=["first-contentful-paint","interactive","first-meaningful-paint","max-potential-fid","total-blocking-time","speed-index","largest-contentful-paint","cumulative-layout-shift"];if(!a.includes(t))throw new Error(`Invalid timing metric: ${t}. \nValid timing metrics are: ${a.join(", ")}`);if(!isNumber(r))throw new Error(`Invalid budget: ${r}`);return{metric:t,budget:r}}static validateHostname(e){const t=`${e} is not a valid hostname.`;if(0===e.length)throw new Error(t);if(e.includes("/"))throw new Error(t)
396
397
  ;if(e.includes(":"))throw new Error(t);if(e.includes("*")&&(!e.startsWith("*.")||e.lastIndexOf("*")>0))throw new Error(t);return e}static validateHostnames(e){if(Array.isArray(e)&&e.every((e=>"string"==typeof e)))return e.map(Budget$4.validateHostname);if(void 0!==e)throw new Error("firstPartyHostnames should be defined as an array of strings.")}static initializeBudget(e){if(!isArrayOfUnknownObjects$1(e=JSON.parse(JSON.stringify(e))))throw new Error("Budget file is not defined as an array of budgets.");return e.map(((e,t)=>{const r={},{path:n,options:a,resourceSizes:i,resourceCounts:o,timings:l,...c}=e;if(Budget$4.assertNoExcessProperties(c,"Budget"),r.path=Budget$4.validatePath(n),isObjectOfUnknownProperties$1(a)){const{firstPartyHostnames:e,...t}=a;Budget$4.assertNoExcessProperties(t,"Options property"),r.options={},r.options.firstPartyHostnames=Budget$4.validateHostnames(e)}else if(void 0!==a)throw new Error(`Invalid options property in budget at index ${t}`)
@@ -398,7 +399,7 @@ const r=new URL(e),n=r.pathname+r.search,a=t.includes("*"),i=t.includes("$");if(
398
399
  function isObjectOfUnknownProperties(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function assertNoExcessProperties(e,t,r=""){r&&(r+=" ");const n=Object.keys(e);if(n.length>0){const e=n.join(", ");throw new Error(`${t} has unrecognized ${r}properties: [${e}]`)}}class ConfigPlugin$1{static _parseAuditsList(e,t){if(void 0!==e){if(!isArrayOfUnknownObjects(e))throw new Error(`${t} has an invalid audits array.`);return e.map((e=>{const{path:r,...n}=e;if(assertNoExcessProperties(n,t,"audit"),"string"!=typeof r)throw new Error(`${t} has a missing audit path.`);return{path:r}}))}}static _parseAuditRefsList(e,t){if(!isArrayOfUnknownObjects(e))throw new Error(`${t} has no valid auditsRefs.`);return e.map((e=>{const{id:r,weight:n,group:a,...i}=e;if(assertNoExcessProperties(i,t,"auditRef"),"string"!=typeof r)throw new Error(`${t} has an invalid auditRef id.`);if("number"!=typeof n)throw new Error(`${t} has an invalid auditRef weight.`)
399
400
  ;if("string"!=typeof a&&void 0!==a)throw new Error(`${t} has an invalid auditRef group.`);return{id:r,weight:n,group:a?`${t}-${a}`:a}}))}static _parseCategory(e,t){if(!isObjectOfUnknownProperties(e))throw new Error(`${t} has no valid category.`);const{title:r,description:n,manualDescription:a,auditRefs:i,...o}=e;if(assertNoExcessProperties(o,t,"category"),!i18n$2A.isStringOrIcuMessage(r))throw new Error(`${t} has an invalid category tile.`);if(!i18n$2A.isStringOrIcuMessage(n)&&void 0!==n)throw new Error(`${t} has an invalid category description.`);if(!i18n$2A.isStringOrIcuMessage(a)&&void 0!==a)throw new Error(`${t} has an invalid category manualDescription.`);return{title:r,auditRefs:ConfigPlugin$1._parseAuditRefsList(i,t),description:n,manualDescription:a}}static _parseGroups(e,t){if(void 0===e)return;if(!isObjectOfUnknownProperties(e))throw new Error(`${t} groups json is not defined as an object.`);const r=Object.entries(e),n={};return r.forEach((([e,r])=>{
400
401
  if(!isObjectOfUnknownProperties(r))throw new Error(`${t} has a group not defined as an object.`);const{title:a,description:i,...o}=r;if(assertNoExcessProperties(o,t,"group"),!i18n$2A.isStringOrIcuMessage(a))throw new Error(`${t} has an invalid group title.`);if(!i18n$2A.isStringOrIcuMessage(i)&&void 0!==i)throw new Error(`${t} has an invalid group description.`);n[`${t}-${e}`]={title:a,description:i}})),n}static parsePlugin(e,t){if(!isObjectOfUnknownProperties(e=JSON.parse(JSON.stringify(e))))throw new Error(`${t} is not defined as an object.`);const{audits:r,category:n,groups:a,...i}=e;return assertNoExcessProperties(i,t),{audits:ConfigPlugin$1._parseAuditsList(r,t),categories:{[t]:ConfigPlugin$1._parseCategory(n,t)},groups:ConfigPlugin$1._parseGroups(a,t)}}}var configPlugin=ConfigPlugin$1
401
- ;const source='/*! axe v4.2.3\n * Copyright (c) 2021 Deque Systems, Inc.\n *\n * Your use of this Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/.\n *\n * This entire copyright notice must appear in every copy of this file you\n * distribute or in any file that contains substantial portions of this source\n * code.\n */\n!function e(t){var a=t,r=t.document;function n(e){return(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})(e)}var o=o||{};function i(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}o.version="4.2.3","function"==typeof define&&define.amd&&define("axe-core",[],(function(){return o})),"object"===("undefined"==typeof module?"undefined":n(module))&&module.exports&&"function"==typeof e.toString&&(o.source="("+e.toString()+\')(typeof window === "object" ? window : this);\',module.exports=o),"function"==typeof t.getComputedStyle&&(t.axe=o),(i.prototype=Object.create(Error.prototype)).constructor=i;var l=["variant"],s=["matches"],u=["chromium"],c=["noImplicit"],d=["noPresentational"];function p(e,t){if(null==e)return{};var a,r=function(e,t){if(null==e)return{};var a,r,n={},o=Object.keys(e);for(r=0;r<o.length;r++)a=o[r],0<=t.indexOf(a)||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(e),o=0;o<n.length;o++)a=n[o],0<=t.indexOf(a)||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a]);return r}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,r=b(e);return a=t?(a=b(this).constructor,Reflect.construct(r,arguments,a)):r.apply(this,arguments),r=this,!(a=a)||"object"!==n(a)&&"function"!=typeof a?g(r):a}}function g(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){return function(e){if(Array.isArray(e))return F(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,o=[],i=!0,l=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(l)throw n}}return o}}(e,t)||C(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a,r=arguments[t];for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t,a){return t&&x(e.prototype,t),a&&x(e,a),e}function A(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=C(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var r=0;return{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,i=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return o=e.done,e},e:function(e){i=!0,n=e},f:function(){try{o||null==a.return||a.return()}finally{if(i)throw n}}}}function C(e,t){if(e){if("string"==typeof e)return F(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(a="Object"===a&&e.constructor?e.constructor.name:a)||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function n(e){return(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})(e)}!function(){function e(e){return x(e,"__esModule",{value:!0})}function m(t,a,r){if(e(t),"object"===n(a)||"function"==typeof a){var o,i=A(k(a));try{for(i.s();!(o=i.n()).done;)!function(){var e=o.value;F.call(t,e)||"default"===e||x(t,e,{get:function(){return a[e]},enumerable:!(r=R(a,e))||r.enumerable})}()}catch(e){i.e(e)}finally{i.f()}}return t}var b=Object.create,x=Object.defineProperty,C=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,k=Object.getOwnPropertyNames,R=Object.getOwnPropertyDescriptor,T=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},N=function(t,a){for(var r in e(t),a)x(t,r,{get:a[r],enumerable:!0})},_=function(e){return e&&e.__esModule?e:m(x(b(C(e)),"default",{value:e,enumerable:!0}),e)},O=T((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"0"<=e&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return"a"<=e&&e<="f"||"A"<=e&&e<="F"||"0"<=e&&e<="9"},e.escapeIdentifier=function(t){for(var a=t.length,r="",n=0;n<a;){var o=t.charAt(n);if(e.identSpecialChars[o])r+="\\\\"+o;else if("_"===o||"-"===o||"A"<=o&&o<="Z"||"a"<=o&&o<="z"||0!==n&&"0"<=o&&o<="9")r+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){if(o=t.charCodeAt(n++),55296!=(64512&i)||56320!=(64512&o))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&o)+65536}r+="\\\\"+i.toString(16)+" "}n++}return r},e.escapeStr=function(t){for(var a,r=t.length,n="",o=0;o<r;){var i=t.charAt(o);\'"\'===i?i=\'\\\\"\':"\\\\"===i?i="\\\\\\\\":void 0!==(a=e.strReplacementsRev[i])&&(i=a),n+=i,o++}return\'"\'+n+\'"\'},e.identSpecialChars={"!":!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},e.strReplacementsRev={"\\n":"\\\\n","\\r":"\\\\r","\\t":"\\\\t","\\f":"\\\\f","\\v":"\\\\v"},e.singleQuoteEscapeChars={n:"\\n",r:"\\r",t:"\\t",f:"\\f","\\\\":"\\\\","\'":"\'"},e.doubleQuotesEscapeChars={n:"\\n",r:"\\r",t:"\\t",f:"\\f","\\\\":"\\\\",\'"\':\'"\'}})),S=T((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=O();e.parseCssSelector=function(e,a,r,n,o,i){var l=e.length,s="";function u(r,n){var o="";for(a++,s=e.charAt(a);a<l;){if(s===r)return a++,o;var i;if("\\\\"===s)if(a++,(s=e.charAt(a))===r)o+=r;else if(void 0!==(i=n[s]))o+=i;else{if(t.isHex(s)){var u=s;for(a++,s=e.charAt(a);t.isHex(s);)u+=s,a++,s=e.charAt(a);" "===s&&(a++,s=e.charAt(a)),o+=String.fromCharCode(parseInt(u,16));continue}o+=s}else o+=s;a++,s=e.charAt(a)}return o}function c(){var r="";for(s=e.charAt(a);a<l;){if(t.isIdent(s))r+=s;else{if("\\\\"!==s)return r;if(l<=++a)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(a),t.identSpecialChars[s])r+=s;else{if(t.isHex(s)){var n=s;for(a++,s=e.charAt(a);t.isHex(s);)n+=s,a++,s=e.charAt(a);" "===s&&(a++,s=e.charAt(a)),r+=String.fromCharCode(parseInt(n,16));continue}r+=s}}a++,s=e.charAt(a)}return r}function d(){s=e.charAt(a);for(var t=!1;" "===s||"\\t"===s||"\\n"===s||"\\r"===s||"\\f"===s;)t=!0,a++,s=e.charAt(a);return t}function p(){var t=f();if(!t)return null;var r=t;for(s=e.charAt(a);","===s;){if(a++,d(),"selectors"!==r.type&&(r={type:"selectors",selectors:[t]}),!(t=f()))throw Error(\'Rule expected after ",".\');r.selectors.push(t)}return r}function f(){d();var t={type:"ruleSet"},r=m();if(!r)return null;for(var n=t;r&&(r.type="rule",n.rule=r,n=r,d(),s=e.charAt(a),!(l<=a||","===s||")"===s));)if(o[s]){var i=s;if(a++,d(),!(r=m()))throw Error(\'Rule expected after "\'+i+\'".\');r.nestingOperator=i}else(r=m())&&(r.nestingOperator=null);return t}function m(){for(var o=null;a<l;)if("*"===(s=e.charAt(a)))a++,(o=o||{}).tagName="*";else if(t.isIdentStart(s)||"\\\\"===s)(o=o||{}).tagName=c();else if("."===s)a++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===s)a++,(o=o||{}).id=c();else if("["===s){a++,d();var f={name:c()};if(d(),"]"===s)a++;else{var m="";if(n[s]&&(m=s,a++,s=e.charAt(a)),l<=a)throw Error(\'Expected "=" but end of file reached.\');if("="!==s)throw Error(\'Expected "=" but "\'+s+\'" found.\');f.operator=m+"=",a++,d();var h="";if(f.valueType="string",\'"\'===s)h=u(\'"\',t.doubleQuotesEscapeChars);else if("\'"===s)h=u("\'",t.singleQuoteEscapeChars);else if(i&&"$"===s)a++,h=c(),f.valueType="substitute";else{for(;a<l&&"]"!==s;)h+=s,a++,s=e.charAt(a);h=h.trim()}if(d(),l<=a)throw Error(\'Expected "]" but end of file reached.\');if("]"!==s)throw Error(\'Expected "]" but "\'+s+\'" found.\');a++,f.value=h}((o=o||{}).attrs=o.attrs||[]).push(f)}else{if(":"!==s)break;if(a++,f={name:m=c()},"("===s){a++;var g="";if(d(),"selector"===r[m])f.valueType="selector",g=p();else{if(f.valueType=r[m]||"string",\'"\'===s)g=u(\'"\',t.doubleQuotesEscapeChars);else if("\'"===s)g=u("\'",t.singleQuoteEscapeChars);else if(i&&"$"===s)a++,g=c(),f.valueType="substitute";else{for(;a<l&&")"!==s;)g+=s,a++,s=e.charAt(a);g=g.trim()}d()}if(l<=a)throw Error(\'Expected ")" but end of file reached.\');if(")"!==s)throw Error(\'Expected ")" but "\'+s+\'" found.\');a++,f.value=g}((o=o||{}).pseudos=o.pseudos||[]).push(f)}return o}return function(){var t=p();if(a<l)throw Error(\'Rule expected but "\'+e.charAt(a)+\'" found.\');return t}()}})),P=T((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=O();e.renderEntity=function e(a){var r="";switch(a.type){case"ruleSet":for(var n=a.rule,o=[];n;)n.nestingOperator&&o.push(n.nestingOperator),o.push(e(n)),n=n.rule;r=o.join(" ");break;case"selectors":r=a.selectors.map(e).join(", ");break;case"rule":a.tagName&&(r="*"===a.tagName?"*":t.escapeIdentifier(a.tagName)),a.id&&(r+="#"+t.escapeIdentifier(a.id)),a.classNames&&(r+=a.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),a.attrs&&(r+=a.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),a.pseudos&&(r+=a.pseudos.map((function(a){return a.valueType?"selector"===a.valueType?":"+t.escapeIdentifier(a.name)+"("+e(a.value)+")":"substitute"===a.valueType?":"+t.escapeIdentifier(a.name)+"($"+a.value+")":"numeric"===a.valueType?":"+t.escapeIdentifier(a.name)+"("+a.value+")":":"+t.escapeIdentifier(a.name)+"("+t.escapeIdentifier(a.value)+")":":"+t.escapeIdentifier(a.name)})).join(""));break;default:throw Error(\'Unknown entity type: "\'+a.type+\'".\')}return r}})),I=T((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=S(),a=P(),r=(n.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.pseudos[n]="selector"}return this},n.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.pseudos[n]}return this},n.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.pseudos[n]="numeric"}return this},n.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.pseudos[n]}return this},n.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.ruleNestingOperators[n]=!0}return this},n.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.ruleNestingOperators[n]}return this},n.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.attrEqualityMods[n]=!0}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.attrEqualityMods[n]}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},n.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(e){return a.renderEntity(e).trim()},n);function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}e.CssSelectorParser=r})),B=T((function(e,t){"use strict";t.exports=function(){}})),L=T((function(e,t){"use strict";var a=B()();t.exports=function(e){return e!==a&&null!==e}})),q=T((function(e,t){"use strict";var a=L(),r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,(function(e){a(e)&&function(e,t){for(var a in e)t[a]=e[a]}(Object(e),t)})),t}})),M=T((function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}})),j=T((function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:0<e?1:-1}})),U=T((function(e,t){"use strict";t.exports=M()()?Math.sign:j()})),V=T((function(e,t){"use strict";var a=U(),r=Math.abs,n=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?a(e)*n(r(e)):e}})),H=T((function(e,t){"use strict";var a=V(),r=Math.max;t.exports=function(e){return r(0,a(e))}})),z=T((function(e,t){"use strict";var a=H();t.exports=function(e,t,r){return isNaN(e)?0<=t?r&&t?t-1:t:1:!1!==e&&a(e)}})),$=T((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),W=T((function(e,t){"use strict";var a=L();t.exports=function(e){if(!a(e))throw new TypeError("Cannot use null or undefined");return e}})),G=T((function(e,t){"use strict";var a=$(),r=W(),n=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,l=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,u){var c,d=arguments[2],p=arguments[3];return s=Object(r(s)),a(u),c=i(s),p&&c.sort("function"==typeof p?n.call(p,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,a){return l.call(s,e)?o.call(u,d,s[e],e,s,a):t}))}}})),Y=T((function(e,t){"use strict";t.exports=G()("forEach")})),K=T((function(){})),X=T((function(e,t){"use strict";t.exports=function(){var e=Object.assign;return"function"==typeof e&&(e(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),J=T((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),Q=T((function(e,t){"use strict";var a=L(),r=Object.keys;t.exports=function(e){return r(a(e)?Object(e):e)}})),Z=T((function(e,t){"use strict";t.exports=J()()?Object.keys:Q()})),ee=T((function(e,t){"use strict";var a=Z(),r=W(),n=Math.max;t.exports=function(e,t){var o,i,l,s=n(arguments.length,2);for(e=Object(r(e)),l=function(a){try{e[a]=t[a]}catch(a){o=o||a}},i=1;i<s;++i)a(t=arguments[i]).forEach(l);if(void 0!==o)throw o;return e}})),te=T((function(e,t){"use strict";t.exports=X()()?Object.assign:ee()})),ae=T((function(e,t){"use strict";var a=L(),r={function:!0,object:!0};t.exports=function(e){return a(e)&&r[n(e)]||!1}})),re=T((function(e,t){"use strict";var a=te(),r=ae(),n=L(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),l=arguments[1];return n(e=arguments[2])||r(l)&&(e=l,l=null),n(e)&&a(i,e),n(l)&&(i.code=l),o&&o(i,t.exports),i}})),ne=T((function(e,t){"use strict";var a=W(),r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var l,s=Object(a(t));if(e=Object(a(e)),o(s).forEach((function(a){try{r(e,a,n(t,a))}catch(a){l=a}})),"function"==typeof i&&i(s).forEach((function(a){try{r(e,a,n(t,a))}catch(a){l=a}})),void 0!==l)throw l;return e}})),oe=T((function(e,t){"use strict";function a(e,t){return t}var r,n,o,i,l,s=H();try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===a.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=s(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(i=ne(),l=[],o=function(e){var t,a=0;if(l[e])return l[e];for(t=[];e--;)t.push("a"+(++a).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){if(t=s(t),e.length===t)return e;t=o(t)(e);try{i(t,e)}catch(e){}return t})})),ie=T((function(e,t){"use strict";t.exports=function(e){return null!=e}})),le=T((function(e,t){"use strict";var a=ie(),r={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!a(e)&&hasOwnProperty.call(r,n(e))}})),se=T((function(e,t){"use strict";var a=le();t.exports=function(e){if(!a(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),ue=T((function(e,t){"use strict";var a=se();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!a(e)}})),ce=T((function(e,t){"use strict";var a=ue(),r=/^\\s*class[\\s{/}]/,n=Function.prototype.toString;t.exports=function(e){return!!a(e)&&!r.test(n.call(e))}})),de=T((function(e,t){"use strict";var a="razdwatrzy";t.exports=function(){return"function"==typeof a.contains&&!0===a.contains("dwa")&&!1===a.contains("foo")}})),pe=T((function(e,t){"use strict";var a=String.prototype.indexOf;t.exports=function(e){return-1<a.call(this,e,arguments[1])}})),fe=T((function(e,t){"use strict";t.exports=de()()?String.prototype.contains:pe()})),me=T((function(e,t){"use strict";var a=ie(),r=ce(),n=te(),o=q(),i=fe();(t.exports=function(e,t){var r,l,s,u;return arguments.length<2||"string"!=typeof e?(s=t,t=e,e=null):s=arguments[2],a(e)?(r=i.call(e,"c"),l=i.call(e,"e"),u=i.call(e,"w")):l=!(r=u=!0),u={value:t,configurable:r,enumerable:l,writable:u},s?n(o(s),u):u}).gs=function(e,t,l){var s,u;return"string"!=typeof e?(u=l,l=t,t=e,e=null):u=arguments[3],a(t)?r(t)?a(l)?r(l)||(u=l,l=void 0):l=void 0:(u=t,t=l=void 0):t=void 0,e=a(e)?(s=i.call(e,"c"),i.call(e,"e")):!(s=!0),e={get:t,set:l,configurable:s,enumerable:e},u?n(o(u),e):e}})),he=T((function(e,t){"use strict";var a=me(),r=$(),o=Function.prototype.apply,i=Function.prototype.call,l=Object.create,s=Object.defineProperty,u=Object.defineProperties,c=Object.prototype.hasOwnProperty,d={configurable:!0,enumerable:!1,writable:!0},p=function(e,t){var a;return r(t),c.call(this,"__ee__")?a=this.__ee__:(a=d.value=l(null),s(this,"__ee__",d),d.value=null),a[e]?"object"===n(a[e])?a[e].push(t):a[e]=[a[e],t]:a[e]=t,this},f=function(e,t){var a,n;return r(t),p.call(n=this,e,a=function(){m.call(n,e,a),o.call(t,this,arguments)}),a.__eeOnceListener__=t,this},m=function(e,t){var a,o,i,l;if(r(t),!c.call(this,"__ee__"))return this;if(!(a=this.__ee__)[e])return this;if(o=a[e],"object"===n(o))for(l=0;i=o[l];++l)i!==t&&i.__eeOnceListener__!==t||(2===o.length?a[e]=o[l?0:1]:o.splice(l,1));else o!==t&&o.__eeOnceListener__!==t||delete a[e];return this},h=function(e){var t,a,r,l,s;if(c.call(this,"__ee__")&&(l=this.__ee__[e]))if("object"===n(l)){for(a=arguments.length,s=new Array(a-1),t=1;t<a;++t)s[t-1]=arguments[t];for(l=l.slice(),t=0;r=l[t];++t)o.call(r,this,s)}else switch(arguments.length){case 1:i.call(l,this);break;case 2:i.call(l,this,arguments[1]);break;case 3:i.call(l,this,arguments[1],arguments[2]);break;default:for(a=arguments.length,s=new Array(a-1),t=1;t<a;++t)s[t-1]=arguments[t];o.call(l,this,s)}},g={on:p,once:f,off:m,emit:h},b={on:a(p),once:a(f),off:a(m),emit:a(h)},y=u({},b);t.exports=e=function(e){return null==e?l(y):u(Object(e),b)},e.methods=g})),ge=T((function(e,t){"use strict";t.exports=function(){var e,t=Array.from;return"function"==typeof t&&(t=t(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),be=T((function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))&&!!globalThis&&globalThis.Array===Array}})),ye=T((function(e,a){function r(){if("object"===("undefined"==typeof self?"undefined":n(self))&&self)return self;if("object"===(void 0===t?"undefined":n(t))&&t)return t;throw new Error("Unable to resolve global `this`")}a.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),ve=T((function(e,t){"use strict";t.exports=be()()?globalThis:ye()})),De=T((function(e,t){"use strict";var a=ve(),r={object:!0,symbol:!0};t.exports=function(){var e,t=a.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!r[n(t.iterator)]&&!!r[n(t.toPrimitive)]&&!!r[n(t.toStringTag)]}})),we=T((function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===n(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}})),xe=T((function(e,t){"use strict";var a=we();t.exports=function(e){if(!a(e))throw new TypeError(e+" is not a symbol");return e}})),Ee=T((function(e,t){"use strict";var a=me(),r=Object.create,n=Object.defineProperty,o=Object.prototype,i=r(null);t.exports=function(e){for(var t,r,l=0;i[e+(l||"")];)++l;return i[e+=l||""]=!0,n(o,t="@@"+e,a.gs(null,(function(e){r||(r=!0,n(this,t,a(e)),r=!1)}))),t}})),Ae=T((function(e,t){"use strict";var a=me(),r=ve().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:a("",r&&r.hasInstance||e("hasInstance")),isConcatSpreadable:a("",r&&r.isConcatSpreadable||e("isConcatSpreadable")),iterator:a("",r&&r.iterator||e("iterator")),match:a("",r&&r.match||e("match")),replace:a("",r&&r.replace||e("replace")),search:a("",r&&r.search||e("search")),species:a("",r&&r.species||e("species")),split:a("",r&&r.split||e("split")),toPrimitive:a("",r&&r.toPrimitive||e("toPrimitive")),toStringTag:a("",r&&r.toStringTag||e("toStringTag")),unscopables:a("",r&&r.unscopables||e("unscopables"))})}})),Ce=T((function(e,t){"use strict";var a=me(),r=xe(),n=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:a((function(t){return n[t]||(n[t]=e(String(t)))})),keyFor:a((function(e){for(var t in r(e),n)if(n[t]===e)return t}))})}})),Fe=T((function(e,t){"use strict";var a,r,o,i=me(),l=xe(),s=ve().Symbol,u=Ee(),c=Ae(),d=Ce(),p=Object.create,f=Object.defineProperties,m=Object.defineProperty;if("function"==typeof s)try{String(s()),o=!0}catch(e){}else s=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return a(e)},t.exports=a=function e(t){var a;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?s(t):(a=p(r.prototype),t=void 0===t?"":String(t),f(a,{__description__:i("",t),__name__:i("",u(t))}))},c(a),d(a),f(r.prototype,{constructor:i(a),toString:i("",(function(){return this.__name__}))}),f(a.prototype,{toString:i((function(){return"Symbol ("+l(this).__description__+")"})),valueOf:i((function(){return l(this)}))}),m(a.prototype,a.toPrimitive,i("",(function(){var e=l(this);return"symbol"===n(e)?e:e.toString()}))),m(a.prototype,a.toStringTag,i("c","Symbol")),m(r.prototype,a.toStringTag,i("c",a.prototype[a.toStringTag])),m(r.prototype,a.toPrimitive,i("c",a.prototype[a.toPrimitive]))})),ke=T((function(e,t){"use strict";t.exports=De()()?ve().Symbol:Fe()})),Re=T((function(e,t){"use strict";var a=Object.prototype.toString,r=a.call(function(){return arguments}());t.exports=function(e){return a.call(e)===r}})),Te=T((function(e,t){"use strict";var a=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&r(a.call(e))}})),Ne=T((function(e,t){"use strict";var a=Object.prototype.toString,r=a.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===n(e)&&(e instanceof String||a.call(e)===r)||!1}})),_e=T((function(e,t){"use strict";var a=ke().iterator,r=Re(),n=Te(),o=H(),i=$(),l=W(),s=L(),u=Ne(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;t.exports=function(e){var t,m,h,g,b,y,v,D,w,x,E=arguments[1],A=arguments[2];if(e=Object(l(e)),s(E)&&i(E),this&&this!==Array&&n(this))t=this;else{if(!E){if(r(e))return 1!==(b=e.length)?Array.apply(null,e):((g=new Array(1))[0]=e[0],g);if(c(e)){for(g=new Array(b=e.length),m=0;m<b;++m)g[m]=e[m];return g}}g=[]}if(!c(e))if(void 0!==(w=e[a])){for(v=i(w).call(e),t&&(g=new t),D=v.next(),m=0;!D.done;)x=E?d.call(E,A,D.value,m):D.value,t?(p.value=x,f(g,m,p)):g[m]=x,D=v.next(),++m;b=m}else if(u(e)){for(b=e.length,t&&(g=new t),h=m=0;m<b;++m)x=e[m],m+1<b&&55296<=(y=x.charCodeAt(0))&&y<=56319&&(x+=e[++m]),x=E?d.call(E,A,x,h):x,t?(p.value=x,f(g,h,p)):g[h]=x,++h;b=h}if(void 0===b)for(b=o(e.length),t&&(g=new t(b)),m=0;m<b;++m)x=E?d.call(E,A,e[m],m):e[m],t?(p.value=x,f(g,m,p)):g[m]=x;return t&&(p.value=null,g.length=b),g}})),Oe=T((function(e,t){"use strict";t.exports=ge()()?Array.from:_e()})),Se=T((function(e,t){"use strict";var a=Oe(),r=Array.isArray;t.exports=function(e){return r(e)?e:a(e)}})),Pe=T((function(e,t){"use strict";var a=Se(),r=L(),n=$(),o=Array.prototype.slice,i=function(e){return this.map((function(t,a){return t?t(e[a]):e[a]})).concat(o.call(e,this.length))};t.exports=function(e){return(e=a(e)).forEach((function(e){r(e)&&n(e)})),i.bind(e)}})),Ie=T((function(e,t){"use strict";var a=$();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:a(e.get)},void 0!==e.set?(t.set=a(e.set),e.delete&&(t.delete=a(e.delete)),e.clear&&(t.clear=a(e.clear))):t.set=t.get,t)}})),Be=T((function(e,t){"use strict";var a=re(),r=oe(),n=me(),o=he().methods,i=Pe(),l=Ie(),s=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,f=o.emit;t.exports=function(e,t,o){var m,h,g,b,y,v,D,w,x,E,A,C=c(null),F=!1!==t?t:isNaN(e.length)?1:e.length;return o.normalizer&&(v=l(o.normalizer),h=v.get,g=v.set,b=v.delete,y=v.clear),null!=o.resolvers&&(A=i(o.resolvers)),E=h?r((function(t){var r,n,o=arguments;if(A&&(o=A(o)),null!==(r=h(o))&&hasOwnProperty.call(C,r))return D&&m.emit("get",r,o,this),C[r];if(n=1===o.length?u.call(e,this,o[0]):s.call(e,this,o),null===r){if(null!==(r=h(o)))throw a("Circular invocation","CIRCULAR_INVOCATION");r=g(o)}else if(hasOwnProperty.call(C,r))throw a("Circular invocation","CIRCULAR_INVOCATION");return C[r]=n,w&&m.emit("set",r,null,n),n}),F):0===t?function(){var t;if(hasOwnProperty.call(C,"data"))return D&&m.emit("get","data",arguments,this),C.data;if(t=arguments.length?s.call(e,this,arguments):u.call(e,this),hasOwnProperty.call(C,"data"))throw a("Circular invocation","CIRCULAR_INVOCATION");return C.data=t,w&&m.emit("set","data",null,t),t}:function(t){var r,n=arguments;if(A&&(n=A(arguments)),r=String(n[0]),hasOwnProperty.call(C,r))return D&&m.emit("get",r,n,this),C[r];if(n=1===n.length?u.call(e,this,n[0]):s.call(e,this,n),hasOwnProperty.call(C,r))throw a("Circular invocation","CIRCULAR_INVOCATION");return C[r]=n,w&&m.emit("set",r,null,n),n},m={original:e,memoized:E,profileName:o.profileName,get:function(e){return A&&(e=A(e)),h?h(e):String(e[0])},has:function(e){return hasOwnProperty.call(C,e)},delete:function(e){var t;hasOwnProperty.call(C,e)&&(b&&b(e),t=C[e],delete C[e],x&&m.emit("delete",e,t))},clear:function(){var e=C;y&&y(),C=c(null),m.emit("clear",e)},on:function(e,t){return"get"===e?D=!0:"set"===e?w=!0:"delete"===e&&(x=!0),p.call(this,e,t)},emit:f,updateEnv:function(){e=m.original}},v=h?r((function(e){var t=arguments;A&&(t=A(t)),null!==(t=h(t))&&m.delete(t)}),F):0===t?function(){return m.delete("data")}:function(e){return A&&(e=A(arguments)[0]),m.delete(e)},o=r((function(){var e=arguments;return 0===t?C.data:(A&&(e=A(e)),e=h?h(e):String(e[0]),C[e])})),F=r((function(){var e=arguments;return 0===t?m.has("data"):(A&&(e=A(e)),null!==(e=h?h(e):String(e[0]))&&m.has(e))})),d(E,{__memoized__:n(!0),delete:n(v),clear:n(m.clear),_get:n(o),_has:n(F)}),m}})),Le=T((function(e,t){"use strict";var a=$(),r=Y(),n=K(),o=Be(),i=z();t.exports=function e(t){var l,s,u;if(a(t),(l=Object(arguments[1])).async&&l.promise)throw new Error("Options \'async\' and \'promise\' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!l.force?t:(s=i(l.length,t.length,l.async&&n.async),u=o(t,s,l),r(n,(function(e,t){l[t]&&e(l[t],u,l)})),e.__profiler__&&e.__profiler__(u),u.updateEnv(),u.memoized)}})),qe=T((function(e,t){"use strict";t.exports=function(e){var t,a,r=e.length;if(!r)return"";for(t=String(e[a=0]);--r;)t+=""+e[++a];return t}})),Me=T((function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var a=String(t[0]),r=0,n=e;--n;)a+=""+t[++r];return a}:function(){return""}}})),je=T((function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}})),Ue=T((function(e,t){"use strict";t.exports=function(e){return e!=e}})),Ve=T((function(e,t){"use strict";t.exports=je()()?Number.isNaN:Ue()})),He=T((function(e,t){"use strict";var a=Ve(),r=H(),n=W(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,l=Math.abs,s=Math.floor;t.exports=function(e){var t,u,c;if(!a(e))return o.apply(this,arguments);for(u=r(n(this).length),e=arguments[1],t=e=isNaN(e)?0:0<=e?s(e):r(this.length)-s(l(e));t<u;++t)if(i.call(this,t)&&(c=this[t],a(c)))return t;return-1}})),ze=T((function(e,t){"use strict";var a=He(),r=Object.create;t.exports=function(){var e=0,t=[],n=r(null);return{get:function(e){var r,n=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;n<i-1;){if(-1===(r=a.call(o[0],e[n])))return null;o=o[1][r],++n}return-1===(r=a.call(o[0],e[n]))?null:o[1][r]||null}return null},set:function(r){var o,i=0,l=t,s=r.length;if(0===s)l[s]=++e;else{for(l[s]||(l[s]=[[],[]]),l=l[s];i<s-1;)-1===(o=a.call(l[0],r[i]))&&(o=l[0].push(r[i])-1,l[1].push([[],[]])),l=l[1][o],++i;-1===(o=a.call(l[0],r[i]))&&(o=l[0].push(r[i])-1),l[1][o]=++e}return n[e]=r,e},delete:function(e){var r,o=0,i=t,l=n[e],s=l.length,u=[];if(0===s)delete i[s];else if(i=i[s]){for(;o<s-1;){if(-1===(r=a.call(i[0],l[o])))return;u.push(i,r),i=i[1][r],++o}if(-1===(r=a.call(i[0],l[o])))return;for(e=i[1][r],i[0].splice(r,1),i[1].splice(r,1);!i[0].length&&u.length;)r=u.pop(),(i=u.pop())[0].splice(r,1),i[1].splice(r,1)}delete n[e]},clear:function(){t=[],n=r(null)}}}})),$e=T((function(e,t){"use strict";var a=He();t.exports=function(){var e=0,t=[],r=[];return{get:function(e){return-1===(e=a.call(t,e[0]))?null:r[e]},set:function(a){return t.push(a[0]),r.push(++e),e},delete:function(e){-1!==(e=a.call(r,e))&&(t.splice(e,1),r.splice(e,1))},clear:function(){t=[],r=[]}}}})),We=T((function(e,t){"use strict";var a=He(),r=Object.create;t.exports=function(e){var t=0,n=[[],[]],o=r(null);return{get:function(t){for(var r,o=0,i=n;o<e-1;){if(-1===(r=a.call(i[0],t[o])))return null;i=i[1][r],++o}return-1!==(r=a.call(i[0],t[o]))&&i[1][r]||null},set:function(r){for(var i,l=0,s=n;l<e-1;)-1===(i=a.call(s[0],r[l]))&&(i=s[0].push(r[l])-1,s[1].push([[],[]])),s=s[1][i],++l;return-1===(i=a.call(s[0],r[l]))&&(i=s[0].push(r[l])-1),s[1][i]=++t,o[t]=r,t},delete:function(t){for(var r,i=0,l=n,s=[],u=o[t];i<e-1;){if(-1===(r=a.call(l[0],u[i])))return;s.push(l,r),l=l[1][r],++i}if(-1!==(r=a.call(l[0],u[i]))){for(t=l[1][r],l[0].splice(r,1),l[1].splice(r,1);!l[0].length&&s.length;)r=s.pop(),(l=s.pop())[0].splice(r,1),l[1].splice(r,1);delete o[t]}},clear:function(){n=[[],[]],o=r(null)}}}})),Ge=T((function(e,t){"use strict";var a=$(),r=Y(),n=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return a(t),r(e,(function(e,a,r,l){o[a]=n.call(t,i,e,a,r,l)})),o}})),Ye=T((function(e,t){"use strict";function a(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}function o(e){var t,n,o=r.createTextNode(""),i=0;return new e((function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(o.data=i=++i%2;n;)e=n.shift(),n.length||(n=null),e()})).observe(o,{characterData:!0}),function(e){a(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,o.data=i=++i%2)}}t.exports=function(){if("object"===("undefined"==typeof process?"undefined":n(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(a(e))};if("object"===(void 0===r?"undefined":n(r))&&r){if("function"==typeof MutationObserver)return o(MutationObserver);if("function"==typeof WebKitMutationObserver)return o(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(a(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":n(setTimeout))?function(e){setTimeout(a(e),0)}:null}()})),Ke=T((function(){"use strict";var e=Oe(),t=Ge(),a=ne(),r=oe(),n=Ye(),o=Array.prototype.slice,i=Function.prototype.apply,l=Object.create;K().async=function(s,u){var c,d,p,f=l(null),m=l(null),h=u.memoized,g=u.original;u.memoized=r((function(e){var t=arguments,a=t[t.length-1];return"function"==typeof a&&(c=a,t=o.call(t,0,-1)),h.apply(d=this,p=t)}),h);try{a(u.memoized,h)}catch(s){}u.on("get",(function(e){var t,a,r;if(c){if(f[e])return"function"==typeof f[e]?f[e]=[f[e],c]:f[e].push(c),void(c=null);t=c,a=d,r=p,c=d=p=null,n((function(){var n;hasOwnProperty.call(m,e)?(n=m[e],u.emit("getasync",e,r,a),i.call(t,n.context,n.args)):(c=t,d=a,p=r,h.apply(a,r))}))}})),u.original=function(){var t,a,r,o;return c?(t=e(arguments),a=function t(a){var r,l,s=t.id;if(null!=s){if(delete t.id,r=f[s],delete f[s],r)return l=e(arguments),u.has(s)&&(a?u.delete(s):(m[s]={context:this,args:l},u.emit("setasync",s,"function"==typeof r?1:r.length))),"function"==typeof r?o=i.call(r,this,l):r.forEach((function(e){o=i.call(e,this,l)}),this),o}else n(i.bind(t,this,arguments))},r=c,c=d=p=null,t.push(a),o=i.call(g,this,t),a.cb=r,c=a,o):i.call(g,this,arguments)},u.on("set",(function(e){c?(f[e]?"function"==typeof f[e]?f[e]=[f[e],c.cb]:f[e].push(c.cb):f[e]=c.cb,delete c.cb,c.id=e,c=null):u.delete(e)})),u.on("delete",(function(e){var t;hasOwnProperty.call(f,e)||m[e]&&(t=m[e],delete m[e],u.emit("deleteasync",e,o.call(t.args,1)))})),u.on("clear",(function(){var e=m;m=l(null),u.emit("clearasync",t(e,(function(e){return o.call(e.args,1)})))}))}})),Xe=T((function(e,t){"use strict";var a=Array.prototype.forEach,r=Object.create;t.exports=function(e){var t=r(null);return a.call(arguments,(function(e){t[e]=!0})),t}})),Je=T((function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}})),Qe=T((function(e,t){"use strict";var a=Je();t.exports=function(e){try{return e&&a(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),Ze=T((function(e,t){"use strict";var a=W(),r=Qe();t.exports=function(e){return r(a(e))}})),et=T((function(e,t){"use strict";var a=Je();t.exports=function(e){try{return e&&a(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),tt=T((function(e,t){"use strict";var a=et(),r=/[\\n\\r\\u2028\\u2029]/g;t.exports=function(e){return(e=100<(e=a(e)).length?e.slice(0,99)+"…":e).replace(r,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),at=T((function(e,t){function a(e){return!!e&&("object"===n(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=a,t.exports.default=a})),rt=T((function(){"use strict";var e=Ge(),t=Xe(),a=Ze(),r=tt(),n=at(),o=Ye(),i=Object.create,l=t("then","then:finally","done","done:finally");K().promise=function(t,s){var u=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=a(t),!l[t])throw new TypeError("\'"+r(t)+"\' is not valid promise mode");s.on("set",(function(e,a,r){var i=!1;if(!n(r))return c[e]=r,void s.emit("setasync",e,1);function l(t){var a=u[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in \'done:finally\' mode)\\nConsider to rely on \'then\' or \'done\' mode instead.");a&&(delete u[e],c[e]=t,s.emit("setasync",e,a))}function p(){i=!0,u[e]&&(delete u[e],delete d[e],s.delete(e))}u[e]=1,d[e]=r;var f=t;if("then"===(f=f||"then")){var m=function(){o(p)};"function"==typeof(r=r.then((function(e){o(l.bind(this,e))}),m)).finally&&r.finally(m)}else if("done"===f){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement \'done\' in \'done\' mode");r.done(l,p)}else if("done:finally"===f){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement \'done\' in \'done:finally\' mode");if("function"!=typeof r.finally)throw new Error("Memoizee error: Retrieved promise does not implement \'finally\' in \'done:finally\' mode");r.done(l),r.finally(p)}})),s.on("get",(function(e,t,a){var r,i;u[e]?++u[e]:(r=d[e],i=function(){s.emit("getasync",e,t,a)},n(r)?"function"==typeof r.done?r.done(i):r.then((function(){o(i)})):i())})),s.on("delete",(function(e){var t;delete d[e],u[e]?delete u[e]:hasOwnProperty.call(c,e)&&(t=c[e],delete c[e],s.emit("deleteasync",e,[t]))})),s.on("clear",(function(){var t=c;c=i(null),u=i(null),d=i(null),s.emit("clearasync",e(t,(function(e){return[e]})))}))}})),nt=T((function(){"use strict";var e=$(),t=Y(),a=K(),r=Function.prototype.apply;a.dispose=function(n,o,i){var l;if(e(n),i.async&&a.async||i.promise&&a.promise)return o.on("deleteasync",l=function(e,t){r.call(n,null,t)}),void o.on("clearasync",(function(e){t(e,(function(e,t){l(t,e)}))}));o.on("delete",l=function(e,t){n(t)}),o.on("clear",(function(e){t(e,(function(e,t){l(t,e)}))}))}})),ot=T((function(e,t){"use strict";t.exports=2147483647})),it=T((function(e,t){"use strict";var a=H(),r=ot();t.exports=function(e){if(e=a(e),r<e)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),lt=T((function(){"use strict";var e=Oe(),t=Y(),a=Ye(),r=at(),n=it(),o=K(),i=Function.prototype,l=Math.max,s=Math.min,u=Object.create;o.maxAge=function(c,d,p){var f,m,h,g;(c=n(c))&&(f=u(null),m=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+m,(function(e){f[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof f[e].unref&&f[e].unref(),g&&(g[e]&&"nextTick"!==g[e]&&clearTimeout(g[e]),g[e]=setTimeout((function(){delete g[e]}),h),"function"==typeof g[e].unref&&g[e].unref())})),d.on("delete"+m,(function(e){clearTimeout(f[e]),delete f[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])})),p.preFetch&&(h=!0===p.preFetch||isNaN(p.preFetch)?.333:l(s(Number(p.preFetch),1),0))&&(g={},h=(1-h)*c,d.on("get"+m,(function(t,n,o){g[t]||(g[t]="nextTick",a((function(){var a;"nextTick"===g[t]&&(delete g[t],d.delete(t),p.async&&(n=e(n)).push(i),a=d.memoized.apply(o,n),p.promise&&r(a)&&("function"==typeof a.done?a.done(i,i):a.then(i,i)))})))}))),d.on("clear"+m,(function(){t(f,(function(e){clearTimeout(e)})),f={},g&&(t(g,(function(e){"nextTick"!==e&&clearTimeout(e)})),g={})})))}})),st=T((function(e,t){"use strict";var a=H(),r=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,l=r(null),s=r(null),u=0;return e=a(e),{hit:function(a){var r=s[a],c=++u;if(l[c]=a,s[a]=c,!r)return++o<=e?void 0:(a=l[i],t(a),a);if(delete l[r],i===r)for(;!n.call(l,++i););},delete:t=function(e){var t=s[e];if(t&&(delete l[t],delete s[e],--o,i===t)){if(!o)return u=0,void(i=1);for(;!n.call(l,++i););}},clear:function(){o=0,i=1,l=r(null),s=r(null),u=0}}}})),ut=T((function(){"use strict";var e=H(),t=st(),a=K();a.max=function(r,n,o){var i;(r=e(r))&&(i=t(r),r=o.async&&a.async||o.promise&&a.promise?"async":"",n.on("set"+r,o=function(e){void 0!==(e=i.hit(e))&&n.delete(e)}),n.on("get"+r,o),n.on("delete"+r,i.delete),n.on("clear"+r,i.clear))}})),ct=T((function(){"use strict";var e=me(),t=K(),a=Object.create,r=Object.defineProperties;t.refCounter=function(n,o,i){var l=a(null);i=i.async&&t.async||i.promise&&t.promise?"async":"";o.on("set"+i,(function(e,t){l[e]=t||1})),o.on("get"+i,(function(e){++l[e]})),o.on("delete"+i,(function(e){delete l[e]})),o.on("clear"+i,(function(){l={}})),r(o.memoized,{deleteRef:e((function(){var e=o.get(arguments);return null!==e&&l[e]?!--l[e]&&(o.delete(e),!0):null})),getRefCount:e((function(){var e=o.get(arguments);return null!==e&&l[e]||0}))})}})),dt=T((function(e,t){"use strict";var a=q(),r=z(),n=Le();t.exports=function(e){var t,o=a(arguments[1]);return o.normalizer||0!==(t=o.length=r(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=qe():1<t&&(o.normalizer=Me()(t)):o.normalizer=!1===t?ze()():1===t?$e()():We()(t)),o.async&&Ke(),o.promise&&rt(),o.dispose&&nt(),o.maxAge&&lt(),o.max&&ut(),o.refCounter&&ct(),n(e,o)}})),pt=T((function(e,t){"use strict";t.exports=function(){return/\\uD83C\\uDFF4\\uDB40\\uDC67\\uDB40\\uDC62(?:\\uDB40\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67|\\uDB40\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDB40\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73)\\uDB40\\uDC7F|\\uD83D\\uDC68(?:\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C\\uDFFB|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFE])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83D\\uDC68|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D[\\uDC66\\uDC67])|[\\u2695\\u2696\\u2708]\\uFE0F|\\uD83D[\\uDC66\\uDC67]|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|(?:\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708])\\uFE0F|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C[\\uDFFB-\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFB\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D\\uD83D\\uDC69)\\uD83C\\uDFFB|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])|\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1)|(?:\\uD83E\\uDDD1\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFE])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D\\uD83D\\uDC69)(?:\\uD83C[\\uDFFB\\uDFFC])|\\uD83D\\uDC69(?:\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFC-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|(?:\\uD83E\\uDDD1\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D\\uD83D\\uDC69)(?:\\uD83C[\\uDFFB-\\uDFFD])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D\\uDC41\\uFE0F\\u200D\\uD83D\\uDDE8|\\uD83D\\uDC69(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|(?:(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)\\uFE0F|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF])\\u200D[\\u2640\\u2642]|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD6-\\uDDDD])(?:(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|\\u200D[\\u2640\\u2642])|\\uD83C\\uDFF4\\u200D\\u2620)\\uFE0F|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83C\\uDFF3\\uFE0F\\u200D\\uD83C\\uDF08|\\uD83D\\uDC15\\u200D\\uD83E\\uDDBA|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67|\\uD83C\\uDDFD\\uD83C\\uDDF0|\\uD83C\\uDDF4\\uD83C\\uDDF2|\\uD83C\\uDDF6\\uD83C\\uDDE6|[#\\*0-9]\\uFE0F\\u20E3|\\uD83C\\uDDE7(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDF9(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF])|\\uD83C\\uDDEA(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA])|\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDDF7(?:\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC])|\\uD83D\\uDC69(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDDF2(?:\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF])|\\uD83C\\uDDE6(?:\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF])|\\uD83C\\uDDF0(?:\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDED(?:\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA])|\\uD83C\\uDDE9(?:\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF])|\\uD83C\\uDDFE(?:\\uD83C[\\uDDEA\\uDDF9])|\\uD83C\\uDDEC(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE])|\\uD83C\\uDDF8(?:\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF])|\\uD83C\\uDDEB(?:\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7])|\\uD83C\\uDDF5(?:\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE])|\\uD83C\\uDDFB(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA])|\\uD83C\\uDDF3(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF])|\\uD83C\\uDDE8(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF5\\uDDF7\\uDDFA-\\uDDFF])|\\uD83C\\uDDF1(?:\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE])|\\uD83C\\uDDFF(?:\\uD83C[\\uDDE6\\uDDF2\\uDDFC])|\\uD83C\\uDDFC(?:\\uD83C[\\uDDEB\\uDDF8])|\\uD83C\\uDDFA(?:\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF])|\\uD83C\\uDDEE(?:\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9])|\\uD83C\\uDDEF(?:\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5])|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u261D\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC70\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDCAA\\uDD74\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD36\\uDDB5\\uDDB6\\uDDBB\\uDDD2-\\uDDD5])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u270A\\u270B\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF93\\uDFA0-\\uDFCA\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF4\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC3E\\uDC40\\uDC42-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDD7A\\uDD95\\uDD96\\uDDA4\\uDDFB-\\uDE4F\\uDE80-\\uDEC5\\uDECC\\uDED0-\\uDED2\\uDED5\\uDEEB\\uDEEC\\uDEF4-\\uDEFA\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD71\\uDD73-\\uDD76\\uDD7A-\\uDDA2\\uDDA5-\\uDDAA\\uDDAE-\\uDDCA\\uDDCD-\\uDDFF\\uDE70-\\uDE73\\uDE78-\\uDE7A\\uDE80-\\uDE82\\uDE90-\\uDE95])|(?:[#\\*0-9\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u261D\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A1\\u26AA\\u26AB\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C5\\u26C8\\u26CE\\u26CF\\u26D1\\u26D3\\u26D4\\u26E9\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC04\\uDCCF\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE02\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF21\\uDF24-\\uDF93\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E-\\uDFF0\\uDFF3-\\uDFF5\\uDFF7-\\uDFFF]|\\uD83D[\\uDC00-\\uDCFD\\uDCFF-\\uDD3D\\uDD49-\\uDD4E\\uDD50-\\uDD67\\uDD6F\\uDD70\\uDD73-\\uDD7A\\uDD87\\uDD8A-\\uDD8D\\uDD90\\uDD95\\uDD96\\uDDA4\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA-\\uDE4F\\uDE80-\\uDEC5\\uDECB-\\uDED2\\uDED5\\uDEE0-\\uDEE5\\uDEE9\\uDEEB\\uDEEC\\uDEF0\\uDEF3-\\uDEFA\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD71\\uDD73-\\uDD76\\uDD7A-\\uDDA2\\uDDA5-\\uDDAA\\uDDAE-\\uDDCA\\uDDCD-\\uDDFF\\uDE70-\\uDE73\\uDE78-\\uDE7A\\uDE80-\\uDE82\\uDE90-\\uDE95])\\uFE0F|(?:[\\u261D\\u26F9\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2-\\uDFC4\\uDFC7\\uDFCA-\\uDFCC]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66-\\uDC78\\uDC7C\\uDC81-\\uDC83\\uDC85-\\uDC87\\uDC8F\\uDC91\\uDCAA\\uDD74\\uDD75\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE45-\\uDE47\\uDE4B-\\uDE4F\\uDEA3\\uDEB4-\\uDEB6\\uDEC0\\uDECC]|\\uD83E[\\uDD0F\\uDD18-\\uDD1F\\uDD26\\uDD30-\\uDD39\\uDD3C-\\uDD3E\\uDDB5\\uDDB6\\uDDB8\\uDDB9\\uDDBB\\uDDCD-\\uDDCF\\uDDD1-\\uDDDD])/g}})),ft=T((function(e,r){!function(){"use strict";var e={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\\{\\{([\\s\\S]+?(\\}?)+)\\}\\}/g,interpolate:/\\{\\{=([\\s\\S]+?)\\}\\}/g,encode:/\\{\\{!([\\s\\S]+?)\\}\\}/g,use:/\\{\\{#([\\s\\S]+?)\\}\\}/g,useParams:/(^|[^\\w$])def(?:\\.|\\[[\\\'\\"])([\\w$\\.]+)(?:[\\\'\\"]\\])?\\s*\\:\\s*([\\w$\\.]+|\\"[^\\"]+\\"|\\\'[^\\\']+\\\'|\\{[^\\}]+\\})/g,define:/\\{\\{##\\s*([\\w\\.$]+)\\s*(\\:|=)([\\s\\S]+?)#\\}\\}/g,defineParams:/^\\s*([\\w$]+):([\\s\\S]+)/,conditional:/\\{\\{\\?(\\?)?\\s*([\\s\\S]*?)\\s*\\}\\}/g,iterate:/\\{\\{~\\s*(?:\\}\\}|([\\s\\S]+?)\\s*\\:\\s*([\\w$]+)\\s*(?:\\:\\s*([\\w$]+))?\\s*\\}\\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":n(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){t.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==t)return t;if(void 0!==a)return a;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),e.encodeHTMLSource=function(e){var t={"&":"&#38;","<":"&#60;",">":"&#62;",\'"\':"&#34;","\'":"&#39;","/":"&#47;"},a=e?/[&<>"\'\\/]/g:/&(?!#?\\w+;)|<|>|"|\'|\\//g;return function(e){return e?e.toString().replace(a,(function(e){return t[e]||e})):""}},void 0!==r&&r.exports?r.exports=e:"function"==typeof define&&define.amd?define((function(){return e})):globalThis.doT=e;var o={append:{start:"\'+(",end:")+\'",startencode:"\'+encodeHTML("},split:{start:"\';out+=(",end:");out+=\'",startencode:"\';out+=encodeHTML("}},i=/$^/;function l(e){return e.replace(/\\\\(\'|\\\\)/g,"$1").replace(/[\\r\\t\\n]/g," ")}e.template=function(t,a,r){var n,s,u=(a=a||e.templateSettings).append?o.append:o.split,c=0;t=a.use||a.define?function e(t,a,r){return("string"==typeof a?a:a.toString()).replace(t.define||i,(function(e,a,n,o){return(a=0===a.indexOf("def.")?a.substring(4):a)in r||(":"===n?(t.defineParams&&o.replace(t.defineParams,(function(e,t,n){r[a]={arg:t,text:n}})),a in r||(r[a]=o)):new Function("def","def[\'"+a+"\']="+o)(r)),""})).replace(t.use||i,(function(a,n){return t.useParams&&(n=n.replace(t.useParams,(function(e,t,a,n){if(r[a]&&r[a].arg&&n){var o=(a+":"+n).replace(/\'|\\\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[a].text.replace(new RegExp("(^|[^\\\\w$])"+r[a].arg+"([^\\\\w$])","g"),"$1"+n+"$2"),t+"def.__exp[\'"+o+"\']"}}))),(n=new Function("def","return "+n)(r))&&e(t,n,r)}))}(a,t,r||{}):t,t=("var out=\'"+(a.strip?t.replace(/(^|\\r|\\n)\\t* +| +\\t*(\\r|\\n|$)/g," ").replace(/\\r|\\n|\\t|\\/\\*[\\s\\S]*?\\*\\//g,""):t).replace(/\'|\\\\/g,"\\\\$&").replace(a.interpolate||i,(function(e,t){return u.start+l(t)+u.end})).replace(a.encode||i,(function(e,t){return n=!0,u.startencode+l(t)+u.end})).replace(a.conditional||i,(function(e,t,a){return t?a?"\';}else if("+l(a)+"){out+=\'":"\';}else{out+=\'":a?"\';if("+l(a)+"){out+=\'":"\';}out+=\'"})).replace(a.iterate||i,(function(e,t,a,r){return t?(c+=1,s=r||"i"+c,t=l(t),"\';var arr"+c+"="+t+";if(arr"+c+"){var "+a+","+s+"=-1,l"+c+"=arr"+c+".length-1;while("+s+"<l"+c+"){"+a+"=arr"+c+"["+s+"+=1];out+=\'"):"\';} } out+=\'"})).replace(a.evaluate||i,(function(e,t){return"\';"+l(t)+"out+=\'"}))+"\';return out;").replace(/\\n/g,"\\\\n").replace(/\\t/g,"\\\\t").replace(/\\r/g,"\\\\r").replace(/(\\s|;|\\}|^|\\{)out\\+=\'\';/g,"$1").replace(/\\+\'\'/g,"");n&&(a.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=e.encodeHTMLSource(a.doNotSkipEncoded)),t="var encodeHTML = typeof _encodeHTML !== \'undefined\' ? _encodeHTML : ("+e.encodeHTMLSource.toString()+"("+(a.doNotSkipEncoded||"")+"));"+t);try{return new Function(a.varname,t)}catch(a){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+t),a}},e.compile=function(t,a){return e.template(t,null,a)}}()})),mt=T((function(e,o){var i;i=function(){"use strict";function e(e){return"function"==typeof e}var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,l=void 0,s=void 0,u=function(e,t){h[i]=e,h[i+1]=t,2===(i+=2)&&(s?s(g):w())},c=void 0!==t?t:void 0,d=(f=c||{}).MutationObserver||f.WebKitMutationObserver,p="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(g,1)}}var h=new Array(1e3);function g(){for(var e=0;e<i;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;i=0}var b,y,v,D,w=void 0;function x(e,t){var a=this,r=new this.constructor(C);void 0===r[A]&&B(r);var n,o=a._state;return o?(n=arguments[o-1],u((function(){return P(o,r,n,a._result)}))):O(a,r,e,t),r}function E(e){if(e&&"object"===n(e)&&e.constructor===this)return e;var t=new this(C);return R(t,e),t}w=p?function(){return process.nextTick(g)}:d?(y=0,v=new d(g),D=r.createTextNode(""),v.observe(D,{characterData:!0}),function(){D.data=y=++y%2}):f?((b=new MessageChannel).port1.onmessage=g,function(){return b.port2.postMessage(0)}):(void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(l=e.runOnLoop||e.runOnContext)?function(){l(g)}:m()}catch(e){return m()}}:m)();var A=Math.random().toString(36).substring(2);function C(){}var F=void 0;function k(t,a,r){var n,o;a.constructor===t.constructor&&r===x&&a.constructor.resolve===E?(n=t,1===(o=a)._state?N(n,o._result):2===o._state?_(n,o._result):O(o,void 0,(function(e){return R(n,e)}),(function(e){return _(n,e)}))):void 0!==r&&e(r)?function(e,t,a){u((function(e){var r=!1,n=function(e,t,a,r){try{e.call(t,a,r)}catch(e){return e}}(a,t,(function(a){r||(r=!0,(t!==a?R:N)(e,a))}),(function(t){r||(r=!0,_(e,t))}),e._label);!r&&n&&(r=!0,_(e,n))}),e)}(t,a,r):N(t,a)}function R(e,t){if(e===t)_(e,new TypeError("You cannot resolve a promise with itself"));else if(r=n(a=t),null===a||"object"!==r&&"function"!==r)N(e,t);else{r=void 0;try{r=t.then}catch(t){return void _(e,t)}k(e,t,r)}var a,r}function T(e){e._onerror&&e._onerror(e._result),S(e)}function N(e,t){e._state===F&&(e._result=t,e._state=1,0!==e._subscribers.length&&u(S,e))}function _(e,t){e._state===F&&(e._state=2,e._result=t,u(T,e))}function O(e,t,a,r){var n=e._subscribers,o=n.length;e._onerror=null,n[o]=t,n[o+1]=a,n[o+2]=r,0===o&&e._state&&u(S,e)}function S(e){var t=e._subscribers,a=e._state;if(0!==t.length){for(var r,n=void 0,o=e._result,i=0;i<t.length;i+=3)r=t[i],n=t[i+a],r?P(a,r,n,o):n(o);e._subscribers.length=0}}function P(t,a,r,n){var o=e(r),i=void 0,l=void 0,s=!0;if(o){try{i=r(n)}catch(t){s=!1,l=t}if(a===i)return void _(a,new TypeError("A promises callback cannot return that same promise."))}else i=n;a._state!==F||(o&&s?R(a,i):!1===s?_(a,l):1===t?N(a,i):2===t&&_(a,i))}var I=0;function B(e){e[A]=I++,e._state=void 0,e._result=void 0,e._subscribers=[]}var L=(q.prototype._enumerate=function(e){for(var t=0;this._state===F&&t<e.length;t++)this._eachEntry(e[t],t)},q.prototype._eachEntry=function(e,t){var a=this._instanceConstructor,r=a.resolve;if(r===E){var n,o=void 0,i=void 0,l=!1;try{o=e.then}catch(t){l=!0,i=t}o===x&&e._state!==F?this._settledAt(e._state,t,e._result):"function"!=typeof o?(this._remaining--,this._result[t]=e):a===M?(n=new a(C),l?_(n,i):k(n,e,o),this._willSettleAt(n,t)):this._willSettleAt(new a((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},q.prototype._settledAt=function(e,t,a){var r=this.promise;r._state===F&&(this._remaining--,2===e?_(r,a):this._result[t]=a),0===this._remaining&&N(r,this._result)},q.prototype._willSettleAt=function(e,t){var a=this;O(e,void 0,(function(e){return a._settledAt(1,t,e)}),(function(e){return a._settledAt(2,t,e)}))},q);function q(e,t){this._instanceConstructor=e,this.promise=new e(C),this.promise[A]||B(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?N(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&N(this.promise,this._result))):_(this.promise,new Error("Array Methods must be provided an Array"))}var M=(j.prototype.catch=function(e){return this.then(null,e)},j.prototype.finally=function(t){var a=this.constructor;return e(t)?this.then((function(e){return a.resolve(t()).then((function(){return e}))}),(function(e){return a.resolve(t()).then((function(){throw e}))})):this.then(t,t)},j);function j(e){this[A]=I++,this._result=this._state=void 0,this._subscribers=[],C!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof j?function(e,t){try{t((function(t){R(e,t)}),(function(t){_(e,t)}))}catch(t){_(e,t)}}(this,e):function(){throw new TypeError("Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.")}())}return M.prototype.then=x,M.all=function(e){return new L(this,e).promise},M.race=function(e){var t=this;return o(e)?new t((function(a,r){for(var n=e.length,o=0;o<n;o++)t.resolve(e[o]).then(a,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},M.resolve=E,M.reject=function(e){var t=new this(C);return _(t,e),t},M._setScheduler=function(e){s=e},M._setAsap=function(e){u=e},M._asap=u,M.polyfill=function(){var e=void 0;if(void 0!==a)e=a;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=M},M.Promise=M},"object"===n(e=e)&&void 0!==o?o.exports=i():"function"==typeof define&&define.amd?define(i):e.ES6Promise=i()})),ht=T((function(e){var t,a,r=(t=Object.prototype.toString,a=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\\[object *|\\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return a.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}),o=Math.LN2,i=Math.abs,l=Math.floor,s=Math.log,u=Math.min,c=Math.pow,d=Math.round;function p(e){if(g&&h)for(var t=g(e),a=0;a<t.length;a+=1)h(e,t[a],{value:e[t[a]],writable:!1,enumerable:!1,configurable:!1})}var f,m,h=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),1}catch(e){return}}()?Object.defineProperty:function(e,t,a){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(a,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,a.get),r.HasProperty(a,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,a.set),r.HasProperty(a,"value")&&(e[t]=a.value),e},g=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,a=[];for(t in e)r.HasOwnProperty(e,t)&&a.push(t);return a};function b(e){if(h){if(e.length>1e5)throw new RangeError("Array too large for polyfill");for(var t=0;t<e.length;t+=1)!function(t){h(e,t,{get:function(){return e._getter(t)},set:function(a){e._setter(t,a)},enumerable:!0,configurable:!1})}(t)}}function y(e,t){return e<<(t=32-t)>>t}function v(e,t){return e<<(t=32-t)>>>t}function D(e){return[255&e]}function w(e){return y(e[0],8)}function x(e){return[255&e]}function E(e){return v(e[0],8)}function A(e){return[(e=d(Number(e)))<0?0:255<e?255:255&e]}function C(e){return[e>>8&255,255&e]}function F(e){return y(e[0]<<8|e[1],16)}function k(e){return[e>>8&255,255&e]}function R(e){return v(e[0]<<8|e[1],16)}function T(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function N(e){return y(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function _(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function O(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function S(e,t,a){var r,n,d,p,f,m,h,g=(1<<t-1)-1;function b(e){var t=l(e);return(e=e-t)<.5||!(.5<e||t%2)?t:t+1}for(e!=e?(n=(1<<t)-1,d=c(2,a-1),r=0):e===1/0||e===-1/0?(n=(1<<t)-1,r=e<(d=0)?1:0):0===e?r=1/e==-1/(d=n=0)?1:0:(r=e<0,(e=i(e))>=c(2,1-g)?(n=u(l(s(e)/o),1023),2<=(d=b(e/c(2,n)*c(2,a)))/c(2,a)&&(n+=1,d=1),g<n?(n=(1<<t)-1,d=0):(n+=g,d-=c(2,a))):(n=0,d=b(e/c(2,1-g-a)))),f=[],p=a;p;--p)f.push(d%2?1:0),d=l(d/2);for(p=t;p;--p)f.push(n%2?1:0),n=l(n/2);for(f.push(r?1:0),f.reverse(),m=f.join(""),h=[];m.length;)h.push(parseInt(m.substring(0,8),2)),m=m.substring(8);return h}function P(e,t,a){for(var r,n,o,i,l,s,u=[],d=e.length;d;--d)for(n=e[d-1],r=8;r;--r)u.push(n%2?1:0),n>>=1;return u.reverse(),s=u.join(""),o=(1<<t-1)-1,i=parseInt(s.substring(0,1),2)?-1:1,l=parseInt(s.substring(1,1+t),2),s=parseInt(s.substring(1+t),2),l===(1<<t)-1?0!==s?NaN:1/0*i:0<l?i*c(2,l-o)*(1+s/c(2,a)):0!==s?i*c(2,-(o-1))*(s/c(2,a)):i<0?-0:0}function I(e){return P(e,11,52)}function B(e){return S(e,11,52)}function L(e){return P(e,8,23)}function q(e){return S(e,8,23)}function M(e,t){return r.IsCallable(e.get)?e.get(t):e[t]}function j(t){return function(a,n){if((a=r.ToUint32(a))+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");a+=this.byteOffset;for(var o=new e.Uint8Array(this.buffer,a,t.BYTES_PER_ELEMENT),i=[],l=0;l<t.BYTES_PER_ELEMENT;l+=1)i.push(M(o,l));return Boolean(n)===Boolean(f)&&i.reverse(),M(new t(new e.Uint8Array(i).buffer),0)}}function U(t){return function(a,n,o){if((a=r.ToUint32(a))+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");n=new t([n]);for(var i=new e.Uint8Array(n.buffer),l=[],s=0;s<t.BYTES_PER_ELEMENT;s+=1)l.push(M(i,s));Boolean(o)===Boolean(f)&&l.reverse(),new e.Uint8Array(this.buffer,a,t.BYTES_PER_ELEMENT).set(l)}}!function(){function t(e){if((e=r.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;p(this)}function a(){}function o(e,o,i){var l=function(e,a,o){var i,s,u,c;if(arguments.length&&"number"!=typeof e)if("object"===n(e)&&e.constructor===l)for(this.length=(i=e).length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),u=this.byteOffset=0;u<this.length;u+=1)this._setter(u,i._getter(u));else if("object"!==n(e)||e instanceof t||"ArrayBuffer"===r.Class(e)){if("object"!==n(e)||!(e instanceof t||"ArrayBuffer"===r.Class(e)))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=r.ToUint32(a),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(o),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(this.length=r.ToUint32((s=e).length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),u=this.byteOffset=0;u<this.length;u+=1)c=s[u],this._setter(u,Number(c));else{if(this.length=r.ToInt32(e),o<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=l,p(this),b(this)};return l.prototype=new a,l.prototype.BYTES_PER_ELEMENT=e,l.prototype._pack=o,l.prototype._unpack=i,l.BYTES_PER_ELEMENT=e,l.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=r.ToUint32(e))>=this.length)){for(var t=[],a=0,n=this.byteOffset+e*this.BYTES_PER_ELEMENT;a<this.BYTES_PER_ELEMENT;a+=1,n+=1)t.push(this.buffer._bytes[n]);return this._unpack(t)}},l.prototype.get=l.prototype._getter,l.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(!((e=r.ToUint32(e))>=this.length))for(var a=this._pack(t),n=0,o=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,o+=1)this.buffer._bytes[o]=a[n]},l.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var a,o,i,l,s,u,c,d,p,f;if("object"===n(e)&&e.constructor===this.constructor){if(a=e,(i=r.ToUint32(t))+a.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+i*this.BYTES_PER_ELEMENT,p=a.length*this.BYTES_PER_ELEMENT,a.buffer===this.buffer){for(f=[],s=0,u=a.byteOffset;s<p;s+=1,u+=1)f[s]=a.buffer._bytes[u];for(s=0,c=d;s<p;s+=1,c+=1)this.buffer._bytes[c]=f[s]}else for(s=0,u=a.byteOffset,c=d;s<p;s+=1,u+=1,c+=1)this.buffer._bytes[c]=a.buffer._bytes[u]}else{if("object"!==n(e)||void 0===e.length)throw new TypeError("Unexpected argument type(s)");if(l=r.ToUint32((o=e).length),(i=r.ToUint32(t))+l>this.length)throw new RangeError("Offset plus length of array is out of range");for(s=0;s<l;s+=1)u=o[s],this._setter(i+s,Number(u))}},l.prototype.subarray=function(e,t){function a(e,t,a){return e<t?t:a<e?a:e}e=r.ToInt32(e),t=r.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=a(e,0,this.length);var n=(t=a(t,0,this.length))-e;return new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,n=n<0?0:n)},l}e.ArrayBuffer=e.ArrayBuffer||t;var i=o(1,D,w),l=o(1,x,E),s=o(1,A,E),u=o(2,C,F),c=o(2,k,R),d=o(4,T,N),f=o(4,_,O),m=o(4,q,L),h=o(8,B,I);e.Int8Array=e.Int8Array||i,e.Uint8Array=e.Uint8Array||l,e.Uint8ClampedArray=e.Uint8ClampedArray||s,e.Int16Array=e.Int16Array||u,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||f,e.Float32Array=e.Float32Array||m,e.Float64Array=e.Float64Array||h}(),m=new e.Uint16Array([4660]),f=18===M(new e.Uint8Array(m.buffer),0),(m=function(t,a,n){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===r.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(a),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:r.ToUint32(n),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");p(this)}).prototype.getUint8=j(e.Uint8Array),m.prototype.getInt8=j(e.Int8Array),m.prototype.getUint16=j(e.Uint16Array),m.prototype.getInt16=j(e.Int16Array),m.prototype.getUint32=j(e.Uint32Array),m.prototype.getInt32=j(e.Int32Array),m.prototype.getFloat32=j(e.Float32Array),m.prototype.getFloat64=j(e.Float64Array),m.prototype.setUint8=U(e.Uint8Array),m.prototype.setInt8=U(e.Int8Array),m.prototype.setUint16=U(e.Uint16Array),m.prototype.setInt16=U(e.Int16Array),m.prototype.setUint32=U(e.Uint32Array),m.prototype.setInt32=U(e.Int32Array),m.prototype.setFloat32=U(e.Float32Array),m.prototype.setFloat64=U(e.Float64Array),e.DataView=e.DataView||m})),gt=T((function(e){!function(e){"use strict";var t,a,r;function o(){if(void 0===this)throw new TypeError("Constructor WeakMap requires \'new\'");if(r(this,"_id","_WeakMap_"+l()+"."+l()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function i(e,a){if(!s(e)||!t.call(e,"_id"))throw new TypeError(a+" method called on incompatible receiver "+n(e))}function l(){return Math.random().toString().substring(2)}function s(e){return Object(e)===e}e.WeakMap||(t=Object.prototype.hasOwnProperty,a=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),e.WeakMap=((r=function(e,t,r){a?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r})(o.prototype,"delete",(function(e){if(i(this,"delete"),!s(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))})),r(o.prototype,"get",(function(e){if(i(this,"get"),s(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),r(o.prototype,"has",(function(e){if(i(this,"has"),!s(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),r(o.prototype,"set",(function(e,t){if(i(this,"set"),!s(e))throw new TypeError("Invalid value used as weak map key");var a=e[this._id];return a&&a[0]===e?a[1]=t:r(e,this._id,[e,t]),this})),r(o,"_polyfill",!0),o))}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==t?t:void 0!==a?a:e)})),bt={helpUrlBase:"https://dequeuniversity.com/rules/",results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>"};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,a=e.value,r=e.priority;e=e.group;bt[t]=a,bt[t+"_PRIO"]=r,bt[t+"_GROUP"]=e,bt.results[r]=a,bt.resultGroups[r]=e,bt.resultGroupMap[a]=e})),Object.freeze(bt.results),Object.freeze(bt.resultGroups),Object.freeze(bt.resultGroupMap),Object.freeze(bt);var yt=bt,vt=function(){"object"===("undefined"==typeof console?"undefined":n(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},Dt=/[\\t\\r\\n\\f]/g;function wt(){w(this,wt),this.parent=void 0}var xt=(E(wt,[{key:"props",get:function(){throw new Error(\'VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties\')}},{key:"attrNames",get:function(){throw new Error(\'VirtualNode class must have an "attrNames" property\')}},{key:"attr",value:function(){throw new Error(\'VirtualNode class must have an "attr" function\')}},{key:"hasAttr",value:function(){throw new Error(\'VirtualNode class must have a "hasAttr" function\')}},{key:"hasClass",value:function(e){var t=this.attr("class");return!!t&&(e=" "+e+" ",0<=(" "+t+" ").replace(Dt," ").indexOf(e))}}]),wt),Et={};N(Et,{DqElement:function(){return Ua},aggregate:function(){return aa},aggregateChecks:function(){return sa},aggregateNodeResults:function(){return ca},aggregateResult:function(){return pa},areStylesSet:function(){return fa},assert:function(){return Ft},checkHelper:function(){return Va},clone:function(){return Ha},closest:function(){return er},collectResultsFromFrames:function(){return hr},contains:function(){return gr},convertSelector:function(){return Ja},cssParser:function(){return $a},deepMerge:function(){return br},escapeSelector:function(){return ha},extendMetaData:function(){return yr},filterHtmlAttrs:function(){return jo},finalizeRuleResult:function(){return ua},findBy:function(){return pr},getAllChecks:function(){return dr},getAncestry:function(){return Ia},getBaseLang:function(){return jn},getCheckMessage:function(){return Kn},getCheckOption:function(){return Xn},getFlattenedTree:function(){return Mn},getFriendlyUriEnd:function(){return Da},getNodeAttributes:function(){return wa},getNodeFromTree:function(){return Ma},getPreloadConfig:function(){return So},getRootNode:function(){return xr},getRule:function(){return Jn},getScroll:function(){return Qn},getScrollState:function(){return Zn},getSelector:function(){return Sa},getSelectorData:function(){return Ta},getShadowSelector:function(){return Aa},getStandards:function(){return eo},getStyleSheetFactory:function(){return ao},getXpath:function(){return Ba},injectStyle:function(){return ro},isHidden:function(){return no},isHtmlElement:function(){return io},isNodeInContext:function(){return so},isShadowRoot:function(){return Dr},isValidLang:function(){return Go},isXHTML:function(){return Ea},matches:function(){return Za},matchesExpression:function(){return Qa},matchesSelector:function(){return xa},memoize:function(){return fo},mergeResults:function(){return mr},nodeSorter:function(){return mo},parseCrossOriginStylesheet:function(){return bo},parseSameOriginStylesheet:function(){return ho},parseStylesheet:function(){return go},performanceTimer:function(){return wo},pollyfillElementsFromPoint:function(){return xo},preload:function(){return Po},preloadCssom:function(){return Ro},preloadMedia:function(){return _o},processMessage:function(){return Yn},publishMetaData:function(){return Bo},querySelectorAll:function(){return Lo},querySelectorAllFilter:function(){return ko},queue:function(){return or},respondable:function(){return lr},ruleShouldRun:function(){return Mo},select:function(){return Uo},sendCommandToFrame:function(){return cr},setScrollState:function(){return Vo},shouldPreload:function(){return Oo},toArray:function(){return ma},tokenList:function(){return Ho},uniqueArray:function(){return Co},uuid:function(){return Yt},validInputTypes:function(){return zo},validLangs:function(){return Wo}});var At=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Ct(){var e="axeAPI",t="";return(e=void 0!==o&&o._audit&&o._audit.application?o._audit.application:e)+"."+(void 0!==o?o.version:t)}var Ft=function(e,t){if(!e)throw new Error(t)};function kt(e){Tt(e),Ft(t.parent===e,"Source of the response must be the parent window.")}function Rt(e){Tt(e),Ft(e.parent===t,"Respondable target must be a frame in the current window")}function Tt(e){Ft(t!==e,"Messages can not be sent to the same window.")}var Nt,_t,Ot,St,Pt={},It=t.crypto||t.msCrypto;!_t&&It&&It.getRandomValues&&(Nt=new Uint8Array(16),_t=function(){return It.getRandomValues(Nt),Nt});try{_t||(Ot=require("crypto"),_t=function(){return Ot.randomBytes(16)})}catch(k){}_t||(St=new Array(16),_t=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),St[t]=e>>>((3&t)<<3)&255;return St});for(var Bt="function"==typeof t.Buffer?t.Buffer:Array,Lt=[],qt={},Mt=0;Mt<256;Mt++)Lt[Mt]=(Mt+256).toString(16).substr(1),qt[Lt[Mt]]=Mt;function jt(e,t){return t=t||0,Lt[e[t++]]+Lt[e[t++]]+Lt[e[t++]]+Lt[e[t++]]+"-"+Lt[e[t++]]+Lt[e[t++]]+"-"+Lt[e[t++]]+Lt[e[t++]]+"-"+Lt[e[t++]]+Lt[e[t++]]+"-"+Lt[e[t++]]+Lt[e[t++]]+Lt[e[t++]]+Lt[e[t++]]+Lt[e[t++]]+Lt[e[t++]]}var Ut=_t(),Vt=[1|Ut[0],Ut[1],Ut[2],Ut[3],Ut[4],Ut[5]],Ht=16383&(Ut[6]<<8|Ut[7]),zt=0,$t=0;function Wt(e,t,a){var r=t&&a||0,n=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:Ht,i=null!=e.msecs?e.msecs:(new Date).getTime(),l=null!=e.nsecs?e.nsecs:$t+1;if((a=i-zt+(l-$t)/1e4)<0&&null==e.clockseq&&(o=o+1&16383),1e4<=(l=(a<0||zt<i)&&null==e.nsecs?0:l))throw new Error("uuid.v1(): Can\'t create more than 10M uuids/sec");zt=i,Ht=o,l=(1e4*(268435455&(i+=122192928e5))+($t=l))%4294967296,n[r++]=l>>>24&255,n[r++]=l>>>16&255,n[r++]=l>>>8&255,n[r++]=255&l,i=i/4294967296*1e4&268435455,n[r++]=i>>>8&255,n[r++]=255&i,n[r++]=i>>>24&15|16,n[r++]=i>>>16&255,n[r++]=o>>>8|128,n[r++]=255&o;for(var s=e.node||Vt,u=0;u<6;u++)n[r+u]=s[u];return t||jt(n)}function Gt(e,t,a){var r=t&&a||0;"string"==typeof e&&(t="binary"==e?new Bt(16):null,e=null);var n=(e=e||{}).random||(e.rng||_t)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t)for(var o=0;o<16;o++)t[r+o]=n[o];return t||jt(n)}(hs=Gt).v1=Wt,hs.v4=Gt,hs.parse=function(e,t,a){var r=t&&a||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){n<16&&(t[r+n++]=qt[e])}));n<16;)t[r+n++]=0;return t},hs.unparse=jt,hs.BufferClass=Bt,o._uuid=Wt();var Yt=Gt,Kt=[];function Xt(){var e="".concat(Gt(),":").concat(Gt());return Kt.includes(e)?Xt():(Kt.push(e),e)}function Jt(e,t,a,r){if("function"==typeof r&&function(e,t,a){var r=!(2<arguments.length&&void 0!==a)||a;Ft(!Pt[e],"A replyHandler already exists for this message channel."),Pt[e]={replyHandler:t,sendToParent:r}}(t.channelId,r,a),(a?kt:Rt)(e),t.message instanceof Error&&!a)return o.log(t.message),!1;var n=(r=(i=D({messageId:Xt()},t)).topic,a=i.channelId,t=i.message,i={channelId:a,topic:r,messageId:i.messageId,keepalive:!!i.keepalive,source:Ct()},t instanceof Error?i.error={name:t.name,message:t.message,stack:t.stack}:i.payload=t,JSON.stringify(i)),i=o._audit.allowedOrigins;return!(!i||!i.length||(i.forEach((function(t){try{e.postMessage(n,t)}catch(a){if(a instanceof e.DOMException)throw new Error(\'allowedOrigins value "\'.concat(t,\'" is not a valid origin\'));throw a}})),0))}function Qt(e,t,a){var r=!(2<arguments.length&&void 0!==a)||a;return function(a,n,o){Jt(e,{channelId:t,message:a,keepalive:n},r,o)}}function Zt(e,a){var r,i=e.origin,l=e.data,s=e.source,u=function(e){var a;try{a=JSON.parse(e)}catch(e){return}if("object"===n(o=a)&&"string"==typeof o.channelId&&o.source===Ct()){var r=(i=a).topic,o=(e=i.channelId,i.messageId),i=i.keepalive;return{topic:r,message:"object"===n(a.error)?function(e){var a=e.message||"Unknown error occurred",r=At.includes(e.name)?e.name:"Error";return r=t[r]||Error,e.stack&&(a+="\\n"+e.stack.replace(e.message,"")),new r(a)}(a.error):a.payload,messageId:o,channelId:e,keepalive:!!i}}}(l)||{},c=u.channelId,d=u.message;e=u.messageId;if(l=i,((i=o._audit.allowedOrigins)&&i.includes("*")||i.includes(l))&&(e=e,!Kt.includes(e)&&(Kt.push(e),1)))if(d instanceof Error&&s.parent!==t)o.log(d);else try{u.topic?(r=Qt(s,c),kt(s),a(u,r)):function(e,t){var a=t.channelId,r=t.message,n=t.keepalive,i=(t=(i=function(e){return Pt[e]}(a)||{}).replyHandler,i.sendToParent);if(t){(i?kt:Rt)(e),i=Qt(e,a,i),!n&&a&&function(e){delete Pt[e]}(a);try{t(r,n,i)}catch(e){o.log(e),i(e,n)}}}(s,u)}catch(e){!function(e,a,r){if(!e.parent!==t)return o.log(a);try{Jt(e,{topic:null,channelId:r,message:a,messageId:Xt(),keepalive:!0},!0)}catch(e){return o.log(e)}}(s,e,c)}}var ea={open:function(e){if("function"==typeof t.addEventListener){function a(t){Zt(t,e)}return t.addEventListener("message",a,!1),function(){t.removeEventListener("message",a,!1)}}},post:function(e,a,r){return"function"==typeof t.addEventListener&&Jt(e,a,!1,r)}};function ta(e){e.updateMessenger(ea)}var aa=function(e,t,a){return t=t.slice(),a&&t.push(a),t=t.map((function(t){return e.indexOf(t)})).sort(),e[t.pop()]},ra=yt.CANTTELL_PRIO,na=yt.FAIL_PRIO,oa=[];oa[yt.PASS_PRIO]=!0,oa[yt.CANTTELL_PRIO]=null,oa[yt.FAIL_PRIO]=!1;var ia=["any","all","none"];function la(e,t){return ia.reduce((function(a,r){return a[r]=(e[r]||[]).map((function(e){return t(e,r)})),a}),{})}var sa=function(e){var t=Object.assign({},e);la(t,(function(e,t){var a=void 0===e.result?-1:oa.indexOf(e.result);e.priority=-1!==a?a:yt.CANTTELL_PRIO,"none"===t&&(e.priority===yt.PASS_PRIO?e.priority=yt.FAIL_PRIO:e.priority===yt.FAIL_PRIO&&(e.priority=yt.PASS_PRIO))}));var a={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(a.all,a.none,a.any);var r=[];return ia.forEach((function(e){t[e]=t[e].filter((function(r){return r.priority===t.priority&&r.priority===a[e]})),t[e].forEach((function(e){return r.push(e.impact)}))})),[ra,na].includes(t.priority)?t.impact=aa(yt.impact,r):t.impact=null,la(t,(function(e){delete e.result,delete e.priority})),t.result=yt.results[t.priority],delete t.priority,t},ua=function(e){var t=o._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(a){(e[a]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,ca(e.nodes)),delete e.nodes,e},ca=function(e){var t,a={};return(e=e.map((function(e){if(e.any&&e.all&&e.none)return sa(e);if(Array.isArray(e.node))return ua(e);throw new TypeError("Invalid Result type")})))&&e.length?(t=e.map((function(e){return e.result})),a.result=aa(yt.results,t,a.result)):a.result="inapplicable",yt.resultGroups.forEach((function(e){return a[e]=[]})),e.forEach((function(e){var t=yt.resultGroupMap[e.result];a[t].push(e)})),e=yt.FAIL_GROUP,0===a[e].length&&(e=yt.CANTTELL_GROUP),0<a[e].length?(e=a[e].map((function(e){return e.impact})),a.impact=aa(yt.impact,e)||null):a.impact=null,a};function da(e,t,a){var r=Object.assign({},t);r.nodes=(r[a]||[]).concat(),yt.resultGroups.forEach((function(e){delete r[e]})),e[a].push(r)}var pa=function(e){var t={};return yt.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?da(t,e,yt.CANTTELL_GROUP):e.result===yt.NA?da(t,e,yt.NA_GROUP):yt.resultGroups.forEach((function(a){Array.isArray(e[a])&&0<e[a].length&&da(t,e,a)}))})),t},fa=function e(a,r,n){var o=t.getComputedStyle(a,null);if(!o)return!1;for(var i=0;i<r.length;++i){var l=r[i];if(o.getPropertyValue(l.property)===l.value)return!0}return!(!a.parentNode||a.nodeName.toUpperCase()===n.toUpperCase())&&e(a.parentNode,r,n)},ma=function(e){return Array.prototype.slice.call(e)},ha=function(e){for(var t,a=String(e),r=a.length,n=-1,o="",i=a.charCodeAt(0);++n<r;)0!=(t=a.charCodeAt(n))?o+=1<=t&&t<=31||127==t||0==n&&48<=t&&t<=57||1==n&&48<=t&&t<=57&&45==i?"\\\\"+t.toString(16)+" ":0==n&&1==r&&45==t||!(128<=t||45==t||95==t||48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122)?"\\\\"+a.charAt(n):a.charAt(n):o+="�";return o};function ga(e,t){return[e.substring(0,t),e.substring(t)]}function ba(e){return e.replace(/\\s+$/,"")}var ya,va,Da=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var a,r,n,o,i=t.currentDomain,l=t.maxLength,s=void 0===l?25:l,u=(t=(d=(c=u=d=o=n="",(l=t=e).includes("#")&&(t=(e=v(ga(t,t.indexOf("#")),2))[0],c=e[1]),t.includes("?")&&(t=(a=v(ga(t,t.indexOf("?")),2))[0],u=a[1]),t.includes("://")?(n=(a=v(t.split("://"),2))[0],o=(a=v(ga(t=a[1],t.indexOf("/")),2))[0],t=a[1]):"//"===t.substr(0,2)&&(o=(r=v(ga(t=t.substr(2),t.indexOf("/")),2))[0],t=r[1]),(o="www."===o.substr(0,4)?o.substr(4):o)&&o.includes(":")&&(o=(r=v(ga(o,o.indexOf(":")),2))[0],d=r[1]),{original:l,protocol:n,domain:o,port:d,path:t,query:u,hash:c})).path,d.domain),c=d.hash,d=t.substr(t.substr(0,t.length-2).lastIndexOf("/")+1);return c?d&&(d+c).length<=s?ba(d+c):d.length<2&&2<c.length&&c.length<=s?ba(c):void 0:u&&u.length<s&&t.length<=1||t==="/"+d&&u&&i&&u!==i&&(u+t).length<=s?ba(u+t):(-1===(t=d.lastIndexOf("."))||1<t)&&(-1!==t||2<d.length)&&d.length<=s&&!d.match(/index(\\.[a-zA-Z]{2-4})?/)&&!function(e){var t=0<arguments.length&&void 0!==e?e:"";return 0!==t.length&&(t.match(/[0-9]/g)||"").length>=t.length/2}(d)?ba(d):void 0}},wa=function(e){return(e.attributes instanceof t.NamedNodeMap?e:e.cloneNode(!1)).attributes},xa=function(e,t){return!!e[ya=ya&&e[ya]?ya:function(e){for(var t,a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],r=a.length,n=0;n<r;n++)if(e[t=a[n]])return t}(e)]&&e[ya](t)},Ea=function(e){return!!e.createElement&&"A"===e.createElement("A").localName},Aa=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||r;if(11!==n.nodeType)return e(t,a,n);for(var o=[];11===n.nodeType;){if(!n.host)return"";o.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return o.unshift({elm:t,doc:n}),o.map((function(t){var r=t.elm;t=t.doc;return e(r,a,t)}))},Ca=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"];function Fa(e,t){var a=t.name;if(-1!==a.indexOf("href")||-1!==a.indexOf("src")){var r=Da(e.getAttribute(a));if(r){var n=encodeURI(r);if(!n)return;n=ha(t.name)+\'$="\'+ha(n)+\'"\'}else n=ha(t.name)+\'="\'+ha(e.getAttribute(a))+\'"\'}else n=ha(a)+\'="\'+ha(t.value)+\'"\';return n}function ka(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Ra(e){return!Ca.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<31)}function Ta(e){for(var t={classes:{},tags:{},attributes:{}},a=(e=Array.isArray(e)?e:[e]).slice(),r=[];a.length;)!function(){var e,n=a.pop(),o=n.actualNode;for(o.querySelectorAll&&(e=o.nodeName,t.tags[e]?t.tags[e]++:t.tags[e]=1,o.classList&&Array.from(o.classList).forEach((function(e){e=ha(e),t.classes[e]?t.classes[e]++:t.classes[e]=1})),o.hasAttributes()&&Array.from(wa(o)).filter(Ra).forEach((function(e){(e=Fa(o,e))&&(t.attributes[e]?t.attributes[e]++:t.attributes[e]=1)}))),n.children.length&&(r.push(a),a=n.children.slice());!a.length&&r.length;)a=r.pop()}();return t}function Na(e){return void 0===va&&(va=Ea(r)),ha(va?e.localName:e.nodeName.toLowerCase())}function _a(e,t){var a,r,n,o,i,l,s,u,c,d="",p=(r=e,n=[],o=t.classes,i=t.tags,r.classList&&Array.from(r.classList).forEach((function(e){e=ha(e),o[e]<i[r.nodeName]&&n.push({name:e,count:o[e],species:"class"})})),n.sort(ka));l=e,s=[],u=t.attributes,c=t.tags,l.hasAttributes()&&Array.from(wa(l)).filter(Ra).forEach((function(e){(e=Fa(l,e))&&u[e]<c[l.nodeName]&&s.push({name:e,count:u[e],species:"attribute"})})),t=s.sort(ka);return p.length&&1===p[0].count?a=[p[0]]:t.length&&1===t[0].count?(a=[t[0]],d=Na(e)):((a=p.concat(t)).sort(ka),(a=a.slice(0,3)).some((function(e){return"class"===e.species}))?a.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):d=Na(e)),d+a.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function Oa(e,t,a){if(!o._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,i,l=void 0!==(t=t.toRoot)&&t;do{var s=function(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||r;return(e="#"+ha(e.getAttribute("id")||"")).match(/player_uid_/)||1!==t.querySelectorAll(e).length?void 0:e}}(e);s||(s=_a(e,o._selectorData),s+=function(e,t){var a=e.parentNode&&Array.from(e.parentNode.children||"")||[];return a.find((function(a){return a!==e&&xa(a,t)}))?":nth-child("+(1+a.indexOf(e))+")":""}(e,s)),n=n?s+" > "+n:s,i=i?i.filter((function(e){return xa(e,n)})):Array.from(a.querySelectorAll(n)),e=e.parentElement}while((1<i.length||l)&&e&&11!==e.nodeType);return 1===i.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}function Sa(e,t){return Aa(Oa,e,t)}function Pa(e){var t=e.nodeName.toLowerCase(),a=e.parentElement;if(!a)return t;var r="";return"head"!==t&&"body"!==t&&1<a.children.length&&(e=Array.prototype.indexOf.call(a.children,e)+1,r=":nth-child(".concat(e,")")),Pa(a)+" > "+t+r}function Ia(e,t){return Aa(Pa,e,t)}var Ba=function(e){return function e(t,a){var r,n,o,i;if(!t)return[];if(!a&&9===t.nodeType)return[{str:"html"}];if(a=a||[],t.parentNode&&t.parentNode!==t&&(a=e(t.parentNode,a)),t.previousSibling){for(n=1,r=t.previousSibling;1===r.nodeType&&r.nodeName===t.nodeName&&n++,r=r.previousSibling;);1===n&&(n=null)}else if(t.nextSibling)for(r=t.nextSibling;r=1===r.nodeType&&r.nodeName===t.nodeName?(n=1,null):(n=null,r.previousSibling););return 1===t.nodeType&&((o={}).str=t.nodeName.toLowerCase(),(i=t.getAttribute&&ha(t.getAttribute("id")))&&1===t.ownerDocument.querySelectorAll("#"+i).length&&(o.id=t.getAttribute("id")),1<n&&(o.count=n),a.push(o)),a}(e).reduce((function(e,t){return t.id?"/".concat(t.str,"[@id=\'").concat(t.id,"\']"):e+"/".concat(t.str)+(0<t.count?"[".concat(t.count,"]"):"")}),"")},La={},qa={set:function(e,t){La[e]=t},get:function(e){return La[e]},clear:function(){La={}}},Ma=function(e,t){return e=t||e,qa.get("nodeMap")?qa.get("nodeMap").get(e):null};function ja(e){var t,a,r,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.spec=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e instanceof xt?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=Ma(e)),this.fromFrame=1<(null===(t=this.spec.selector)||void 0===t?void 0:t.length),n.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(a=this._virtualNode)||void 0===a?void 0:a.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,o._audit.noHtml||(this.source=null!==(n=this.spec.source)&&void 0!==n?n:null!=(a=this._element)&&a.outerHTML?((n=(n=(n=a.outerHTML)||"function"!=typeof XMLSerializer?n:(new XMLSerializer).serializeToString(a))||"").length>(r=r||300)&&(r=n.indexOf(">"),n=n.substring(0,r+1)),n):"")}ja.prototype={get selector(){return this.spec.selector||[Sa(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Ia(this.element)]},get xpath(){return this.spec.xpath||[Ba(this.element)]},get element(){return this._element},toJSON:function(){return{selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes}}},ja.fromFrame=function(e,t,a){return e=D({},e,{selector:[].concat(y(a.selector),y(e.selector)),ancestry:[].concat(y(a.ancestry),y(e.ancestry)),xpath:[].concat(y(a.xpath),y(e.xpath)),nodeIndexes:[].concat(y(a.nodeIndexes),y(e.nodeIndexes))}),new ja(a.element,t,e)};var Ua=ja,Va=function(e,a,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(r){r=r instanceof t.Node?[r]:ma(r),e.relatedNodes=r.map((function(e){return new Ua(e,a)}))}}},Ha=function e(t){var a,r,o=t;if(null!==t&&"object"===n(t))if(Array.isArray(t))for(o=[],a=0,r=t.length;a<r;a++)o[a]=e(t[a]);else for(a in o={},t)o[a]=e(t[a]);return o},za=new(_(I()).CssSelectorParser);za.registerSelectorPseudos("not"),za.registerSelectorPseudos("is"),za.registerNestingOperators(">"),za.registerAttrEqualityMods("^","$","*","~");var $a=za;function Wa(e,t){return s=t,1===(l=e).props.nodeType&&("*"===s.tag||l.props.nodeName===s.tag)&&(o=e,!(i=t).classes||i.classes.every((function(e){return o.hasClass(e.value)})))&&(r=e,!(n=t).attributes||n.attributes.every((function(e){var t=r.attr(e.key);return null!==t&&(!e.value||e.test(t))})))&&(i=e,!(n=t).id||i.props.id===n.id)&&(a=e,!((t=t).pseudos&&!t.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return Qa(a,e)}));if("is"===e.name)return e.expressions.some((function(e){return Qa(a,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var a,r,n,o,i,l,s}var Ga,Ya=(Ga=/(?=[\\-\\[\\]{}()*+?.\\\\\\^$|,#\\s])/g,function(e){return e.replace(Ga,"\\\\")}),Ka=/\\\\/g;function Xa(e){return e.map((function(e){for(var t=[],a=e.rule;a;)t.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator||" ",id:a.id,attributes:function(e){if(e)return e.map((function(e){var t,a,r=e.name.replace(Ka,""),n=(e.value||"").replace(Ka,"");switch(e.operator){case"^=":a=new RegExp("^"+Ya(n));break;case"$=":a=new RegExp(Ya(n)+"$");break;case"~=":a=new RegExp("(^|\\\\s)"+Ya(n)+"(\\\\s|$)");break;case"|=":a=new RegExp("^"+Ya(n)+"(-|$)");break;case"=":t=function(e){return n===e};break;case"*=":t=function(e){return e&&e.includes(n)};break;case"!=":t=function(e){return n!==e};break;default:t=function(e){return!!e}}return""===n&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),{key:r,value:n,test:t=t||function(e){return e&&a.test(e)}}}))}(a.attrs),classes:function(e){if(e)return e.map((function(e){return{value:e=e.replace(Ka,""),regexp:new RegExp("(^|\\\\s)"+Ya(e)+"(\\\\s|$)")}}))}(a.classNames),pseudos:function(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=Xa(t=(t=e.value).selectors||[t])),{name:e.name,expressions:t,value:e.value}}))}(a.pseudos)}),a=a.rule;return t}))}function Ja(e){return Xa(e=(e=$a.parse(e)).selectors||[e])}function Qa(e,t,a){for(var r=(t=[].concat(t)).pop(),n=Wa(e,r);!n&&a&&e.parent;)n=Wa(e=e.parent,r);if(t.length){if(!1===[" ",">"].includes(r.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+r.combinator);n=n&&Qa(e.parent,t," "===r.combinator)}return n}var Za=function(e,t){return Ja(t).some((function(t){return Qa(e,t)}))},er=function(e,t){for(;e;){if(Za(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function tr(){}function ar(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var rr,nr,or=function(){function e(e){t=e,setTimeout((function(){null!=t&&vt("Uncaught error (of queue)",t)}),1)}var t,a=[],r=0,o=0,i=tr,l=!1,s=e;function u(e){return i=tr,s(e),a}function c(){for(var e=a.length;r<e;r++){var t=a[r];try{t.call(null,function(e){return function(t){a[e]=t,--o||i===tr||(l=!0,i(a))}}(r),u)}catch(e){u(e)}}}var d={defer:function(e){var r;if("object"===n(e)&&e.then&&e.catch&&(r=e,e=function(e,t){r.then(e).catch(t)}),ar(e),void 0===t){if(l)throw new Error("Queue already completed");return a.push(e),++o,c(),d}},then:function(e){if(ar(e),i!==tr)throw new Error("queue `then` already set");return t||(i=e,o||(l=!0,i(a))),d},catch:function(a){if(ar(a),s!==e)throw new Error("queue `catch` already set");return t?(a(t),t=null):s=a,d},abort:u};return d},ir={};function lr(e,t,a,r,n){return r={topic:t,message:a,channelId:"".concat(Gt(),":").concat(Gt()),keepalive:r},nr(e,r,n)}function sr(e,t){var a=e.topic,r=e.message;e=e.keepalive;if(a=ir[a])try{a(r,e,t)}catch(a){o.log(a),t(a,e)}}function ur(e,t){var a;return o._tree&&(a=Sa(t)),new Error(e+": "+(a||t))}lr.updateMessenger=function(e){var t=e.open;e=e.post;Ft("function"==typeof t,"open callback must be a function"),Ft("function"==typeof e,"post callback must be a function"),rr&&rr(),t=t(sr),rr=t?(Ft("function"==typeof t,"open callback must return a cleanup function"),t):null,nr=e},lr.subscribe=function(e,t){Ft("function"==typeof t,"Subscriber callback must be a function"),Ft(!ir[e],"Topic ".concat(e," is already registered to.")),ir[e]=t},lr.isInFrame=function(){return!!(0<arguments.length&&void 0!==arguments[0]?arguments[0]:t).frameElement},ta(lr);var cr=function(e,t,a,r){var n=e.contentWindow;if(!n)return vt("Frame does not have a content window",e),void a(null);var o=setTimeout((function(){o=setTimeout((function(){t.debug?r(ur("No response from frame",e)):a(null)}),0)}),500);lr(n,"axe.ping",null,void 0,(function(){clearTimeout(o);var i=t.options&&t.options.frameWaitTime||6e4;o=setTimeout((function(){r(ur("Axe in frame timed out",e))}),i),lr(n,"axe.start",t,void 0,(function(e){clearTimeout(o),(e instanceof Error==0?a:r)(e)}))}))},dr=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},pr=function(e,t,a){if(Array.isArray(e))return e.find((function(e){return"object"===n(e)&&e[t]===a}))};function fr(e,t){for(var a=0<arguments.length&&void 0!==e?e:[],r=1<arguments.length&&void 0!==t?t:[],n=Math.max(null==a?void 0:a.length,null==r?void 0:r.length),o=0;o<n;o++){var i=null==a?void 0:a[o],l=null==r?void 0:r[o];if("number"!=typeof i||isNaN(i))return 0===o?1:-1;if("number"!=typeof l||isNaN(l))return 0===o?-1:1;if(i!==l)return i-l}return 0}var mr=function(e,t){var a=[];return e.forEach((function(e){var r,n,o=(r=e)&&r.results?Array.isArray(r.results)?r.results.length?r.results:null:[r.results]:null;o&&o.length&&(e.frameElement&&(r={selector:[e.frame]},n=new Ua(e.frameElement,t,r)),o.forEach((function(e){var r,o;e.nodes&&n&&(i=e.nodes,r=n,o=t,i.forEach((function(e){e.node=Ua.fromFrame(e.node,o,r),dr(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return Ua.fromFrame(e,o,r)}))}))})));var i=pr(a,"id",e.id);i?e.nodes.length&&function(e,t){for(var a=t[0].node,r=0;r<e.length;r++){var n=e[r].node,o=fr(n.nodeIndexes,a.nodeIndexes);if(0<o||0===o&&a.selector.length<n.selector.length)return e.splice.apply(e,[r,0].concat(y(t)))}e.push.apply(e,y(t))}(i.nodes,e.nodes):a.push(e)})))})),a.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return fr(e.node.nodeIndexes,t.node.nodeIndexes)}))})),a},hr=function(e,t,a,r,n,o){var i=or();e.frames.forEach((function(n){var o=parseInt(n.node.getAttribute("tabindex"),10),l=isNaN(o)||0<=o,s=n.node.getBoundingClientRect(),u=parseInt(n.node.getAttribute("width"),10),c=(o=parseInt(n.node.getAttribute("height"),10),u=isNaN(u)?s.width:u,o=isNaN(o)?s.height:o,{options:t,command:a,parameter:r,context:{initiator:!1,focusable:!1!==e.focusable&&l,boundingClientRect:{width:u,height:o},page:e.page,include:n.include||[],exclude:n.exclude||[]}});i.defer((function(e,t){var a=n.node;cr(a,c,(function(t){return t?e({results:t,frameElement:a,frame:Sa(a)}):void e(null)}),t)}))})),i.then((function(e){n(mr(e,t))})).catch(o)},gr=function(e,t){if(e.shadowId||t.shadowId)return function e(t,a){return t.shadowId===a.shadowId||!!t.children.find((function(t){return e(t,a)}))}(e,t);if(e.actualNode)return"function"==typeof e.actualNode.contains?e.actualNode.contains(t.actualNode):!!(16&e.actualNode.compareDocumentPosition(t.actualNode));do{if(t===e)return!0}while(t=t&&t.parent);return!1},br=function e(){for(var t={},a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return r.forEach((function(a){if(a&&"object"===n(a)&&!Array.isArray(a))for(var r=0,o=Object.keys(a);r<o.length;r++){var i=o[r];!t.hasOwnProperty(i)||"object"!==n(a[i])||Array.isArray(t[i])?t[i]=a[i]:t[i]=e(t[i],a[i])}})),t},yr=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(a){e[a]=null;try{e[a]=t[a](e)}catch(a){}}))},vr=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],Dr=function(e){return!!(e.shadowRoot&&(e=e.nodeName.toLowerCase(),vr.includes(e)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(e)))},wr={};N(wr,{findElmsInContext:function(){return Ar},findUp:function(){return Fr},findUpVirtual:function(){return Cr},getComposedParent:function(){return kr},getElementByReference:function(){return Rr},getElementCoordinates:function(){return Nr},getElementStack:function(){return Hr},getRootNode:function(){return Er},getScrollOffset:function(){return Tr},getTabbableElements:function(){return zr},getTextElementStack:function(){return Wr},getViewportSize:function(){return _r},hasContent:function(){return en},hasContentVirtual:function(){return Zr},idrefs:function(){return Kr},insertedIntoFocusOrder:function(){return sn},isFocusable:function(){return ln},isHTML5:function(){return un},isHiddenWithCSS:function(){return rn},isInTextBlock:function(){return pn},isModalOpen:function(){return fn},isNativelyFocusable:function(){return on},isNode:function(){return mn},isOffscreen:function(){return Or},isOpaque:function(){return Fn},isSkipLink:function(){return Rn},isVisible:function(){return Ir},isVisualContent:function(){return Yr},reduceToElementsBelowFloating:function(){return Tn},shadowElementsFromPoint:function(){return Sn},urlPropsFromAttribute:function(){return Pn},visuallyContains:function(){return On},visuallyOverlaps:function(){return In}});var xr=function(e){var t=e.getRootNode&&e.getRootNode()||r;return t===e?r:t},Er=xr,Ar=function(e){var t=e.context,a=e.value,r=e.attr;e=void 0===(e=e.elm)?"":e,a=ha(a),t=9===t.nodeType||11===t.nodeType?t:Er(t);return Array.from(t.querySelectorAll(e+"["+r+"="+a+"]"))},Cr=function(e,t){var a=e.actualNode;if(!e.shadowId&&"function"==typeof e.actualNode.closest)return(e=e.actualNode.closest(t))||null;for(;(a=(a=a.assignedSlot||a.parentNode)&&11===a.nodeType?a.host:a)&&!xa(a,t)&&a!==r.documentElement;);return a&&xa(a,t)?a:null},Fr=function(e,t){return Cr(Ma(e),t)},kr=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){if(1===(t=t.parentNode).nodeType)return t;if(t.host)return t.host}return null},Rr=function(e,t){return(e=e.getAttribute(t))?("#"===e.charAt(0)?e=decodeURIComponent(e.substring(1)):"/#"===e.substr(0,2)&&(e=decodeURIComponent(e.substring(2))),(t=r.getElementById(e))||((t=r.getElementsByName(e)).length?t[0]:null)):null},Tr=function(e){if(9!==(e=!e.nodeType&&e.document?e.document:e).nodeType)return{left:e.scrollLeft,top:e.scrollTop};var t=e.documentElement;e=e.body;return{left:t&&t.scrollLeft||e&&e.scrollLeft||0,top:t&&t.scrollTop||e&&e.scrollTop||0}},Nr=function(e){var t=(a=Tr(r)).left,a=a.top;return{top:(e=e.getBoundingClientRect()).top+a,right:e.right+t,bottom:e.bottom+a,left:e.left+t,width:e.right-e.left,height:e.bottom-e.top}},_r=function(e){var t=e.document,a=t.documentElement;return e.innerWidth?{width:e.innerWidth,height:e.innerHeight}:a?{width:a.clientWidth,height:a.clientHeight}:{width:(t=t.body).clientWidth,height:t.clientHeight}},Or=function(e){var a=r.documentElement,n=t.getComputedStyle(e),o=t.getComputedStyle(r.body||a).getPropertyValue("direction"),i=Nr(e);if(i.bottom<0&&(function(e,t){for(e=kr(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&0<=(t+=e.scrollTop))return;e=kr(e)}return 1}(e,i.bottom)||"absolute"===n.position))return!0;if(0===i.left&&0===i.right)return!1;if("ltr"===o){if(i.right<=0)return!0}else if(a=Math.max(a.scrollWidth,_r(t).width),i.left>=a)return!0;return!1},Sr=/rect\\s*\\(([0-9]+)px,?\\s*([0-9]+)px,?\\s*([0-9]+)px,?\\s*([0-9]+)px\\s*\\)/,Pr=/(\\w+)\\((\\d+)/;var Ir=function e(a,r,n){if(!a)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var i=Ma(a),l="_isVisible"+(r?"ScreenReader":"");if(9===a.nodeType)return!0;if(11===a.nodeType&&(a=a.host),i&&void 0!==i[l])return i[l];var s,u,c,d=t.getComputedStyle(a,null);if(null===d)return!1;if("AREA"===(f=a.nodeName.toUpperCase()))return u=r,c=n,!!(p=Fr(s=a,"map"))&&!!(p=p.getAttribute("name"))&&!(!(s=Er(s))||9!==s.nodeType)&&!(!(p=Lo(o._tree,\'img[usemap="#\'.concat(ha(p),\'"]\')))||!p.length)&&p.some((function(t){return e(t.actualNode,u,c)}));if("none"===d.getPropertyValue("display")||["STYLE","SCRIPT","NOSCRIPT","TEMPLATE"].includes(f))return!1;if(r&&"true"===a.getAttribute("aria-hidden"))return!1;var p=parseInt(d.getPropertyValue("height")),f=Qn(a)&&0===p;return p="absolute"===d.getPropertyValue("position")&&p<2&&"hidden"===d.getPropertyValue("overflow"),!(!r&&(function(e){var t=e.getPropertyValue("clip").match(Sr);e=e.getPropertyValue("clip-path").match(Pr);if(t&&5===t.length)return t[3]-t[1]<=0&&t[2]-t[4]<=0;if(e){t=e[1];var a=parseInt(e[2],10);switch(t){case"inset":return 50<=a;case"circle":return 0===a}}}(d)||"0"===d.getPropertyValue("opacity")||f||p))&&(!(!n&&("hidden"===d.getPropertyValue("visibility")||!r&&Or(a)))&&(d=a.assignedSlot||a.parentNode,a=!1,d&&(a=e(d,r,!0)),i&&(i[l]=a),a))},Br=200;function Lr(e){return"static"===e.getComputedStylePropertyValue("position")?-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:function e(t){if(!t)return!1;if(void 0!==t._isFloated)return t._isFloated;if("none"!==t.getComputedStylePropertyValue("float"))return t._isFloated=!0;var a=e(t.parent);return t._isFloated=a}(e)?1:0:3}function qr(e,a){for(var r=0;r<e._stackingOrder.length;r++){if(void 0===a._stackingOrder[r])return-1;if(a._stackingOrder[r]>e._stackingOrder[r])return 1;if(a._stackingOrder[r]<e._stackingOrder[r])return-1}var n=e.actualNode,o=a.actualNode;if(n.getRootNode&&n.getRootNode()!==o.getRootNode()){for(var i=[];n;)i.push({root:n.getRootNode(),node:n}),n=n.getRootNode().host;for(;o&&!i.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((n=i.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var l,s=(l=t.Node).DOCUMENT_POSITION_FOLLOWING,u=l.DOCUMENT_POSITION_CONTAINS,c=l.DOCUMENT_POSITION_CONTAINED_BY;s=(l=n.compareDocumentPosition(o))&s?1:-1,u=l&u||l&c;return(l=Lr(e))===(c=Lr(a))||u?s:c-l}function Mr(e,t){var a=t._stackingOrder.slice(),r=e.getComputedStylePropertyValue("z-index");return"auto"!==r&&(a[a.length-1]=parseInt(r)),function(e,t){var a=e.getComputedStylePropertyValue("position"),r=e.getComputedStylePropertyValue("z-index");return"fixed"===a||"sticky"===a||"auto"!==r&&"static"!==a||"1"!==e.getComputedStylePropertyValue("opacity")||"none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none")||(a=e.getComputedStylePropertyValue("mix-blend-mode"))&&"normal"!==a||(a=e.getComputedStylePropertyValue("filter"))&&"none"!==a||(a=e.getComputedStylePropertyValue("perspective"))&&"none"!==a||(a=e.getComputedStylePropertyValue("clip-path"))&&"none"!==a||"none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none")||"none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none")||"none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none")||"isolate"===e.getComputedStylePropertyValue("isolation")||"transform"===(a=e.getComputedStylePropertyValue("will-change"))||"opacity"===a||"touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling")?1:(e=e.getComputedStylePropertyValue("contain"),["layout","paint","strict","content"].includes(e)||"auto"!==r&&t&&(t=t.getComputedStylePropertyValue("display"),["flex","inline-flex","inline flex","grid","inline-grid","inline grid"].includes(t))?1:void 0)}(e,t)&&a.push(0),a}function jr(e,t){t._grid=e,t.clientRects.forEach((function(a){for(var r=a.left,n=a.top,o=r/Br|0,i=(n+a.height)/Br|0,l=(r+a.width)/Br|0,s=n/Br|0;s<=i;s++){e.cells[s]=e.cells[s]||[];for(var u=o;u<=l;u++)e.cells[s][u]=e.cells[s][u]||[],e.cells[s][u].includes(t)||e.cells[s][u].push(t)}}))}function Ur(e,a,n){var i,l=0<arguments.length&&void 0!==e?e:r.body,s=1<arguments.length&&void 0!==a?a:{container:null,cells:[]},u=2<arguments.length&&void 0!==n?n:null;u||((i=(i=Ma(r.documentElement))||new Ln(r.documentElement))._stackingOrder=[0],jr(s,i),Qn(i.actualNode)&&(i._subGrid={container:i,cells:[]}));for(var c=r.createTreeWalker(l,t.NodeFilter.SHOW_ELEMENT,null,!1),d=u?c.nextNode():c.currentNode;d;){var p=Ma(d);d.parentElement?u=Ma(d.parentElement):d.parentNode&&Ma(d.parentNode)&&(u=Ma(d.parentNode)),(p=p||new o.VirtualNode(d,u))._stackingOrder=Mr(p,u);var f=function(e,t){for(var a=null,r=[e];t;){if(t._scrollRegionParent){a=t._scrollRegionParent;break}if(Qn(t.actualNode)){a=t;break}r.push(t),t=Ma(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach((function(e){return e._scrollRegionParent=a})),a}(p,u),m=f?f._subGrid:s;Qn(p.actualNode)&&(p._subGrid={container:p,cells:[]}),0!==(f=p.boundingClientRect).width&&0!==f.height&&Ir(d)&&jr(m,p),Dr(d)&&Ur(d.shadowRoot,m,p),d=c.nextNode()}}function Vr(e,t,a){var n=2<arguments.length&&void 0!==a&&a,o=t.left+t.width/2,i=t.top+t.height/2,l=e.cells[i/Br|0][o/Br|0].filter((function(e){return e.clientRects.find((function(e){var t=e.left,a=e.top;return o<=t+e.width&&t<=o&&i<=a+e.height&&a<=i}))})),s=e.container;return s&&(l=Vr(s._grid,s.boundingClientRect,!0).concat(l)),n?l:l.sort(qr).map((function(e){return e.actualNode})).concat(r.documentElement).filter((function(e,t,a){return a.indexOf(e)===t}))}var Hr=function(e){qa.get("gridCreated")||(Ur(),qa.set("gridCreated",!0));var t=Ma(e);return(e=t._grid)?Vr(e,t.boundingClientRect):[]},zr=function(e){return Lo(e,"*").filter((function(e){var t=e.isFocusable;return(e=(e=e.actualNode.getAttribute("tabindex"))&&!isNaN(parseInt(e,10))?parseInt(e):null)?t&&0<=e:t}))},$r=function(e){return e?e.replace(/\\r\\n/g,"\\n").replace(/\\u00A0/g," ").replace(/[\\s]{2,}/g," ").trim():""},Wr=function(e){qa.get("gridCreated")||(Ur(),qa.set("gridCreated",!0));var t=Ma(e),a=t._grid;if(!a)return[];var n=t.boundingClientRect,o=[];return Array.from(e.childNodes).forEach((function(e){if(3===e.nodeType&&""!==$r(e.textContent)){var t=r.createRange();t.selectNodeContents(e);var a=t.getClientRects();if(!Array.from(a).some((function(e){var t=e.left+e.width/2;e=e.top+e.height/2;return t<n.left||t>n.right||e<n.top||e>n.bottom})))for(var i=0;i<a.length;i++){var l=a[i];1<=l.width&&1<=l.height&&o.push(l)}}})),o.length?o.map((function(e){return Vr(a,e)})):[Hr(e)]},Gr=["checkbox","img","radio","range","slider","spinbutton","textbox"],Yr=function(e){var t=e.getAttribute("role");if(t)return-1!==Gr.indexOf(t);switch(e.nodeName.toUpperCase()){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.type;default:return!1}},Kr=function(e,t){e=e.actualNode||e;try{var a=Er(e),r=[];if(n=e.getAttribute(t))for(var n=Ho(n),o=0;o<n.length;o++)r.push(a.getElementById(n[o]));return r}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}},Xr=function e(t,a,r){var n=t instanceof xt?t:Ma(t),o=!t.actualNode||t.actualNode&&Ir(t.actualNode,a);n=n.children.map((function(t){var n=(i=t.props).nodeType,i=i.nodeValue;if(3===n){if(i&&o)return i}else if(!r)return e(t,a)})).join("");return $r(n)},Jr=function(e){var t;return e.attr("aria-labelledby")&&(t=Kr(e.actualNode,"aria-labelledby").map((function(e){return(e=Ma(e))?Xr(e,!0):""})).join(" ").trim())||(t=(t=e.attr("aria-label"))&&$r(t))?t:null},Qr=["HEAD","TITLE","TEMPLATE","SCRIPT","STYLE","IFRAME","OBJECT","VIDEO","AUDIO","NOSCRIPT"],Zr=function e(t,a,r){return function(e){if(!Qr.includes(e.actualNode.nodeName.toUpperCase()))return e.children.some((function(e){return 3===(e=e.actualNode).nodeType&&e.nodeValue.trim()}))}(t)||Yr(t.actualNode)||!r&&!!Jr(t)||!a&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))},en=function(e,t,a){return e=Ma(e),Zr(e,t,a)};function tn(e,t){var a=Ma(e);return a?(void 0===a._isHiddenWithCSS&&(a._isHiddenWithCSS=an(e,t)),a._isHiddenWithCSS):an(e,t)}function an(e,a){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;if(!(n=t.getComputedStyle(e,null)))throw new Error("Style does not exist for the given element.");if("none"===n.getPropertyValue("display"))return!0;var r=["hidden","collapse"],n=n.getPropertyValue("visibility");return!(!r.includes(n)||a)||(!!(r.includes(n)&&a&&r.includes(a))||!(!(e=kr(e))||r.includes(n))&&tn(e,n))}var rn=tn,nn=function(e){return!!(e=e instanceof xt?e:Ma(e)).hasAttr("disabled")||"area"!==e.props.nodeName&&!!e.actualNode&&rn(e.actualNode)},on=function(e){var t=e instanceof xt?e:Ma(e);if(!t||nn(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!Lo(t,"summary").length}return!1},ln=function(e){return!(1!==(e=e instanceof xt?e:Ma(e)).props.nodeType||nn(e)||!on(e)&&(!(e=e.attr("tabindex"))||isNaN(parseInt(e,10))))},sn=function(e){return-1<parseInt(e.getAttribute("tabindex"),10)&&ln(e)&&!on(e)},un=function(e){return null!==(e=e.doctype)&&"html"===e.name&&!e.publicId&&!e.systemId},cn=["block","list-item","table","flex","grid","inline-block"];function dn(e){return e=t.getComputedStyle(e).getPropertyValue("display"),cn.includes(e)||"table-"===e.substr(0,6)}var pn=function(e){if(dn(e))return!1;var t=function(e){for(var t=kr(e);t&&!dn(t);)t=kr(t);return Ma(t)}(e),a="",r="",n=0;return function e(t,a){!1!==a(t.actualNode)&&t.children.forEach((function(t){return e(t,a)}))}(t,(function(t){if(2===n)return!1;if(3===t.nodeType&&(a+=t.nodeValue),1===t.nodeType){var o=(t.nodeName||"").toUpperCase();if(!["BR","HR"].includes(o))return!("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))&&("A"===o&&t.href||"link"===(t.getAttribute("role")||"").toLowerCase()?(t===e&&(n=1),r+=t.textContent,!1):void 0);0===n?r=a="":n=2}})),a=$r(a),r=$r(r),a.length>r.length},fn=function(e){var a=(e=e||{}).modalPercent||.75;if(qa.get("isModalOpen"))return qa.get("isModalOpen");if(ko(o._tree[0],"dialog, [role=dialog], [aria-modal=true]",(function(e){return Ir(e.actualNode)})).length)return qa.set("isModalOpen",!0),!0;for(var i=_r(t),l=i.width*a,s=i.height*a,u=[{x:e=(i.width-l)/2,y:a=(i.height-s)/2},{x:i.width-e,y:a},{x:i.width/2,y:i.height/2},{x:e,y:i.height-a},{x:i.width-e,y:i.height-a}].map((function(e){return Array.from(r.elementsFromPoint(e.x,e.y))})),c=0;c<u.length;c++){var d=function(e){var a=u[e].find((function(e){return e=t.getComputedStyle(e),parseInt(e.width,10)>=l&&parseInt(e.height,10)>=s&&"none"!==e.getPropertyValue("pointer-events")&&("absolute"===e.position||"fixed"===e.position)}));if(a&&u.every((function(e){return e.includes(a)})))return qa.set("isModalOpen",!0),{v:!0}}(c);if("object"===n(d))return d.v}qa.set("isModalOpen",void 0)},mn=function(e){return e instanceof t.Node},hn={},gn={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");return t&&(hn[e]=t),hn[e]},get:function(e){return hn[e]},clear:function(){hn={}}},bn=function(e,a){var r=e.nodeName.toUpperCase();return["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r)?(gn.set("bgColor","imgNode"),!0):((a="none"!==(e=(a=a||t.getComputedStyle(e)).getPropertyValue("background-image")))&&(e=/gradient/.test(e),gn.set("bgColor",e?"bgGradient":"bgImage")),a)},yn={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",allowedAttrs:["aria-checked","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"composite",requiredOwned:["listbox","tree","grid","dialog","textbox"],requiredAttrs:["aria-expanded"],allowedAttrs:["aria-controls","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["group","listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"composite",requiredOwned:["option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list","group"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-checked","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-checked","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",allowedAttrs:["aria-valuetext"],requiredAttrs:["aria-valuemax","aria-valuemin","aria-valuenow"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",allowedAttrs:["aria-checked","aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",requiredOwned:["radio"],allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuenow","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},vn={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},addres:{contentTypes:["flow"],allowedRoles:!0},area:{contentTypes:["phrasing","flow"],allowedRoles:!1,namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!1},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:{attributes:{alt:"/.+/"}},allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","phrasing","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!0,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:["application","document","img"],chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:!0}},Dn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},wn={ariaAttrs:{"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string"}},ariaRoles:D({},yn,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",requiredContext:["doc-bibliography"],allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"]},"doc-bibliography":{type:"landmark",requiredOwned:["doc-biblioentry"],allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",requiredContext:["doc-endnotes"],allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"]},"doc-endnotes":{type:"landmark",requiredOwned:["doc-endnote"],allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",requiredOwned:["definition","term"],allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:vn,cssColors:Dn},xn=D({},wn),En=xn,An=function(e,t,a,r){this.red=e,this.green=t,this.blue=a,this.alpha=r,this.toHexString=function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return"#"+(15.5<this.red?e:"0"+e)+(15.5<this.green?t:"0"+t)+(15.5<this.blue?a:"0"+a)};var n=/^#[0-9a-f]{3,8}$/i,o=/^((?:rgb|hsl)a?)\\s*\\(([^\\)]*)\\)/i;this.parseString=function(e){if(En.cssColors[e]||"transparent"===e){var t=(r=v(En.cssColors[e]||[0,0,0],3))[0],a=r[1],r=r[2];return this.red=t,this.green=a,this.blue=r,void(this.alpha="transparent"===e?0:1)}if(e.match(o))this.parseColorFnString(e);else{if(!e.match(n))throw new Error(\'Unable to parse color "\'.concat(e,\'"\'));this.parseHexString(e)}},this.parseRgbString=function(e){if("transparent"===e)return this.red=0,this.green=0,this.blue=0,void(this.alpha=0);this.parseColorFnString(e)},this.parseHexString=function(e){var t,a;e.match(n)&&![6,8].includes(e.length)&&((e=e.replace("#","")).length<6&&(e=(t=(a=v(e,4))[0])+t+(t=a[1])+t+(t=a[2])+t,(a=a[3])&&(e+=a+a)),e=e.match(/.{1,2}/g),this.red=parseInt(e[0],16),this.green=parseInt(e[1],16),this.blue=parseInt(e[2],16),e[3]?this.alpha=parseInt(e[3],16)/255:this.alpha=1)},this.parseColorFnString=function(e){var t=(e=v(e.match(o)||[],3))[1];e=e[2];t&&e&&(e=e.split(/\\s*[,\\/\\s]\\s*/).map((function(e){return e.replace(",","").trim()})).filter((function(e){return""!==e})).map((function(e,a){return function(e,t,a){if(/%$/.test(t))return 3===a?parseFloat(t)/100:255*parseFloat(t)/100;if("h"===e[a]){if(/turn$/.test(t))return 360*parseFloat(t);if(/rad$/.test(t))return 57.3*parseFloat(t)}return parseFloat(t)}(t,e,a)})),"hsl"===t.substr(0,3)&&(e=function(e){var t=v(e,4),a=t[0],r=t[1],n=t[2];e=t[3];r/=255,n/=255;r=(t=(1-Math.abs(2*n-1))*r)*(1-Math.abs(a/60%2-1));var o=n-t/2;return(r=a<60?[t,r,0]:a<120?[r,t,0]:a<180?[0,t,r]:a<240?[0,r,t]:a<300?[r,0,t]:[t,0,r]).map((function(e){return Math.round(255*(e+o))})).concat(e)}(e)),this.red=e[0],this.green=e[1],this.blue=e[2],this.alpha="number"==typeof e[3]?e[3]:1)},this.getRelativeLuminance=function(){var e=this.red/255,t=this.green/255,a=this.blue/255;return.2126*(e<=.03928?e/12.92:Math.pow((.055+e)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((.055+t)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((.055+a)/1.055,2.4))}},Cn=function(e){var t=new An;return t.parseString(e.getPropertyValue("background-color")),0!==t.alpha&&(e=e.getPropertyValue("opacity"),t.alpha=t.alpha*e),t},Fn=function(e){var a=t.getComputedStyle(e);return bn(e,a)||1===Cn(a).alpha},kn=/^\\/?#[^/!]/,Rn=function(e){return!!kn.test(e.getAttribute("href"))&&(void 0!==qa.get("firstPageLink")?t=qa.get("firstPageLink"):(t=Lo(o._tree,\'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript"])\')[0],qa.set("firstPageLink",t||null)),!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING);var t},Tn=function(e,a){for(var r=["fixed","sticky"],n=[],o=!1,i=0;i<e.length;++i){var l=e[i];l===a&&(o=!0);var s=t.getComputedStyle(l);o||-1===r.indexOf(s.position)?n.push(l):n=[]}return n};function Nn(e){for(var t=Ma(e).parent;t;){if(Qn(t.actualNode))return t.actualNode;t=t.parent}}var _n,On=function(e,a){var r,n,o,i,l,s,u,c,d,p,f,m=Nn(a);do{var h=Nn(e);if(h===m||h===a)return n=a,c=f=d=c=void 0,o=(f=(r=e).getBoundingClientRect()).top+.01,i=f.bottom-.01,l=f.left+.01,s=f.right-.01,c=(u=n.getBoundingClientRect()).top,d=u.left,p=c-n.scrollTop,r=c-n.scrollTop+n.scrollHeight,f=d-n.scrollLeft,c=d-n.scrollLeft+n.scrollWidth,"inline"===(d=t.getComputedStyle(n)).getPropertyValue("display")||!(l<f&&l<u.left||o<p&&o<u.top||c<s&&s>u.right||r<i&&i>u.bottom)&&(!(s>u.right||i>u.bottom)||"scroll"===d.overflow||"auto"===d.overflow||"hidden"===d.overflow||n instanceof t.HTMLBodyElement||n instanceof t.HTMLHtmlElement)}while(e=h);return!1},Sn=function e(t,a){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:r,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0;if(999<o)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,a)||[]).filter((function(e){return Er(e)===n})).reduce((function(r,n){var i;return Dr(n)?(i=e(t,a,n.shadowRoot,o+1),(r=r.concat(i)).length&&On(r[0],n)&&r.push(n)):r.push(n),r}),[])},Pn=function(e,t){if(e.hasAttribute(t)){var a=e.nodeName.toUpperCase(),n=e;return["A","AREA"].includes(a)&&!e.ownerSVGElement||((n=r.createElement("a")).href=e.getAttribute(t)),a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,e=(e=(t=e=/^\\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)).split("/").pop())&&-1!==e.indexOf(".")?{pathname:t.replace(e,""),filename:/index./.test(e)?"":e}:{pathname:t,filename:""},t=e.pathname,e=e.filename,{protocol:a,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\\/$/.test(t)?t:"".concat(t,"/"),search:function(e){var t={};if(!e||!e.length)return t;var a=e.substring(1).split("&");if(!a||!a.length)return t;for(var r=0;r<a.length;r++){var n=(o=v(a[r].split("="),2))[0],o=void 0===(o=o[1])?"":o;t[decodeURIComponent(n)]=decodeURIComponent(o)}return t}(n.search),hash:function(e){if(!e)return"";var t=e.match(/#!?\\/?/g);return t&&"#"!==v(t,1)[0]?e:""}(n.hash),filename:e}}},In=function(e,a){var r=a.getBoundingClientRect(),n=r.top,o=r.left,i=n-a.scrollTop,l=n-a.scrollTop+a.scrollHeight;n=o-a.scrollLeft,o=o-a.scrollLeft+a.scrollWidth;return!(e.left>o&&e.left>r.right||e.top>l&&e.top>r.bottom||e.right<n&&e.right<r.left||e.bottom<i&&e.bottom<r.top)&&(i=t.getComputedStyle(a),!(e.left>r.right||e.top>r.bottom)||"scroll"===i.overflow||"auto"===i.overflow||a instanceof t.HTMLBodyElement||a instanceof t.HTMLHtmlElement)},Bn=0,Ln=function(){f(a,xt);var e=h(a);function a(t,r,n){var o;return w(this,a),(o=e.call(this)).shadowId=n,o.children=[],o.actualNode=t,(o.parent=r)||(Bn=0),o.nodeIndex=Bn++,o._isHidden=null,o._cache={},void 0===_n&&(_n=Ea(t.ownerDocument)),o._isXHTML=_n,"input"===t.nodeName.toLowerCase()&&(r=t.getAttribute("type"),r=o._isXHTML?r:(r||"").toLowerCase(),zo().includes(r)||(r="text"),o._type=r),qa.get("nodeMap")&&qa.get("nodeMap").set(t,g(o)),o}return E(a,[{key:"props",get:function(){var e=(o=this.actualNode).nodeType,t=o.nodeName,a=o.id,r=o.multiple,n=o.nodeValue,o=o.value;return{nodeType:e,nodeName:this._isXHTML?t:t.toLowerCase(),id:a,type:this._type,multiple:r,nodeValue:n,value:o}}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=(this.actualNode.attributes instanceof t.NamedNodeMap?this.actualNode:this.actualNode.cloneNode(!1)).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name}))),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var a="computedStyle_"+e;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=t.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(e)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=ln(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=zr(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return 0<e.width}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),a}();function qn(e,a,r){var n,o,i;function l(e,t,r){return(r=qn(t,a,r))?e.concat(r):e}return i=(e=e.documentElement?e.documentElement:e).nodeName.toLowerCase(),Dr(e)?(n=new Ln(e,r,a),a="a"+Math.random().toString().substring(2),o=Array.from(e.shadowRoot.childNodes),n.children=o.reduce((function(e,t){return l(e,t,n)}),[]),[n]):"content"===i&&"function"==typeof e.getDistributedNodes?(o=Array.from(e.getDistributedNodes())).reduce((function(e,t){return l(e,t,r)}),[]):"slot"!==i||"function"!=typeof e.assignedNodes?1===e.nodeType?(n=new Ln(e,r,a),o=Array.from(e.childNodes),n.children=o.reduce((function(e,t){return l(e,t,n)}),[]),[n]):3===e.nodeType?[new Ln(e,r)]:void 0:((o=Array.from(e.assignedNodes())).length||(o=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),t.getComputedStyle(e),o.reduce((function(e,t){return l(e,t,r)}),[]))}var Mn=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:r.documentElement,t=1<arguments.length?arguments[1]:void 0;return qa.set("nodeMap",new WeakMap),qn(e,t,null)},jn=function(e){return e?e.trim().split("-")[0].toLowerCase():""},Un=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var a=o._audit.data.failureSummaries[e];return a&&"function"==typeof a.failureMessage?a.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\\n\\n")},Vn=function(){var e=void 0===(r=(i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:t).screen)?{}:r,a=i.navigator,r=void 0===(n=i.location)?{}:n,n=i.innerHeight,i=i.innerWidth;e=e.msOrientation||e.orientation||e.mozOrientation||{};return{testEngine:{name:"axe-core",version:o.version},testRunner:{name:o._audit.brand},testEnvironment:{userAgent:(void 0===a?{}:a).userAgent,windowWidth:i,windowHeight:n,orientationAngle:e.angle,orientationType:e.type},timestamp:(new Date).toISOString(),url:r.href}},Hn=function(){return"function"==typeof o._audit.data.incompleteFallbackMessage?o._audit.data.incompleteFallbackMessage():o._audit.data.incompleteFallbackMessage},zn=yt.resultGroups,$n=function(e,t){var a=o.utils.aggregateResult(e);return zn.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(a[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&0<e.nodes.length&&(e.nodes=[e.nodes[0]])})),a[e]=(a[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&0<e.nodes.length&&(e.nodes=e.nodes.map((function(e){var a,r;return"object"===n(e.node)&&(e.html=e.node.source,t.elementRef&&!e.node.fromFrame&&(e.element=e.node.element),!1===t.selectors&&!e.node.fromFrame||(e.target=e.node.selector),t.ancestry&&(e.ancestry=e.node.ancestry),t.xpath&&(e.xpath=e.node.xpath)),delete e.result,delete e.node,a=e,r=t,["any","all","none"].forEach((function(e){Array.isArray(a[e])&&a[e].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){var t={html:e.source};return r.elementRef&&!e.fromFrame&&(t.element=e.element),!1===r.selectors&&!e.fromFrame||(t.target=e.selector),r.ancestry&&(t.ancestry=e.ancestry),r.xpath&&(t.xpath=e.xpath),t}))}))})),e}))),zn.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),a};o._thisWillBeDeletedDoNotUse=o._thisWillBeDeletedDoNotUse||{},o._thisWillBeDeletedDoNotUse.helpers={failureSummary:Un,getEnvironmentData:Vn,incompleteFallbackMessage:Hn,processAggregate:$n};var Wn=/\\$\\{\\s?data\\s?\\}/g;function Gn(e,t){if("string"==typeof t)return e.replace(Wn,t);for(var a in t){var r;t.hasOwnProperty(a)&&(r=new RegExp("\\\\${\\\\s?data\\\\."+a+"\\\\s?}","g"),a=void 0===t[a]?"":String(t[a]),e=e.replace(r,a))}return e}var Yn=function e(t,a){if(t){if(Array.isArray(a))return a.values=a.join(", "),"string"!=typeof t.singular||"string"!=typeof t.plural?Gn(t,a):Gn(1===a.length?t.singular:t.plural,a);if("string"==typeof t)return Gn(t,a);if("string"==typeof a)return Gn(t[a],a);var r=t.default||Hn();return e(r=a&&a.messageKey&&t[a.messageKey]?t[a.messageKey]:r,a)}},Kn=function(e,t,a){var r=o._audit.data.checks[e];if(!r)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!r.messages[t])throw new Error(\'Check "\'.concat(e,\'"" does not have a "\').concat(t,\'" message.\'));return Yn(r.messages[t],a)},Xn=function(e,t,a){var r=((a.rules&&a.rules[t]||{}).checks||{})[e.id],n=(a.checks||{})[e.id];t=e.enabled,e=e.options;return n&&(n.hasOwnProperty("enabled")&&(t=n.enabled),n.hasOwnProperty("options")&&(e=n.options)),r&&(r.hasOwnProperty("enabled")&&(t=r.enabled),r.hasOwnProperty("options")&&(e=r.options)),{enabled:t,options:e,absolutePaths:a.absolutePaths}},Jn=function(e){var t=o._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t},Qn=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+a,n=e.scrollHeight>e.clientHeight+a;if(r||n){a=(o=t.getComputedStyle(e)).getPropertyValue("overflow-x");var o=o.getPropertyValue("overflow-y");return r&&"visible"!==a&&"hidden"!==a||n&&"visible"!==o&&"hidden"!==o?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}},Zn=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:t,a=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:a,top:a.scrollTop,left:a.scrollLeft}].concat(function e(t){return Array.from(t.children||t.childNodes||[]).reduce((function(t,a){var r=Qn(a);return r&&t.push(r),t.concat(e(a))}),[])}(r.body))};function eo(){return Ha(En)}var to,ao=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var a=t.data,r=void 0!==(l=t.isCrossOrigin)&&l,n=t.shadowId,o=t.root,i=t.priority,l=(t=void 0!==(l=t.isLink)&&l,e.createElement("style"));return t?(t=e.createTextNode(\'@import "\'.concat(a.href,\'"\')),l.appendChild(t)):l.appendChild(e.createTextNode(a)),e.head.appendChild(l),{sheet:l.sheet,isCrossOrigin:r,shadowId:n,root:o,priority:i}}},ro=function(e){if(to&&to.parentNode)return void 0===to.styleSheet?to.appendChild(r.createTextNode(e)):to.styleSheet.cssText+=e,to;if(e){var t=r.head||r.getElementsByTagName("head")[0];return(to=r.createElement("style")).type="text/css",void 0===to.styleSheet?to.appendChild(r.createTextNode(e)):to.styleSheet.cssText=e,t.appendChild(to),to}},no=function e(a,r){var n=Ma(a);if(9===a.nodeType)return!1;if(11===a.nodeType&&(a=a.host),n&&null!==n._isHidden)return n._isHidden;var o=t.getComputedStyle(a,null);return!o||!a.parentNode||"none"===o.getPropertyValue("display")||!r&&"hidden"===o.getPropertyValue("visibility")||"true"===a.getAttribute("aria-hidden")||(a=e(a.assignedSlot||a.parentNode,!0),n&&(n._isHidden=a),a)},oo=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],io=function(e){return"http://www.w3.org/2000/svg"!==e.namespaceURI&&oo.includes(e.nodeName.toLowerCase())};function lo(e){return e.sort((function(e,t){return gr(e,t)?1:-1}))[0]}var so=function(e,t){var a=t.include&&lo(t.include.filter((function(t){return gr(t,e)})));return!!(!(t=t.exclude&&lo(t.exclude.filter((function(t){return gr(t,e)}))))&&a||t&&gr(t,a))},uo=_(dt());o._memoizedFns=[];var co,po,fo=function(e){return e=uo.default(e),o._memoizedFns.push(e),e},mo=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1},ho=function(e,t,a,r){var n=4<arguments.length&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter((function(e){return 3===e.type}));return i.length?(i=i.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!r.includes(e)})).map((function(e,n){var o=[].concat(y(a),[n]);n=/^https?:\\/\\/|^\\/\\//i.test(e);return bo(e,t,o,r,n)})),(o=o.filter((function(e){return 3!==e.type}))).length&&i.push(Promise.resolve(t.convertDataToStylesheet({data:o.map((function(e){return e.cssText})).join(),isCrossOrigin:n,priority:a,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(i)):Promise.resolve({isCrossOrigin:n,priority:a,root:t.rootNode,shadowId:t.shadowId,sheet:e})},go=function(e,t,a,r){var n=4<arguments.length&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?ho(e,t,a,r,n):bo(e.href,t,a,r,!0)},bo=function(e,t,a,r,n){return r.push(e),new Promise((function(t,a){var r=new XMLHttpRequest;r.open("GET",e),r.timeout=yt.preload.timeout,r.addEventListener("error",a),r.addEventListener("timeout",a),r.addEventListener("loadend",(function(e){return e.loaded&&r.responseText?t(r.responseText):void a(r.responseText)})),r.send()})).then((function(e){return e=t.convertDataToStylesheet({data:e,isCrossOrigin:n,priority:a,root:t.rootNode,shadowId:t.shadowId}),go(e.sheet,t,a,r,e.isCrossOrigin)}))};function yo(){if(t.performance&&t.performance)return t.performance.now()}var vo,Do,wo=(co=null,po=yo(),{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){t.performance&&void 0!==t.performance.mark&&t.performance.mark(e)},measure:function(e,a,r){t.performance&&void 0!==t.performance.measure&&t.performance.measure(e,a,r)},logMeasures:function(e){function a(e){vt("Measure "+e.name+" took "+e.duration+"ms")}if(t.performance&&void 0!==t.performance.getEntriesByType)for(var r=t.performance.getEntriesByName("mark_axe_start")[0],n=t.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=r.startTime})),o=0;o<n.length;++o){var i=n[o];if(i.name===e)return void a(i);a(i)}},timeElapsed:function(){return yo()-po},reset:function(){co=co||yo(),po=yo()}});function xo(){if(r.elementsFromPoint)return r.elementsFromPoint;if(r.msElementsFromPoint)return r.msElementsFromPoint;var e,t=(e=((e=r.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents))?"pointer-events":"visibility",a=e?"none":"hidden",n=r.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(e,o){var i,l,s,u=[],c=[];for(r.head.appendChild(n);(i=r.elementFromPoint(e,o))&&-1===u.indexOf(i);)u.push(i),c.push({value:i.style.getPropertyValue(t),priority:i.style.getPropertyPriority(t)}),i.style.setProperty(t,a,"important");for(u.indexOf(r.documentElement)<u.length-1&&(u.splice(u.indexOf(r.documentElement),1),u.push(r.documentElement)),l=c.length;s=c[--l];)u[l].style.setProperty(t,s.value||"",s.priority);return r.head.removeChild(n),u}}function Eo(e){return"function"==typeof e||"[object Function]"===vo.call(e)}function Ao(e){return e=function(e){return e=Number(e),isNaN(e)?0:0!==e&&isFinite(e)?(0<e?1:-1)*Math.floor(Math.abs(e)):e}(e),Math.min(Math.max(e,0),Do)}"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,a=Object(this),r=a.length>>>0,n=arguments[1],o=0;o<r;o++)if(t=a[o],e.call(n,t,o,a))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var a,r=Object(this),n=r.length>>>0,o=0;o<n;o++)if(a=r[o],e.call(t,a,o,r))return o;return-1}}),"function"==typeof t.addEventListener&&(r.elementsFromPoint=xo()),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),a=parseInt(t.length,10)||0;if(0===a)return!1;var r,n,o=parseInt(arguments[1],10)||0;for(0<=o?r=o:(r=a+o)<0&&(r=0);r<a;){if(e===(n=t[r])||e!=e&&n!=n)return!0;r++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),a=t.length>>>0,r=2<=arguments.length?arguments[1]:void 0,n=0;n<a;n++)if(n in t&&e.call(r,t[n],n,t))return!0;return!1}}),Array.from||Object.defineProperty(Array,"from",{value:(vo=Object.prototype.toString,Do=Math.pow(2,53)-1,function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var a,r=1<arguments.length?arguments[1]:void 0;if(void 0!==r){if(!Eo(r))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(a=arguments[2])}for(var n,o=Ao(t.length),i=Eo(this)?Object(new this(o)):new Array(o),l=0;l<o;)n=t[l],i[l]=r?void 0===a?r(n,l):r.call(a,n,l):n,l+=1;return i.length=o,i})}),String.prototype.includes||(String.prototype.includes=function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(a,r){return Array.isArray(r)?a.push.apply(a,e.call(r,t-1)):a.push(r),a}),[]):Array.prototype.slice.call(this)},writable:!0});var Co=function(e,t){return e.concat(t).filter((function(e,t,a){return a.indexOf(e)===t}))};function Fo(e,t,a,r){return(r={vNodes:e.slice(),anyLevel:t,thisLevel:a,parentShadowId:r}).vNodes.reverse(),r}var ko=function(e,t,a){return function(e,t,a){for(var r=[],n=Fo(Array.isArray(e)?e:[e],t,[],e[0].shadowId),o=[];n.vNodes.length;){for(var i=n.vNodes.pop(),l=[],s=[],u=n.anyLevel.slice().concat(n.thisLevel),c=!1,d=0;d<u.length;d++){var p=u[d];if((!p[0].id||i.shadowId===n.parentShadowId)&&Qa(i,p[0]))if(1===p.length)c||a&&!a(i)||(o.push(i),c=!0);else{var f=p.slice(1);if(!1===[" ",">"].includes(f[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+p[1].combinator);(">"===f[0].combinator?l:s).push(f)}p[0].id&&i.shadowId!==n.parentShadowId||!n.anyLevel.includes(p)||s.push(p)}for(i.children&&i.children.length&&(r.push(n),n=Fo(i.children,s,l,i.shadowId));!n.vNodes.length&&r.length;)n=r.pop()}return o}(e=Array.isArray(e)?e:[e],Ja(t),a)},Ro=function(e){var t;e=void 0===(i=e.treeRoot)?o._tree[0]:i;if(!(t=[],i=ko(i=e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:xr(e.actualNode)}})),e=Co(i,[])).length)return Promise.resolve();var a,n,i=r.implementation.createHTMLDocument("Dynamic document for loading cssom");i=ao(i);return a=i,n=[],e.forEach((function(e,t){var r=e.rootNode,o=e.shadowId;if(!(e=function(e,t,a){return function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(e=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(To).reduce((function(a,r){r="STYLE"===(n=r.nodeName.toUpperCase())?r.textContent:r;var n=t({data:r,isLink:"LINK"===n,root:e});return a.push(n.sheet),a}),[])}(e,a):function(e){return Array.from(e.styleSheets).filter((function(e){return No(e.media.mediaText)}))}(e))}(r,o,a)))return Promise.all(n);var i=t+1,l={rootNode:r,shadowId:o,convertDataToStylesheet:a,rootIndex:i},s=[];e=Promise.all(e.map((function(e,t){return go(e,l,[i,t],s)})));n.push(e)})),Promise.all(n).then((function e(t){return t.reduce((function(t,a){return Array.isArray(a)?t.concat(e(a)):t.concat(a)}),[])}))};function To(e){var t=e.nodeName.toUpperCase(),a=e.getAttribute("href"),r=e.getAttribute("rel");r="LINK"===t&&a&&r&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||r&&No(e.media)}function No(e){return!e||!e.toUpperCase().includes("PRINT")}var _o=function(e){return e=void 0===(e=e.treeRoot)?o._tree[0]:e,e=ko(e,"video, audio",(function(e){return(e=e.actualNode).hasAttribute("src")?!!e.getAttribute("src"):!(Array.from(e.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)})),Promise.all(e.map((function(e){var t;e=e.actualNode;return t=e,new Promise((function(e){0<t.readyState&&e(t),t.addEventListener("loadedmetadata",(function a(){t.removeEventListener("loadedmetadata",a),e(t)}))}))})))};function Oo(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(e=e.preload,"object"===n(e)&&Array.isArray(e.assets)))}function So(e){var t=(a=yt.preload).assets,a=a.timeout;a={assets:t,timeout:a};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return t.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(t.join(", "),"."));return a.assets=Co(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}var Po=function(e){var t={cssom:Ro,media:_o};return Oo(e)?new Promise((function(a,r){var n=(o=So(e)).assets,o=o.timeout,i=setTimeout((function(){return r(new Error("Preload assets timed out."))}),o);Promise.all(n.map((function(a){return t[a](e).then((function(e){return r=e,(t=a)in(e={})?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;var t,r}))}))).then((function(e){e=e.reduce((function(e,t){return D({},e,t)}),{}),clearTimeout(i),a(e)})).catch((function(e){clearTimeout(i),r(e)}))})):Promise.resolve()};function Io(e,t,a){return function(r){var o,i=(o=e[r.id]||{}).messages||{};delete(o=Object.assign({},o)).messages,a.reviewOnFail||void 0!==r.result?o.message=r.result===t?i.pass:i.fail:("object"!==n(i.incomplete)||Array.isArray(r.data)||(o.message=function(e,t){function a(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:Hn()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:a(t);try{var r=t.incomplete[e.missingData[0].reason];if(!r)throw new Error;return r}catch(r){return"string"==typeof e.missingData?t.incomplete[e.missingData]:a(t)}}(r.data,i)),o.message||(o.message=i.incomplete)),"function"!=typeof o.message&&(o.message=Yn(o.message,r.data)),yr(r,o)}}var Bo=function(e){var t=o._audit.data.checks||{},a=o._audit.data.rules||{},r=pr(o._audit.rules,"id",e.id)||{};e.tags=Ha(r.tags||[]);var n=Io(t,!0,r),i=Io(t,!1,r);e.nodes.forEach((function(e){e.any.forEach(n),e.all.forEach(n),e.none.forEach(i)})),yr(e,Ha(a[e.id]||{}))},Lo=function(e,t){return ko(e,t)};function qo(e,t){var a,r=o._audit&&o._audit.tagExclude?o._audit.tagExclude:[],n=t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(a=t.include||[],a=Array.isArray(a)?a:[a],n=t.exclude||[],(n=Array.isArray(n)?n:[n]).concat(r.filter((function(e){return-1===a.indexOf(e)})))):(a=Array.isArray(t)?t:[t],r.filter((function(e){return-1===a.indexOf(e)})));return!!(a.some((function(t){return-1!==e.tags.indexOf(t)}))||0===a.length&&!1!==e.enabled)&&n.every((function(t){return-1===e.tags.indexOf(t)}))}var Mo=function(e,t,a){var r=a.runOnly||{};a=(a.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===r.type?-1!==r.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===r.type&&r.values?qo(e,r.values):qo(e,[]))},jo=function e(t,a){if(!a)return t;var n=t.cloneNode(!1),o=n.outerHTML,i=wa(n);return qa.get(o)?n=qa.get(o):i&&(n=r.createElement(n.nodeName),Array.from(i).forEach((function(e){var r,o,i;r=t,o=e.name,void 0!==(i=a)[o]&&(!0===i[o]||xa(r,i[o]))||n.setAttribute(e.name,e.value)})),qa.set(o,n)),Array.from(t.childNodes).forEach((function(t){n.appendChild(e(t,a))})),n},Uo=function(e,t){var a,r=[];if(o._selectCache)for(var n=0,i=o._selectCache.length;n<i;n++){var l=o._selectCache[n];if(l.selector===e)return l.result}function s(e){return so(e,u)}for(var u,c=(u=t).include.reduce((function(e,t){return e.length&&gr(e[e.length-1],t)||e.push(t),e}),[]),d=0;d<c.length;d++)a=c[d],r=function(e,t){var a;if(0===e.length)return t;e.length<t.length&&(a=e,e=t,t=a);for(var r=0,n=t.length;r<n;r++)e.includes(t[r])||e.push(t[r]);return e}(r,ko(a,e,s));return o._selectCache&&o._selectCache.push({selector:e,result:r}),r},Vo=function(e){e.forEach((function(e){return function(e,a,r){if(e===t)return e.scroll(r,a);e.scrollTop=a,e.scrollLeft=r}(e.elm,e.top,e.left)}))},Ho=function(e){return(e||"").trim().replace(/\\s{2,}/g," ").split(" ")},zo=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},$o=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Wo(e){e=Array.isArray(e)?e:$o;var t=[];return e.forEach((function(e,a){var r=String.fromCharCode(a+96).replace("`","");Array.isArray(e)?t=t.concat(Wo(e).map((function(e){return r+e}))):t.push(r)})),t}var Go=function(e){for(var t=$o;e.length<3;)e+="`";for(var a=0;a<=e.length-1;a++)if(!(t=t[e.charCodeAt(a)-96]))return!1;return!0};o._thisWillBeDeletedDoNotUse=o._thisWillBeDeletedDoNotUse||{},o._thisWillBeDeletedDoNotUse.utils={setDefaultFrameMessenger:ta};var Yo=function(){f(t,xt);var e=h(t);function t(a){var r,o,i;return w(this,t),(r=e.call(this))._props=function(e){var t=e.nodeName,a=e.nodeType,r=void 0===a?1:a;return Ft("number"==typeof r,"nodeType has to be a number, got \'".concat(r,"\'")),Ft("string"==typeof t,"nodeName has to be a string, got \'".concat(t,"\'")),a=null,"input"===(t=t.toLowerCase())&&(a=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),zo().includes(a)||(a="text")),t=D({},e,{nodeType:r,nodeName:t}),a&&(t.type=a),delete t.attributes,Object.freeze(t)}(a),r._attrs=(a=(a=a).attributes,o=void 0===a?{}:a,i={htmlFor:"for",className:"class"},Object.keys(o).reduce((function(e,t){var a=o[t];return Ft("object"!==n(a)||null===a,"expects attributes not to be an object, \'".concat(t,"\' was")),void 0!==a&&(e[i[t]||t]=null!==a?String(a):null),e}),{})),r}return E(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){return this._attrs[e]||null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}]),t}(),Ko={};N(Ko,{allowedAttr:function(){return Jo},arialabelText:function(){return Qo},arialabelledbyText:function(){return rl},getAccessibleRefs:function(){return vl},getElementUnallowedRoles:function(){return El},getExplicitRole:function(){return ti},getImplicitRole:function(){return Ei},getOwnedVirtual:function(){return _i},getRole:function(){return ki},getRoleType:function(){return Dl},getRolesByType:function(){return Cl},getRolesWithNameFromContents:function(){return kl},implicitNodes:function(){return Ol},implicitRole:function(){return Ei},isAccessibleRef:function(){return Sl},isAriaRoleAllowedOnElement:function(){return wl},isUnsupportedRole:function(){return Zo},isValidRole:function(){return ei},label:function(){return Pl},labelVirtual:function(){return Jr},lookupTable:function(){return _l},namedFromContents:function(){return Ni},requiredAttr:function(){return Il},requiredContext:function(){return Bl},requiredOwned:function(){return Ll},validateAttr:function(){return Ml},validateAttrValue:function(){return ql}});var Xo=function(){if(qa.get("globalAriaAttrs"))return qa.get("globalAriaAttrs");var e=Object.keys(En.ariaAttrs).filter((function(e){return En.ariaAttrs[e].global}));return qa.set("globalAriaAttrs",e),e},Jo=function(e){var t=En.ariaRoles[e];e=y(Xo());return t&&(t.allowedAttrs&&e.push.apply(e,y(t.allowedAttrs)),t.requiredAttrs&&e.push.apply(e,y(t.requiredAttrs))),e},Qo=function(e){if(!(e instanceof xt)){if(1!==e.nodeType)return"";e=Ma(e)}return e.attr("aria-label")||""},Zo=function(e){return!!(e=En.ariaRoles[e])&&!!e.unsupported},ei=function(e){var t=(r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).allowAbstract,a=void 0!==(n=r.flagUnsupported)&&n,r=En.ariaRoles[e],n=Zo(e);return!(!r||a&&n||!t&&"abstract"===r.type)},ti=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=t.fallback,r=t.abstracts,n=t.dpub;return 1!==(e=e instanceof xt?e:Ma(e)).props.nodeType?null:(t=(e.attr("role")||"").trim().toLowerCase(),(a?Ho(t):[t]).find((function(e){return!(!n&&"doc-"===e.substr(0,4))&&ei(e,{allowAbstract:r})}))||null)},ai=function(e){return Object.keys(En.htmlElms).filter((function(t){return(t=En.htmlElms[t]).contentTypes?t.contentTypes.includes(e):!!t.variant&&!(!t.variant.default||!t.variant.default.contentTypes)&&t.variant.default.contentTypes.includes(e)}))},ri=fo((function(e){for(var t=[],a=e.rows,r=0,n=a.length;r<n;r++){var o=a[r].cells;t[r]=t[r]||[];for(var i=0,l=0,s=o.length;l<s;l++)for(var u=0;u<o[l].colSpan;u++){for(var c=o[l].getAttribute("rowspan"),d=0===parseInt(c)||0===o[l].rowspan?a.length:o[l].rowSpan,p=0;p<d;p++){for(t[r+p]=t[r+p]||[];t[r+p][i];)i++;t[r+p][i]=o[l]}i++}}return t})),ni=fo((function(e,t){var a,r;for(t=t||ri(Fr(e,"table")),a=0;a<t.length;a++)if(t[a]&&-1!==(r=t[a].indexOf(e)))return{x:r,y:a}})),oi=function(e){var a=e.getAttribute("scope"),r=e.getAttribute("role");if(e instanceof t.Element==0||-1===["TD","TH"].indexOf(e.nodeName.toUpperCase()))throw new TypeError("Expected TD or TH element");if("columnheader"===r)return"col";if("rowheader"===r)return"row";if("col"===a||"row"===a)return a;if("TH"!==e.nodeName.toUpperCase())return!1;a=ri(Fr(e,"table"));var n=ni(e,a);return a[n.y].reduce((function(e,t){return e&&"TH"===t.nodeName.toUpperCase()}),!0)?"col":a.map((function(e){return e[n.x]})).reduce((function(e,t){return e&&t&&"TH"===t.nodeName.toUpperCase()}),!0)?"row":"auto"},ii=function(e){return-1!==["col","auto"].indexOf(oi(e))},li=function(e){return["row","auto"].includes(oi(e))},si=ai("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , main:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]";function ui(e){var t=$r(rl(e));e=$r(Qo(e));return t||e}var ci={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:"complementary",body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return er(e,si)?null:"contentinfo"},form:function(e){return ui(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return er(e,si)?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),a=Xo().find((function(t){return e.hasAttr(t)}));return!t||a||ln(e)?"img":"presentation"},input:function(e){var t,a;switch(e.hasAttr("list")&&(a=(t=Kr(e.actualNode,"list").filter((function(e){return!!e}))[0])&&"datalist"===t.nodeName.toLowerCase()),e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return a?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return a?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:function(e){return ui(e)?"region":null},select:function(e){return e.hasAttr("multiple")||1<parseInt(e.attr("size"))?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){return e=er(e,"table"),e=ti(e),["grid","treegrid"].includes(e)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return ii(e.actualNode)?"columnheader":li(e.actualNode)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},di=function(e,t){var a=n(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===a)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\\/.*\\/$/.test(t))return a=t.substring(1,t.length-1),new RegExp(a).test(e)}return t===e},pi=function(e,t){if("object"!==n(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(a){return di(e(a),t[a])}))},fi=function(e,t){return e instanceof xt||(e=Ma(e)),pi((function(t){return e.attr(t)}),t)},mi=function(e,t){return!!t(e)},hi=function(e,t){return di(ti(e),t)},gi=function(e,t){return di(Ei(e),t)},bi=function(e,t){return e instanceof xt||(e=Ma(e)),di(e.props.nodeName,t)},yi={attributes:fi,condition:mi,explicitRole:hi,implicitRole:gi,nodeName:bi,properties:Js=function(e,t){return e instanceof xt||(e=Ma(e)),pi((function(t){return e.props[t]}),t)},semanticRole:ru=function(e,t){return di(ki(e),t)}},vi=function e(t,a){return t instanceof xt||(t=Ma(t)),Array.isArray(a)?a.some((function(a){return e(t,a)})):"string"==typeof a?Za(t,a):Object.keys(a).every((function(e){if(!yi[e])throw new Error(\'Unknown matcher type "\'.concat(e,\'"\'));var r=yi[e];e=a[e];return r(t,e)}))},Di=function(e,t){return vi(e,t)};Di.attributes=fi,Di.condition=mi,Di.explicitRole=hi,Di.fromDefinition=vi,Di.fromFunction=pi,Di.fromPrimative=di,Di.implicitRole=gi,Di.nodeName=bi,Di.properties=Js,Di.semanticRole=ru;var wi=Di,xi=function(e){var t=En.htmlElms[e.props.nodeName];if(!t)return{};if(!t.variant)return t;var a,r,n=t.variant,o=p(t,l);for(a in n)if(n.hasOwnProperty(a)&&"default"!==a){var i=n[a],u=i.matches,c=p(i,s);if(wi(e,u))for(var d in c)c.hasOwnProperty(d)&&(o[d]=c[d])}for(r in n.default)n.default.hasOwnProperty(r)&&void 0===o[r]&&(o[r]=n.default[r]);return o},Ei=function(e){var t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).chromium,a=e instanceof xt?e:Ma(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var r=a.props.nodeName;return(r=ci[r])||!t?"function"==typeof r?r(a):r||null:xi(a).chromiumRole||null},Ai={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Ci(e,t){var a=t.chromium;t=p(t,u);return(a=Ei(e,{chromium:a}))?(t=function e(t,a){var r=Ai[t.props.nodeName];if(!r)return null;if(!t.parent)throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.");return r.includes(t.parent.props.nodeName)?(r=ti(t.parent,a),["none","presentation"].includes(r)&&!Fi(t.parent)?r:r?null:e(t.parent,a)):null}(e,t))||a:null}function Fi(e){return Xo().some((function(t){return e.hasAttr(t)}))||ln(e)}var ki=function(e){var t=(a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).noPresentational,a=function(e,t){var a=1<arguments.length&&void 0!==t?t:{},r=a.noImplicit,n=p(a,c),o=e instanceof xt?e:Ma(e);return 1!==o.props.nodeType?null:!(a=ti(o,n))||["presentation","none"].includes(a)&&Fi(o)?r?null:Ci(o,n):a}(e,p(a,d));return t&&["presentation","none"].includes(a)?null:a},Ri=["iframe"],Ti=function(e){var t=e instanceof xt?e:Ma(e);return 1!==t.props.nodeType||!e.hasAttr("title")||!Di(t,Ri)&&["none","presentation"].includes(ki(t))?"":t.attr("title")},Ni=function(e){var t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof xt?e:Ma(e)).props.nodeType)return!1;var a=ki(e),r=En.ariaRoles[a];return!(!r||!r.nameFromContent)||!t&&(!r||["presentation","none"].includes(a))},_i=function(e){var t=e.actualNode,a=e.children;if(!a)throw new Error("getOwnedVirtual requires a virtual node");return e.hasAttr("aria-owns")?(t=Kr(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return o.utils.getNodeFromTree(e)})),[].concat(y(a),y(t))):y(a)},Oi=ai("phrasing").concat(["#text"]),Si=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=tl.alreadyProcessed;t.startNode=t.startNode||e;var r=(i=t).strict,n=i.inControlContext,o=i.inLabelledByContext,i=xi(e).contentTypes;return a(e,t)||1!==e.props.nodeType||null!=i&&i.includes("embedded")||!Ni(e,{strict:r})&&!t.subtreeDescendant?"":(r||(t=D({subtreeDescendant:!n&&!o},t)),_i(e).reduce((function(e,a){return function(e,t,a){var r=t.props.nodeName;return(a=tl(t,a))?(Oi.includes(r)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,a,t)}),""))},Pi=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=tl.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||a(e,t))return"";t.startNode||(t.startNode=e);var r,n=D({inControlContext:!0},t);a=function(e){if(!e.attr("id"))return[];if(e.actualNode)return Ar({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode});throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes")}(e);return(t=er(e,"label"))?(r=[].concat(y(a),[t.actualNode])).sort(mo):r=a,r.map((function(e){return al(e,n)})).filter((function(e){return""!==e})).join(" ")},Ii={submit:"Submit",image:"Submit",reset:"Reset",button:""};function Bi(e,t){return t.attr(e)||""}function Li(e,t,a){var r=t.actualNode;t=[e=e.toLowerCase(),r.nodeName.toLowerCase()].join(",");return(t=r.querySelector(t))&&t.nodeName.toLowerCase()===e?al(t,a):""}var qi={valueText:function(e){return e.actualNode.value||""},buttonDefaultText:function(e){return e=e.actualNode,Ii[e.type]||""},tableCaptionText:Li.bind(null,"caption"),figureText:Li.bind(null,"figcaption"),svgTitleText:Li.bind(null,"title"),fieldsetLegendText:Li.bind(null,"legend"),altText:Bi.bind(null,"alt"),tableSummaryText:Bi.bind(null,"summary"),titleText:Ti,subtreeText:Si,labelText:Pi,singleSpace:function(){return" "},placeholderText:Bi.bind(null,"placeholder")};function Mi(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(ki(e)))return"";var r=(xi(e).namingMethods||[]).map((function(e){return qi[e]})).reduce((function(a,r){return a||r(e,t)}),"");return t.debug&&o.log(r||"{empty-value}",a,t),r}var ji={accessibleNameFromFieldValue:["combobox","listbox","progressbar"]},Ui=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],Vi=function(e){var t=(e=e instanceof xt?e:Ma(e)).props.nodeName;return"textarea"===t||"input"===t&&!Ui.includes((e.attr("type")||"").toLowerCase())},Hi=function(e){return"select"===(e=e instanceof xt?e:Ma(e)).props.nodeName},zi=function(e){return"textbox"===ti(e)},$i=function(e){return"listbox"===ti(e)},Wi=function(e){return"combobox"===ti(e)},Gi=["progressbar","scrollbar","slider","spinbutton"],Yi=function(e){return e=ti(e),Gi.includes(e)},Ki=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Xi={nativeTextboxValue:function(e){return e=e instanceof xt?e:Ma(e),Vi(e)&&e.props.value||""},nativeSelectValue:function(e){var t=e instanceof xt?e:Ma(e);return Hi(t)?((t=(e=Lo(t,"option")).filter((function(e){return e.hasAttr("selected")}))).length||t.push(e[0]),t.map((function(e){return Xr(e)})).join(" ")||""):""},ariaTextboxValue:function(e){var t=e instanceof xt?e:Ma(e);e=t.actualNode;return zi(t)?!e||e&&!rn(e)?Xr(t,!0):e.textContent:""},ariaListboxValue:Ji,ariaComboboxValue:function(e,t){return e=e instanceof xt?e:Ma(e),Wi(e)&&(e=_i(e).filter((function(e){return"listbox"===ki(e)}))[0])?Ji(e,t):""},ariaRangeValue:function(e){return e=e instanceof xt?e:Ma(e),Yi(e)&&e.hasAttr("aria-valuenow")?(e=+e.attr("aria-valuenow"),isNaN(e)?"0":String(e)):""}};function Ji(e,t){return e=e instanceof xt?e:Ma(e),$i(e)?0===(e=_i(e).filter((function(e){return"option"===ki(e)&&"true"===e.attr("aria-selected")}))).length?"":tl(e[0],t):""}function Qi(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=e.actualNode,r=ji.accessibleNameFromFieldValue||[],n=ki(e);return t.startNode===e||!Ki.includes(n)||r.includes(n)?"":(n=Object.keys(Xi).map((function(e){return Xi[e]})).reduce((function(a,r){return a||r(e,t)}),""),t.debug&&vt(n||"{empty-value}",a,t),n)}function Zi(e){var t=e.actualNode,a=function(e,t){var a=e.actualNode;return t.startNode||(t=D({startNode:e},t)),a?(1===a.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=D({includeHidden:!Ir(a,!0)},t)),t):t}(e,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{});if(function(e,t){return!!(e=e.actualNode)&&(1===e.nodeType&&!t.includeHidden&&!Ir(e,!0))}(e,a))return"";var r=[rl,Qo,Mi,Qi,Si,el,Ti].reduce((function(t,r){return""!==(t=a.startNode===e?$r(t):t)?t:r(e,a)}),"");return a.debug&&o.log(r||"{empty-value}",t,a),r}function el(e){return 3!==e.props.nodeType?"":e.props.nodeValue}Zi.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var tl=Zi,al=function(e,t){return e=Ma(e),tl(e,t)},rl=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof xt)){if(1!==e.nodeType)return"";e=Ma(e)}return 1!==e.props.nodeType||t.inLabelledByContext||t.inControlContext||!e.attr("aria-labelledby")?"":Kr(e,"aria-labelledby").filter((function(e){return e})).reduce((function(a,r){return r=al(r,D({inLabelledByContext:!0,startNode:t.startNode||e},t)),a?"".concat(a," ").concat(r):r}),"")},nl={};N(nl,{accessibleText:function(){return al},accessibleTextVirtual:function(){return tl},autocomplete:function(){return dl},formControlValue:function(){return Qi},formControlValueMethods:function(){return Xi},hasUnicode:function(){return il},isHumanInterpretable:function(){return ul},isIconLigature:function(){return cl},isValidAutocomplete:function(){return pl},label:function(){return hl},labelText:function(){return Pi},labelVirtual:function(){return ml},nativeElementType:function(){return gl},nativeTextAlternative:function(){return Mi},nativeTextMethods:function(){return qi},removeUnicode:function(){return sl},sanitize:function(){return $r},subtreeText:function(){return Si},titleText:function(){return Ti},unsupported:function(){return ji},visible:function(){return fl},visibleTextNodes:function(){return bl},visibleVirtual:function(){return Xr}});var ol=_(pt()),il=function(e,t){var a=t.emoji,r=t.nonBmp;t=t.punctuations;return a?ol.default().test(e):r?/[\\u1D00-\\u1D7F\\u1D80-\\u1DBF\\u1DC0-\\u1DFF\\u20A0-\\u20CF\\u20D0-\\u20FF\\u2100-\\u214F\\u2150-\\u218F\\u2190-\\u21FF\\u2200-\\u22FF\\u2300-\\u23FF\\u2400-\\u243F\\u2440-\\u245F\\u2460-\\u24FF\\u2500-\\u257F\\u2580-\\u259F\\u25A0-\\u25FF\\u2600-\\u26FF\\u2700-\\u27BF\\uE000-\\uF8FF]/g.test(e)||/[\\uDB80-\\uDBBF][\\uDC00-\\uDFFF]/g.test(e):!!t&&/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\\'!"#$%&\\xa3\\xa2\\xa5\\xa7\\u20ac()*+,\\-.\\/:;<=>?@\\[\\]^_`{|}~\\xb1]/g.test(e)},ll=_(pt()),sl=function(e,t){var a=t.emoji,r=t.nonBmp;t=t.punctuations;return a&&(e=e.replace(ll.default(),"")),r&&(e=(e=e.replace(/[\\u1D00-\\u1D7F\\u1D80-\\u1DBF\\u1DC0-\\u1DFF\\u20A0-\\u20CF\\u20D0-\\u20FF\\u2100-\\u214F\\u2150-\\u218F\\u2190-\\u21FF\\u2200-\\u22FF\\u2300-\\u23FF\\u2400-\\u243F\\u2440-\\u245F\\u2460-\\u24FF\\u2500-\\u257F\\u2580-\\u259F\\u25A0-\\u25FF\\u2600-\\u26FF\\u2700-\\u27BF\\uE000-\\uF8FF]/g,"")).replace(/[\\uDB80-\\uDBBF][\\uDC00-\\uDFFF]/g,"")),t?e.replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\\'!"#$%&\\xa3\\xa2\\xa5\\xa7\\u20ac()*+,\\-.\\/:;<=>?@\\[\\]^_`{|}~\\xb1]/g,""):e},ul=function(e){return!e.length||["x","i"].includes(e)?0:(e=sl(e,{emoji:!0,nonBmp:!0,punctuations:!0}),$r(e)?1:0)},cl=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.15,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:3,o=e.actualNode.nodeValue.trim();if(!$r(o)||il(o,{emoji:!0,nonBmp:!0}))return!1;qa.get("canvasContext")||qa.set("canvasContext",r.createElement("canvas").getContext("2d"));var i=qa.get("canvasContext"),l=i.canvas;qa.get("fonts")||qa.set("fonts",{});var s=qa.get("fonts"),u=t.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");s[u]||(s[u]={occurances:0,numLigatures:0});var c=s[u];if(c.occurances>=n){if(c.numLigatures/c.occurances==1)return!0;if(0===c.numLigatures)return!1}c.occurances++;var d="".concat(m=30,"px ").concat(u);i.font=d;var p=o.charAt(0);if((s=i.measureText(p).width)<30&&(s*=n=30/s,d="".concat(m*=n,"px ").concat(u)),l.width=s,l.height=m,i.font=d,i.textAlign="left",i.textBaseline="top",i.fillText(p,0,0),!(p=new Uint32Array(i.getImageData(0,0,s,m).data.buffer)).some((function(e){return e})))return c.numLigatures++,!0;i.clearRect(0,0,s,m),i.fillText(o,0,0);var f=new Uint32Array(i.getImageData(0,0,s,m).data.buffer),m=(s=p.reduce((function(e,t,a){return 0===t&&0===f[a]||0!==t&&0!==f[a]?e:++e}),0),o.split("").reduce((function(e,t){return e+i.measureText(t).width}),0));o=i.measureText(o).width;return a<=s/p.length&&a<=1-o/m&&(c.numLigatures++,!0)},dl={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},pl=function(e){var t=void 0!==(r=(i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).looseTyped)&&r,a=void 0===(o=i.stateTerms)?[]:o,r=void 0===(n=i.locations)?[]:n,n=void 0===(o=i.qualifiers)?[]:o,o=void 0===(o=i.standaloneTerms)?[]:o,i=void 0===(i=i.qualifiedTerms)?[]:i;return e=e.toLowerCase().trim(),!(!(a=a.concat(dl.stateTerms)).includes(e)&&""!==e)||(n=n.concat(dl.qualifiers),r=r.concat(dl.locations),o=o.concat(dl.standaloneTerms),i=i.concat(dl.qualifiedTerms),a=e.split(/\\s+/g),!(!t&&(8<a[0].length&&"section-"===a[0].substr(0,8)&&a.shift(),r.includes(a[0])&&a.shift(),n.includes(a[0])&&(a.shift(),o=[]),1!==a.length))&&(a=a[a.length-1],o.includes(a)||i.includes(a)))},fl=function(e,t,a){return e=Ma(e),Xr(e,t,a)},ml=function(e){if(t=Jr(e))return t;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var t,a=ha(e.attr("id"));if(t=(a=Er(e.actualNode).querySelector(\'label[for="\'+a+\'"]\'))&&fl(a,!0))return t}return(t=(a=er(e,"label"))&&Xr(a,!0))?t:null},hl=function(e){return e=Ma(e),ml(e)},gl=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],bl=function e(t){var a=Ir(t.actualNode),r=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?a&&r.push(t):r=r.concat(e(t))})),r},yl=/^idrefs?$/,vl=function(e){e=e.actualNode||e;var t=(t=Er(e)).documentElement||t,a=qa.get("idRefsByRoot");a||(a=new WeakMap,qa.set("idRefsByRoot",a));var r=a.get(t);return r||(a.set(t,r={}),function e(t,a,r){if(t.hasAttribute){var n;"LABEL"===t.nodeName.toUpperCase()&&t.hasAttribute("for")&&(a[n=t.getAttribute("for")]=a[n]||[],a[n].push(t));for(var o=0;o<r.length;++o){var i=r[o];if(i=$r(t.getAttribute(i)||""))for(var l=Ho(i),s=0;s<l.length;++s)a[l[s]]=a[l[s]]||[],a[l[s]].push(t)}}for(var u=0;u<t.children.length;u++)e(t.children[u],a,r)}(t,r,Object.keys(En.ariaAttrs).filter((function(e){return e=En.ariaAttrs[e].type,yl.test(e)})))),r[e.id]||[]},Dl=function(e){return(e=En.ariaRoles[e])?e.type:null},wl=function(e,t){return e=e instanceof xt?e:Ma(e),t===Ei(e)||(e=xi(e),Array.isArray(e.allowedRoles)?e.allowedRoles.includes(t):!!e.allowedRoles)},xl=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],El=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],a=e.nodeName.toUpperCase();if(!io(e))return[];var r,n,o=(o=[],(r=e)?(r.hasAttribute("role")&&(n=Ho(r.getAttribute("role").toLowerCase()),o=o.concat(n)),r.hasAttributeNS("http://www.idpf.org/2007/ops","type")&&(r=Ho(r.getAttributeNS("http://www.idpf.org/2007/ops","type").toLowerCase()).map((function(e){return"doc-".concat(e)})),o=o.concat(r)),o=o.filter((function(e){return ei(e)}))):o),i=Ei(e);return o.filter((function(r){if(t&&r===i)return!1;if(t&&xl.includes(r)){var n=Dl(r);if(i!==n)return!0}return!(t||"row"===r&&"TR"===a&&xa(e,\'table[role="grid"] > tr\'))||!wl(e,r)}))},Al=function(e){return Object.keys(En.ariaRoles).filter((function(t){return En.ariaRoles[t].type===e}))},Cl=function(e){return Al(e)},Fl=function(){if(qa.get("ariaRolesNameFromContent"))return qa.get("ariaRolesNameFromContent");var e=Object.keys(En.ariaRoles).filter((function(e){return En.ariaRoles[e].nameFromContent}));return qa.set("ariaRolesNameFromContent",e),e},kl=function(){return Fl()},Rl=function(e){return null===e},Tl=function(e){return null!==e},Nl={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};Nl.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",\'input[type="button"]\',\'input[type="image"]\',\'input[type="reset"]\',\'input[type="submit"]\',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Tl}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:[\'input[type="checkbox"]\'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Tl}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Tl}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Tl}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Tl}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:[\'menu[type="context"]\'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:[\'menuitem[type="command"]\'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Tl}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:[\'menuitem[type="checkbox"]\'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Tl}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:[\'menuitem[type="radio"]\'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Tl}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Tl}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Tl}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Tl}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:[\'input[type="radio"]\'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="search"]\'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="range"]\'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="number"]\'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Tl}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Tl}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="text"]\',\'input[type="email"]\',\'input[type="password"]\',\'input[type="tel"]\',\'input[type="url"]\',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:[\'menu[type="toolbar"]\'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:Tl}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Nl.implicitHtmlRole=ci,Nl.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Tl}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Tl}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof o.AbstractVirtualNode||(e=o.utils.getNodeFromTree(e)),1<Number(e.attr("size"))},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Nl.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Rl}},{nodeName:"img",attributes:{alt:Rl}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Nl.evaluateRoleForElement={A:function(e){var t=e.node;e=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||e},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,a=e.role;e=e.out;return"menu"===t.getAttribute("type")?"menuitem"===a:e},IMG:function(e){var t=e.node,a=e.role,r=e.out;switch(t.alt){case null:return r;case"":return"presentation"===a||"none"===a;default:return"presentation"!==a&&"none"!==a}},INPUT:function(e){var t=e.node,a=e.role,r=e.out;switch(t.type){case"button":case"image":return r;case"checkbox":return!("button"!==a||!t.hasAttribute("aria-pressed"))||r;case"radio":return"menuitemradio"===a;case"text":return"combobox"===a||"searchbox"===a||"spinbutton"===a;case"tel":return"combobox"===a||"spinbutton"===a;case"url":case"search":case"email":return"combobox"===a;default:return!1}},LI:function(e){var t=e.node;e=e.out;return!o.utils.matchesSelector(t,"ol li, ul li")||e},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){return e=e.node,!o.utils.matchesSelector(e,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node;e=e.role;return!t.multiple&&t.size<=1&&"menu"===e},SVG:function(e){var t=e.node;e=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||e}},Nl.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var _l=Nl,Ol=function(e){var t=null;return(e=_l.role[e])&&e.implicit?Ha(e.implicit):t},Sl=function(e){return!!vl(e).length},Pl=function(e){return e=Ma(e),Jr(e)},Il=function(e){return(e=En.ariaRoles[e])&&Array.isArray(e.requiredAttrs)?y(e.requiredAttrs):[]},Bl=function(e){return(e=En.ariaRoles[e])&&Array.isArray(e.requiredContext)?y(e.requiredContext):null},Ll=function(e){return(e=En.ariaRoles[e])&&Array.isArray(e.requiredOwned)?y(e.requiredOwned):null},ql=function(e,t){var a,r=e.getAttribute(t),n=En.ariaAttrs[t],o=Er(e);if(!n)return!0;if(n.allowEmpty&&(!r||""===r.trim()))return!0;switch(n.type){case"boolean":return["true","false"].includes(r.toLowerCase());case"nmtoken":return"string"==typeof r&&n.values.includes(r.toLowerCase());case"nmtokens":return(a=Ho(r)).reduce((function(e,t){return e&&n.values.includes(t)}),0!==a.length);case"idref":return!(!r||!o.getElementById(r));case"idrefs":return(a=Ho(r)).some((function(e){return o.getElementById(e)}));case"string":return""!==r.trim();case"decimal":return!(!(i=r.match(/^[-+]?([0-9]*)\\.?([0-9]*)$/))||!i[1]&&!i[2]);case"int":var i=void 0!==n.minValue?n.minValue:-1/0;return/^[-+]?[0-9]+$/.test(r)&&parseInt(r)>=i}},Ml=function(e){return!!En.ariaAttrs[e]};var jl={};function Ul(e,t,a,r){var n=ti(e);if(!(a=a||Bl(n)))return null;for(var o=r?e:e.parent;o;){var i=ki(o);if(a.includes("group")&&"group"===i)t.includes(n)&&a.push(n),o=o.parent;else{if(a.includes(i))return null;if(i&&!["presentation","none"].includes(i))return a;o=o.parent}}return a}N(jl,{getAriaRolesByType:function(){return Al},getAriaRolesSupportingNameFromContent:function(){return Fl},getElementSpec:function(){return xi},getElementsByContentType:function(){return ai},getGlobalAriaAttrs:function(){return Xo},implicitHtmlRoles:function(){return ci}});var Vl={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Hl={application:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};var zl={};N(zl,{getAllCells:function(){return $l},getCellPosition:function(){return ni},getHeaders:function(){return Gl},getScope:function(){return oi},isColumnHeader:function(){return ii},isDataCell:function(){return Yl},isDataTable:function(){return Kl},isHeader:function(){return Xl},isRowHeader:function(){return li},toArray:function(){return ri},toGrid:function(){return ri},traverse:function(){return Jl}});var $l=function(e){for(var t,a,r=[],n=0,o=e.rows.length;n<o;n++)for(t=0,a=e.rows[n].cells.length;t<a;t++)r.push(e.rows[n].cells[t]);return r};function Wl(e,t,a){for(var r,n="row"===e?"_rowHeaders":"_colHeaders",i="row"===e?li:ii,l=(u=a[t.y][t.x]).colSpan-1,s=u.getAttribute("rowspan"),u=0===parseInt(s)||0===u.rowspan?a.length:u.rowSpan,c=(u=t.y+(u-1),t.x+l),d="row"===e?t.y:0,p="row"===e?0:t.x,f=[],m=u;d<=m&&!r;m--)for(var h=c;p<=h;h--){var g=a[m]?a[m][h]:void 0;if(g){var b=o.utils.getNodeFromTree(g);if(b[n]){r=b[n];break}f.push(g)}}return r=(r||[]).concat(f.filter(i)),f.forEach((function(e){o.utils.getNodeFromTree(e)[n]=r})),r}var Gl=function(e,t){if(e.getAttribute("headers")){var a=Kr(e,"headers");if(a.filter((function(e){return e})).length)return a}return t=t||ri(Fr(e,"table")),e=Wl("row",a=ni(e,t),t),t=Wl("col",a,t),[].concat(e,t).reverse()},Yl=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return ei(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},Kl=function(e){var a=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===a||"none"===a)&&!ln(e))return!1;if("true"===e.getAttribute("contenteditable")||Fr(e,\'[contenteditable="true"]\'))return!0;if("grid"===a||"treegrid"===a||"table"===a)return!0;if("landmark"===Dl(a))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var o,i,l,s=0,u=e.rows.length,c=!1,d=0;d<u;d++)for(var p,f=0,m=(p=e.rows[d]).cells.length;f<m;f++){if("TH"===(o=p.cells[f]).nodeName.toUpperCase())return!0;if(c||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(c=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes((o.getAttribute("role")||"").toLowerCase()))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;s++}if(e.getElementsByTagName("table").length)return!1;if(u<2)return!1;if(1===(a=e.rows[Math.ceil(u/2)]).cells.length&&1===a.cells[0].colSpan)return!1;if(5<=a.cells.length)return!0;if(c)return!0;for(d=0;d<u;d++){if(p=e.rows[d],i&&i!==t.getComputedStyle(p).getPropertyValue("background-color"))return!0;if(i=t.getComputedStyle(p).getPropertyValue("background-color"),l&&l!==t.getComputedStyle(p).getPropertyValue("background-image"))return!0;l=t.getComputedStyle(p).getPropertyValue("background-image")}return 20<=u||!(Nr(e).width>.95*_r(t).width)&&!(s<10)&&!e.querySelector("object, embed, iframe, applet")},Xl=function(e){return!(!ii(e)&&!li(e))||!!e.getAttribute("id")&&(e=ha(e.getAttribute("id")),!!r.querySelector(\'[headers~="\'.concat(e,\'"]\')))},Jl=function(e,t,a,r){if(Array.isArray(t)&&(r=a,a=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return function e(t,a,r,n){var o,i=r[a.y]?r[a.y][a.x]:void 0;return i?"function"==typeof n&&!0===(o=n(i,a,r))?[i]:((o=e(t,{x:a.x+t.x,y:a.y+t.y},r,n)).unshift(i),o):[]}(e,{x:t.x+e.x,y:t.y+e.y},a,r)};var Ql={};N(Ql,{Color:function(){return An},centerPointOfRect:function(){return Zl},elementHasImage:function(){return bn},elementIsDistinct:function(){return ts},filteredRectStack:function(){return rs},flattenColors:function(){return ns},getBackgroundColor:function(){return ls},getBackgroundStack:function(){return os},getContrast:function(){return ss},getForegroundColor:function(){return us},getOwnBackgroundColor:function(){return Cn},getRectStack:function(){return as},getTextShadowColors:function(){return is},hasValidContrastRatio:function(){return cs},incompleteData:function(){return gn}});var Zl=function(e){if(!(e.left>t.innerWidth||e.top>t.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),t.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),t.innerHeight-1)}};function es(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var ts=function(e,a){var r=t.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var a=new An;return a.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&0<parseFloat(r.getPropertyValue(t+"-width"))&&0!==a.alpha}),!1))return!0;var n=t.getComputedStyle(a);return es(r)[0]!==es(n)[0]||(e=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)}),!1),(a=r.getPropertyValue("text-decoration")).split(" ").length<3?e||a!==n.getPropertyValue("text-decoration"):e)},as=function(e){var t=Hr(e);return!(e=Wr(e))||e.length<=1?[t]:e.some((function(e){return void 0===e}))?null:(e.splice(0,0,t),e)},rs=function(e){var t=as(e);if(t&&1===t.length)return t[0];if(t&&1<t.length){var a,r=t.shift();return t.forEach((function(n,o){var i,l;0!==o&&(i=t[o-1],l=t[o],a=i.every((function(e,t){return e===l[t]}))||r.includes(e))})),a?t[0]:(gn.set("bgColor","elmPartiallyObscuring"),null)}return gn.set("bgColor","outsideViewport"),null},ns=function(e,t){var a=(1-(n=e.alpha))*t.red+n*e.red,r=(1-n)*t.green+n*e.green,n=(1-n)*t.blue+n*e.blue;e=e.alpha+t.alpha*(1-e.alpha);return new An(a,r,n,e)};var os=function(e){var a,n,o=rs(e);if(null===o)return null;n=(a=o=Tn(o,e)).indexOf(r.body),i=a,(1<n||-1===n)&&!bn(r.documentElement)&&0===Cn(t.getComputedStyle(r.documentElement)).alpha&&(1<n&&i.splice(n,1),i.splice(a.indexOf(r.documentElement),1),i.push(r.body));var i=(o=i).indexOf(e);return function(e,t,a){if(0<e)for(var r=e-1;0<=r;r--){if(function(e,t){var a=e.getClientRects()[0],r=Sn(a.left,a.top);if(r)for(var n=0;n<r.length;n++)if(r[n]!==e&&r[n]===t)return 1}(a,t[r]))return 1;t.splice(r,1)}}(i,o,e)?(gn.set("bgColor","bgOverlap"),null):-1!==i?o:null},is=function(e){var a=(i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).minRatio,r=i.maxRatio,n=t.getComputedStyle(e),o=n.getPropertyValue("text-shadow");if("none"===o)return[];var i=n.getPropertyValue("font-size"),l=parseInt(i);Ft(!1===isNaN(l),"Unable to determine font-size value ".concat(i));var s=[];return function(e){var t={pixels:[]},a=e.trim(),r=[t];if(!a)return[];for(;a;){var n=a.match(/^rgba?\\([0-9,.\\s]+\\)/i)||a.match(/^[a-z]+/i)||a.match(/^#[0-9a-f]+/i),o=a.match(/^([0-9.-]+)px/i)||a.match(/^(0)/);if(n)Ft(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),a=a.replace(n[0],"").trim(),t.colorStr=n[0];else if(o)Ft(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),a=a.replace(o[0],"").trim(),o=parseFloat(("."===o[1][0]?"0":"")+o[1]),t.pixels.push(o);else{if(","!==a[0])throw new Error("Unable to process text-shadows: ".concat(e));Ft(2<=t.pixels.length,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},r.push(t),a=a.substr(1).trim()}}return r}(o).forEach((function(e){var t=e.colorStr,o=e.pixels,i=(t=t||n.getPropertyValue("color"),e=(i=v(o,3))[0],o=i[1],void 0===(i=i[2])?0:i);(!a||l*a<=i)&&(!r||i<l*r)&&(i=function(e){var t=e.colorStr,a=e.offsetX,r=e.offsetY,n=e.blurRadius;e=e.fontSize;return n<a||n<r?new An(0,0,0,0):((r=new An).parseString(t),r.alpha*=function(e,t){return.185/(e/t+.4)}(n,e),r)}({colorStr:t,offsetY:e,offsetX:o,blurRadius:i,fontSize:l}),s.push(i))})),s},ls=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=is(e,{minRatio:2<arguments.length&&void 0!==arguments[2]?arguments[2]:.1}),n=os(e);return(n||[]).some((function(n){var o,i,l,s=t.getComputedStyle(n),u=Cn(s);return l=u,(l=(o=e)!==(i=n)&&!On(o,i)&&0!==l.alpha)&&gn.set("bgColor","elmPartiallyObscured"),l||bn(n,s)?(r=null,a.push(n),!0):0!==u.alpha&&(a.push(n),r.push(u),1===u.alpha)})),null===r||null===n?null:(r.push(new An(255,255,255,1)),r.reduce(ns))},ss=function(e,t){return t&&e?(t.alpha<1&&(t=ns(t,e)),e=e.getRelativeLuminance(),t=t.getRelativeLuminance(),(Math.max(t,e)+.05)/(Math.min(t,e)+.05)):null},us=function(e,a,r){var n=t.getComputedStyle(e),o=new An;return o.parseString(n.getPropertyValue("color")),n=function e(a){if(!a)return 1;var r=Ma(a);return r&&void 0!==r._opacity&&null!==r._opacity?r._opacity:(a=t.getComputedStyle(a).getPropertyValue("opacity")*e(a.parentElement),r&&(r._opacity=a),a)}(e),o.alpha=o.alpha*n,1===o.alpha?o:null!==(r=r||ls(e,[]))?ns(o,r):(r=gn.get("bgColor"),gn.set("fgColor",r),null)},cs=function(e,t,a,r){return t=ss(e,t),{isValid:(a=r&&Math.ceil(72*a)/96<14||!r&&Math.ceil(72*a)/96<18?4.5:3)<t,contrastRatio:t,expectedContrastRatio:a}},ds=fo((function(e,a){return e=t.getComputedStyle(e,a),a=Cn(e),"none"!==e.getPropertyValue("content")&&"absolute"===e.getPropertyValue("position")&&0!==parseInt(e.getPropertyValue("width"))&&0!==parseInt(e.getPropertyValue("height"))&&(0!==a.alpha||"none"!==e.getPropertyValue("background-image"))}));function ps(e,t){return e=e.getRelativeLuminance(),t=t.getRelativeLuminance(),(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}var fs=["block","list-item","table","flex","grid","inline-block"];function ms(e){return e=t.getComputedStyle(e).getPropertyValue("display"),-1!==fs.indexOf(e)||"table-"===e.substr(0,6)}T=function(e,t,a){return a=a.attr("autocomplete")||"",pl(a,t)},Ut=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");return a.hasAttr(t.attribute)?(t=a.attr(t.attribute),!!$r(t)||(this.data({messageKey:"emptyAttr"}),!1)):(this.data({messageKey:"noAttr"}),!1)};var hs=function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e};function gs(e,t){var a=null===(a=t.data)||void 0===a?void 0:a.headingOrder,r=ys(t.node.ancestry,1);return a?(t=a.map((function(e){return function(e,t){return D({},e,{ancestry:t=t.concat(e.ancestry)})}(e,r)})),-1===(a=function(e,t){for(;t.length;){var a=bs(e,t);if(-1!==a)return a;t=ys(t,1)}return-1}(e,r))?e.push.apply(e,y(t)):e.splice.apply(e,[a,0].concat(y(t))),e):e}function bs(e,t){return e.findIndex((function(e){return e=e.ancestry,a=t,e.length===a.length&&e.every((function(e,t){var r=a[t];return Array.isArray(e)?e.length===r.length&&e.every((function(e,t){return r[t]===e})):e===r}));var a}))}function ys(e,t){return e.slice(0,e.length-t)}za=function(e,t,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");return t=ko(a,t.selector,(function(e){return Ir(e.actualNode,!0)})),this.relatedNodes(t.map((function(e){return e.actualNode}))),0<t.length},vn=function(e,t,a){try{return""!==$r(Si(a))}catch(e){return}},Dn=function(e,t,a){return wi(a,t.matcher)},fi=function(e){return e.filter((function(e){return"ignored"!==e.data}))},mi=function(e,t,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var r="page-no-duplicate;"+t.selector;if(!qa.get(r))return qa.set(r,!0),r=ko(o._tree[0],t.selector,(function(e){return Ir(e.actualNode)})),"string"==typeof t.nativeScopeFilter&&(r=r.filter((function(e){return e.actualNode.hasAttribute("role")||!Cr(e,t.nativeScopeFilter)}))),this.relatedNodes(r.filter((function(e){return e!==a})).map((function(e){return e.actualNode}))),r.length<=1;this.data("ignored")},hi=function(){if(qa.get("headingOrder"))return!0;var e=ko(o._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",(function(e){return Ir(e.actualNode,!0)})),t=e.map((function(e){return{ancestry:[Ia(e.actualNode)],level:function(e){var t=e.attr("role");return t&&t.includes("heading")?(t=e.attr("aria-level"),t=parseInt(t,10),isNaN(t)||t<1||6<t?2:t):(e=e.props.nodeName.match(/h(\\d)/))?parseInt(e[1],10):-1}(e)}}));return this.data({headingOrder:t}),qa.set("headingOrder",e),!0},gi=function(e){if(e.length<2)return e;function t(e){var t=a[e],i=(u=t.data).name,l=u.urlProps;if(o[i])return"continue";var s=a.filter((function(t,a){return t.data.name===i&&a!==e})),u=s.every((function(e){return function e(t,a){if(!t||!a)return!1;var r=Object.getOwnPropertyNames(t),o=Object.getOwnPropertyNames(a);return r.length===o.length&&r.every((function(r){var o=t[r];r=a[r];return n(o)===n(r)&&("object"==typeof o||"object"==typeof r?e(o,r):o===r)}))}(e.data.urlProps,l)}));s.length&&!u&&(t.result=void 0),t.relatedNodes=[],(u=t.relatedNodes).push.apply(u,y(s.map((function(e){return e.relatedNodes[0]})))),o[i]=s,r.push(t)}for(var a=e.filter((function(e){return void 0!==e.result})),r=[],o={},i=0;i<a.length;i++)t(i);return r},N(bi={},{aria:function(){return Ko},color:function(){return Ql},dom:function(){return wr},forms:function(){return vs},matches:function(){return wi},standards:function(){return jl},table:function(){return zl},text:function(){return nl},utils:function(){return Et}});var vs={};N(vs,{isAriaCombobox:function(){return Wi},isAriaListbox:function(){return $i},isAriaRange:function(){return Yi},isAriaTextbox:function(){return zi},isDisabled:function(){return ws},isNativeSelect:function(){return Hi},isNativeTextbox:function(){return Vi}});var Ds=["fieldset","button","select","input","textarea"],ws=function e(t){if("boolean"==typeof(n=t._isDisabled))return n;var a=t.props.nodeName,r=t.attr("aria-disabled"),n=!(!Ds.includes(a)||!t.hasAttr("disabled"))||(r?"true"===r.toLowerCase():!!t.parent&&e(t.parent));return t._isDisabled=n};function xs(e){return{fontWeight:function(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}((e=t.getComputedStyle(function(e){for(var t=e,a=e.textContent.trim(),r=a;r===a&&void 0!==t;){var n=-1;if(0===(e=t).children.length)return e;for(;n++,""===(r=e.children[n].textContent.trim())&&n+1<e.children.length;);t=e.children[n]}return e}(e))).getPropertyValue("font-weight")),fontSize:parseInt(e.getPropertyValue("font-size")),isItalic:"italic"===e.getPropertyValue("font-style")}}function Es(e,t,a){return a.reduce((function(a,r){return a||(!r.size||e.fontSize/r.size>t.fontSize)&&(!r.weight||e.fontWeight-r.weight>t.fontWeight)&&(!r.italic||e.isItalic&&!t.isItalic)}),!1)}Js=function(e,t,a){if(a=nl.accessibleTextVirtual(a),a=nl.sanitize(nl.removeUnicode(a,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase())return a={name:a,urlProps:wr.urlPropsFromAttribute(e,"href")},this.data(a),this.relatedNodes([e]),!0},ru=function(e,t,a){return Lo(a,"a[href]").some((function(e){return/^#[^/!]/.test(e.actualNode.getAttribute("href"))}))},Tl=function(e,t,a){var r=a.attr("content")||"";a=r.split(/[;,]/);return""===r||"0"===a[0]};Rl=function(e,t,a){var r=Array.from(e.parentNode.children),n=r.indexOf(e),o=(t=t||{}).margins||[];t=r.slice(n+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),n=r.slice(0,n).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),e=xs(e),t=t?xs(t):null,n=n?xs(n):null;return!t||!Es(e,t,o)||!!((a=Cr(a,"blockquote"))&&"BLOCKQUOTE"===a.nodeName.toUpperCase()||n&&!Es(e,n,o))&&void 0};var As=Al("landmark"),Cs=["alert","log","status"];function Fs(e,t){var a,n,o,i,l=e.actualNode;if(n=t,o=(a=e).actualNode,i=ki(a),o=(o.getAttribute("aria-live")||"").toLowerCase().trim(),["assertive","polite"].includes(o)||Cs.includes(i)||As.includes(i)||n.regionMatcher&&wi(a,n.regionMatcher)||Rn(e.actualNode)&&Rr(e.actualNode,"href")||!Ir(l,!0)){for(var s=e;s;)s._hasRegionDescendant=!0,s=s.parent;return[]}return l!==r.body&&en(l,!0)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Fs(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}function ks(e,t){return t=Rs(t),e=Rs(e),!(!t||!e)&&t.includes(e)}function Rs(e){return e=sl(e,{emoji:!0,nonBmp:!0,punctuations:!0}),$r(e)}function Ts(e){return""!==(e||"").trim()}var Ns=function(e,t,a){return a.initiator},_s=function(e,t){try{return"svg"===t.props.nodeName||!!er(t,"svg")}catch(e){return!1}},Os={"abstractrole-evaluate":function(e,t,a){return 0<(a=Ho(a.attr("role")).filter((function(e){return"abstract"===Dl(e)}))).length&&(this.data(a),!0)},"aria-allowed-attr-evaluate":function(e,t,a){var r=[],n=ki(a),o=a.attrNames,i=Jo(n);if(Array.isArray(t[n])&&(i=Co(t[n].concat(i))),n&&i)for(var l=0;l<o.length;l++){var s=o[l];Ml(s)&&!i.includes(s)&&r.push(s+\'="\'+a.attr(s)+\'"\')}return!r.length||(this.data(r),!1)},"aria-allowed-role-evaluate":function(e){var t=void 0===(r=(a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).allowImplicit)||r,a=void 0===(r=a.ignoredTags)?[]:r,r=e.nodeName.toUpperCase();return!!a.map((function(e){return e.toUpperCase()})).includes(r)||!(t=El(e,t)).length||(this.data(t),!Ir(e,!0)&&void 0)},"aria-errormessage-evaluate":function(e,t){t=Array.isArray(t)?t:[];var a=e.getAttribute("aria-errormessage"),r=e.hasAttribute("aria-errormessage"),n=e.getAttribute("aria-invalid");if(!e.hasAttribute("aria-invalid")||"false"===n)return!0;var o=Er(e);return-1!==t.indexOf(a)||!r||(this.data(Ho(a)),function(t){if(""===t.trim())return En.ariaAttrs["aria-errormessage"].allowEmpty;var a=t&&o.getElementById(t);return a?"alert"===a.getAttribute("role")||"assertive"===a.getAttribute("aria-live")||"polite"===a.getAttribute("aria-live")||-1<Ho(e.getAttribute("aria-describedby")).indexOf(t):void 0}(a))},"aria-hidden-body-evaluate":function(e,t,a){return"true"!==a.attr("aria-hidden")},"aria-prohibited-attr-evaluate":function(e){var t=2<arguments.length?arguments[2]:void 0,a=(a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).elementsAllowedAriaLabel||[];return 0!==(a=function(e,t){var a=ki(e,{chromium:!0}),r=En.ariaRoles[a];return r?r.prohibitedAttrs||[]:(e=e.props.nodeName,a||t.includes(e)?[]:["aria-label","aria-labelledby"])}(t,a).filter((function(e){return!!t.attrNames.includes(e)&&""!==$r(t.attr(e))}))).length&&(this.data(a),!(""!==$r(Si(t)))||void 0)},"aria-required-attr-evaluate":function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length?arguments[2]:void 0,r=[];if(a.attrNames.length){var n=ti(a),o=Il(n),i=xi(a);if(Array.isArray(t[n])&&(o=Co(t[n],o)),n&&o)for(var l=0,s=o.length;l<s;l++){var u=o[l];a.attr(u)||i.implicitAttrs&&void 0!==i.implicitAttrs[u]||r.push(u)}}return!r.length||(this.data(r),!1)},"aria-required-children-evaluate":function(e,t,a){var r=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=ti(a,{dpub:!0}),o=Ll(n);return null===o||(t=function(e,t){for(var a=[],r=_i(e),n=0;n<r.length;n++)!function(e){e=r[e];var n=ki(e,{noPresentational:!0});!n||["group","rowgroup"].includes(n)&&t.some((function(e){return e===n}))?r.push.apply(r,y(e.children)):n&&a.push(n)}(n);return a}(a,o),!(o=function(e,t,a,r){var n,o,i,l="combobox"===t;l&&(("input"===e.props.nodeName&&["text","search","email","url","tel"].includes(e.props.type)||r.includes("searchbox"))&&(a=a.filter((function(e){return"textbox"!==e}))),n=["listbox","tree","grid","dialog"],t=e.attr("aria-expanded"),o=t&&"false"!==t.toLowerCase(),i=(e.attr("aria-haspopup")||"listbox").toLowerCase(),a=a.filter((function(e){return!n.includes(e)||o&&e===i})));for(var s=0;s<r.length;s++){var u=r[s];if(a.includes(u)&&(a=a.filter((function(e){return e!==u})),!l))return null}return a.length?a:null}(a,n,o,t))||(this.data(o),!(!r.includes(n)||Zr(a,!1,!0)||t.length||a.hasAttr("aria-owns")&&Kr(e,"aria-owns").length)&&void 0))},"aria-required-parent-evaluate":function(e,t,a){var r=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=Ul(a,r);if(!n)return!0;var o=function(e){for(var t,a=[],r=null;e;)e.getAttribute("id")&&(t=ha(e.getAttribute("id")),(r=Er(e).querySelector("[aria-owns~=".concat(t,"]")))&&a.push(r)),e=e.parentElement;return a.length?a:null}(e);if(o)for(var i=0,l=o.length;i<l;i++)if(!(n=Ul(Ma(o[i]),r,n,!0)))return!0;return this.data(n),!1},"aria-roledescription-evaluate":function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=ki(e);return!!(t.supportedRoles||[]).includes(a)||!(!a||"presentation"===a||"none"===a)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,a){return!!(a=a.attrNames.filter((function(t){var a=En.ariaAttrs[t];return!!Ml(t)&&(a=a.unsupported,"object"!==n(a)?!!a:!wi(e,a.exceptions))}))).length&&(this.data(a),!0)},"aria-valid-attr-evaluate":function(e,t,a){t=Array.isArray(t.value)?t.value:[];var r=[],n=/^aria-/;return a.attrNames.forEach((function(e){-1===t.indexOf(e)&&n.test(e)&&!Ml(e)&&r.push(e)})),!r.length||(this.data(r),!1)},"aria-valid-attr-value-evaluate":function(e,t){t=Array.isArray(t.value)?t.value:[];for(var a="",r="",n=[],o=/^aria-/,i=wa(e),l=["aria-errormessage"],s={"aria-controls":function(){return"false"!==e.getAttribute("aria-expanded")&&"false"!==e.getAttribute("aria-selected")},"aria-current":function(){ql(e,"aria-current")||(a=\'aria-current="\'.concat(e.getAttribute("aria-current"),\'"\'),r="ariaCurrent")},"aria-owns":function(){return"false"!==e.getAttribute("aria-expanded")},"aria-describedby":function(){ql(e,"aria-describedby")||(a=\'aria-describedby="\'.concat(e.getAttribute("aria-describedby"),\'"\'),r="noId")},"aria-labelledby":function(){ql(e,"aria-labelledby")||(a=\'aria-labelledby="\'.concat(e.getAttribute("aria-labelledby"),\'"\'),r="noId")}},u=0,c=i.length;u<c;u++){var d=i[u],p=d.name;l.includes(p)||-1!==t.indexOf(p)||!o.test(p)||s[p]&&!s[p]()||ql(e,p)||n.push("".concat(p,\'="\').concat(d.nodeValue,\'"\'))}if(!a)return!n.length||(this.data(n),!1);this.data({messageKey:r,needsReview:a})},"fallbackrole-evaluate":function(e,t,a){return 1<Ho(a.attr("role")).length},"has-global-aria-attribute-evaluate":function(e,t,a){var r=Xo().filter((function(e){return a.hasAttr(e)}));return this.data(r),0<r.length},"has-implicit-chromium-role-matches":function(e,t){return null!==Ei(t,{chromium:!0})},"has-widget-role-evaluate":function(e){return null!==(e=e.getAttribute("role"))&&("widget"===(e=Dl(e))||"composite"===e)},"invalidrole-evaluate":function(e,t,a){return!!(a=Ho(a.attr("role"))).every((function(e){return!ei(e,{allowAbstract:!0})}))&&(this.data(a),!0)},"is-element-focusable-evaluate":function(e,t,a){return ln(a)},"no-implicit-explicit-label-evaluate":function(e,t,a){var r,n,o=ki(a,{noImplicit:!0});this.data(o);try{r=$r(Pi(a)).toLowerCase(),n=$r(tl(a)).toLowerCase()}catch(e){return}return!(!n&&!r)&&!((n||!r)&&n.includes(r))&&void 0},"unsupportedrole-evaluate":function(e,t,a){return Zo(ki(a))},"valid-scrollable-semantics-evaluate":function(e,t){return a=t,(t=ti(t=e))&&(Hl[t]||a.roles.includes(t))||(t=(t=e).nodeName.toUpperCase(),Vl[t]||!1);var a},"caption-faked-evaluate":function(e){var t=ri(e),a=t[0];return t.length<=1||a.length<=1||e.rows.length<=1||a.reduce((function(e,t,r){return e||t!==a[r+1]&&void 0!==a[r+1]}),!1)},"html5-scope-evaluate":function(e){return!un(r)||"TH"===e.nodeName.toUpperCase()},"same-caption-summary-evaluate":function(e){return!(!e.summary||!e.caption)&&e.summary.toLowerCase()===al(e.caption).toLowerCase()},"scope-value-evaluate":function(e,t){return e=e.getAttribute("scope").toLowerCase(),-1!==t.values.indexOf(e)},"td-has-header-evaluate":function(e){var t=[],a=$l(e),r=ri(e);return a.forEach((function(e){en(e)&&Yl(e)&&!Pl(e)&&(Gl(e,r).some((function(e){return null!==e&&!!en(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],a=[],r=[],n=0;n<e.rows.length;n++)for(var o=e.rows[n],i=0;i<o.cells.length;i++)t.push(o.cells[i]);var l=t.reduce((function(e,t){return t.getAttribute("id")&&e.push(t.getAttribute("id")),e}),[]);return t.forEach((function(e){var t,n=!1;if(e.hasAttribute("headers")){var o=e.getAttribute("headers").trim();if(!o)return a.push(e);0!==(o=Ho(o)).length&&(e.getAttribute("id")&&(n=-1!==o.indexOf(e.getAttribute("id").trim())),t=o.some((function(e){return!l.includes(e)})),(n||t)&&r.push(e))}})),0<r.length?(this.relatedNodes(r),!1):!a.length||void this.relatedNodes(a)},"th-has-data-cells-evaluate":function(e){var t=$l(e),a=this,r=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(r=r.concat(t.split(/\\s+/))),(e=e.getAttribute("aria-labelledby"))&&(r=r.concat(e.split(/\\s+/)))})),t=t.filter((function(e){return""!==$r(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))}));var n=ri(e),o=!0;return t.forEach((function(e){var t,i;e.getAttribute("id")&&r.includes(e.getAttribute("id"))||(t=ni(e,n),i=!1,(i=!(i=ii(e)?Jl("down",t,n).find((function(t){return!ii(t)&&Gl(t,n).includes(e)})):i)&&li(e)?Jl("right",t,n).find((function(t){return!li(t)&&Gl(t,n).includes(e)})):i)||a.relatedNodes(e),o=o&&i)})),!!o||void 0},"hidden-content-evaluate":function(e,a,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Zr(r)){if("none"===(r=t.getComputedStyle(e)).getPropertyValue("display"))return;if("hidden"===r.getPropertyValue("visibility")&&(!(e=(e=kr(e))&&t.getComputedStyle(e))||"hidden"!==e.getPropertyValue("visibility")))return}return!0},"color-contrast-evaluate":function(e,a,r){if(!Ir(e,!1))return!0;var n=a.ignoreUnicode,o=a.ignoreLength,i=a.boldValue,l=a.boldTextPt,s=a.largeTextPt,u=a.contrastRatio,c=a.shadowOutlineEmMax,d=Xr(r,!1,!0);if(!il(d,{nonBmp:!0})||""!==$r(sl(d,{nonBmp:!0}))||!n){var p=[],f=ls(e,p,c);a=us(e,!1,f),r=is(e,{maxRatio:c}),n=t.getComputedStyle(e),c=parseFloat(n.getPropertyValue("font-size")),n=n.getPropertyValue("font-weight"),i=parseFloat(n)>=i||"bold"===n,n=null;0===r.length?n=ss(f,a):a&&f&&(m=[].concat(y(r),[f]).reduce(ns),r=ss(f,m),m=ss(m,a),n=Math.max(r,m));for(var m=Math.ceil(72*c)/96,h=(m=(l=i&&m<l||!i&&m<s?u.normal:u.large).expected,s=l.minThreshold,u=l.maxThreshold,l=m<n,e);h;){if(ds(h,":before")||ds(h,":after"))return this.data({messageKey:"pseudoContent"}),void this.relatedNodes(h);h=h.parentElement}if("number"==typeof s&&n<s||"number"==typeof u&&u<n)return!0;var g;u=Math.floor(100*n)/100;return null===f&&(g=gn.get("bgColor")),n=1==u,d=1===d.length,n?g=gn.set("bgColor","equalRatio"):d&&!o&&(g="shortTextContent"),m={fgColor:a?a.toHexString():void 0,bgColor:f?f.toHexString():void 0,contrastRatio:u,fontSize:"".concat((72*c/96).toFixed(1),"pt (").concat(c,"px)"),fontWeight:i?"bold":"normal",messageKey:g,expectedContrastRatio:m+":1"},this.data(m),null===a||null===f||n||d&&!o&&!l?(g=null,gn.clear(),void this.relatedNodes(p)):(l||this.relatedNodes(p),l)}this.data({messageKey:"nonBmp"})},"link-in-text-block-evaluate":function(e){if(ms(e))return!1;for(var t=kr(e);1===t.nodeType&&!ms(t);)t=kr(t);if(this.relatedNodes([t]),ts(e,t))return!0;var a=us(e),r=us(t);if(a&&r){var n=ps(a,r);return 1===n||(3<=n?(gn.set("fgColor","bgContrast"),this.data({messageKey:gn.get("fgColor")}),void gn.clear()):(a=ls(e),r=ls(t),(!a||!r||3<=ps(a,r))&&(r=a&&r?"bgContrast":gn.get("bgColor"),gn.set("fgColor",r),this.data({messageKey:gn.get("fgColor")}),void gn.clear())))}},"autocomplete-appropriate-evaluate":function(e,t,a){if("input"!==a.props.nodeName)return!0;var r=["text","search","number","tel"],o=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":r,"cc-exp":["text","search","month","tel"],"cc-exp-month":r,"cc-exp-year":r,"cc-csc":r,"transaction-amount":r,"bday-day":r,"bday-month":r,"bday-year":r,"new-password":["text","search","password"],"current-password":["text","search","password"],url:o,photo:o,impp:o};return"object"===n(t)&&Object.keys(t).forEach((function(e){i[e]||(i[e]=[]),i[e]=i[e].concat(t[e])})),o=(o=a.attr("autocomplete").split(/\\s+/g).map((function(e){return e.toLowerCase()})))[o.length-1],!!dl.stateTerms.includes(o)||(o=i[o],a=a.hasAttr("type")?$r(a.attr("type")).toLowerCase():"text",a=zo().includes(a)?a:"text",void 0===o?"text"===a:o.includes(a))},"autocomplete-valid-evaluate":T,"attr-non-space-content-evaluate":Ut,"has-descendant-after":hs,"has-descendant-evaluate":za,"has-text-content-evaluate":vn,"matches-definition-evaluate":Dn,"page-no-duplicate-after":fi,"page-no-duplicate-evaluate":mi,"heading-order-after":function(e){var t,a=((t=y(t=e)).sort((function(e,t){return e=e.node,t=t.node,e.ancestry.length-t.ancestry.length})),t.reduce(gs,[]).filter((function(e){return-1!==e.level})));return e.forEach((function(e){e.result=function(e,t){var a=bs(t,e.node.ancestry);e=null!==(e=null===(e=t[a])||void 0===e?void 0:e.level)&&void 0!==e?e:-1,t=null!==(t=null===(t=t[a-1])||void 0===t?void 0:t.level)&&void 0!==t?t:-1;return 0===a||(-1!==e?e-t<=1:void 0)}(e,a)})),e},"heading-order-evaluate":hi,"identical-links-same-purpose-after":gi,"identical-links-same-purpose-evaluate":Js,"internal-link-present-evaluate":ru,"meta-refresh-evaluate":Tl,"p-as-heading-evaluate":Rl,"region-evaluate":function(e,t,a){if(n=qa.get("regionlessNodes"))return!n.includes(a);var n=Fs(o._tree[0],t).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==r.body;)e=e.parent;return e})).filter((function(e,t,a){return a.indexOf(e)===t}));return qa.set("regionlessNodes",n),!n.includes(a)},"skip-link-evaluate":function(e){return!!(e=Rr(e,"href"))&&(Ir(e,!0)||void 0)},"unique-frame-title-after":function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e},"unique-frame-title-evaluate":function(e,t,a){return a=$r(a.attr("title")).toLowerCase(),this.data(a),!0},"aria-label-evaluate":function(e,t,a){return!!$r(Qo(a))},"aria-labelledby-evaluate":function(e,t,a){try{return!!$r(rl(a))}catch(e){return}},"avoid-inline-spacing-evaluate":function(e,t){return!(0<(t=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}))).length&&(this.data(t),1))},"doc-has-title-evaluate":function(){var e=r.title;return!!$r(e)},"exists-evaluate":function(){},"has-alt-evaluate":function(e,t,a){var r=a.props.nodeName;return!!["img","input","area"].includes(r)&&a.hasAttr("alt")},"is-on-screen-evaluate":function(e){return Ir(e,!1)&&!Or(e)},"non-empty-if-present-evaluate":function(e,t,a){var r=a.props.nodeName,n=(a.attr("type")||"").toLowerCase();return(a=a.attr("value"))&&this.data({messageKey:"has-label"}),!("input"!==r||!["submit","reset"].includes(n))&&null===a},"presentational-role-evaluate":function(e,t,a){var r=ki(a),n=ti(a);if(["presentation","none"].includes(r))return this.data({role:r}),!0;if(!["presentation","none"].includes(n))return!1;var o=Xo().some((function(e){return a.hasAttr(e)}));n=ln(a),n=o&&!n?"globalAria":!o&&n?"focusable":"both";return this.data({messageKey:n,role:r}),!1},"svg-non-empty-title-evaluate":function(e,t,a){if(a.children){if(!(a=a.children.find((function(e){return"title"===e.props.nodeName}))))return this.data({messageKey:"noTitle"}),!1;try{if(""===Xr(a))return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"css-orientation-lock-evaluate":function(e,t,a,r){r=void 0===(r=(r||{}).cssom)?void 0:r;var n=void 0===(t=(t||{}).degreeThreshold)?0:t;if(r&&r.length){function o(){var e=c[u],t=(e=s[e]).root;if(!(e=e.rules.filter(d)).length)return"continue";e.forEach((function(e){e=e.cssRules,Array.from(e).forEach((function(e){var a=function(e){var t=e.selectorText;e=e.style;return!(!t||e.length<=0)&&(!!(t=e.transform||e.webkitTransform||e.msTransform||!1)&&(!!(e=t.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\\(([^)]+)\\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/))&&(!!(t=function(e,t){switch(e){case"rotate":case"rotateZ":return p(t);case"rotate3d":var a=(r=v(t.split(",").map((function(e){return e.trim()})),4))[2],r=r[3];return 0===parseInt(a)?void 0:p(r);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var a=(e=v(t,2))[0];e=e[1];return f(Math.atan2(parseFloat(e),parseFloat(a)))}return a=parseFloat(t[8]),a=Math.asin(a),a=Math.cos(a),f(Math.acos(parseFloat(t[0])/a))}(t);default:return}}(e=(t=v(e,3))[1],t=t[2]))&&(t=Math.abs(t),!(Math.abs(t-180)%180<=n)&&Math.abs(t-90)%90<=n))))}(e);a&&"HTML"!==e.selectorText.toUpperCase()&&(e=Array.from(t.querySelectorAll(e.selectorText))||[],l=l.concat(e)),i=i||a}))}))}for(var i=!1,l=[],s=r.reduce((function(e,t){var a=t.sheet,r=t.root;return e[t=(t=t.shadowId)||"topDocument"]||(e[t]={root:r,rules:[]}),a&&a.cssRules?(a=Array.from(a.cssRules),e[t].rules=e[t].rules.concat(a),e):e}),{}),u=0,c=Object.keys(s);u<c.length;u++)o();return!i||(l.length&&this.relatedNodes(l),!1)}function d(e){var t=e.type;e=e.cssText;return 4===t&&(/orientation:\\s*landscape/i.test(e)||/orientation:\\s*portrait/i.test(e))}function p(e){var t=v(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(t){var a=parseFloat(e.replace(t,""));switch(t){case"rad":return f(a);case"grad":return function(e){return(e%=400)<0&&(e+=400),Math.round(e/400*360)}(a);case"turn":return Math.round(360/(1/a));case"deg":default:return parseInt(a)}}}function f(e){return Math.round(e*(180/Math.PI))}},"meta-viewport-scale-evaluate":function(e,t,a){var r=(n=t||{}).scaleMinimum,n=(t=void 0===r?2:r,void 0!==(r=n.lowerBound)&&r);return!((r=a.attr("content")||"")&&(a=r.split(/[;,]/).reduce((function(e,t){var a=t.trim();return a?(t=v(a.split("="),2),a=t[0],t=t[1],a&&t?(a=a.toLowerCase().trim(),t=t.toLowerCase().trim(),"maximum-scale"===a&&"yes"===t&&(t=1),"maximum-scale"===a&&parseFloat(t)<0||(e[a]=t),e):e):e}),{}),!(n&&a["maximum-scale"]&&parseFloat(a["maximum-scale"])<n)&&(n||"no"!==a["user-scalable"]?(r=parseFloat(a["user-scalable"]),!n&&a["user-scalable"]&&(r||0===r)&&-1<r&&r<1?(this.data("user-scalable"),1):a["maximum-scale"]&&parseFloat(a["maximum-scale"])<t&&(this.data("maximum-scale"),1)):(this.data("user-scalable=no"),1))))},"duplicate-id-after":function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var a=Er(e);return(a=Array.from(a.querySelectorAll(\'[id="\'.concat(ha(t),\'"]\'))).filter((function(t){return t!==e}))).length&&this.relatedNodes(a),this.data(t),0===a.length},"accesskeys-after":function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var a=e.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(e.relatedNodes[0]),!1):((t[a]=e).relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))},"accesskeys-evaluate":function(e){return Ir(e,!1)&&(this.data(e.getAttribute("accesskey")),this.relatedNodes([e])),!0},"focusable-content-evaluate":function(e,t,a){var r=a.tabbableElements;return!!r&&0<r.filter((function(e){return e!==a})).length},"focusable-disabled-evaluate":function(e,t,a){var r=["BUTTON","FIELDSET","INPUT","SELECT","TEXTAREA"];return!(a=a.tabbableElements)||!a.length||(a=a.reduce((function(e,t){var a=t.actualNode;t=a.nodeName.toUpperCase();return r.includes(t)&&e.push(a),e}),[]),this.relatedNodes(a),!(!a.length||!fn())||0===a.length)},"focusable-element-evaluate":function(e,t,a){if(a.hasAttr("contenteditable")&&function e(t){return"true"===(t=t.attr("contenteditable"))||""===t||"false"!==t&&(!!(t=er(a.parent,"[contenteditable]"))&&e(t))}(a))return!0;var r=a.isFocusable,n=parseInt(a.attr("tabindex"),10);return(n=isNaN(n)?null:n)?r&&0<=n:r},"focusable-modal-open-evaluate":function(e,t,a){return!(a=a.tabbableElements.map((function(e){return e.actualNode})))||!a.length||!fn()||void this.relatedNodes(a)},"focusable-no-name-evaluate":function(e,t,a){var r=a.attr("tabindex");if(!(ln(a)&&-1<r))return!1;try{return!tl(a)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,a){var r=["BUTTON","FIELDSET","INPUT","SELECT","TEXTAREA"];return!(a=a.tabbableElements)||!a.length||(a=a.reduce((function(e,t){var a=t.actualNode;t=a.nodeName.toUpperCase();return r.includes(t)||e.push(a),e}),[]),this.relatedNodes(a),!!(0<a.length&&fn())||0===a.length)},"landmark-is-top-level-evaluate":function(e){var t=Al("landmark"),a=kr(e),r=ki(e);for(this.data({role:r});a;){var n=a.getAttribute("role");if((n=n||"FORM"===a.nodeName.toUpperCase()?n:Ei(a))&&t.includes(n)&&("main"!==n||"complementary"!==r))return!1;a=kr(a)}return!0},"no-focusable-content-evaluate":function(e,t,a){if(a.children)try{return!a.children.some((function e(t){if(ln(t))return!0;if(t.children)return t.children.some(e);if(1===t.props.nodeType)throw new Error("Cannot determine children");return!1}))}catch(e){return}},"tabindex-evaluate":function(e,t,a){return a=parseInt(a.attr("tabindex"),10),!!isNaN(a)||a<=0},"alt-space-value-evaluate":function(e,t,a){return"string"==typeof(a=a.attr("alt"))&&/^\\s+$/.test(a)},"duplicate-img-label-evaluate":function(e,t,a){return!["none","presentation"].includes(ki(a))&&!!(t=er(a,t.parentSelector))&&""!==(t=Xr(t,!0).toLowerCase())&&t===tl(a).toLowerCase()},"explicit-evaluate":function(e,t,a){if(a.attr("id")){if(!a.actualNode)return;var r=Er(a.actualNode);a=ha(a.attr("id"));if((a=Array.from(r.querySelectorAll(\'label[for="\'.concat(a,\'"]\')))).length)try{return a.some((function(e){return!Ir(e)||!!al(e)}))}catch(e){return}}return!1},"help-same-as-label-evaluate":function(e,t,a){var r=ml(a);a=e.getAttribute("title");return!!r&&(a||(a="",e.getAttribute("aria-describedby")&&(a=Kr(e,"aria-describedby").map((function(e){return e?al(e):""})).join(""))),$r(a)===$r(r))},"hidden-explicit-label-evaluate":function(e,t,a){if(a.hasAttr("id")){if(!a.actualNode)return;var r,n=Er(e);e=ha(e.getAttribute("id"));if((e=n.querySelector(\'label[for="\'.concat(e,\'"]\')))&&!Ir(e,!0)){try{r=tl(a).trim()}catch(e){return}return""===r}}return!1},"implicit-evaluate":function(e,t,a){try{var r=er(a,"label");return!!r&&!!tl(r,{inControlContext:!0})}catch(e){return}},"label-content-name-mismatch-evaluate":function(e,t,a){var r=(t=t||{}).pixelThreshold,n=t.occuranceThreshold;e=al(e).toLowerCase();if(!(ul(e)<1))return a=bl(a).filter((function(e){return!cl(e,r,n)})).map((function(e){return e.actualNode.nodeValue})).join(""),!(a=$r(a).toLowerCase())||(ul(a)<1?!!ks(a,e)||void 0:ks(a,e))},"multiple-label-evaluate":function(e){var t=ha(e.getAttribute("id")),a=e.parentNode,r=(r=Er(e)).documentElement||r,n=Array.from(r.querySelectorAll(\'label[for="\'.concat(t,\'"]\')));for(n.length&&(n=n.filter((function(e){return Ir(e)})));a;)"LABEL"===a.nodeName.toUpperCase()&&-1===n.indexOf(a)&&n.push(a),a=a.parentNode;return this.relatedNodes(n),1<n.length&&((1<(t=n.filter((function(e){return Ir(e,!0)}))).length||!Kr(e,"aria-labelledby").includes(t[0]))&&void 0)},"title-only-evaluate":function(e,t,a){var r=ml(a),n=Ti(a);a=a.attr("aria-describedby");return!(r||!n&&!a)},"landmark-is-unique-after":function(e){var t=[];return e.filter((function(e){var a=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return a?(a.result=!1,a.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))},"landmark-is-unique-evaluate":function(e,t,a){var r=ki(e);a=(a=tl(a))?a.toLowerCase():null;return this.data({role:r,accessibleText:a}),this.relatedNodes([e]),!0},"has-lang-evaluate":function(e,t,a){var n=void 0!==r&&Ea(r);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ts(a.attr("xml:lang"))&&!Ts(a.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return Ts(a.attr(e))}))||(this.data({messageKey:"noLang"}),!1)},"valid-lang-evaluate":function(e,t,a){var r=[];return t.attributes.forEach((function(e){var n,o,i=a.attr(e);"string"==typeof i&&(n=jn(i),o=t.value?!t.value.map(jn).includes(n):!Go(n),(""!==n&&o||""!==i&&!$r(i))&&r.push(e+\'="\'+a.attr(e)+\'"\'))})),!!r.length&&(this.data(r),!0)},"xml-lang-mismatch-evaluate":function(e,t,a){return jn(a.attr("lang"))===jn(a.attr("xml:lang"))},"dlitem-evaluate":function(e){var t=kr(e),a=t.nodeName.toUpperCase();e=ti(t);return"DIV"===a&&["presentation","none",null].includes(e)&&(a=(t=kr(t)).nodeName.toUpperCase(),e=ti(t)),"DL"===a&&!(e&&!["presentation","none","list"].includes(e))},"listitem-evaluate":function(e){var t=kr(e);if(t)return e=t.nodeName.toUpperCase(),t=(t.getAttribute("role")||"").toLowerCase(),!!["presentation","none","list"].includes(t)||(t&&ei(t)?(this.data({messageKey:"roleNotValid"}),!1):["UL","OL"].includes(e))},"only-dlitems-evaluate":function(e,t,a){var r=["definition","term","list"];return(a=a.children.reduce((function(e,t){var a=t.actualNode;return"DIV"===a.nodeName.toUpperCase()&&null===ki(a)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var a=t.actualNode,n=a.nodeName.toUpperCase();return 1===a.nodeType&&Ir(a,!0,!1)?(t=ti(a),("DT"!==n&&"DD"!==n||t)&&(r.includes(t)||e.badNodes.push(a))):3===a.nodeType&&""!==a.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0),e}),{badNodes:[],hasNonEmptyTextNode:!1})).badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,a){var r=!1,n=!1,o=!0,i=[],l=[],s=[];return a.children.forEach((function(e){var t,a,u=e.actualNode;3!==u.nodeType||""===u.nodeValue.trim()?1===u.nodeType&&Ir(u,!0,!1)&&(o=!1,t="LI"===u.nodeName.toUpperCase(),e="listitem"===(a=ki(e)),t||e||i.push(u),t&&!e&&(l.push(u),s.includes(a)||s.push(a)),e&&(n=!0)):r=!0})),r||i.length?(this.relatedNodes(i),!0):!o&&!n&&(this.relatedNodes(l),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)},"structured-dlitems-evaluate":function(e,t,a){var r=a.children;if(!r||!r.length)return!1;for(var n,o=!1,i=!1,l=0;l<r.length;l++){if((o="DT"===(n=r[l].props.nodeName.toUpperCase())||o)&&"DD"===n)return!1;"DD"===n&&(i=!0)}return o||i},"caption-evaluate":function(e,t,a){return!Lo(a,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-tested-after":function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var a=e.node.ancestry.flat(1/0).join(" > ");return t[a]=e,!0}return e=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > "),t[e]&&(t[e].result=!0),!1}))},"no-autoplay-audio-evaluate":function(e,t){if(e.duration)return t=void 0===(t=t.allowedDuration)?3:t,function(e){if(!e.currentSrc)return 0;var t=function(e){if(e=e.match(/#t=(.*)/))return v(e,2)[1].split(",").map((function(e){return(/:/.test(e)?function(e){for(var t=e.split(":"),a=0,r=1;0<t.length;)a+=r*parseInt(t.pop(),10),r*=60;return parseFloat(a)}:parseFloat)(e)}))}(e.currentSrc);return t?1!==t.length?Math.abs(t[1]-t[0]):Math.abs(e.duration-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e)<=t&&!e.hasAttribute("loop")||!!e.hasAttribute("controls");console.warn("axe.utils.preloadMedia did not load metadata")},"aria-allowed-attr-matches":function(e,t){var a=/^aria-/,r=t.attrNames;if(r.length)for(var n=0,o=r.length;n<o;n++)if(a.test(r[n]))return!0;return!1},"aria-allowed-role-matches":function(e){return null!==ti(e,{dpub:!0,fallback:!0})},"aria-form-field-name-matches":Nl=function(e,t){var a=xi(t).namingMethods;return!(a&&0!==a.length||"combobox"===ti(t)&&Lo(t,\'input:not([type="hidden"])\').length)},"aria-has-attr-matches":function(e,t){var a=/^aria-/;return t.attrNames.some((function(e){return a.test(e)}))},"aria-hidden-focus-matches":function(e){return function e(t){return!t||"true"!==t.getAttribute("aria-hidden")&&e(kr(t))}(kr(e))},"aria-required-children-matches":function(e,t){return t=ti(t,{dpub:!0}),!!Ll(t)},"aria-required-parent-matches":function(e,t){return t=ti(t),!!Bl(t)},"autocomplete-matches":function(e,t){var a=t.attr("autocomplete");if(!a||""===$r(a))return!1;var r=t.props.nodeName;return!1!==["textarea","input","select"].includes(r)&&(("input"!==r||!["submit","reset","button","hidden"].includes(t.props.type))&&(a=t.attr("aria-disabled")||"false",!t.hasAttr("disabled")&&"true"!==a.toLowerCase()&&(r=t.attr("role"),("-1"!==(a=t.attr("tabindex"))||!r||void 0!==(r=En.ariaRoles[r])&&"widget"===r.type)&&!("-1"===a&&t.actualNode&&!Ir(t.actualNode,!1)&&!Ir(t.actualNode,!0)))))},"bypass-matches":function(e,t,a){return!Ns(0,0,a)||!!e.querySelector("a[href]")},"color-contrast-matches":function(e,a){var n=(o=a.props).nodeName,o=o.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(o))return!1;if(ws(a))return!1;if(["input","select","textarea"].includes(n)){if(o=t.getComputedStyle(e),o=parseInt(o.getPropertyValue("text-indent"),10)){var i={top:(i=e.getBoundingClientRect()).top,bottom:i.bottom,left:i.left+o,right:i.right+o};if(!In(i,e))return!1}return!0}if(i=Cr(a,"label"),"label"===n||i){n=i||e;var l=i?Ma(i):a;if(n.htmlFor&&(n=(n=Er(n).getElementById(n.htmlFor))&&Ma(n))&&ws(n))return!1;if((l=Lo(l,\'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea\')[0])&&ws(l))return!1}for(var s,u=[],c=a;c;)c.props.id&&(s=vl(c).filter((function(e){return Ho(e.getAttribute("aria-labelledby")||"").includes(c.props.id)})).map((function(e){return Ma(e)})),u.push.apply(u,y(s))),c=c.parent;if(0<u.length&&u.every(ws))return!1;if(!(l=Xr(a,!1,!0))||!sl(l,{emoji:!0,nonBmp:!1,punctuations:!0}))return!1;for(var d=r.createRange(),p=a.children,f=0;f<p.length;f++){var m=p[f];3===m.actualNode.nodeType&&""!==$r(m.actualNode.nodeValue)&&d.selectNodeContents(m.actualNode)}for(var h=d.getClientRects(),g=0;g<h.length;g++)if(In(h[g],e))return!0;return!1},"data-table-large-matches":function(e){return!!Kl(e)&&(3<=(e=ri(e)).length&&3<=e[0].length&&3<=e[1].length&&3<=e[2].length)},"data-table-matches":function(e){return Kl(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim();t=\'*[id="\'.concat(ha(t),\'"]\'),t=Array.from(Er(e).querySelectorAll(t));return!Sl(e)&&t.some(ln)},"duplicate-id-aria-matches":function(e){return Sl(e)},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim();t=\'*[id="\'.concat(ha(t),\'"]\'),t=Array.from(Er(e).querySelectorAll(t));return!Sl(e)&&t.every((function(e){return!ln(e)}))},"frame-focusable-content-matches":function(e,t,a){return!a.initiator&&!a.focusable&&1<a.boundingClientRect.width*a.boundingClientRect.height},"frame-title-has-text-matches":function(e){return e=e.getAttribute("title"),!!$r(e)},"heading-matches":function(e){var t;return(t=e.hasAttribute("role")?e.getAttribute("role").split(/\\s+/i).filter(o.commons.aria.isValidRole):t)&&0<t.length?t.includes("heading"):"heading"===o.commons.aria.implicitRole(e)},"html-namespace-matches":function(e,t){return!_s(0,t)},"identical-links-same-purpose-matches":function(e,t){return!(!tl(t)||(e=ki(e))&&"link"!==e)},"inserted-into-focus-order-matches":function(e){return sn(e)},"is-initiator-matches":Ns,"label-content-name-mismatch-matches":function(e,t){var a=ki(e);return!!(a&&Al("widget").includes(a)&&Fl().includes(a)&&($r(Qo(t))||$r(rl(e)))&&$r(Xr(t)))},"label-matches":function(e,t){return"input"!==t.props.nodeName||!1===t.hasAttr("type")||(t=t.attr("type").toLowerCase(),!1===["hidden","image","button","submit","reset"].includes(t))},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!Cr(t,"article, aside, main, nav, section")},"landmark-unique-matches":function(e,t){var a,r,n,o=["article","aside","main","nav","section"].join(",");return r=(a=t).actualNode,n=Al("landmark"),!!(t=ki(r))&&("HEADER"===(r=r.nodeName.toUpperCase())||"FOOTER"===r?!Cr(a,o):"SECTION"!==r&&"FORM"!==r?0<=n.indexOf(t)||"region"===t:!!tl(a))&&Ir(e,!0)},"layout-table-matches":function(e){return!Kl(e)&&!ln(e)},"link-in-text-block-matches":function(e){var t=$r(e.textContent),a=e.getAttribute("role");return(!a||"link"===a)&&!!t&&!!Ir(e,!1)&&pn(e)},"nested-interactive-matches":function(e,t){return!!(t=ki(t))&&!!En.ariaRoles[t].childrenPresentational},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":function(e,t){var a=ti(t);return!(a&&!["none","presentation"].includes(a)&&!(yn[a]||{}).accessibleNameRequired&&!ln(t))},"no-naming-method-matches":Nl,"no-role-matches":function(e){return!e.getAttribute("role")},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),a=e.textContent.trim();return!(0===a.length||2<=(a.match(/[.!?:;](?![.!?:;])/g)||[]).length)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length},"scrollable-region-focusable-matches":function(e,t){if(0==!!Qn(e,13))return!1;var a=ti(t);if(En.ariaRoles.combobox.requiredOwned.includes(a)){if(er(t,\'[role~="combobox"]\'))return!1;if((a=t.attr("id"))&&(e=xr(e),Array.from(e.querySelectorAll(\'[aria-owns~="\'.concat(a,\'"], [aria-controls~="\').concat(a,\'"]\'))).some((function(e){return Ho(e.getAttribute("role")).includes("combobox")}))))return!1}return!!Lo(t,"*").some((function(e){return Zr(e,!0,!0)}))},"skip-link-matches":function(e){return Rn(e)&&Or(e)},"svg-namespace-matches":_s,"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-matches":function(e){var t=jn(e.getAttribute("lang"));e=jn(e.getAttribute("xml:lang"));return Go(t)&&Go(e)}},Ss=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function Ps(e){if("string"!=typeof e)return e;if(Os[e])return Os[e];if(/^\\s*function[\\s\\w]*\\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}function Is(e){var t=0<arguments.length&&void 0!==e?e:{};return Array.isArray(t)||"object"!==n(t)?{value:t}:t}function Bs(e){e&&(this.id=e.id,this.configure(e))}Bs.prototype.enabled=!0,Bs.prototype.run=function(e,t,a,r,n){var o=((t=t||{}).hasOwnProperty("enabled")?t:this).enabled,i=this.getOptions(t.options);if(o){var l;o=new Ss(this),t=Va(o,t,r,n);try{l=this.evaluate.call(t,e.actualNode,i,e,a)}catch(t){return e&&e.actualNode&&(t.errorNode=new Ua(e).toJSON()),void n(t)}t.isAsync||(o.result=l,r(o))}else r(null)},Bs.prototype.runSync=function(e,t,a){if(!(void 0===(o=(t=t||{}).enabled)?this.enabled:o))return null;var r,n=this.getOptions(t.options),o=new Ss(this);(t=Va(o,t)).async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{r=this.evaluate.call(t,e.actualNode,n,e,a)}catch(t){throw e&&e.actualNode&&(t.errorNode=new Ua(e).toJSON()),t}return o.result=r,o},Bs.prototype.configure=function(e){var t=this;e.evaluate&&!Os[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=Is(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(a){return t[a]=Ps(e[a])}))},Bs.prototype.getOptions=function(e){return this._internalCheck?br(this.options,Is(e||{})):e||this.options};var Ls=Bs,qs=function(e){this.id=e.id,this.result=yt.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function Ms(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Ft(yt.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,e.matches&&(this.matches=Ps(e.matches))}function js(e){if(e.length){var t=!1,a={};return e.forEach((function(e){var r=e.results.filter((function(e){return e}));(a[e.type]=r).length&&(t=!0)})),t?a:null}}Ms.prototype.matches=function(){return!0},Ms.prototype.gather=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a="mark_gather_start_"+this.id,r="mark_gather_end_"+this.id,n="mark_isHidden_start_"+this.id,o="mark_isHidden_end_"+this.id;t.performanceTimer&&wo.mark(a);var i=Uo(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&wo.mark(n),i=i.filter((function(e){return!no(e.actualNode)})),t.performanceTimer&&(wo.mark(o),wo.measure("rule_"+this.id+"#gather_axe.utils.isHidden",n,o))),t.performanceTimer&&(wo.mark(r),wo.measure("rule_"+this.id+"#gather",a,r)),i},Ms.prototype.runChecks=function(e,t,a,r,n,o){var i=this,l=or();this[e].forEach((function(e){var n=i._audit.checks[e.id||e],o=Xn(n,i.id,a);l.defer((function(e,a){n.run(t,o,r,e,a)}))})),l.then((function(t){t=t.filter((function(e){return e})),n({type:e,results:t})})).catch(o)},Ms.prototype.runChecksSync=function(e,t,a,r){var n=this,o=[];return this[e].forEach((function(e){var i=n._audit.checks[e.id||e];e=Xn(i,n.id,a);o.push(i.runSync(t,e,r))})),{type:e,results:o=o.filter((function(e){return e}))}},Ms.prototype.run=function(e){var t=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length?arguments[2]:void 0,n=3<arguments.length?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o,l=or(),s=new qs(this);try{o=this.gatherAndMatchNodes(e,a)}catch(r){return void n(new i({cause:r,ruleId:this.id}))}a.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(r){l.defer((function(n,o){var i=or();["any","all","none"].forEach((function(n){i.defer((function(o,i){t.runChecks(n,r,a,e,o,i)}))})),i.then((function(e){var o=js(e);o&&(o.node=new Ua(r,a),s.nodes.push(o),t.reviewOnFail&&(["any","all"].forEach((function(e){o[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),o.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),n()})).catch((function(e){return o(e)}))}))})),l.defer((function(e){return setTimeout(e,0)})),a.performanceTimer&&this._logRulePerformance(),l.then((function(){return r(s)})).catch((function(e){return n(e)}))},Ms.prototype.runSync=function(e){var t=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var r,n=new qs(this);try{r=this.gatherAndMatchNodes(e,a)}catch(r){throw new i({cause:r,ruleId:this.id})}return a.performanceTimer&&this._logGatherPerformance(r),r.forEach((function(r){var o=[];["any","all","none"].forEach((function(n){o.push(t.runChecksSync(n,r,a,e))}));var i=js(o);i&&(i.node=r.actualNode?new Ua(r,a):null,n.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach((function(e){i[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),i.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),a.performanceTimer&&this._logRulePerformance(),n},Ms.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},Ms.prototype._logGatherPerformance=function(e){vt("gather (",e.length,"):",wo.timeElapsed()+"ms"),wo.mark(this._markChecksStart)},Ms.prototype._logRulePerformance=function(){wo.mark(this._markChecksEnd),wo.mark(this._markEnd),wo.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),wo.measure("rule_"+this.id,this._markStart,this._markEnd)},Ms.prototype.gatherAndMatchNodes=function(e,t){var a=this,r="mark_matches_start_"+this.id,n="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&wo.mark(r),o=o.filter((function(t){return a.matches(t.actualNode,t,e)})),t.performanceTimer&&(wo.mark(n),wo.measure("rule_"+this.id+"#matches",r,n)),o},Ms.prototype.after=function(e,t){var a,r,n,o=dr(a=this).map((function(e){return(e=a._audit.checks[e.id||e])&&"function"==typeof e.after?e:null})).filter(Boolean),i=this.id;return o.forEach((function(a){var r,n,o=(l=e.nodes,r=a.id,n=[],l.forEach((function(e){dr(e).forEach((function(t){t.id===r&&(t.node=e.node,n.push(t))}))})),n),l=Xn(a,i,t),s=a.after(o,l);o.forEach((function(e){delete e.node,-1===s.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=(n=["any","all","none"],o=(r=e).nodes.filter((function(e){var t=0;return n.forEach((function(a){e[a]=e[a].filter((function(e){return!0!==e.filtered})),t+=e[a].length})),0<t})),o=r.pageLevel&&o.length?[o.reduce((function(e,t){if(e)return n.forEach((function(a){e[a].push.apply(e[a],t[a])})),e}))]:o),e},Ms.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("matches")&&(this.matches=Ps(e.matches)),e.impact&&(Ft(yt.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var Us=Ms,Vs=_(ft()),Hs=/\\{\\{.+?\\}\\}/g;function zs(){return t.origin||(t.location&&t.location.origin?t.location.origin:void 0)}function $s(e,t,a){for(var r=0,n=e.length;r<n;r++)t[a](e[r])}function Ws(e){w(this,Ws),this.lang="en",this.defaultConfig=e,this.standards=En,this._init(),this._defaultLocale=null}function Gs(e,t,a){return a.performanceTimer&&wo.mark("mark_rule_start_"+e.id),function(r,n){e.run(t,a,(function(e){r(e)}),(function(t){a.debug?n(t):(t=Object.assign(new qs(e),{result:yt.CANTTELL,description:"An error occured while running this rule",message:t.message,stack:t.stack,error:t,errorNode:t.errorNode}),r(t))}))}}function Ys(e,t,a){var r=e.brand,n=e.application;e=e.lang;return yt.helpUrlBase+r+"/"+(a||o.version.substring(0,o.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(e&&"en"!==e?"&lang="+encodeURIComponent(e):"")}var Ks=(E(Ws,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),a=0;a<t.length;a++){var r=t[a],n=(i=this.data.checks[r].messages).pass,o=i.fail,i=i.incomplete;e.checks[r]={pass:n,fail:o,incomplete:i}}for(var l=Object.keys(this.data.rules),s=0;s<l.length;s++){var u=l[s],c=(d=this.data.rules[u]).description,d=d.help;e.rules[u]={description:c,help:d}}for(var p=Object.keys(this.data.failureSummaries),f=0;f<p.length;f++){var m=p[f],h=this.data.failureSummaries[m].failureMessage;e.failureSummaries[m]={failureMessage:h}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t,a,r,o=Object.keys(e),i=0;i<o.length;i++){var l=o[i];if(!this.data.checks[l])throw new Error(\'Locale provided for unknown check: "\'.concat(l,\'"\'));this.data.checks[l]=(t=this.data.checks[l],a=e[l],l=r=void 0,r=a.pass,l=a.fail,"string"==typeof r&&Hs.test(r)&&(r=Vs.default.compile(r)),"string"==typeof l&&Hs.test(l)&&(l=Vs.default.compile(l)),D({},t,{messages:{pass:r||t.messages.pass,fail:l||t.messages.fail,incomplete:"object"===n(t.messages.incomplete)?D({},t.messages.incomplete,a.incomplete):a.incomplete}}))}}},{key:"_applyRuleLocale",value:function(e){for(var t,a,r=Object.keys(e),n=0;n<r.length;n++){var o=r[n];if(!this.data.rules[o])throw new Error(\'Locale provided for unknown rule: "\'.concat(o,\'"\'));this.data.rules[o]=(t=this.data.rules[o],a=e[o],o=void 0,o=a.help,a=a.description,"string"==typeof o&&Hs.test(o)&&(o=Vs.default.compile(o)),"string"==typeof a&&Hs.test(a)&&(a=Vs.default.compile(a)),D({},t,{help:o||t.help,description:a||t.description}))}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),a=0;a<t.length;a++){var r=t[a];if(!this.data.failureSummaries[r])throw new Error(\'Locale provided for unknown failureMessage: "\'.concat(r,\'"\'));this.data.failureSummaries[r]=function(e,t){return D({},e,{failureMessage:(t="string"==typeof(t=t.failureMessage)&&Hs.test(t)?Vs.default.compile(t):t)||e.failureMessage})}(this.data.failureSummaries[r],e[r])}}},{key:"applyLocale",value:function(e){var t,a;this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=(t=this.data.incompleteFallbackMessage,(a="string"==typeof(a=e.incompleteFallbackMessage)&&Hs.test(a)?Vs.default.compile(a):a)||t)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=zs();this.allowedOrigins=[];var a,r=A(e);try{for(r.s();!(a=r.n()).done;){var n=a.value;if(n===yt.allOrigins)return void(this.allowedOrigins=["*"]);n!==yt.sameOrigin?this.allowedOrigins.push(n):t&&this.allowedOrigins.push(t)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_init",value:function(){var e,t=((e=this.defaultConfig)?(t=Ha(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,t.allowedOrigins||(e=zs(),t.allowedOrigins=e?[e]:[]),t.rules=t.rules||[],t.checks=t.checks||[],t.data=D({checks:{},rules:{}},t.data),t);this.lang=t.lang||"en",this.reporter=t.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental"],this.noHtml=t.noHtml,this.allowedOrigins=t.allowedOrigins,$s(t.rules,this,"addRule"),$s(t.checks,this,"addCheck"),this.data={},this.data.checks=t.data&&t.data.checks||{},this.data.rules=t.data&&t.data.rules||{},this.data.failureSummaries=t.data&&t.data.failureSummaries||{},this.data.incompleteFallbackMessage=t.data&&t.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new Us(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===n(t)&&(this.data.checks[e.id]=t,"object"===n(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new Ls(e)}},{key:"run",value:function(e,t,a,r){this.normalizeOptions(t),o._selectCache=[];var n,i,l=(s=this.rules,n=e,i=t,s.reduce((function(e,t){return Mo(t,n,i)&&(t.preload?e.later:e.now).push(t),e}),{now:[],later:[]})),s=l.now,u=l.later,c=or();s.forEach((function(a){c.defer(Gs(a,e,t))})),l=or(),u.length&&l.defer((function(e){Po(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn\'t load preload assets: ",t),e(void 0)}))})),(s=or()).defer(c),s.defer(l),s.then((function(n){var i=n.pop();i&&i.length&&(i=i[0])&&(e=D({},e,i));var l=n[0];if(!u.length)return o._selectCache=void 0,void a(l.filter((function(e){return!!e})));var s=or();u.forEach((function(a){a=Gs(a,e,t),s.defer(a)})),s.then((function(e){o._selectCache=void 0,a(l.concat(e).filter((function(e){return!!e})))})).catch(r)})).catch(r)}},{key:"after",value:function(e,t){var a=this.rules;return e.map((function(e){var r=pr(a,"id",e.id);if(!r)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");return r.after(e,t)}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],a=[];if(this.rules.forEach((function(e){a.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),"object"===n(e.runOnly)){if(Array.isArray(e.runOnly)){var r=e.runOnly.find((function(e){return t.includes(e)})),o=e.runOnly.find((function(e){return a.includes(e)}));if(r&&o)throw new Error("runOnly cannot be both rules and tags");e.runOnly=o?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}if((o=e.runOnly).value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach((function(e){if(!a.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type \'".concat(o.type,"\'"));o.type="tag",0!==(o=o.values.filter((function(e){return!t.includes(e)}))).length&&vt("Could not find tags `"+o.join("`, `")+"`")}}return"object"===n(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!a.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,a=(o.version.match(/^[1-9][0-9]*\\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(r){e.data.rules[r.id]||(e.data.rules[r.id]={});var n=e.data.rules[r.id];("string"!=typeof n.helpUrl||t&&n.helpUrl===Ys(t,r.id,a))&&(n.helpUrl=Ys(e,r.id,a))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),Ws);function Xs(e,a){for(var n,o,i=[],l=0,s=e[a].length;l<s;l++){if("string"==typeof(n=e[a][l])){o=Array.from(r.querySelectorAll(n)),i=i.concat(o.map((function(e){return Ma(e)})));break}!n||!n.length||n instanceof t.Node?n instanceof t.Node&&(n.documentElement instanceof t.Node?i.push(e.flatTree[0]):i.push(Ma(n))):1<n.length?function(e,t,a){var n;e.frames=e.frames||[];var o=r.querySelectorAll(a.shift());e:for(var i=0,l=o.length;i<l;i++){for(var s=o[i],u=0,c=e.frames.length;u<c;u++)if(e.frames[u].node===s){e.frames[u][t].push(a);break e}n={node:s,include:[],exclude:[]},a&&n[t].push(a),e.frames.push(n)}}(e,a,n):(o=Array.from(r.querySelectorAll(n[0])),i=i.concat(o.map((function(e){return Ma(e)}))))}return i.filter((function(e){return e}))}var Js,Qs=function(e){var a=this;if(this.frames=[],this.initiator=!e||"boolean"!=typeof e.initiator||e.initiator,this.focusable=!e||"boolean"!=typeof e.focusable||e.focusable,this.boundingClientRect=e&&"object"===n(e.boundingClientRect)?e.boundingClientRect:{},this.page=!1,e=function(e){if(e&&"object"===n(e)||e instanceof t.NodeList){if(e instanceof t.Node)return{include:[e],exclude:[]};if(e.hasOwnProperty("include")||e.hasOwnProperty("exclude"))return{include:e.include&&+e.include.length?e.include:[r],exclude:e.exclude||[]};if(e.length===+e.length)return{include:e,exclude:[]}}return"string"==typeof e?{include:[e],exclude:[]}:{include:[r],exclude:[]}}(e),this.flatTree=Mn(function(e){for(var a=e.include,n=(e=e.exclude,Array.from(a).concat(Array.from(e))),o=0;o<n.length;++o){var i=n[o];if(i instanceof t.Element)return i.ownerDocument.documentElement;if(i instanceof t.Document)return i.documentElement}return r.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=Xs(this,"include"),this.exclude=Xs(this,"exclude"),Uo("frame, iframe",this).forEach((function(e){var t;so(e,a)&&(t=a.frames,e=e.actualNode,no(e)||pr(t,"node",e)||t.push({node:e,include:[],exclude:[]}))})),1===this.include.length&&this.include[0].actualNode===r.documentElement&&(this.page=!0),(e=function(e){if(0===e.include.length){if(0===e.frames.length){var t=lr.isInFrame()?"frame":"page";return new Error("No elements found for include in "+t+" Context")}e.frames.forEach((function(e,t){if(0===e.include.length)return new Error("No elements found for include in Context of frame "+t)}))}}(this))instanceof Error)throw e;Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(mo)};N(Js={},{CssSelectorParser:function(){return Zs.CssSelectorParser},doT:function(){return eu.default},emojiRegexText:function(){return tu.default},memoize:function(){return au.default}});var Zs=_(I()),eu=_(ft()),tu=_(pt()),au=_(dt()),ru=_(mt());Tl=_(ht());_(gt()),"Promise"in t||ru.default.polyfill(),"Uint32Array"in t||(t.Uint32Array=Tl.Uint32Array),t.Uint32Array&&("some"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce}));var nu,ou=function(e,t){if(e=e||function(){},t=t||o.log,!o._audit)throw new Error("No audit configured");var a=o.utils.queue(),n=[];Object.keys(o.plugins).forEach((function(e){a.defer((function(t){function a(e){n.push(e),t()}try{o.plugins[e].cleanup(t,a)}catch(e){a(e)}}))}));var i=o.utils.getFlattenedTree(r.body);o.utils.querySelectorAll(i,"iframe, frame").forEach((function(e){a.defer((function(t,a){return o.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,a)}))})),a.then((function(a){0===n.length?e(a):t(n)})).catch(t)},iu={};function lu(e){return iu.hasOwnProperty(e)}function su(e){return"string"==typeof e&&iu[e]?iu[e]:"function"==typeof e?e:nu}Rl=function(e){var t=o._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var a=e.axeVersion||e.ver;if(!/^\\d+\\.\\d+\\.\\d+(-canary)?/.test(a))throw new Error("Invalid configured version ".concat(a));var r=(u=v(a.split("-"),2))[0],n=u[1],i=(d=v(r.split(".").map(Number),3))[0],l=d[1],s=d[2],u=(c=v(o.version.split("-"),2))[0],c=(r=c[1],(d=v(u.split(".").map(Number),3))[0]),d=(u=d[1],d[2]);if(i!==c||u<l||u===l&&d<s||i===c&&l===u&&s===d&&n&&n!==r)throw new Error("Configured version ".concat(a," is not compatible with current axe version ").concat(o.version))}if(e.reporter&&("function"==typeof e.reporter||lu(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var p,f=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));f.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===f.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(p=e.standards,Object.keys(xn).forEach((function(e){p[e]&&(xn[e]=br(xn[e],p[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error(\'"*" is not allowed. Use "\'.concat(yt.allOrigins,\'" instead\'));t.setAllowedOrigins(e.allowedOrigins)}},Nl=function(e){var t=(e=e||[]).length?o._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):o._audit.rules,a=o._audit.data.rules||{};return t.map((function(e){var t=a[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags}}))};var uu=function(){qa.get("globalDocumentSet")&&(r=null),qa.get("globalWindowSet")&&(t=null),o._memoizedFns.forEach((function(e){return e.clear()})),qa.clear(),o._tree=void 0,o._selectorData=void 0,o._selectCache=void 0},cu=function(e,t,a,r){try{e=new Qs(e),o._tree=e.flatTree,o._selectorData=Ta(e.flatTree)}catch(n){return uu(),r(n)}var n=or(),i=o._audit;t.performanceTimer&&wo.auditStart(),e.frames.length&&!1!==t.iframes&&n.defer((function(a,r){hr(e,t,"rules",null,a,r)})),n.defer((function(a,r){i.run(e,t,a,r)})),n.then((function(n){try{t.performanceTimer&&wo.auditEnd();var o=mr(n.map((function(e){return{results:e}})));e.initiator&&((o=i.after(o,t)).forEach(Bo),o=o.map(ua));try{a(o,uu)}catch(n){uu(),vt(n)}}catch(n){uu(),r(n)}})).catch((function(e){uu(),r(e)}))};function du(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){o._audit.registerCommand(e)}))}t.top!==t&&(lr.subscribe("axe.start",(function(e,t,a){function n(e){e instanceof Error==0&&(e=new Error(e)),a(e)}var i=a,l=e&&e.context||{};l.hasOwnProperty("include")&&!l.include.length&&(l.include=[r]);var s=e&&e.options||{};switch(e.command){case"rules":return cu(l,s,(function(e,t){i(e),t()}),n);case"cleanup-plugin":return ou(i,n);default:if(o._audit&&o._audit.commands&&o._audit.commands[e.command])return o._audit.commands[e.command](e,a)}})),lr.subscribe("axe.ping",(function(e,t,a){a({axe:!0})}))),N=function(e){o._audit=new Ks(e)},du.prototype.run=function(){return this._run.apply(this,arguments)},du.prototype.collect=function(){return this._collect.apply(this,arguments)},du.prototype.cleanup=function(e){var t=o.utils.queue(),a=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){a._registry[e].cleanup(t)}))})),t.then(e)},du.prototype.add=function(e){this._registry[e.id]=e},I=function(e){o.plugins[e.id]=new du(e)},ft=function(){var e=o._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(xn).forEach((function(e){xn[e]=wn[e]}))},pt=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};a.reporter=a.reporter||o._audit.reporter||"v1",o._selectorData={},t instanceof xt||(t=new Yo(t));var r=Jn(e);if(!r)throw new Error("unknown rule `"+e+"`");return r=(r=Object.create(r,{excludeHidden:{value:!1}})).runSync({initiator:!0,include:[t]},a),Bo(r),ua(r),(r=pa([r])).violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=Un(e)}))})),D({},Vn(),r,{toolOptions:a})};var pu=function(){};dt=function(e,a,i){if(!o._audit)throw new Error("No audit configured");var l=!!r;if(!(u=t&&"Node"in t&&"NodeList"in t)||!l){if(!e||!e.ownerDocument)throw new Error(\'Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.\');l||(qa.set("globalDocumentSet",!0),r=e.ownerDocument),u||(qa.set("globalWindowSet",!0),t=r.defaultView)}var s,u=function(e,a,o){var i=new TypeError("axe.run arguments are invalid");if(!function(e){switch(!0){case"string"==typeof e:case Array.isArray(e):case t.Node&&e instanceof t.Node:case t.NodeList&&e instanceof t.NodeList:return 1;case"object"!==n(e):return;case void 0!==e.include:case void 0!==e.exclude:case"number"==typeof e.length:return 1;default:return}}(e)){if(void 0!==o)throw i;o=a,a=e,e=r}if("object"!==n(a)){if(void 0!==o)throw i;o=a,a={}}if("function"!=typeof o&&void 0!==o)throw i;return{context:e,options:a,callback:o||pu}}(e,a,i);e=u.context,a=u.options,i=u.callback,a.reporter=a.reporter||o._audit.reporter||"v1",a.performanceTimer&&o.utils.performanceTimer.start();var c=pu,d=pu;return"function"==typeof Promise&&i===pu&&(s=new Promise((function(e,t){c=t,d=e}))),o._running?(i(u="Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run."),c(u),s):(o._running=!0,o._runRules(e,a,(function(e,t){function r(e){o._running=!1,t();try{i(null,e)}catch(e){o.log(e)}d(e)}a.performanceTimer&&o.utils.performanceTimer.end();try{var n=su(a.reporter)(e,a,r);void 0!==n&&r(n)}catch(e){o._running=!1,t(),i(e),c(e)}}),(function(e){o._running=!1,i(e),c(e)})),s)};mt=function(e){if(o._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return o._tree=Mn(e),o._selectorData=Ta(o._tree),o._tree[0]},ht=function(e,t,a){console.warn(\'"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.\'),"function"==typeof t&&(a=t,t={}),e=$n(e,t),a(D({},Vn(),{toolOptions:t,violations:e.violations,passes:e.passes,incomplete:e.incomplete,inapplicable:e.inapplicable}))},_=function(e,t,a){"function"==typeof t&&(a=t,t={}),t.resultTypes=["violations"],e=$n(e,t),a(D({},Vn(),{toolOptions:t,violations:e.violations}))};var fu=function(e,t,a){if("function"==typeof t&&(a=t,t={}),!e||!Array.isArray(e))return a(e);a(e.map((function(e){for(var t=D({},e),a=0,r=["passes","violations","incomplete","inapplicable"];a<r.length;a++){var n=r[a];t[n]&&Array.isArray(t[n])&&(t[n]=t[n].map((function(e){return D({},e,{node:e.node.toJSON()})})))}return t})))};gt=function(e,t,a){"function"==typeof t&&(a=t,t={}),fu(e,t,(function(e){var t=Vn();a({raw:e,env:t})}))},ru=function(e,t,a){"function"==typeof t&&(a=t,t={});var r=$n(e,t);e=function(e){e.nodes.forEach((function(e){e.failureSummary=Un(e)}))};r.incomplete.forEach(e),r.violations.forEach(e),a(D({},Vn(),{toolOptions:t,violations:r.violations,passes:r.passes,incomplete:r.incomplete,inapplicable:r.inapplicable}))},Tl=function(e,t,a){"function"==typeof t&&(a=t,t={}),e=$n(e,t),a(D({},Vn(),{toolOptions:t,violations:e.violations,passes:e.passes,incomplete:e.incomplete,inapplicable:e.inapplicable}))};o.constants=yt,o.log=vt,o.AbstractVirtualNode=xt,o.SerialVirtualNode=Yo,o.VirtualNode=Ln,o._cache=qa,o._thisWillBeDeletedDoNotUse=o._thisWillBeDeletedDoNotUse||{},o._thisWillBeDeletedDoNotUse.base={Audit:Ks,CheckResult:Ss,Check:Ls,Context:Qs,RuleResult:qs,Rule:Us,metadataFunctionMap:Os},o.imports=Js,o.cleanup=ou,o.configure=Rl,o.frameMessenger=function(e){lr.updateMessenger(e)},o.getRules=Nl,o._load=N,o.plugins={},o.registerPlugin=I,o.hasReporter=lu,o.getReporter=su,o.addReporter=function(e,t,a){iu[e]=t,a&&(nu=t)},o.reset=ft,o._runRules=cu,o.runVirtualRule=pt,o.run=dt,o.setup=mt,o.teardown=uu,o.commons=bi,o.utils=Et,o.addReporter("na",ht),o.addReporter("no-passes",_),o.addReporter("rawEnv",gt),o.addReporter("raw",fu),o.addReporter("v1",ru),o.addReporter("v2",Tl,!0)}(),o._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures <area> elements of image maps have alternate text",help:"Active <area> elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element\'s role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:"Ensures aria-hidden=\'true\' is not present on the document body.",help:"aria-hidden=\'true\' must not be present on the document body"},"aria-hidden-focus":{description:"Ensures aria-hidden elements do not contain focusable elements",help:"ARIA hidden element must not contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"Use aria-roledescription on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:\'Ensures "role=text" is used on elements with no focusable descendants\',help:\'"role=text" should have no focusable descendants\'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensures <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensures buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",help:"Elements must have sufficient color contrast"},"css-orientation-lock":{description:"Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries are not used to lock display orientation"},"definition-list":{description:"Ensures <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensures <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensures each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensures every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensures every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensures every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensures headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensures table headers have discernible text",help:"Table header text must not be empty"},"focus-order-semantics":{description:"Ensures elements in the focus order have an appropriate role",help:"Elements in the focus order need a role appropriate for interactive content"},"form-field-multiple-labels":{description:"Ensures form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensures <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensures <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensures <iframe> and <frame> elements contain a unique title attribute",help:"Frames should have a unique title attribute"},"frame-title":{description:"Ensures <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensures the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Informs users about hidden content.",help:"Hidden content on the page cannot be analyzed"},"html-has-lang":{description:"Ensures every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensures the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name have a similar purpose"},"image-alt":{description:"Ensures <img> elements have alternate text or a role of none or presentation",help:"Images must have alternate text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensures input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:\'Ensures <input type="image"> elements have alternate text\',help:"Image buttons must have alternate text"},"label-content-name-mismatch":{description:"Ensures that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensures that every form element is not solely labeled using the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensures every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensures the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensures the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensures the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensures the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensures the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensures the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensures the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensures the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{help:"Ensures landmarks are unique",description:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Links can be distinguished without relying on color",help:"Links must be distinguished from surrounding text in a way that does not rely on color"},"link-name":{description:"Ensures links have discernible text",help:"Links must have discernible text"},list:{description:"Ensures that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensures <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensures <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh":{description:\'Ensures <meta http-equiv="refresh"> is not used\',help:"Timed refresh must not exist"},"meta-viewport-large":{description:\'Ensures <meta name="viewport"> can scale a significant amount\',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:\'Ensures <meta name="viewport"> does not disable text scaling and zooming\',help:"Zooming and scaling should not be disabled"},"nested-interactive":{description:"Nested interactive controls are not announced by screen readers",help:"Ensure interactive controls are not nested"},"no-autoplay-audio":{description:"Ensures <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements do not autoplay audio"},"object-alt":{description:"Ensures <object> elements have alternate text",help:"<object> elements must have alternate text"},"p-as-heading":{description:"Ensure p elements are not used to style headings",help:"Bold, italic text and font-size are not used to style p elements as a heading"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Flags elements whose role is none or presentation and which cause the role conflict resolution to trigger.",help:"Elements of role none or presentation should be flagged"},region:{description:"Ensures all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:"Ensures [role=\'img\'] elements have alternate text",help:"[role=\'img\'] elements have an alternative text"},"scope-attr-valid":{description:"Ensures the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Elements that have scrollable content must be accessible by keyboard",help:"Ensure that scrollable region has keyboard access"},"select-name":{description:"Ensures select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensures that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"svg-img-alt":{description:"Ensures svg elements with an img, graphics-document or graphics-symbol role have an accessible text",help:"svg elements with an img role have an alternative text"},tabindex:{description:"Ensures tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure that tables do not have the same summary and caption",help:"The <caption> element should not contain the same text as the summary attribute"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"td-has-header":{description:"Ensure that each non-empty data cell in a large table has one or more table headers",help:"All non-empty td element in table larger than 3 by 3 must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table using the headers refers to another cell in that table",help:"All cells in a table element that use the headers attribute must only refer to other cells of that same table"},"th-has-data-cells":{description:"Ensure that each table header in a data table refers to data cells",help:"All th elements and elements with role=columnheader/rowheader must have data cells they describe"},"valid-lang":{description:"Ensures lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensures <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"}}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)"},incomplete:{singular:"ensure aria-errormessage value `${data.values}` references an existing element",plural:"ensure aria-errormessage values `${data.values}` reference existing elements"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:"ARIA attribute cannot be used, add a role attribute or use a different element: ${data.values}",incomplete:"ARIA attribute is not well supported on the element and the text content will be used instead: ${data.values}"}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:"Required ARIA children are present",fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",ariaCurrent:\'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}\'}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers"}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"moderate",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field\'s name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data.values}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element\'s background color could not be determined due to a background image",bgGradient:"Element\'s background color could not be determined due to a background gradient",imgNode:"Element\'s background color could not be determined because element contains an image node",bgOverlap:"Element\'s background color could not be determined because it is overlapped by another element",fgAlpha:"Element\'s foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element\'s background color could not be determined because it\'s partially obscured by another element",elmPartiallyObscuring:"Element\'s background color could not be determined because it partially overlaps other elements",outsideViewport:"Element\'s background color could not be determined because it\'s outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element\'s background color could not be determined due to a pseudo element"}}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:"Links need to be distinguished from surrounding text in some way other than by color",incomplete:{default:"Unable to determine contrast ratio",bgContrast:"Element\'s contrast ratio could not be determined. Check for a distinct hover/focus style",bgImage:"Element\'s contrast ratio could not be determined due to a background image",bgGradient:"Element\'s contrast ratio could not be determined due to a background gradient",imgNode:"Element\'s contrast ratio could not be determined because element contains an image node",bgOverlap:"Element\'s contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"the autocomplete value is on an appropriate element",fail:"the autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted"}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"moderate",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"moderate",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",fail:"Focusable content should have tabindex=\'-1\' or be removed from the DOM"}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Form element has an explicit <label>",fail:"Form element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Form element has an implicit (wrapped) <label>",fail:"Form element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped} <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it\'s accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:\'List item has a <ul>, <ol> or role="list" parent element\',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:\'List item does not have a <ul>, <ol> parent element without a role, or a role="list"\'}}},"only-dlitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <dt> or <dd> elements",fail:"List element has direct children that are not allowed inside <dt> or <dd> elements"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:{default:"List element has direct children that are not allowed inside <li> elements",roleNotValid:"List element has direct children with a role that is not allowed: ${data.roles}"}}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions is available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled p elements"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element\'s title attribute is unique",fail:"Element\'s title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with \'!important\' that affect text spacing has been specified",fail:{singular:"Remove \'!important\' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove \'!important\' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:\'Element\\\'s default semantics were overriden with role="${data.role}"\',fail:{default:\'Element\\\'s default semantics were not overridden with role="none" or role="presentation"\',globalAria:"Element\'s role is not presentational because it has a global ARIA attribute",focusable:"Element\'s role is not presentational because it is focusable",both:"Element\'s role is not presentational because it has a global ARIA attribute and is focusable"}}},"role-none":{impact:"minor",messages:{pass:\'Element\\\'s default semantics were overriden with role="none"\',fail:\'Element\\\'s default semantics were not overridden with role="none"\'}},"role-presentation":{impact:"minor",messages:{pass:\'Element\\\'s default semantics were overriden with role="presentation"\',fail:\'Element\\\'s default semantics were not overridden with role="presentation"\'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be \'row\' or \'col\'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other cells in the table",incomplete:"The headers attribute is empty",fail:"The headers attribute is not exclusively used to refer to other cells in the table"}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",a=e;if(a)for(var r=-1,n=a.length-1;r<n;)t+="\\n "+a[r+=1].split("\\n").join("\\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",a=e;if(a)for(var r=-1,n=a.length-1;r<n;)t+="\\n "+a[r+=1].split("\\n").join("\\n ");return t}}},incompleteFallbackMessage:{}},rules:[{id:"accesskeys",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag111","wcag244","wcag412","section508","section508.22.a","ACT"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-allowed-attr"],none:["aria-unsupported-attr",{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-allowed-role",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-command-name",selector:\'[role="link"], [role="button"], [role="menuitem"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-dialog-name",selector:\'[role="dialog"], [role="alertdialog"]\',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",selector:\'[aria-hidden="true"]\',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","wcag131"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",selector:\'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","ACT"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",selector:\'[role="meter"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",selector:\'[role="progressbar"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-required-attr",selector:"[role]",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412"],all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:[],none:["fallbackrole","invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",selector:\'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","ACT"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",selector:\'[role="tooltip"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",selector:\'[role="treeitem"]\',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage"],any:[],none:[]},{id:"aria-valid-attr",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","section508","section508.22.a"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135"],all:["autocomplete-valid","autocomplete-appropriate"],any:[],none:[]},{id:"avoid-inline-spacing",selector:"[style]",tags:["cat.structure","wcag21aa","wcag1412"],all:[{options:{cssProperties:["line-height","letter-spacing","word-spacing"]},id:"avoid-inline-spacing"}],any:[],none:[]},{id:"blink",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","ACT"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"bypass",selector:"html",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},shadowOutlineEmMax:.1},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",selector:"html",tags:["cat.structure","wcag134","wcag21aa","experimental"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:[],none:["structured-dlitems","only-dlitems"]},{id:"dlitem",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:["dlitem"],none:[]},{id:"document-title",selector:"html",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","ACT"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",selector:\'h1, h2, h3, h4, h5, h6, [role="heading"]\',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],impact:"minor",all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",selector:\'th, [role="rowheader"], [role="columnheader"]\',tags:["wcag131","cat.aria"],reviewOnFail:!0,all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",selector:"html",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",selector:"html, frame, iframe",tags:["cat.structure","review-item","best-practice"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:["unique-frame-title"]},{id:"frame-title",selector:"frame, iframe",tags:["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",selector:"*",excludeHidden:!1,tags:["cat.structure","experimental","review-item","best-practice"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",selector:"html",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","ACT"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",selector:"html[lang], html[xml\\\\:lang]",tags:["cat.language","wcag2a","wcag311","ACT"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",selector:"html[lang][xml\\\\:lang]",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","ACT"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",selector:\'a[href], area[href], [role="link"]\',excludeHidden:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249","best-practice"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",selector:\'input[type="button"], input[type="submit"], input[type="reset"]\',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"input-image-alt",selector:\'input[type="image"]\',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"label-content-name-mismatch",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","experimental"],all:[],any:[{options:{pixelThreshold:.1,occuranceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","wcag131","section508","section508.22.n","ACT"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["help-same-as-label","hidden-explicit-label"]},{id:"landmark-banner-is-top-level",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",nativeScopeFilter:"article, aside, main, nav, section"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",nativeScopeFilter:"article, aside, main, nav, section"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role=\'main\']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role=\'main\']"},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","experimental","wcag2a","wcag141"],all:["link-in-text-block"],any:[],none:[]},{id:"link-name",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a","ACT"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:[],none:["only-listitems"]},{id:"listitem",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:["listitem"],none:[]},{id:"marquee",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh",selector:\'meta[http-equiv="refresh"]\',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"],all:[],any:["meta-refresh"],none:[]},{id:"meta-viewport-large",selector:\'meta[name="viewport"]\',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",selector:\'meta[name="viewport"]\',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice","ACT"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",tags:["cat.time-and-media","wcag2a","wcag142","experimental"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",selector:"object",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}]},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]"},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",matches:"has-implicit-chromium-role-matches",selector:\'[role="none"], [role="presentation"]\',tags:["cat.aria","best-practice"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",selector:"body *",tags:["cat.keyboard","best-practice"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg, iframe"},id:"region"}],none:[]},{id:"role-img-alt",selector:"[role=\'img\']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",selector:"select",tags:["cat.forms","wcag2a","wcag412","wcag131","section508","section508.22.n","ACT"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["help-same-as-label","hidden-explicit-label"]},{id:"server-side-image-map",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"],all:[],any:[],none:["exists"]},{id:"skip-link",selector:\'a[href^="#"], a[href^="/#"]\',matches:"skip-link-matches",tags:["cat.keyboard","best-practice"],all:[],any:["skip-link"],none:[]},{id:"svg-img-alt",selector:\'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]\',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",selector:"table",tags:["cat.tables","best-practice"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g"],all:["caption-faked"],any:[],none:[]},{id:"td-has-header",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",selector:"table",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",selector:"[lang], [xml\\\\:lang]",matches:"not-html-matches",tags:["cat.language","wcag2aa","wcag312"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",selector:"video",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate"},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},shadowOutlineEmMax:.1}},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate"},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate"},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate"},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]"}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role=\'main\']"}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",nativeScopeFilter:"article, aside, main, nav, section"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",nativeScopeFilter:"article, aside, main, nav, section"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role=\'main\']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate",enabled:!1},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occuranceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"only-dlitems-evaluate"},{id:"only-listitems",evaluate:"only-listitems-evaluate"},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate"},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}]}},{id:"region",evaluate:"region-evaluate",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg, iframe"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this);'
402
+ ;const source='/*! axe v4.3.5\n * Copyright (c) 2021 Deque Systems, Inc.\n *\n * Your use of this Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/.\n *\n * This entire copyright notice must appear in every copy of this file you\n * distribute or in any file that contains substantial portions of this source\n * code.\n */\n!function e(t){var a=t,r=t.document;function n(e){return(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})(e)}var o=o||{};function i(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}o.version="4.3.5","function"==typeof define&&define.amd&&define("axe-core",[],(function(){return o})),"object"===("undefined"==typeof module?"undefined":n(module))&&module.exports&&"function"==typeof e.toString&&(o.source="("+e.toString()+\')(typeof window === "object" ? window : this);\',module.exports=o),"function"==typeof t.getComputedStyle&&(t.axe=o),(i.prototype=Object.create(Error.prototype)).constructor=i;var l=["node"],s=["node"],u=["variant"],c=["matches"],d=["chromium"],p=["noImplicit"],f=["noPresentational"],m=["nodes"],h=["node"],g=["relatedNodes"],b=["environmentData"],y=["environmentData"],v=["node"],w=["environmentData"],D=["environmentData"],x=["environmentData"];function E(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,r=k(e);return a=t?(a=k(this).constructor,Reflect.construct(r,arguments,a)):r.apply(this,arguments),r=this,!(a=a)||"object"!==n(a)&&"function"!=typeof a?F(r):a}}function F(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R(e,t){if(null==e)return{};var a,r=function(e,t){if(null==e)return{};var a,r,n={},o=Object.keys(e);for(r=0;r<o.length;r++)a=o[r],0<=t.indexOf(a)||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(e),o=0;o<n.length;o++)a=n[o],0<=t.indexOf(a)||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a]);return r}function N(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||B(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,o=[],i=!0,l=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(l)throw n}}return o}}(e,t)||B(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a,r=arguments[t];for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t,a){return t&&S(e.prototype,t),a&&S(e,a),e}function P(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=B(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var r=0;return{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,i=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return o=e.done,e},e:function(e){i=!0,n=e},f:function(){try{o||null==a.return||a.return()}finally{if(i)throw n}}}}function B(e,t){if(e){if("string"==typeof e)return L(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(a="Object"===a&&e.constructor?e.constructor.name:a)||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?L(e,t):void 0}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function n(e){return(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})(e)}!function(){function e(e){return S(e,"__esModule",{value:!0})}function A(t,a,r){if(e(t),"object"===n(a)||"function"==typeof a){var o,i=P(M(a));try{for(i.s();!(o=i.n()).done;)!function(){var e=o.value;L.call(t,e)||"default"===e||S(t,e,{get:function(){return a[e]},enumerable:!(r=q(a,e))||r.enumerable})}()}catch(e){i.e(e)}finally{i.f()}}return t}var k=Object.create,S=Object.defineProperty,B=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,M=Object.getOwnPropertyNames,q=Object.getOwnPropertyDescriptor,j=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},U=function(t,a){for(var r in e(t),a)S(t,r,{get:a[r],enumerable:!0})},V=function(e){return e&&e.__esModule?e:A(S(k(B(e)),"default",{value:e,enumerable:!0}),e)},H=j((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"0"<=e&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return"a"<=e&&e<="f"||"A"<=e&&e<="F"||"0"<=e&&e<="9"},e.escapeIdentifier=function(t){for(var a=t.length,r="",n=0;n<a;){var o=t.charAt(n);if(e.identSpecialChars[o])r+="\\\\"+o;else if("_"===o||"-"===o||"A"<=o&&o<="Z"||"a"<=o&&o<="z"||0!==n&&"0"<=o&&o<="9")r+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){if(o=t.charCodeAt(n++),55296!=(64512&i)||56320!=(64512&o))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&o)+65536}r+="\\\\"+i.toString(16)+" "}n++}return r},e.escapeStr=function(t){for(var a,r=t.length,n="",o=0;o<r;){var i=t.charAt(o);\'"\'===i?i=\'\\\\"\':"\\\\"===i?i="\\\\\\\\":void 0!==(a=e.strReplacementsRev[i])&&(i=a),n+=i,o++}return\'"\'+n+\'"\'},e.identSpecialChars={"!":!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},e.strReplacementsRev={"\\n":"\\\\n","\\r":"\\\\r","\\t":"\\\\t","\\f":"\\\\f","\\v":"\\\\v"},e.singleQuoteEscapeChars={n:"\\n",r:"\\r",t:"\\t",f:"\\f","\\\\":"\\\\","\'":"\'"},e.doubleQuotesEscapeChars={n:"\\n",r:"\\r",t:"\\t",f:"\\f","\\\\":"\\\\",\'"\':\'"\'}})),z=j((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=H();e.parseCssSelector=function(e,a,r,n,o,i){var l=e.length,s="";function u(r,n){var o="";for(a++,s=e.charAt(a);a<l;){if(s===r)return a++,o;var i;if("\\\\"===s)if(a++,(s=e.charAt(a))===r)o+=r;else if(void 0!==(i=n[s]))o+=i;else{if(t.isHex(s)){var u=s;for(a++,s=e.charAt(a);t.isHex(s);)u+=s,a++,s=e.charAt(a);" "===s&&(a++,s=e.charAt(a)),o+=String.fromCharCode(parseInt(u,16));continue}o+=s}else o+=s;a++,s=e.charAt(a)}return o}function c(){var r="";for(s=e.charAt(a);a<l;){if(t.isIdent(s))r+=s;else{if("\\\\"!==s)return r;if(l<=++a)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(a),t.identSpecialChars[s])r+=s;else{if(t.isHex(s)){var n=s;for(a++,s=e.charAt(a);t.isHex(s);)n+=s,a++,s=e.charAt(a);" "===s&&(a++,s=e.charAt(a)),r+=String.fromCharCode(parseInt(n,16));continue}r+=s}}a++,s=e.charAt(a)}return r}function d(){s=e.charAt(a);for(var t=!1;" "===s||"\\t"===s||"\\n"===s||"\\r"===s||"\\f"===s;)t=!0,a++,s=e.charAt(a);return t}function p(){var t=f();if(!t)return null;var r=t;for(s=e.charAt(a);","===s;){if(a++,d(),"selectors"!==r.type&&(r={type:"selectors",selectors:[t]}),!(t=f()))throw Error(\'Rule expected after ",".\');r.selectors.push(t)}return r}function f(){d();var t={type:"ruleSet"},r=m();if(!r)return null;for(var n=t;r&&(r.type="rule",n.rule=r,n=r,d(),s=e.charAt(a),!(l<=a||","===s||")"===s));)if(o[s]){var i=s;if(a++,d(),!(r=m()))throw Error(\'Rule expected after "\'+i+\'".\');r.nestingOperator=i}else(r=m())&&(r.nestingOperator=null);return t}function m(){for(var o=null;a<l;)if("*"===(s=e.charAt(a)))a++,(o=o||{}).tagName="*";else if(t.isIdentStart(s)||"\\\\"===s)(o=o||{}).tagName=c();else if("."===s)a++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===s)a++,(o=o||{}).id=c();else if("["===s){a++,d();var f={name:c()};if(d(),"]"===s)a++;else{var m="";if(n[s]&&(m=s,a++,s=e.charAt(a)),l<=a)throw Error(\'Expected "=" but end of file reached.\');if("="!==s)throw Error(\'Expected "=" but "\'+s+\'" found.\');f.operator=m+"=",a++,d();var h="";if(f.valueType="string",\'"\'===s)h=u(\'"\',t.doubleQuotesEscapeChars);else if("\'"===s)h=u("\'",t.singleQuoteEscapeChars);else if(i&&"$"===s)a++,h=c(),f.valueType="substitute";else{for(;a<l&&"]"!==s;)h+=s,a++,s=e.charAt(a);h=h.trim()}if(d(),l<=a)throw Error(\'Expected "]" but end of file reached.\');if("]"!==s)throw Error(\'Expected "]" but "\'+s+\'" found.\');a++,f.value=h}((o=o||{}).attrs=o.attrs||[]).push(f)}else{if(":"!==s)break;if(a++,f={name:m=c()},"("===s){a++;var g="";if(d(),"selector"===r[m])f.valueType="selector",g=p();else{if(f.valueType=r[m]||"string",\'"\'===s)g=u(\'"\',t.doubleQuotesEscapeChars);else if("\'"===s)g=u("\'",t.singleQuoteEscapeChars);else if(i&&"$"===s)a++,g=c(),f.valueType="substitute";else{for(;a<l&&")"!==s;)g+=s,a++,s=e.charAt(a);g=g.trim()}d()}if(l<=a)throw Error(\'Expected ")" but end of file reached.\');if(")"!==s)throw Error(\'Expected ")" but "\'+s+\'" found.\');a++,f.value=g}((o=o||{}).pseudos=o.pseudos||[]).push(f)}return o}return function(){var t=p();if(a<l)throw Error(\'Rule expected but "\'+e.charAt(a)+\'" found.\');return t}()}})),$=j((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=H();e.renderEntity=function e(a){var r="";switch(a.type){case"ruleSet":for(var n=a.rule,o=[];n;)n.nestingOperator&&o.push(n.nestingOperator),o.push(e(n)),n=n.rule;r=o.join(" ");break;case"selectors":r=a.selectors.map(e).join(", ");break;case"rule":a.tagName&&(r="*"===a.tagName?"*":t.escapeIdentifier(a.tagName)),a.id&&(r+="#"+t.escapeIdentifier(a.id)),a.classNames&&(r+=a.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),a.attrs&&(r+=a.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),a.pseudos&&(r+=a.pseudos.map((function(a){return a.valueType?"selector"===a.valueType?":"+t.escapeIdentifier(a.name)+"("+e(a.value)+")":"substitute"===a.valueType?":"+t.escapeIdentifier(a.name)+"($"+a.value+")":"numeric"===a.valueType?":"+t.escapeIdentifier(a.name)+"("+a.value+")":":"+t.escapeIdentifier(a.name)+"("+t.escapeIdentifier(a.value)+")":":"+t.escapeIdentifier(a.name)})).join(""));break;default:throw Error(\'Unknown entity type: "\'+a.type+\'".\')}return r}})),W=j((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=z(),a=$(),r=(n.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.pseudos[n]="selector"}return this},n.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.pseudos[n]}return this},n.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.pseudos[n]="numeric"}return this},n.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.pseudos[n]}return this},n.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.ruleNestingOperators[n]=!0}return this},n.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.ruleNestingOperators[n]}return this},n.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];this.attrEqualityMods[n]=!0}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a=0,r=e;a<r.length;a++){var n=r[a];delete this.attrEqualityMods[n]}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},n.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(e){return a.renderEntity(e).trim()},n);function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}e.CssSelectorParser=r})),G=j((function(e,t){"use strict";t.exports=function(){}})),Y=j((function(e,t){"use strict";var a=G()();t.exports=function(e){return e!==a&&null!==e}})),K=j((function(e,t){"use strict";var a=Y(),r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,(function(e){a(e)&&function(e,t){for(var a in e)t[a]=e[a]}(Object(e),t)})),t}})),X=j((function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}})),J=j((function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:0<e?1:-1}})),Q=j((function(e,t){"use strict";t.exports=X()()?Math.sign:J()})),Z=j((function(e,t){"use strict";var a=Q(),r=Math.abs,n=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?a(e)*n(r(e)):e}})),ee=j((function(e,t){"use strict";var a=Z(),r=Math.max;t.exports=function(e){return r(0,a(e))}})),te=j((function(e,t){"use strict";var a=ee();t.exports=function(e,t,r){return isNaN(e)?0<=t?r&&t?t-1:t:1:!1!==e&&a(e)}})),ae=j((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),re=j((function(e,t){"use strict";var a=Y();t.exports=function(e){if(!a(e))throw new TypeError("Cannot use null or undefined");return e}})),ne=j((function(e,t){"use strict";var a=ae(),r=re(),n=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,l=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,u){var c,d=arguments[2],p=arguments[3];return s=Object(r(s)),a(u),c=i(s),p&&c.sort("function"==typeof p?n.call(p,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,a){return l.call(s,e)?o.call(u,d,s[e],e,s,a):t}))}}})),oe=j((function(e,t){"use strict";t.exports=ne()("forEach")})),ie=j((function(){})),le=j((function(e,t){"use strict";t.exports=function(){var e=Object.assign;return"function"==typeof e&&(e(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),se=j((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),ue=j((function(e,t){"use strict";var a=Y(),r=Object.keys;t.exports=function(e){return r(a(e)?Object(e):e)}})),ce=j((function(e,t){"use strict";t.exports=se()()?Object.keys:ue()})),de=j((function(e,t){"use strict";var a=ce(),r=re(),n=Math.max;t.exports=function(e,t){var o,i,l,s=n(arguments.length,2);for(e=Object(r(e)),l=function(a){try{e[a]=t[a]}catch(a){o=o||a}},i=1;i<s;++i)a(t=arguments[i]).forEach(l);if(void 0!==o)throw o;return e}})),pe=j((function(e,t){"use strict";t.exports=le()()?Object.assign:de()})),fe=j((function(e,t){"use strict";var a=Y(),r={function:!0,object:!0};t.exports=function(e){return a(e)&&r[n(e)]||!1}})),me=j((function(e,t){"use strict";var a=pe(),r=fe(),n=Y(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),l=arguments[1];return n(e=arguments[2])||r(l)&&(e=l,l=null),n(e)&&a(i,e),n(l)&&(i.code=l),o&&o(i,t.exports),i}})),he=j((function(e,t){"use strict";var a=re(),r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var l,s=Object(a(t));if(e=Object(a(e)),o(s).forEach((function(a){try{r(e,a,n(t,a))}catch(a){l=a}})),"function"==typeof i&&i(s).forEach((function(a){try{r(e,a,n(t,a))}catch(a){l=a}})),void 0!==l)throw l;return e}})),ge=j((function(e,t){"use strict";function a(e,t){return t}var r,n,o,i,l,s=ee();try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===a.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=s(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(i=he(),l=[],o=function(e){var t,a=0;if(l[e])return l[e];for(t=[];e--;)t.push("a"+(++a).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){if(t=s(t),e.length===t)return e;t=o(t)(e);try{i(t,e)}catch(e){}return t})})),be=j((function(e,t){"use strict";t.exports=function(e){return null!=e}})),ye=j((function(e,t){"use strict";var a=be(),r={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!a(e)&&hasOwnProperty.call(r,n(e))}})),ve=j((function(e,t){"use strict";var a=ye();t.exports=function(e){if(!a(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),we=j((function(e,t){"use strict";var a=ve();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!a(e)}})),De=j((function(e,t){"use strict";var a=we(),r=/^\\s*class[\\s{/}]/,n=Function.prototype.toString;t.exports=function(e){return!!a(e)&&!r.test(n.call(e))}})),xe=j((function(e,t){"use strict";var a="razdwatrzy";t.exports=function(){return"function"==typeof a.contains&&!0===a.contains("dwa")&&!1===a.contains("foo")}})),Ee=j((function(e,t){"use strict";var a=String.prototype.indexOf;t.exports=function(e){return-1<a.call(this,e,arguments[1])}})),Ae=j((function(e,t){"use strict";t.exports=xe()()?String.prototype.contains:Ee()})),Ce=j((function(e,t){"use strict";var a=be(),r=De(),n=pe(),o=K(),i=Ae();(t.exports=function(e,t){var r,l,s,u;return arguments.length<2||"string"!=typeof e?(s=t,t=e,e=null):s=arguments[2],a(e)?(r=i.call(e,"c"),l=i.call(e,"e"),u=i.call(e,"w")):l=!(r=u=!0),u={value:t,configurable:r,enumerable:l,writable:u},s?n(o(s),u):u}).gs=function(e,t,l){var s,u;return"string"!=typeof e?(u=l,l=t,t=e,e=null):u=arguments[3],a(t)?r(t)?a(l)?r(l)||(u=l,l=void 0):l=void 0:(u=t,t=l=void 0):t=void 0,e=a(e)?(s=i.call(e,"c"),i.call(e,"e")):!(s=!0),e={get:t,set:l,configurable:s,enumerable:e},u?n(o(u),e):e}})),Fe=j((function(e,t){"use strict";var a=Ce(),r=ae(),o=Function.prototype.apply,i=Function.prototype.call,l=Object.create,s=Object.defineProperty,u=Object.defineProperties,c=Object.prototype.hasOwnProperty,d={configurable:!0,enumerable:!1,writable:!0},p=function(e,t){var a;return r(t),c.call(this,"__ee__")?a=this.__ee__:(a=d.value=l(null),s(this,"__ee__",d),d.value=null),a[e]?"object"===n(a[e])?a[e].push(t):a[e]=[a[e],t]:a[e]=t,this},f=function(e,t){var a,n;return r(t),p.call(n=this,e,a=function(){m.call(n,e,a),o.call(t,this,arguments)}),a.__eeOnceListener__=t,this},m=function(e,t){var a,o,i,l;if(r(t),!c.call(this,"__ee__"))return this;if(!(a=this.__ee__)[e])return this;if(o=a[e],"object"===n(o))for(l=0;i=o[l];++l)i!==t&&i.__eeOnceListener__!==t||(2===o.length?a[e]=o[l?0:1]:o.splice(l,1));else o!==t&&o.__eeOnceListener__!==t||delete a[e];return this},h=function(e){var t,a,r,l,s;if(c.call(this,"__ee__")&&(l=this.__ee__[e]))if("object"===n(l)){for(a=arguments.length,s=new Array(a-1),t=1;t<a;++t)s[t-1]=arguments[t];for(l=l.slice(),t=0;r=l[t];++t)o.call(r,this,s)}else switch(arguments.length){case 1:i.call(l,this);break;case 2:i.call(l,this,arguments[1]);break;case 3:i.call(l,this,arguments[1],arguments[2]);break;default:for(a=arguments.length,s=new Array(a-1),t=1;t<a;++t)s[t-1]=arguments[t];o.call(l,this,s)}},g={on:p,once:f,off:m,emit:h},b={on:a(p),once:a(f),off:a(m),emit:a(h)},y=u({},b);t.exports=e=function(e){return null==e?l(y):u(Object(e),b)},e.methods=g})),ke=j((function(e,t){"use strict";t.exports=function(){var e,t=Array.from;return"function"==typeof t&&(t=t(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),Re=j((function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))&&!!globalThis&&globalThis.Array===Array}})),Ne=j((function(e,a){function r(){if("object"===("undefined"==typeof self?"undefined":n(self))&&self)return self;if("object"===(void 0===t?"undefined":n(t))&&t)return t;throw new Error("Unable to resolve global `this`")}a.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),Te=j((function(e,t){"use strict";t.exports=Re()()?globalThis:Ne()})),_e=j((function(e,t){"use strict";var a=Te(),r={object:!0,symbol:!0};t.exports=function(){var e,t=a.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!r[n(t.iterator)]&&!!r[n(t.toPrimitive)]&&!!r[n(t.toStringTag)]}})),Oe=j((function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===n(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}})),Se=j((function(e,t){"use strict";var a=Oe();t.exports=function(e){if(!a(e))throw new TypeError(e+" is not a symbol");return e}})),Ie=j((function(e,t){"use strict";var a=Ce(),r=Object.create,n=Object.defineProperty,o=Object.prototype,i=r(null);t.exports=function(e){for(var t,r,l=0;i[e+(l||"")];)++l;return i[e+=l||""]=!0,n(o,t="@@"+e,a.gs(null,(function(e){r||(r=!0,n(this,t,a(e)),r=!1)}))),t}})),Pe=j((function(e,t){"use strict";var a=Ce(),r=Te().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:a("",r&&r.hasInstance||e("hasInstance")),isConcatSpreadable:a("",r&&r.isConcatSpreadable||e("isConcatSpreadable")),iterator:a("",r&&r.iterator||e("iterator")),match:a("",r&&r.match||e("match")),replace:a("",r&&r.replace||e("replace")),search:a("",r&&r.search||e("search")),species:a("",r&&r.species||e("species")),split:a("",r&&r.split||e("split")),toPrimitive:a("",r&&r.toPrimitive||e("toPrimitive")),toStringTag:a("",r&&r.toStringTag||e("toStringTag")),unscopables:a("",r&&r.unscopables||e("unscopables"))})}})),Be=j((function(e,t){"use strict";var a=Ce(),r=Se(),n=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:a((function(t){return n[t]||(n[t]=e(String(t)))})),keyFor:a((function(e){for(var t in r(e),n)if(n[t]===e)return t}))})}})),Le=j((function(e,t){"use strict";var a,r,o,i=Ce(),l=Se(),s=Te().Symbol,u=Ie(),c=Pe(),d=Be(),p=Object.create,f=Object.defineProperties,m=Object.defineProperty;if("function"==typeof s)try{String(s()),o=!0}catch(e){}else s=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return a(e)},t.exports=a=function e(t){var a;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?s(t):(a=p(r.prototype),t=void 0===t?"":String(t),f(a,{__description__:i("",t),__name__:i("",u(t))}))},c(a),d(a),f(r.prototype,{constructor:i(a),toString:i("",(function(){return this.__name__}))}),f(a.prototype,{toString:i((function(){return"Symbol ("+l(this).__description__+")"})),valueOf:i((function(){return l(this)}))}),m(a.prototype,a.toPrimitive,i("",(function(){var e=l(this);return"symbol"===n(e)?e:e.toString()}))),m(a.prototype,a.toStringTag,i("c","Symbol")),m(r.prototype,a.toStringTag,i("c",a.prototype[a.toStringTag])),m(r.prototype,a.toPrimitive,i("c",a.prototype[a.toPrimitive]))})),Me=j((function(e,t){"use strict";t.exports=_e()()?Te().Symbol:Le()})),qe=j((function(e,t){"use strict";var a=Object.prototype.toString,r=a.call(function(){return arguments}());t.exports=function(e){return a.call(e)===r}})),je=j((function(e,t){"use strict";var a=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&r(a.call(e))}})),Ue=j((function(e,t){"use strict";var a=Object.prototype.toString,r=a.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===n(e)&&(e instanceof String||a.call(e)===r)||!1}})),Ve=j((function(e,t){"use strict";var a=Me().iterator,r=qe(),n=je(),o=ee(),i=ae(),l=re(),s=Y(),u=Ue(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;t.exports=function(e){var t,m,h,g,b,y,v,w,D,x,E=arguments[1],A=arguments[2];if(e=Object(l(e)),s(E)&&i(E),this&&this!==Array&&n(this))t=this;else{if(!E){if(r(e))return 1!==(b=e.length)?Array.apply(null,e):((g=new Array(1))[0]=e[0],g);if(c(e)){for(g=new Array(b=e.length),m=0;m<b;++m)g[m]=e[m];return g}}g=[]}if(!c(e))if(void 0!==(D=e[a])){for(v=i(D).call(e),t&&(g=new t),w=v.next(),m=0;!w.done;)x=E?d.call(E,A,w.value,m):w.value,t?(p.value=x,f(g,m,p)):g[m]=x,w=v.next(),++m;b=m}else if(u(e)){for(b=e.length,t&&(g=new t),h=m=0;m<b;++m)x=e[m],m+1<b&&55296<=(y=x.charCodeAt(0))&&y<=56319&&(x+=e[++m]),x=E?d.call(E,A,x,h):x,t?(p.value=x,f(g,h,p)):g[h]=x,++h;b=h}if(void 0===b)for(b=o(e.length),t&&(g=new t(b)),m=0;m<b;++m)x=E?d.call(E,A,e[m],m):e[m],t?(p.value=x,f(g,m,p)):g[m]=x;return t&&(p.value=null,g.length=b),g}})),He=j((function(e,t){"use strict";t.exports=ke()()?Array.from:Ve()})),ze=j((function(e,t){"use strict";var a=He(),r=Array.isArray;t.exports=function(e){return r(e)?e:a(e)}})),$e=j((function(e,t){"use strict";var a=ze(),r=Y(),n=ae(),o=Array.prototype.slice,i=function(e){return this.map((function(t,a){return t?t(e[a]):e[a]})).concat(o.call(e,this.length))};t.exports=function(e){return(e=a(e)).forEach((function(e){r(e)&&n(e)})),i.bind(e)}})),We=j((function(e,t){"use strict";var a=ae();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:a(e.get)},void 0!==e.set?(t.set=a(e.set),e.delete&&(t.delete=a(e.delete)),e.clear&&(t.clear=a(e.clear))):t.set=t.get,t)}})),Ge=j((function(e,t){"use strict";var a=me(),r=ge(),n=Ce(),o=Fe().methods,i=$e(),l=We(),s=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,f=o.emit;t.exports=function(e,t,o){var m,h,g,b,y,v,w,D,x,E,A,C=c(null),F=!1!==t?t:isNaN(e.length)?1:e.length;return o.normalizer&&(v=l(o.normalizer),h=v.get,g=v.set,b=v.delete,y=v.clear),null!=o.resolvers&&(A=i(o.resolvers)),E=h?r((function(t){var r,n,o=arguments;if(A&&(o=A(o)),null!==(r=h(o))&&hasOwnProperty.call(C,r))return w&&m.emit("get",r,o,this),C[r];if(n=1===o.length?u.call(e,this,o[0]):s.call(e,this,o),null===r){if(null!==(r=h(o)))throw a("Circular invocation","CIRCULAR_INVOCATION");r=g(o)}else if(hasOwnProperty.call(C,r))throw a("Circular invocation","CIRCULAR_INVOCATION");return C[r]=n,D&&m.emit("set",r,null,n),n}),F):0===t?function(){var t;if(hasOwnProperty.call(C,"data"))return w&&m.emit("get","data",arguments,this),C.data;if(t=arguments.length?s.call(e,this,arguments):u.call(e,this),hasOwnProperty.call(C,"data"))throw a("Circular invocation","CIRCULAR_INVOCATION");return C.data=t,D&&m.emit("set","data",null,t),t}:function(t){var r,n=arguments;if(A&&(n=A(arguments)),r=String(n[0]),hasOwnProperty.call(C,r))return w&&m.emit("get",r,n,this),C[r];if(n=1===n.length?u.call(e,this,n[0]):s.call(e,this,n),hasOwnProperty.call(C,r))throw a("Circular invocation","CIRCULAR_INVOCATION");return C[r]=n,D&&m.emit("set",r,null,n),n},m={original:e,memoized:E,profileName:o.profileName,get:function(e){return A&&(e=A(e)),h?h(e):String(e[0])},has:function(e){return hasOwnProperty.call(C,e)},delete:function(e){var t;hasOwnProperty.call(C,e)&&(b&&b(e),t=C[e],delete C[e],x&&m.emit("delete",e,t))},clear:function(){var e=C;y&&y(),C=c(null),m.emit("clear",e)},on:function(e,t){return"get"===e?w=!0:"set"===e?D=!0:"delete"===e&&(x=!0),p.call(this,e,t)},emit:f,updateEnv:function(){e=m.original}},v=h?r((function(e){var t=arguments;A&&(t=A(t)),null!==(t=h(t))&&m.delete(t)}),F):0===t?function(){return m.delete("data")}:function(e){return A&&(e=A(arguments)[0]),m.delete(e)},o=r((function(){var e=arguments;return 0===t?C.data:(A&&(e=A(e)),e=h?h(e):String(e[0]),C[e])})),F=r((function(){var e=arguments;return 0===t?m.has("data"):(A&&(e=A(e)),null!==(e=h?h(e):String(e[0]))&&m.has(e))})),d(E,{__memoized__:n(!0),delete:n(v),clear:n(m.clear),_get:n(o),_has:n(F)}),m}})),Ye=j((function(e,t){"use strict";var a=ae(),r=oe(),n=ie(),o=Ge(),i=te();t.exports=function e(t){var l,s,u;if(a(t),(l=Object(arguments[1])).async&&l.promise)throw new Error("Options \'async\' and \'promise\' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!l.force?t:(s=i(l.length,t.length,l.async&&n.async),u=o(t,s,l),r(n,(function(e,t){l[t]&&e(l[t],u,l)})),e.__profiler__&&e.__profiler__(u),u.updateEnv(),u.memoized)}})),Ke=j((function(e,t){"use strict";t.exports=function(e){var t,a,r=e.length;if(!r)return"";for(t=String(e[a=0]);--r;)t+=""+e[++a];return t}})),Xe=j((function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var a=String(t[0]),r=0,n=e;--n;)a+=""+t[++r];return a}:function(){return""}}})),Je=j((function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}})),Qe=j((function(e,t){"use strict";t.exports=function(e){return e!=e}})),Ze=j((function(e,t){"use strict";t.exports=Je()()?Number.isNaN:Qe()})),et=j((function(e,t){"use strict";var a=Ze(),r=ee(),n=re(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,l=Math.abs,s=Math.floor;t.exports=function(e){var t,u,c;if(!a(e))return o.apply(this,arguments);for(u=r(n(this).length),e=arguments[1],t=e=isNaN(e)?0:0<=e?s(e):r(this.length)-s(l(e));t<u;++t)if(i.call(this,t)&&(c=this[t],a(c)))return t;return-1}})),tt=j((function(e,t){"use strict";var a=et(),r=Object.create;t.exports=function(){var e=0,t=[],n=r(null);return{get:function(e){var r,n=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;n<i-1;){if(-1===(r=a.call(o[0],e[n])))return null;o=o[1][r],++n}return-1===(r=a.call(o[0],e[n]))?null:o[1][r]||null}return null},set:function(r){var o,i=0,l=t,s=r.length;if(0===s)l[s]=++e;else{for(l[s]||(l[s]=[[],[]]),l=l[s];i<s-1;)-1===(o=a.call(l[0],r[i]))&&(o=l[0].push(r[i])-1,l[1].push([[],[]])),l=l[1][o],++i;-1===(o=a.call(l[0],r[i]))&&(o=l[0].push(r[i])-1),l[1][o]=++e}return n[e]=r,e},delete:function(e){var r,o=0,i=t,l=n[e],s=l.length,u=[];if(0===s)delete i[s];else if(i=i[s]){for(;o<s-1;){if(-1===(r=a.call(i[0],l[o])))return;u.push(i,r),i=i[1][r],++o}if(-1===(r=a.call(i[0],l[o])))return;for(e=i[1][r],i[0].splice(r,1),i[1].splice(r,1);!i[0].length&&u.length;)r=u.pop(),(i=u.pop())[0].splice(r,1),i[1].splice(r,1)}delete n[e]},clear:function(){t=[],n=r(null)}}}})),at=j((function(e,t){"use strict";var a=et();t.exports=function(){var e=0,t=[],r=[];return{get:function(e){return-1===(e=a.call(t,e[0]))?null:r[e]},set:function(a){return t.push(a[0]),r.push(++e),e},delete:function(e){-1!==(e=a.call(r,e))&&(t.splice(e,1),r.splice(e,1))},clear:function(){t=[],r=[]}}}})),rt=j((function(e,t){"use strict";var a=et(),r=Object.create;t.exports=function(e){var t=0,n=[[],[]],o=r(null);return{get:function(t){for(var r,o=0,i=n;o<e-1;){if(-1===(r=a.call(i[0],t[o])))return null;i=i[1][r],++o}return-1!==(r=a.call(i[0],t[o]))&&i[1][r]||null},set:function(r){for(var i,l=0,s=n;l<e-1;)-1===(i=a.call(s[0],r[l]))&&(i=s[0].push(r[l])-1,s[1].push([[],[]])),s=s[1][i],++l;return-1===(i=a.call(s[0],r[l]))&&(i=s[0].push(r[l])-1),s[1][i]=++t,o[t]=r,t},delete:function(t){for(var r,i=0,l=n,s=[],u=o[t];i<e-1;){if(-1===(r=a.call(l[0],u[i])))return;s.push(l,r),l=l[1][r],++i}if(-1!==(r=a.call(l[0],u[i]))){for(t=l[1][r],l[0].splice(r,1),l[1].splice(r,1);!l[0].length&&s.length;)r=s.pop(),(l=s.pop())[0].splice(r,1),l[1].splice(r,1);delete o[t]}},clear:function(){n=[[],[]],o=r(null)}}}})),nt=j((function(e,t){"use strict";var a=ae(),r=oe(),n=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return a(t),r(e,(function(e,a,r,l){o[a]=n.call(t,i,e,a,r,l)})),o}})),ot=j((function(e,t){"use strict";function a(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}function o(e){var t,n,o=r.createTextNode(""),i=0;return new e((function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(o.data=i=++i%2;n;)e=n.shift(),n.length||(n=null),e()})).observe(o,{characterData:!0}),function(e){a(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,o.data=i=++i%2)}}t.exports=function(){if("object"===("undefined"==typeof process?"undefined":n(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(a(e))};if("object"===(void 0===r?"undefined":n(r))&&r){if("function"==typeof MutationObserver)return o(MutationObserver);if("function"==typeof WebKitMutationObserver)return o(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(a(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":n(setTimeout))?function(e){setTimeout(a(e),0)}:null}()})),it=j((function(){"use strict";var e=He(),t=nt(),a=he(),r=ge(),n=ot(),o=Array.prototype.slice,i=Function.prototype.apply,l=Object.create;ie().async=function(s,u){var c,d,p,f=l(null),m=l(null),h=u.memoized,g=u.original;u.memoized=r((function(e){var t=arguments,a=t[t.length-1];return"function"==typeof a&&(c=a,t=o.call(t,0,-1)),h.apply(d=this,p=t)}),h);try{a(u.memoized,h)}catch(s){}u.on("get",(function(e){var t,a,r;if(c){if(f[e])return"function"==typeof f[e]?f[e]=[f[e],c]:f[e].push(c),void(c=null);t=c,a=d,r=p,c=d=p=null,n((function(){var n;hasOwnProperty.call(m,e)?(n=m[e],u.emit("getasync",e,r,a),i.call(t,n.context,n.args)):(c=t,d=a,p=r,h.apply(a,r))}))}})),u.original=function(){var t,a,r,o;return c?(t=e(arguments),a=function t(a){var r,l,s=t.id;if(null!=s){if(delete t.id,r=f[s],delete f[s],r)return l=e(arguments),u.has(s)&&(a?u.delete(s):(m[s]={context:this,args:l},u.emit("setasync",s,"function"==typeof r?1:r.length))),"function"==typeof r?o=i.call(r,this,l):r.forEach((function(e){o=i.call(e,this,l)}),this),o}else n(i.bind(t,this,arguments))},r=c,c=d=p=null,t.push(a),o=i.call(g,this,t),a.cb=r,c=a,o):i.call(g,this,arguments)},u.on("set",(function(e){c?(f[e]?"function"==typeof f[e]?f[e]=[f[e],c.cb]:f[e].push(c.cb):f[e]=c.cb,delete c.cb,c.id=e,c=null):u.delete(e)})),u.on("delete",(function(e){var t;hasOwnProperty.call(f,e)||m[e]&&(t=m[e],delete m[e],u.emit("deleteasync",e,o.call(t.args,1)))})),u.on("clear",(function(){var e=m;m=l(null),u.emit("clearasync",t(e,(function(e){return o.call(e.args,1)})))}))}})),lt=j((function(e,t){"use strict";var a=Array.prototype.forEach,r=Object.create;t.exports=function(e){var t=r(null);return a.call(arguments,(function(e){t[e]=!0})),t}})),st=j((function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}})),ut=j((function(e,t){"use strict";var a=st();t.exports=function(e){try{return e&&a(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),ct=j((function(e,t){"use strict";var a=re(),r=ut();t.exports=function(e){return r(a(e))}})),dt=j((function(e,t){"use strict";var a=st();t.exports=function(e){try{return e&&a(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),pt=j((function(e,t){"use strict";var a=dt(),r=/[\\n\\r\\u2028\\u2029]/g;t.exports=function(e){return(e=100<(e=a(e)).length?e.slice(0,99)+"…":e).replace(r,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),ft=j((function(e,t){function a(e){return!!e&&("object"===n(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=a,t.exports.default=a})),mt=j((function(){"use strict";var e=nt(),t=lt(),a=ct(),r=pt(),n=ft(),o=ot(),i=Object.create,l=t("then","then:finally","done","done:finally");ie().promise=function(t,s){var u=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=a(t),!l[t])throw new TypeError("\'"+r(t)+"\' is not valid promise mode");s.on("set",(function(e,a,r){var i=!1;if(!n(r))return c[e]=r,void s.emit("setasync",e,1);function l(t){var a=u[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in \'done:finally\' mode)\\nConsider to rely on \'then\' or \'done\' mode instead.");a&&(delete u[e],c[e]=t,s.emit("setasync",e,a))}function p(){i=!0,u[e]&&(delete u[e],delete d[e],s.delete(e))}u[e]=1,d[e]=r;var f=t;if("then"===(f=f||"then")){var m=function(){o(p)};"function"==typeof(r=r.then((function(e){o(l.bind(this,e))}),m)).finally&&r.finally(m)}else if("done"===f){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement \'done\' in \'done\' mode");r.done(l,p)}else if("done:finally"===f){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement \'done\' in \'done:finally\' mode");if("function"!=typeof r.finally)throw new Error("Memoizee error: Retrieved promise does not implement \'finally\' in \'done:finally\' mode");r.done(l),r.finally(p)}})),s.on("get",(function(e,t,a){var r,i;u[e]?++u[e]:(r=d[e],i=function(){s.emit("getasync",e,t,a)},n(r)?"function"==typeof r.done?r.done(i):r.then((function(){o(i)})):i())})),s.on("delete",(function(e){var t;delete d[e],u[e]?delete u[e]:hasOwnProperty.call(c,e)&&(t=c[e],delete c[e],s.emit("deleteasync",e,[t]))})),s.on("clear",(function(){var t=c;c=i(null),u=i(null),d=i(null),s.emit("clearasync",e(t,(function(e){return[e]})))}))}})),ht=j((function(){"use strict";var e=ae(),t=oe(),a=ie(),r=Function.prototype.apply;a.dispose=function(n,o,i){var l;if(e(n),i.async&&a.async||i.promise&&a.promise)return o.on("deleteasync",l=function(e,t){r.call(n,null,t)}),void o.on("clearasync",(function(e){t(e,(function(e,t){l(t,e)}))}));o.on("delete",l=function(e,t){n(t)}),o.on("clear",(function(e){t(e,(function(e,t){l(t,e)}))}))}})),gt=j((function(e,t){"use strict";t.exports=2147483647})),bt=j((function(e,t){"use strict";var a=ee(),r=gt();t.exports=function(e){if(e=a(e),r<e)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),yt=j((function(){"use strict";var e=He(),t=oe(),a=ot(),r=ft(),n=bt(),o=ie(),i=Function.prototype,l=Math.max,s=Math.min,u=Object.create;o.maxAge=function(c,d,p){var f,m,h,g;(c=n(c))&&(f=u(null),m=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+m,(function(e){f[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof f[e].unref&&f[e].unref(),g&&(g[e]&&"nextTick"!==g[e]&&clearTimeout(g[e]),g[e]=setTimeout((function(){delete g[e]}),h),"function"==typeof g[e].unref&&g[e].unref())})),d.on("delete"+m,(function(e){clearTimeout(f[e]),delete f[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])})),p.preFetch&&(h=!0===p.preFetch||isNaN(p.preFetch)?.333:l(s(Number(p.preFetch),1),0))&&(g={},h=(1-h)*c,d.on("get"+m,(function(t,n,o){g[t]||(g[t]="nextTick",a((function(){var a;"nextTick"===g[t]&&(delete g[t],d.delete(t),p.async&&(n=e(n)).push(i),a=d.memoized.apply(o,n),p.promise&&r(a)&&("function"==typeof a.done?a.done(i,i):a.then(i,i)))})))}))),d.on("clear"+m,(function(){t(f,(function(e){clearTimeout(e)})),f={},g&&(t(g,(function(e){"nextTick"!==e&&clearTimeout(e)})),g={})})))}})),vt=j((function(e,t){"use strict";var a=ee(),r=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,l=r(null),s=r(null),u=0;return e=a(e),{hit:function(a){var r=s[a],c=++u;if(l[c]=a,s[a]=c,!r)return++o<=e?void 0:(a=l[i],t(a),a);if(delete l[r],i===r)for(;!n.call(l,++i););},delete:t=function(e){var t=s[e];if(t&&(delete l[t],delete s[e],--o,i===t)){if(!o)return u=0,void(i=1);for(;!n.call(l,++i););}},clear:function(){o=0,i=1,l=r(null),s=r(null),u=0}}}})),wt=j((function(){"use strict";var e=ee(),t=vt(),a=ie();a.max=function(r,n,o){var i;(r=e(r))&&(i=t(r),r=o.async&&a.async||o.promise&&a.promise?"async":"",n.on("set"+r,o=function(e){void 0!==(e=i.hit(e))&&n.delete(e)}),n.on("get"+r,o),n.on("delete"+r,i.delete),n.on("clear"+r,i.clear))}})),Dt=j((function(){"use strict";var e=Ce(),t=ie(),a=Object.create,r=Object.defineProperties;t.refCounter=function(n,o,i){var l=a(null);i=i.async&&t.async||i.promise&&t.promise?"async":"";o.on("set"+i,(function(e,t){l[e]=t||1})),o.on("get"+i,(function(e){++l[e]})),o.on("delete"+i,(function(e){delete l[e]})),o.on("clear"+i,(function(){l={}})),r(o.memoized,{deleteRef:e((function(){var e=o.get(arguments);return null!==e&&l[e]?!--l[e]&&(o.delete(e),!0):null})),getRefCount:e((function(){var e=o.get(arguments);return null!==e&&l[e]||0}))})}})),xt=j((function(e,t){"use strict";var a=K(),r=te(),n=Ye();t.exports=function(e){var t,o=a(arguments[1]);return o.normalizer||0!==(t=o.length=r(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=Ke():1<t&&(o.normalizer=Xe()(t)):o.normalizer=!1===t?tt()():1===t?at()():rt()(t)),o.async&&it(),o.promise&&mt(),o.dispose&&ht(),o.maxAge&&yt(),o.max&&wt(),o.refCounter&&Dt(),n(e,o)}})),Et=j((function(e,t){"use strict";t.exports=function(){return/\\uD83C\\uDFF4\\uDB40\\uDC67\\uDB40\\uDC62(?:\\uDB40\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67|\\uDB40\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDB40\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73)\\uDB40\\uDC7F|\\uD83D\\uDC68(?:\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C\\uDFFB|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFE])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83D\\uDC68|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D[\\uDC66\\uDC67])|[\\u2695\\u2696\\u2708]\\uFE0F|\\uD83D[\\uDC66\\uDC67]|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|(?:\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708])\\uFE0F|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C[\\uDFFB-\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFB\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D\\uD83D\\uDC69)\\uD83C\\uDFFB|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])|\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1)|(?:\\uD83E\\uDDD1\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFE])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D\\uD83D\\uDC69)(?:\\uD83C[\\uDFFB\\uDFFC])|\\uD83D\\uDC69(?:\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFC-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|(?:\\uD83E\\uDDD1\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D\\uD83D\\uDC69)(?:\\uD83C[\\uDFFB-\\uDFFD])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D\\uDC41\\uFE0F\\u200D\\uD83D\\uDDE8|\\uD83D\\uDC69(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|(?:(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)\\uFE0F|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF])\\u200D[\\u2640\\u2642]|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD6-\\uDDDD])(?:(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|\\u200D[\\u2640\\u2642])|\\uD83C\\uDFF4\\u200D\\u2620)\\uFE0F|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83C\\uDFF3\\uFE0F\\u200D\\uD83C\\uDF08|\\uD83D\\uDC15\\u200D\\uD83E\\uDDBA|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67|\\uD83C\\uDDFD\\uD83C\\uDDF0|\\uD83C\\uDDF4\\uD83C\\uDDF2|\\uD83C\\uDDF6\\uD83C\\uDDE6|[#\\*0-9]\\uFE0F\\u20E3|\\uD83C\\uDDE7(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDF9(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF])|\\uD83C\\uDDEA(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA])|\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDDF7(?:\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC])|\\uD83D\\uDC69(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDDF2(?:\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF])|\\uD83C\\uDDE6(?:\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF])|\\uD83C\\uDDF0(?:\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDED(?:\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA])|\\uD83C\\uDDE9(?:\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF])|\\uD83C\\uDDFE(?:\\uD83C[\\uDDEA\\uDDF9])|\\uD83C\\uDDEC(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE])|\\uD83C\\uDDF8(?:\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF])|\\uD83C\\uDDEB(?:\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7])|\\uD83C\\uDDF5(?:\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE])|\\uD83C\\uDDFB(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA])|\\uD83C\\uDDF3(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF])|\\uD83C\\uDDE8(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF5\\uDDF7\\uDDFA-\\uDDFF])|\\uD83C\\uDDF1(?:\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE])|\\uD83C\\uDDFF(?:\\uD83C[\\uDDE6\\uDDF2\\uDDFC])|\\uD83C\\uDDFC(?:\\uD83C[\\uDDEB\\uDDF8])|\\uD83C\\uDDFA(?:\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF])|\\uD83C\\uDDEE(?:\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9])|\\uD83C\\uDDEF(?:\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5])|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u261D\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC70\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDCAA\\uDD74\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD36\\uDDB5\\uDDB6\\uDDBB\\uDDD2-\\uDDD5])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u270A\\u270B\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF93\\uDFA0-\\uDFCA\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF4\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC3E\\uDC40\\uDC42-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDD7A\\uDD95\\uDD96\\uDDA4\\uDDFB-\\uDE4F\\uDE80-\\uDEC5\\uDECC\\uDED0-\\uDED2\\uDED5\\uDEEB\\uDEEC\\uDEF4-\\uDEFA\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD71\\uDD73-\\uDD76\\uDD7A-\\uDDA2\\uDDA5-\\uDDAA\\uDDAE-\\uDDCA\\uDDCD-\\uDDFF\\uDE70-\\uDE73\\uDE78-\\uDE7A\\uDE80-\\uDE82\\uDE90-\\uDE95])|(?:[#\\*0-9\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u261D\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A1\\u26AA\\u26AB\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C5\\u26C8\\u26CE\\u26CF\\u26D1\\u26D3\\u26D4\\u26E9\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC04\\uDCCF\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE02\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF21\\uDF24-\\uDF93\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E-\\uDFF0\\uDFF3-\\uDFF5\\uDFF7-\\uDFFF]|\\uD83D[\\uDC00-\\uDCFD\\uDCFF-\\uDD3D\\uDD49-\\uDD4E\\uDD50-\\uDD67\\uDD6F\\uDD70\\uDD73-\\uDD7A\\uDD87\\uDD8A-\\uDD8D\\uDD90\\uDD95\\uDD96\\uDDA4\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA-\\uDE4F\\uDE80-\\uDEC5\\uDECB-\\uDED2\\uDED5\\uDEE0-\\uDEE5\\uDEE9\\uDEEB\\uDEEC\\uDEF0\\uDEF3-\\uDEFA\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD71\\uDD73-\\uDD76\\uDD7A-\\uDDA2\\uDDA5-\\uDDAA\\uDDAE-\\uDDCA\\uDDCD-\\uDDFF\\uDE70-\\uDE73\\uDE78-\\uDE7A\\uDE80-\\uDE82\\uDE90-\\uDE95])\\uFE0F|(?:[\\u261D\\u26F9\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2-\\uDFC4\\uDFC7\\uDFCA-\\uDFCC]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66-\\uDC78\\uDC7C\\uDC81-\\uDC83\\uDC85-\\uDC87\\uDC8F\\uDC91\\uDCAA\\uDD74\\uDD75\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE45-\\uDE47\\uDE4B-\\uDE4F\\uDEA3\\uDEB4-\\uDEB6\\uDEC0\\uDECC]|\\uD83E[\\uDD0F\\uDD18-\\uDD1F\\uDD26\\uDD30-\\uDD39\\uDD3C-\\uDD3E\\uDDB5\\uDDB6\\uDDB8\\uDDB9\\uDDBB\\uDDCD-\\uDDCF\\uDDD1-\\uDDDD])/g}})),At=j((function(e,r){!function(){"use strict";var e={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\\{\\{([\\s\\S]+?(\\}?)+)\\}\\}/g,interpolate:/\\{\\{=([\\s\\S]+?)\\}\\}/g,encode:/\\{\\{!([\\s\\S]+?)\\}\\}/g,use:/\\{\\{#([\\s\\S]+?)\\}\\}/g,useParams:/(^|[^\\w$])def(?:\\.|\\[[\\\'\\"])([\\w$\\.]+)(?:[\\\'\\"]\\])?\\s*\\:\\s*([\\w$\\.]+|\\"[^\\"]+\\"|\\\'[^\\\']+\\\'|\\{[^\\}]+\\})/g,define:/\\{\\{##\\s*([\\w\\.$]+)\\s*(\\:|=)([\\s\\S]+?)#\\}\\}/g,defineParams:/^\\s*([\\w$]+):([\\s\\S]+)/,conditional:/\\{\\{\\?(\\?)?\\s*([\\s\\S]*?)\\s*\\}\\}/g,iterate:/\\{\\{~\\s*(?:\\}\\}|([\\s\\S]+?)\\s*\\:\\s*([\\w$]+)\\s*(?:\\:\\s*([\\w$]+))?\\s*\\}\\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":n(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){t.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==t)return t;if(void 0!==a)return a;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),e.encodeHTMLSource=function(e){var t={"&":"&#38;","<":"&#60;",">":"&#62;",\'"\':"&#34;","\'":"&#39;","/":"&#47;"},a=e?/[&<>"\'\\/]/g:/&(?!#?\\w+;)|<|>|"|\'|\\//g;return function(e){return e?e.toString().replace(a,(function(e){return t[e]||e})):""}},void 0!==r&&r.exports?r.exports=e:"function"==typeof define&&define.amd?define((function(){return e})):globalThis.doT=e;var o={append:{start:"\'+(",end:")+\'",startencode:"\'+encodeHTML("},split:{start:"\';out+=(",end:");out+=\'",startencode:"\';out+=encodeHTML("}},i=/$^/;function l(e){return e.replace(/\\\\(\'|\\\\)/g,"$1").replace(/[\\r\\t\\n]/g," ")}e.template=function(t,a,r){var n,s,u=(a=a||e.templateSettings).append?o.append:o.split,c=0;t=a.use||a.define?function e(t,a,r){return("string"==typeof a?a:a.toString()).replace(t.define||i,(function(e,a,n,o){return(a=0===a.indexOf("def.")?a.substring(4):a)in r||(":"===n?(t.defineParams&&o.replace(t.defineParams,(function(e,t,n){r[a]={arg:t,text:n}})),a in r||(r[a]=o)):new Function("def","def[\'"+a+"\']="+o)(r)),""})).replace(t.use||i,(function(a,n){return t.useParams&&(n=n.replace(t.useParams,(function(e,t,a,n){if(r[a]&&r[a].arg&&n){var o=(a+":"+n).replace(/\'|\\\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[a].text.replace(new RegExp("(^|[^\\\\w$])"+r[a].arg+"([^\\\\w$])","g"),"$1"+n+"$2"),t+"def.__exp[\'"+o+"\']"}}))),(n=new Function("def","return "+n)(r))&&e(t,n,r)}))}(a,t,r||{}):t,t=("var out=\'"+(a.strip?t.replace(/(^|\\r|\\n)\\t* +| +\\t*(\\r|\\n|$)/g," ").replace(/\\r|\\n|\\t|\\/\\*[\\s\\S]*?\\*\\//g,""):t).replace(/\'|\\\\/g,"\\\\$&").replace(a.interpolate||i,(function(e,t){return u.start+l(t)+u.end})).replace(a.encode||i,(function(e,t){return n=!0,u.startencode+l(t)+u.end})).replace(a.conditional||i,(function(e,t,a){return t?a?"\';}else if("+l(a)+"){out+=\'":"\';}else{out+=\'":a?"\';if("+l(a)+"){out+=\'":"\';}out+=\'"})).replace(a.iterate||i,(function(e,t,a,r){return t?(c+=1,s=r||"i"+c,t=l(t),"\';var arr"+c+"="+t+";if(arr"+c+"){var "+a+","+s+"=-1,l"+c+"=arr"+c+".length-1;while("+s+"<l"+c+"){"+a+"=arr"+c+"["+s+"+=1];out+=\'"):"\';} } out+=\'"})).replace(a.evaluate||i,(function(e,t){return"\';"+l(t)+"out+=\'"}))+"\';return out;").replace(/\\n/g,"\\\\n").replace(/\\t/g,"\\\\t").replace(/\\r/g,"\\\\r").replace(/(\\s|;|\\}|^|\\{)out\\+=\'\';/g,"$1").replace(/\\+\'\'/g,"");n&&(a.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=e.encodeHTMLSource(a.doNotSkipEncoded)),t="var encodeHTML = typeof _encodeHTML !== \'undefined\' ? _encodeHTML : ("+e.encodeHTMLSource.toString()+"("+(a.doNotSkipEncoded||"")+"));"+t);try{return new Function(a.varname,t)}catch(a){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+t),a}},e.compile=function(t,a){return e.template(t,null,a)}}()})),Ct=j((function(e,o){var i;i=function(){"use strict";function e(e){return"function"==typeof e}var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,l=void 0,s=void 0,u=function(e,t){h[i]=e,h[i+1]=t,2===(i+=2)&&(s?s(g):D())},c=void 0!==t?t:void 0,d=(f=c||{}).MutationObserver||f.WebKitMutationObserver,p="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(g,1)}}var h=new Array(1e3);function g(){for(var e=0;e<i;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;i=0}var b,y,v,w,D=void 0;function x(e,t){var a=this,r=new this.constructor(C);void 0===r[A]&&B(r);var n,o=a._state;return o?(n=arguments[o-1],u((function(){return I(o,r,n,a._result)}))):O(a,r,e,t),r}function E(e){if(e&&"object"===n(e)&&e.constructor===this)return e;var t=new this(C);return R(t,e),t}D=p?function(){return process.nextTick(g)}:d?(y=0,v=new d(g),w=r.createTextNode(""),v.observe(w,{characterData:!0}),function(){w.data=y=++y%2}):f?((b=new MessageChannel).port1.onmessage=g,function(){return b.port2.postMessage(0)}):(void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(l=e.runOnLoop||e.runOnContext)?function(){l(g)}:m()}catch(e){return m()}}:m)();var A=Math.random().toString(36).substring(2);function C(){}var F=void 0;function k(t,a,r){var n,o;a.constructor===t.constructor&&r===x&&a.constructor.resolve===E?(n=t,1===(o=a)._state?T(n,o._result):2===o._state?_(n,o._result):O(o,void 0,(function(e){return R(n,e)}),(function(e){return _(n,e)}))):void 0!==r&&e(r)?function(e,t,a){u((function(e){var r=!1,n=function(e,t,a,r){try{e.call(t,a,r)}catch(e){return e}}(a,t,(function(a){r||(r=!0,(t!==a?R:T)(e,a))}),(function(t){r||(r=!0,_(e,t))}),e._label);!r&&n&&(r=!0,_(e,n))}),e)}(t,a,r):T(t,a)}function R(e,t){if(e===t)_(e,new TypeError("You cannot resolve a promise with itself"));else if(r=n(a=t),null===a||"object"!==r&&"function"!==r)T(e,t);else{r=void 0;try{r=t.then}catch(t){return void _(e,t)}k(e,t,r)}var a,r}function N(e){e._onerror&&e._onerror(e._result),S(e)}function T(e,t){e._state===F&&(e._result=t,e._state=1,0!==e._subscribers.length&&u(S,e))}function _(e,t){e._state===F&&(e._state=2,e._result=t,u(N,e))}function O(e,t,a,r){var n=e._subscribers,o=n.length;e._onerror=null,n[o]=t,n[o+1]=a,n[o+2]=r,0===o&&e._state&&u(S,e)}function S(e){var t=e._subscribers,a=e._state;if(0!==t.length){for(var r,n=void 0,o=e._result,i=0;i<t.length;i+=3)r=t[i],n=t[i+a],r?I(a,r,n,o):n(o);e._subscribers.length=0}}function I(t,a,r,n){var o=e(r),i=void 0,l=void 0,s=!0;if(o){try{i=r(n)}catch(t){s=!1,l=t}if(a===i)return void _(a,new TypeError("A promises callback cannot return that same promise."))}else i=n;a._state!==F||(o&&s?R(a,i):!1===s?_(a,l):1===t?T(a,i):2===t&&_(a,i))}var P=0;function B(e){e[A]=P++,e._state=void 0,e._result=void 0,e._subscribers=[]}var L=(M.prototype._enumerate=function(e){for(var t=0;this._state===F&&t<e.length;t++)this._eachEntry(e[t],t)},M.prototype._eachEntry=function(e,t){var a=this._instanceConstructor,r=a.resolve;if(r===E){var n,o=void 0,i=void 0,l=!1;try{o=e.then}catch(t){l=!0,i=t}o===x&&e._state!==F?this._settledAt(e._state,t,e._result):"function"!=typeof o?(this._remaining--,this._result[t]=e):a===q?(n=new a(C),l?_(n,i):k(n,e,o),this._willSettleAt(n,t)):this._willSettleAt(new a((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},M.prototype._settledAt=function(e,t,a){var r=this.promise;r._state===F&&(this._remaining--,2===e?_(r,a):this._result[t]=a),0===this._remaining&&T(r,this._result)},M.prototype._willSettleAt=function(e,t){var a=this;O(e,void 0,(function(e){return a._settledAt(1,t,e)}),(function(e){return a._settledAt(2,t,e)}))},M);function M(e,t){this._instanceConstructor=e,this.promise=new e(C),this.promise[A]||B(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?T(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&T(this.promise,this._result))):_(this.promise,new Error("Array Methods must be provided an Array"))}var q=(j.prototype.catch=function(e){return this.then(null,e)},j.prototype.finally=function(t){var a=this.constructor;return e(t)?this.then((function(e){return a.resolve(t()).then((function(){return e}))}),(function(e){return a.resolve(t()).then((function(){throw e}))})):this.then(t,t)},j);function j(e){this[A]=P++,this._result=this._state=void 0,this._subscribers=[],C!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof j?function(e,t){try{t((function(t){R(e,t)}),(function(t){_(e,t)}))}catch(t){_(e,t)}}(this,e):function(){throw new TypeError("Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.")}())}return q.prototype.then=x,q.all=function(e){return new L(this,e).promise},q.race=function(e){var t=this;return o(e)?new t((function(a,r){for(var n=e.length,o=0;o<n;o++)t.resolve(e[o]).then(a,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},q.resolve=E,q.reject=function(e){var t=new this(C);return _(t,e),t},q._setScheduler=function(e){s=e},q._setAsap=function(e){u=e},q._asap=u,q.polyfill=function(){var e=void 0;if(void 0!==a)e=a;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=q},q.Promise=q},"object"===n(e=e)&&void 0!==o?o.exports=i():"function"==typeof define&&define.amd?define(i):e.ES6Promise=i()})),Ft=j((function(e){var t,a,r=(t=Object.prototype.toString,a=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\\[object *|\\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return a.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}),o=Math.LN2,i=Math.abs,l=Math.floor,s=Math.log,u=Math.min,c=Math.pow,d=Math.round;function p(e){if(g&&h)for(var t=g(e),a=0;a<t.length;a+=1)h(e,t[a],{value:e[t[a]],writable:!1,enumerable:!1,configurable:!1})}var f,m,h=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),1}catch(e){return}}()?Object.defineProperty:function(e,t,a){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(a,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,a.get),r.HasProperty(a,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,a.set),r.HasProperty(a,"value")&&(e[t]=a.value),e},g=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,a=[];for(t in e)r.HasOwnProperty(e,t)&&a.push(t);return a};function b(e){if(h){if(e.length>1e5)throw new RangeError("Array too large for polyfill");for(var t=0;t<e.length;t+=1)!function(t){h(e,t,{get:function(){return e._getter(t)},set:function(a){e._setter(t,a)},enumerable:!0,configurable:!1})}(t)}}function y(e,t){return e<<(t=32-t)>>t}function v(e,t){return e<<(t=32-t)>>>t}function w(e){return[255&e]}function D(e){return y(e[0],8)}function x(e){return[255&e]}function E(e){return v(e[0],8)}function A(e){return[(e=d(Number(e)))<0?0:255<e?255:255&e]}function C(e){return[e>>8&255,255&e]}function F(e){return y(e[0]<<8|e[1],16)}function k(e){return[e>>8&255,255&e]}function R(e){return v(e[0]<<8|e[1],16)}function N(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return y(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function _(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function O(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function S(e,t,a){var r,n,d,p,f,m,h,g=(1<<t-1)-1;function b(e){var t=l(e);return(e=e-t)<.5||!(.5<e||t%2)?t:t+1}for(e!=e?(n=(1<<t)-1,d=c(2,a-1),r=0):e===1/0||e===-1/0?(n=(1<<t)-1,r=e<(d=0)?1:0):0===e?r=1/e==-1/(d=n=0)?1:0:(r=e<0,(e=i(e))>=c(2,1-g)?(n=u(l(s(e)/o),1023),2<=(d=b(e/c(2,n)*c(2,a)))/c(2,a)&&(n+=1,d=1),g<n?(n=(1<<t)-1,d=0):(n+=g,d-=c(2,a))):(n=0,d=b(e/c(2,1-g-a)))),f=[],p=a;p;--p)f.push(d%2?1:0),d=l(d/2);for(p=t;p;--p)f.push(n%2?1:0),n=l(n/2);for(f.push(r?1:0),f.reverse(),m=f.join(""),h=[];m.length;)h.push(parseInt(m.substring(0,8),2)),m=m.substring(8);return h}function I(e,t,a){for(var r,n,o,i,l,s,u=[],d=e.length;d;--d)for(n=e[d-1],r=8;r;--r)u.push(n%2?1:0),n>>=1;return u.reverse(),s=u.join(""),o=(1<<t-1)-1,i=parseInt(s.substring(0,1),2)?-1:1,l=parseInt(s.substring(1,1+t),2),s=parseInt(s.substring(1+t),2),l===(1<<t)-1?0!==s?NaN:1/0*i:0<l?i*c(2,l-o)*(1+s/c(2,a)):0!==s?i*c(2,-(o-1))*(s/c(2,a)):i<0?-0:0}function P(e){return I(e,11,52)}function B(e){return S(e,11,52)}function L(e){return I(e,8,23)}function M(e){return S(e,8,23)}function q(e,t){return r.IsCallable(e.get)?e.get(t):e[t]}function j(t){return function(a,n){if((a=r.ToUint32(a))+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");a+=this.byteOffset;for(var o=new e.Uint8Array(this.buffer,a,t.BYTES_PER_ELEMENT),i=[],l=0;l<t.BYTES_PER_ELEMENT;l+=1)i.push(q(o,l));return Boolean(n)===Boolean(f)&&i.reverse(),q(new t(new e.Uint8Array(i).buffer),0)}}function U(t){return function(a,n,o){if((a=r.ToUint32(a))+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");n=new t([n]);for(var i=new e.Uint8Array(n.buffer),l=[],s=0;s<t.BYTES_PER_ELEMENT;s+=1)l.push(q(i,s));Boolean(o)===Boolean(f)&&l.reverse(),new e.Uint8Array(this.buffer,a,t.BYTES_PER_ELEMENT).set(l)}}!function(){function t(e){if((e=r.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;p(this)}function a(){}function o(e,o,i){var l=function(e,a,o){var i,s,u,c;if(arguments.length&&"number"!=typeof e)if("object"===n(e)&&e.constructor===l)for(this.length=(i=e).length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),u=this.byteOffset=0;u<this.length;u+=1)this._setter(u,i._getter(u));else if("object"!==n(e)||e instanceof t||"ArrayBuffer"===r.Class(e)){if("object"!==n(e)||!(e instanceof t||"ArrayBuffer"===r.Class(e)))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=r.ToUint32(a),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(o),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(this.length=r.ToUint32((s=e).length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),u=this.byteOffset=0;u<this.length;u+=1)c=s[u],this._setter(u,Number(c));else{if(this.length=r.ToInt32(e),o<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=l,p(this),b(this)};return l.prototype=new a,l.prototype.BYTES_PER_ELEMENT=e,l.prototype._pack=o,l.prototype._unpack=i,l.BYTES_PER_ELEMENT=e,l.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=r.ToUint32(e))>=this.length)){for(var t=[],a=0,n=this.byteOffset+e*this.BYTES_PER_ELEMENT;a<this.BYTES_PER_ELEMENT;a+=1,n+=1)t.push(this.buffer._bytes[n]);return this._unpack(t)}},l.prototype.get=l.prototype._getter,l.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(!((e=r.ToUint32(e))>=this.length))for(var a=this._pack(t),n=0,o=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,o+=1)this.buffer._bytes[o]=a[n]},l.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var a,o,i,l,s,u,c,d,p,f;if("object"===n(e)&&e.constructor===this.constructor){if(a=e,(i=r.ToUint32(t))+a.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+i*this.BYTES_PER_ELEMENT,p=a.length*this.BYTES_PER_ELEMENT,a.buffer===this.buffer){for(f=[],s=0,u=a.byteOffset;s<p;s+=1,u+=1)f[s]=a.buffer._bytes[u];for(s=0,c=d;s<p;s+=1,c+=1)this.buffer._bytes[c]=f[s]}else for(s=0,u=a.byteOffset,c=d;s<p;s+=1,u+=1,c+=1)this.buffer._bytes[c]=a.buffer._bytes[u]}else{if("object"!==n(e)||void 0===e.length)throw new TypeError("Unexpected argument type(s)");if(l=r.ToUint32((o=e).length),(i=r.ToUint32(t))+l>this.length)throw new RangeError("Offset plus length of array is out of range");for(s=0;s<l;s+=1)u=o[s],this._setter(i+s,Number(u))}},l.prototype.subarray=function(e,t){function a(e,t,a){return e<t?t:a<e?a:e}e=r.ToInt32(e),t=r.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=a(e,0,this.length);var n=(t=a(t,0,this.length))-e;return new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,n=n<0?0:n)},l}e.ArrayBuffer=e.ArrayBuffer||t;var i=o(1,w,D),l=o(1,x,E),s=o(1,A,E),u=o(2,C,F),c=o(2,k,R),d=o(4,N,T),f=o(4,_,O),m=o(4,M,L),h=o(8,B,P);e.Int8Array=e.Int8Array||i,e.Uint8Array=e.Uint8Array||l,e.Uint8ClampedArray=e.Uint8ClampedArray||s,e.Int16Array=e.Int16Array||u,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||f,e.Float32Array=e.Float32Array||m,e.Float64Array=e.Float64Array||h}(),m=new e.Uint16Array([4660]),f=18===q(new e.Uint8Array(m.buffer),0),(m=function(t,a,n){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===r.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(a),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:r.ToUint32(n),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");p(this)}).prototype.getUint8=j(e.Uint8Array),m.prototype.getInt8=j(e.Int8Array),m.prototype.getUint16=j(e.Uint16Array),m.prototype.getInt16=j(e.Int16Array),m.prototype.getUint32=j(e.Uint32Array),m.prototype.getInt32=j(e.Int32Array),m.prototype.getFloat32=j(e.Float32Array),m.prototype.getFloat64=j(e.Float64Array),m.prototype.setUint8=U(e.Uint8Array),m.prototype.setInt8=U(e.Int8Array),m.prototype.setUint16=U(e.Uint16Array),m.prototype.setInt16=U(e.Int16Array),m.prototype.setUint32=U(e.Uint32Array),m.prototype.setInt32=U(e.Int32Array),m.prototype.setFloat32=U(e.Float32Array),m.prototype.setFloat64=U(e.Float64Array),e.DataView=e.DataView||m})),kt=j((function(e){!function(e){"use strict";var t,a,r;function o(){if(void 0===this)throw new TypeError("Constructor WeakMap requires \'new\'");if(r(this,"_id","_WeakMap_"+l()+"."+l()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function i(e,a){if(!s(e)||!t.call(e,"_id"))throw new TypeError(a+" method called on incompatible receiver "+n(e))}function l(){return Math.random().toString().substring(2)}function s(e){return Object(e)===e}e.WeakMap||(t=Object.prototype.hasOwnProperty,a=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),e.WeakMap=((r=function(e,t,r){a?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r})(o.prototype,"delete",(function(e){if(i(this,"delete"),!s(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))})),r(o.prototype,"get",(function(e){if(i(this,"get"),s(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),r(o.prototype,"has",(function(e){if(i(this,"has"),!s(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),r(o.prototype,"set",(function(e,t){if(i(this,"set"),!s(e))throw new TypeError("Invalid value used as weak map key");var a=e[this._id];return a&&a[0]===e?a[1]=t:r(e,this._id,[e,t]),this})),r(o,"_polyfill",!0),o))}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==t?t:void 0!==a?a:e)})),Rt={helpUrlBase:"https://dequeuniversity.com/rules/",results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>"};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,a=e.value,r=e.priority;e=e.group;Rt[t]=a,Rt[t+"_PRIO"]=r,Rt[t+"_GROUP"]=e,Rt.results[r]=a,Rt.resultGroups[r]=e,Rt.resultGroupMap[a]=e})),Object.freeze(Rt.results),Object.freeze(Rt.resultGroups),Object.freeze(Rt.resultGroupMap),Object.freeze(Rt);var Nt=Rt,Tt=function(){"object"===("undefined"==typeof console?"undefined":n(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},_t=/[\\t\\r\\n\\f]/g;function Ot(){O(this,Ot),this.parent=void 0}var St=(I(Ot,[{key:"props",get:function(){throw new Error(\'VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties\')}},{key:"attrNames",get:function(){throw new Error(\'VirtualNode class must have an "attrNames" property\')}},{key:"attr",value:function(){throw new Error(\'VirtualNode class must have an "attr" function\')}},{key:"hasAttr",value:function(){throw new Error(\'VirtualNode class must have a "hasAttr" function\')}},{key:"hasClass",value:function(e){var t=this.attr("class");return!!t&&(e=" "+e+" ",0<=(" "+t+" ").replace(_t," ").indexOf(e))}}]),Ot),It={};U(It,{DqElement:function(){return Qa},aggregate:function(){return fa},aggregateChecks:function(){return va},aggregateNodeResults:function(){return Da},aggregateResult:function(){return Ea},areStylesSet:function(){return Aa},assert:function(){return Lt},checkHelper:function(){return Za},clone:function(){return er},closest:function(){return dr},collectResultsFromFrames:function(){return Fr},contains:function(){return kr},convertSelector:function(){return sr},cssParser:function(){return ar},deepMerge:function(){return Rr},escapeSelector:function(){return Fa},extendMetaData:function(){return Nr},filterHtmlAttrs:function(){return ai},finalizeRuleResult:function(){return wa},findBy:function(){return Er},getAllChecks:function(){return xr},getAncestry:function(){return Wa},getBaseLang:function(){return Jn},getCheckMessage:function(){return oo},getCheckOption:function(){return io},getEnvironmentData:function(){return lo},getFlattenedTree:function(){return Xn},getFrameContexts:function(){return po},getFriendlyUriEnd:function(){return _a},getNodeAttributes:function(){return Oa},getNodeFromTree:function(){return Xa},getPreloadConfig:function(){return Ko},getRootNode:function(){return Sr},getRule:function(){return fo},getScroll:function(){return mo},getScrollState:function(){return ho},getSelector:function(){return za},getSelectorData:function(){return ja},getShadowSelector:function(){return Pa},getStandards:function(){return go},getStyleSheetFactory:function(){return yo},getXpath:function(){return Ga},injectStyle:function(){return vo},isHidden:function(){return wo},isHtmlElement:function(){return Do},isNodeInContext:function(){return Eo},isShadowRoot:function(){return _r},isValidLang:function(){return ci},isXHTML:function(){return Ia},matchAncestry:function(){return Ao},matches:function(){return cr},matchesExpression:function(){return ur},matchesSelector:function(){return Sa},memoize:function(){return Ro},mergeResults:function(){return Cr},nodeSorter:function(){return No},parseCrossOriginStylesheet:function(){return Oo},parseSameOriginStylesheet:function(){return To},parseStylesheet:function(){return _o},performanceTimer:function(){return Bo},pollyfillElementsFromPoint:function(){return Lo},preload:function(){return Xo},preloadCssom:function(){return zo},preloadMedia:function(){return Go},processMessage:function(){return no},publishMetaData:function(){return Qo},querySelectorAll:function(){return Zo},querySelectorAllFilter:function(){return Ho},queue:function(){return gr},respondable:function(){return yr},ruleShouldRun:function(){return ti},select:function(){return ri},sendCommandToFrame:function(){return Dr},setScrollState:function(){return ni},shadowSelect:function(){return oi},shouldPreload:function(){return Yo},toArray:function(){return Ca},tokenList:function(){return ii},uniqueArray:function(){return jo},uuid:function(){return oa},validInputTypes:function(){return li},validLangs:function(){return ui}});var Pt=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Bt(){var e="axeAPI",t="";return(e=void 0!==o&&o._audit&&o._audit.application?o._audit.application:e)+"."+(void 0!==o?o.version:t)}var Lt=function(e,t){if(!e)throw new Error(t)};function Mt(e){jt(e),Lt(t.parent===e,"Source of the response must be the parent window.")}function qt(e){jt(e),Lt(e.parent===t,"Respondable target must be a frame in the current window")}function jt(e){Lt(t!==e,"Messages can not be sent to the same window.")}var Ut,Vt,Ht,zt,$t={},Wt=t.crypto||t.msCrypto;!Vt&&Wt&&Wt.getRandomValues&&(Ut=new Uint8Array(16),Vt=function(){return Wt.getRandomValues(Ut),Ut});try{Vt||(Ht=require("crypto"),Vt=function(){return Ht.randomBytes(16)})}catch(M){}Vt||(zt=new Array(16),Vt=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),zt[t]=e>>>((3&t)<<3)&255;return zt});for(var Gt="function"==typeof t.Buffer?t.Buffer:Array,Yt=[],Kt={},Xt=0;Xt<256;Xt++)Yt[Xt]=(Xt+256).toString(16).substr(1),Kt[Yt[Xt]]=Xt;function Jt(e,t){return t=t||0,Yt[e[t++]]+Yt[e[t++]]+Yt[e[t++]]+Yt[e[t++]]+"-"+Yt[e[t++]]+Yt[e[t++]]+"-"+Yt[e[t++]]+Yt[e[t++]]+"-"+Yt[e[t++]]+Yt[e[t++]]+"-"+Yt[e[t++]]+Yt[e[t++]]+Yt[e[t++]]+Yt[e[t++]]+Yt[e[t++]]+Yt[e[t++]]}var Qt=Vt(),Zt=[1|Qt[0],Qt[1],Qt[2],Qt[3],Qt[4],Qt[5]],ea=16383&(Qt[6]<<8|Qt[7]),ta=0,aa=0;function ra(e,t,a){var r=t&&a||0,n=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:ea,i=null!=e.msecs?e.msecs:(new Date).getTime(),l=null!=e.nsecs?e.nsecs:aa+1;if((a=i-ta+(l-aa)/1e4)<0&&null==e.clockseq&&(o=o+1&16383),1e4<=(l=(a<0||ta<i)&&null==e.nsecs?0:l))throw new Error("uuid.v1(): Can\'t create more than 10M uuids/sec");ta=i,ea=o,l=(1e4*(268435455&(i+=122192928e5))+(aa=l))%4294967296,n[r++]=l>>>24&255,n[r++]=l>>>16&255,n[r++]=l>>>8&255,n[r++]=255&l,i=i/4294967296*1e4&268435455,n[r++]=i>>>8&255,n[r++]=255&i,n[r++]=i>>>24&15|16,n[r++]=i>>>16&255,n[r++]=o>>>8|128,n[r++]=255&o;for(var s=e.node||Zt,u=0;u<6;u++)n[r+u]=s[u];return t||Jt(n)}function na(e,t,a){var r=t&&a||0;"string"==typeof e&&(t="binary"==e?new Gt(16):null,e=null);var n=(e=e||{}).random||(e.rng||Vt)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t)for(var o=0;o<16;o++)t[r+o]=n[o];return t||Jt(n)}(js=na).v1=ra,js.v4=na,js.parse=function(e,t,a){var r=t&&a||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){n<16&&(t[r+n++]=Kt[e])}));n<16;)t[r+n++]=0;return t},js.unparse=Jt,js.BufferClass=Gt,o._uuid=ra();var oa=na,ia=[];function la(){var e="".concat(na(),":").concat(na());return ia.includes(e)?la():(ia.push(e),e)}function sa(e,t,a,r){if("function"==typeof r&&function(e,t,a){var r=!(2<arguments.length&&void 0!==a)||a;Lt(!$t[e],"A replyHandler already exists for this message channel."),$t[e]={replyHandler:t,sendToParent:r}}(t.channelId,r,a),(a?Mt:qt)(e),t.message instanceof Error&&!a)return o.log(t.message),!1;var n=(r=(i=_({messageId:la()},t)).topic,a=i.channelId,t=i.message,i={channelId:a,topic:r,messageId:i.messageId,keepalive:!!i.keepalive,source:Bt()},t instanceof Error?i.error={name:t.name,message:t.message,stack:t.stack}:i.payload=t,JSON.stringify(i)),i=o._audit.allowedOrigins;return!(!i||!i.length||(i.forEach((function(t){try{e.postMessage(n,t)}catch(a){if(a instanceof e.DOMException)throw new Error(\'allowedOrigins value "\'.concat(t,\'" is not a valid origin\'));throw a}})),0))}function ua(e,t,a){var r=!(2<arguments.length&&void 0!==a)||a;return function(a,n,o){sa(e,{channelId:t,message:a,keepalive:n},r,o)}}function ca(e,a){var r,i=e.origin,l=e.data,s=e.source,u=function(e){var a;try{a=JSON.parse(e)}catch(e){return}if("object"===n(o=a)&&"string"==typeof o.channelId&&o.source===Bt()){var r=(i=a).topic,o=(e=i.channelId,i.messageId),i=i.keepalive;return{topic:r,message:"object"===n(a.error)?function(e){var a=e.message||"Unknown error occurred",r=Pt.includes(e.name)?e.name:"Error";return r=t[r]||Error,e.stack&&(a+="\\n"+e.stack.replace(e.message,"")),new r(a)}(a.error):a.payload,messageId:o,channelId:e,keepalive:!!i}}}(l)||{},c=u.channelId,d=u.message;e=u.messageId;if(l=i,((i=o._audit.allowedOrigins)&&i.includes("*")||i.includes(l))&&(e=e,!ia.includes(e)&&(ia.push(e),1)))if(d instanceof Error&&s.parent!==t)o.log(d);else try{u.topic?(r=ua(s,c),Mt(s),a(u,r)):function(e,t){var a=t.channelId,r=t.message,n=t.keepalive,i=(t=(i=function(e){return $t[e]}(a)||{}).replyHandler,i.sendToParent);if(t){(i?Mt:qt)(e),i=ua(e,a,i),!n&&a&&function(e){delete $t[e]}(a);try{t(r,n,i)}catch(e){o.log(e),i(e,n)}}}(s,u)}catch(e){!function(e,a,r){if(!e.parent!==t)return o.log(a);try{sa(e,{topic:null,channelId:r,message:a,messageId:la(),keepalive:!0},!0)}catch(e){return o.log(e)}}(s,e,c)}}var da={open:function(e){if("function"==typeof t.addEventListener){function a(t){ca(t,e)}return t.addEventListener("message",a,!1),function(){t.removeEventListener("message",a,!1)}}},post:function(e,a,r){return"function"==typeof t.addEventListener&&sa(e,a,!1,r)}};function pa(e){e.updateMessenger(da)}var fa=function(e,t,a){return t=t.slice(),a&&t.push(a),t=t.map((function(t){return e.indexOf(t)})).sort(),e[t.pop()]},ma=Nt.CANTTELL_PRIO,ha=Nt.FAIL_PRIO,ga=[];ga[Nt.PASS_PRIO]=!0,ga[Nt.CANTTELL_PRIO]=null,ga[Nt.FAIL_PRIO]=!1;var ba=["any","all","none"];function ya(e,t){return ba.reduce((function(a,r){return a[r]=(e[r]||[]).map((function(e){return t(e,r)})),a}),{})}var va=function(e){var t=Object.assign({},e);ya(t,(function(e,t){var a=void 0===e.result?-1:ga.indexOf(e.result);e.priority=-1!==a?a:Nt.CANTTELL_PRIO,"none"===t&&(e.priority===Nt.PASS_PRIO?e.priority=Nt.FAIL_PRIO:e.priority===Nt.FAIL_PRIO&&(e.priority=Nt.PASS_PRIO))}));var a={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(a.all,a.none,a.any);var r=[];return ba.forEach((function(e){t[e]=t[e].filter((function(r){return r.priority===t.priority&&r.priority===a[e]})),t[e].forEach((function(e){return r.push(e.impact)}))})),[ma,ha].includes(t.priority)?t.impact=fa(Nt.impact,r):t.impact=null,ya(t,(function(e){delete e.result,delete e.priority})),t.result=Nt.results[t.priority],delete t.priority,t},wa=function(e){var t=o._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(a){(e[a]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,Da(e.nodes)),delete e.nodes,e},Da=function(e){var t,a={};return(e=e.map((function(e){if(e.any&&e.all&&e.none)return va(e);if(Array.isArray(e.node))return wa(e);throw new TypeError("Invalid Result type")})))&&e.length?(t=e.map((function(e){return e.result})),a.result=fa(Nt.results,t,a.result)):a.result="inapplicable",Nt.resultGroups.forEach((function(e){return a[e]=[]})),e.forEach((function(e){var t=Nt.resultGroupMap[e.result];a[t].push(e)})),e=Nt.FAIL_GROUP,0===a[e].length&&(e=Nt.CANTTELL_GROUP),0<a[e].length?(e=a[e].map((function(e){return e.impact})),a.impact=fa(Nt.impact,e)||null):a.impact=null,a};function xa(e,t,a){var r=Object.assign({},t);r.nodes=(r[a]||[]).concat(),Nt.resultGroups.forEach((function(e){delete r[e]})),e[a].push(r)}var Ea=function(e){var t={};return Nt.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?xa(t,e,Nt.CANTTELL_GROUP):e.result===Nt.NA?xa(t,e,Nt.NA_GROUP):Nt.resultGroups.forEach((function(a){Array.isArray(e[a])&&0<e[a].length&&xa(t,e,a)}))})),t},Aa=function e(a,r,n){var o=t.getComputedStyle(a,null);if(!o)return!1;for(var i=0;i<r.length;++i){var l=r[i];if(o.getPropertyValue(l.property)===l.value)return!0}return!(!a.parentNode||a.nodeName.toUpperCase()===n.toUpperCase())&&e(a.parentNode,r,n)},Ca=function(e){return Array.prototype.slice.call(e)},Fa=function(e){for(var t,a=String(e),r=a.length,n=-1,o="",i=a.charCodeAt(0);++n<r;)0!=(t=a.charCodeAt(n))?o+=1<=t&&t<=31||127==t||0==n&&48<=t&&t<=57||1==n&&48<=t&&t<=57&&45==i?"\\\\"+t.toString(16)+" ":0==n&&1==r&&45==t||!(128<=t||45==t||95==t||48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122)?"\\\\"+a.charAt(n):a.charAt(n):o+="�";return o};function ka(e,t){return[e.substring(0,t),e.substring(t)]}function Ra(e){return e.replace(/\\s+$/,"")}var Na,Ta,_a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var a,r,n,o,i=t.currentDomain,l=t.maxLength,s=void 0===l?25:l,u=(t=(d=(c=u=d=o=n="",(l=t=e).includes("#")&&(t=(e=T(ka(t,t.indexOf("#")),2))[0],c=e[1]),t.includes("?")&&(t=(a=T(ka(t,t.indexOf("?")),2))[0],u=a[1]),t.includes("://")?(n=(a=T(t.split("://"),2))[0],o=(a=T(ka(t=a[1],t.indexOf("/")),2))[0],t=a[1]):"//"===t.substr(0,2)&&(o=(r=T(ka(t=t.substr(2),t.indexOf("/")),2))[0],t=r[1]),(o="www."===o.substr(0,4)?o.substr(4):o)&&o.includes(":")&&(o=(r=T(ka(o,o.indexOf(":")),2))[0],d=r[1]),{original:l,protocol:n,domain:o,port:d,path:t,query:u,hash:c})).path,d.domain),c=d.hash,d=t.substr(t.substr(0,t.length-2).lastIndexOf("/")+1);return c?d&&(d+c).length<=s?Ra(d+c):d.length<2&&2<c.length&&c.length<=s?Ra(c):void 0:u&&u.length<s&&t.length<=1||t==="/"+d&&u&&i&&u!==i&&(u+t).length<=s?Ra(u+t):(-1===(t=d.lastIndexOf("."))||1<t)&&(-1!==t||2<d.length)&&d.length<=s&&!d.match(/index(\\.[a-zA-Z]{2-4})?/)&&!function(e){var t=0<arguments.length&&void 0!==e?e:"";return 0!==t.length&&(t.match(/[0-9]/g)||"").length>=t.length/2}(d)?Ra(d):void 0}},Oa=function(e){return(e.attributes instanceof t.NamedNodeMap?e:e.cloneNode(!1)).attributes},Sa=function(e,t){return!!e[Na=Na&&e[Na]?Na:function(e){for(var t,a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],r=a.length,n=0;n<r;n++)if(e[t=a[n]])return t}(e)]&&e[Na](t)},Ia=function(e){return!!e.createElement&&"A"===e.createElement("A").localName},Pa=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||r;if(11!==n.nodeType)return e(t,a,n);for(var o=[];11===n.nodeType;){if(!n.host)return"";o.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return o.unshift({elm:t,doc:n}),o.map((function(t){var r=t.elm;t=t.doc;return e(r,a,t)}))},Ba=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"];function La(e,t){var a=t.name;if(-1!==a.indexOf("href")||-1!==a.indexOf("src")){var r=_a(e.getAttribute(a));if(r){var n=encodeURI(r);if(!n)return;n=Fa(t.name)+\'$="\'+Fa(n)+\'"\'}else n=Fa(t.name)+\'="\'+Fa(e.getAttribute(a))+\'"\'}else n=Fa(a)+\'="\'+Fa(t.value)+\'"\';return n}function Ma(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function qa(e){return!Ba.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<31)}function ja(e){for(var t={classes:{},tags:{},attributes:{}},a=(e=Array.isArray(e)?e:[e]).slice(),r=[];a.length;)!function(){var e,n=a.pop(),o=n.actualNode;for(o.querySelectorAll&&(e=o.nodeName,t.tags[e]?t.tags[e]++:t.tags[e]=1,o.classList&&Array.from(o.classList).forEach((function(e){e=Fa(e),t.classes[e]?t.classes[e]++:t.classes[e]=1})),o.hasAttributes()&&Array.from(Oa(o)).filter(qa).forEach((function(e){(e=La(o,e))&&(t.attributes[e]?t.attributes[e]++:t.attributes[e]=1)}))),n.children.length&&(r.push(a),a=n.children.slice());!a.length&&r.length;)a=r.pop()}();return t}function Ua(e){return void 0===Ta&&(Ta=Ia(r)),Fa(Ta?e.localName:e.nodeName.toLowerCase())}function Va(e,t){var a,r,n,o,i,l,s,u,c,d="",p=(r=e,n=[],o=t.classes,i=t.tags,r.classList&&Array.from(r.classList).forEach((function(e){e=Fa(e),o[e]<i[r.nodeName]&&n.push({name:e,count:o[e],species:"class"})})),n.sort(Ma));l=e,s=[],u=t.attributes,c=t.tags,l.hasAttributes()&&Array.from(Oa(l)).filter(qa).forEach((function(e){(e=La(l,e))&&u[e]<c[l.nodeName]&&s.push({name:e,count:u[e],species:"attribute"})})),t=s.sort(Ma);return p.length&&1===p[0].count?a=[p[0]]:t.length&&1===t[0].count?(a=[t[0]],d=Ua(e)):((a=p.concat(t)).sort(Ma),(a=a.slice(0,3)).some((function(e){return"class"===e.species}))?a.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):d=Ua(e)),d+a.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function Ha(e,t,a){if(!o._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,i,l=void 0!==(t=t.toRoot)&&t;do{var s=function(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||r;return(e="#"+Fa(e.getAttribute("id")||"")).match(/player_uid_/)||1!==t.querySelectorAll(e).length?void 0:e}}(e);s||(s=Va(e,o._selectorData),s+=function(e,t){var a=e.parentNode&&Array.from(e.parentNode.children||"")||[];return a.find((function(a){return a!==e&&Sa(a,t)}))?":nth-child("+(1+a.indexOf(e))+")":""}(e,s)),n=n?s+" > "+n:s,i=i?i.filter((function(e){return Sa(e,n)})):Array.from(a.querySelectorAll(n)),e=e.parentElement}while((1<i.length||l)&&e&&11!==e.nodeType);return 1===i.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}function za(e,t){return Pa(Ha,e,t)}function $a(e){var t=e.nodeName.toLowerCase(),a=e.parentElement;if(!a)return t;var r="";return"head"!==t&&"body"!==t&&1<a.children.length&&(e=Array.prototype.indexOf.call(a.children,e)+1,r=":nth-child(".concat(e,")")),$a(a)+" > "+t+r}function Wa(e,t){return Pa($a,e,t)}var Ga=function(e){return function e(t,a){var r,n,o,i;if(!t)return[];if(!a&&9===t.nodeType)return[{str:"html"}];if(a=a||[],t.parentNode&&t.parentNode!==t&&(a=e(t.parentNode,a)),t.previousSibling){for(n=1,r=t.previousSibling;1===r.nodeType&&r.nodeName===t.nodeName&&n++,r=r.previousSibling;);1===n&&(n=null)}else if(t.nextSibling)for(r=t.nextSibling;r=1===r.nodeType&&r.nodeName===t.nodeName?(n=1,null):(n=null,r.previousSibling););return 1===t.nodeType&&((o={}).str=t.nodeName.toLowerCase(),(i=t.getAttribute&&Fa(t.getAttribute("id")))&&1===t.ownerDocument.querySelectorAll("#"+i).length&&(o.id=t.getAttribute("id")),1<n&&(o.count=n),a.push(o)),a}(e).reduce((function(e,t){return t.id?"/".concat(t.str,"[@id=\'").concat(t.id,"\']"):e+"/".concat(t.str)+(0<t.count?"[".concat(t.count,"]"):"")}),"")},Ya={},Ka={set:function(e,t){Ya[e]=t},get:function(e){return Ya[e]},clear:function(){Ya={}}},Xa=function(e,t){return e=t||e,Ka.get("nodeMap")?Ka.get("nodeMap").get(e):null};function Ja(e){var t,a,r,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.spec=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e instanceof St?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=Xa(e)),this.fromFrame=1<(null===(t=this.spec.selector)||void 0===t?void 0:t.length),n.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(a=this._virtualNode)||void 0===a?void 0:a.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,o._audit.noHtml||(this.source=null!==(n=this.spec.source)&&void 0!==n?n:null!=(a=this._element)&&a.outerHTML?((n=(n=(n=a.outerHTML)||"function"!=typeof XMLSerializer?n:(new XMLSerializer).serializeToString(a))||"").length>(r=r||300)&&(r=n.indexOf(">"),n=n.substring(0,r+1)),n):"")}Ja.prototype={get selector(){return this.spec.selector||[za(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Wa(this.element)]},get xpath(){return this.spec.xpath||[Ga(this.element)]},get element(){return this._element},toJSON:function(){return{selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes}}},Ja.fromFrame=function(e,t,a){return e=Ja.mergeSpecs(e,a),new Ja(a.element,t,e)},Ja.mergeSpecs=function(e,t){return _({},e,{selector:[].concat(N(t.selector),N(e.selector)),ancestry:[].concat(N(t.ancestry),N(e.ancestry)),xpath:[].concat(N(t.xpath),N(e.xpath)),nodeIndexes:[].concat(N(t.nodeIndexes),N(e.nodeIndexes))})};var Qa=Ja,Za=function(e,a,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(r){r=r instanceof t.Node?[r]:Ca(r),e.relatedNodes=r.map((function(e){return new Qa(e,a)}))}}},er=function e(a){var r,o,i=a;if(null!=t&&t.Node&&a instanceof t.Node||null!=t&&t.HTMLCollection&&a instanceof t.HTMLCollection)return a;if(null!==a&&"object"===n(a))if(Array.isArray(a))for(i=[],r=0,o=a.length;r<o;r++)i[r]=e(a[r]);else for(r in i={},a)i[r]=e(a[r]);return i},tr=new(V(W()).CssSelectorParser);tr.registerSelectorPseudos("not"),tr.registerSelectorPseudos("is"),tr.registerNestingOperators(">"),tr.registerAttrEqualityMods("^","$","*","~");var ar=tr;function rr(e,t){return s=t,1===(l=e).props.nodeType&&("*"===s.tag||l.props.nodeName===s.tag)&&(o=e,!(i=t).classes||i.classes.every((function(e){return o.hasClass(e.value)})))&&(r=e,!(n=t).attributes||n.attributes.every((function(e){var t=r.attr(e.key);return null!==t&&(!e.value||e.test(t))})))&&(i=e,!(n=t).id||i.props.id===n.id)&&(a=e,!((t=t).pseudos&&!t.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return ur(a,e)}));if("is"===e.name)return e.expressions.some((function(e){return ur(a,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var a,r,n,o,i,l,s}var nr,or=(nr=/(?=[\\-\\[\\]{}()*+?.\\\\\\^$|,#\\s])/g,function(e){return e.replace(nr,"\\\\")}),ir=/\\\\/g;function lr(e){return e.map((function(e){for(var t=[],a=e.rule;a;)t.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator||" ",id:a.id,attributes:function(e){if(e)return e.map((function(e){var t,a,r=e.name.replace(ir,""),n=(e.value||"").replace(ir,"");switch(e.operator){case"^=":a=new RegExp("^"+or(n));break;case"$=":a=new RegExp(or(n)+"$");break;case"~=":a=new RegExp("(^|\\\\s)"+or(n)+"(\\\\s|$)");break;case"|=":a=new RegExp("^"+or(n)+"(-|$)");break;case"=":t=function(e){return n===e};break;case"*=":t=function(e){return e&&e.includes(n)};break;case"!=":t=function(e){return n!==e};break;default:t=function(e){return!!e}}return""===n&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),{key:r,value:n,test:t=t||function(e){return e&&a.test(e)}}}))}(a.attrs),classes:function(e){if(e)return e.map((function(e){return{value:e=e.replace(ir,""),regexp:new RegExp("(^|\\\\s)"+or(e)+"(\\\\s|$)")}}))}(a.classNames),pseudos:function(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=lr(t=(t=e.value).selectors||[t])),{name:e.name,expressions:t,value:e.value}}))}(a.pseudos)}),a=a.rule;return t}))}function sr(e){return lr(e=(e=ar.parse(e)).selectors||[e])}function ur(e,t,a){return function e(t,a,r,n){for(var o=Array.isArray(a)?a[r]:a,i=rr(t,o);!i&&n&&t.parent;)i=rr(t=t.parent,o);if(0<r){if(!1===[" ",">"].includes(o.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+o.combinator);i=i&&e(t.parent,a,r-1," "===o.combinator)}return i}(e,t,t.length-1,a)}var cr=function(e,t){return sr(t).some((function(t){return ur(e,t)}))},dr=function(e,t){for(;e;){if(cr(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function pr(){}function fr(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var mr,hr,gr=function(){function e(e){t=e,setTimeout((function(){null!=t&&Tt("Uncaught error (of queue)",t)}),1)}var t,a=[],r=0,o=0,i=pr,l=!1,s=e;function u(e){return i=pr,s(e),a}function c(){for(var e=a.length;r<e;r++){var t=a[r];try{t.call(null,function(e){return function(t){a[e]=t,--o||i===pr||(l=!0,i(a))}}(r),u)}catch(e){u(e)}}}var d={defer:function(e){var r;if("object"===n(e)&&e.then&&e.catch&&(r=e,e=function(e,t){r.then(e).catch(t)}),fr(e),void 0===t){if(l)throw new Error("Queue already completed");return a.push(e),++o,c(),d}},then:function(e){if(fr(e),i!==pr)throw new Error("queue `then` already set");return t||(i=e,o||(l=!0,i(a))),d},catch:function(a){if(fr(a),s!==e)throw new Error("queue `catch` already set");return t?(a(t),t=null):s=a,d},abort:u};return d},br={};function yr(e,t,a,r,n){return r={topic:t,message:a,channelId:"".concat(na(),":").concat(na()),keepalive:r},hr(e,r,n)}function vr(e,t){var a=e.topic,r=e.message;e=e.keepalive;if(a=br[a])try{a(r,e,t)}catch(a){o.log(a),t(a,e)}}function wr(e,t){var a;return o._tree&&(a=za(t)),new Error(e+": "+(a||t))}yr.updateMessenger=function(e){var t=e.open;e=e.post;Lt("function"==typeof t,"open callback must be a function"),Lt("function"==typeof e,"post callback must be a function"),mr&&mr(),t=t(vr),mr=t?(Lt("function"==typeof t,"open callback must return a cleanup function"),t):null,hr=e},yr.subscribe=function(e,t){Lt("function"==typeof t,"Subscriber callback must be a function"),Lt(!br[e],"Topic ".concat(e," is already registered to.")),br[e]=t},yr.isInFrame=function(){return!!(0<arguments.length&&void 0!==arguments[0]?arguments[0]:t).frameElement},pa(yr);var Dr=function(e,t,a,r){var n,o=e.contentWindow;if(!o)return Tt("Frame does not have a content window",e),void a(null);var i=setTimeout((function(){i=setTimeout((function(){t.debug?r(wr("No response from frame",e)):a(null)}),0)}),null!==(n=null===(n=t.options)||void 0===n?void 0:n.pingWaitTime)&&void 0!==n?n:500);yr(o,"axe.ping",null,void 0,(function(){clearTimeout(i);var n=t.options&&t.options.frameWaitTime||6e4;i=setTimeout((function(){r(wr("Axe in frame timed out",e))}),n),yr(o,"axe.start",t,void 0,(function(e){clearTimeout(i),(e instanceof Error==0?a:r)(e)}))}))},xr=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},Er=function(e,t,a){if(Array.isArray(e))return e.find((function(e){return"object"===n(e)&&e[t]===a}))};function Ar(e,t){for(var a=0<arguments.length&&void 0!==e?e:[],r=1<arguments.length&&void 0!==t?t:[],n=Math.max(null==a?void 0:a.length,null==r?void 0:r.length),o=0;o<n;o++){var i=null==a?void 0:a[o],l=null==r?void 0:r[o];if("number"!=typeof i||isNaN(i))return 0===o?1:-1;if("number"!=typeof l||isNaN(l))return 0===o?-1:1;if(i!==l)return i-l}return 0}var Cr=function(e,t){var a=[];return e.forEach((function(e){var r,n;(n=(n=e)&&n.results?Array.isArray(n.results)?n.results.length?n.results:null:[n.results]:null)&&n.length&&(r=function(e,t){return e.frameElement?new Qa(e.frameElement,t):e.frameSpec?e.frameSpec:null}(e,t),n.forEach((function(e){var n,o;e.nodes&&r&&(i=e.nodes,n=t,o=r,i.forEach((function(e){e.node=Qa.fromFrame(e.node,n,o),xr(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return Qa.fromFrame(e,n,o)}))}))})));var i=Er(a,"id",e.id);i?e.nodes.length&&function(e,t){for(var a=t[0].node,r=0;r<e.length;r++){var n=e[r].node,o=Ar(n.nodeIndexes,a.nodeIndexes);if(0<o||0===o&&a.selector.length<n.selector.length)return e.splice.apply(e,[r,0].concat(N(t)))}e.push.apply(e,N(t))}(i.nodes,e.nodes):a.push(e)})))})),a.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return Ar(e.node.nodeIndexes,t.node.nodeIndexes)}))})),a};function Fr(e,t,a,r,n,o){var i=gr();e.frames.forEach((function(e){var n=e.node,o=R(e,l);i.defer((function(e,i){Dr(n,{options:t,command:a,parameter:r,context:o},(function(t){return e(t?{results:t,frameElement:n}:null)}),i)}))})),i.then((function(e){n(Cr(e,t))})).catch(o)}var kr=function(e,t){if(e.shadowId||t.shadowId)return function e(t,a){return t.shadowId===a.shadowId||!!t.children.find((function(t){return e(t,a)}))}(e,t);if(e.actualNode)return"function"==typeof e.actualNode.contains?e.actualNode.contains(t.actualNode):!!(16&e.actualNode.compareDocumentPosition(t.actualNode));do{if(t===e)return!0}while(t=t&&t.parent);return!1},Rr=function e(){for(var t={},a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return r.forEach((function(a){if(a&&"object"===n(a)&&!Array.isArray(a))for(var r=0,o=Object.keys(a);r<o.length;r++){var i=o[r];!t.hasOwnProperty(i)||"object"!==n(a[i])||Array.isArray(t[i])?t[i]=a[i]:t[i]=e(t[i],a[i])}})),t},Nr=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(a){e[a]=null;try{e[a]=t[a](e)}catch(a){}}))},Tr=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],_r=function(e){return!!(e.shadowRoot&&(e=e.nodeName.toLowerCase(),Tr.includes(e)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(e)))},Or={};U(Or,{findElmsInContext:function(){return Pr},findUp:function(){return Lr},findUpVirtual:function(){return Br},getComposedParent:function(){return Mr},getElementByReference:function(){return qr},getElementCoordinates:function(){return Ur},getElementStack:function(){return Zr},getRootNode:function(){return Ir},getScrollOffset:function(){return jr},getTabbableElements:function(){return en},getTextElementStack:function(){return an},getViewportSize:function(){return Vr},hasContent:function(){return dn},hasContentVirtual:function(){return cn},idrefs:function(){return on},insertedIntoFocusOrder:function(){return yn},isFocusable:function(){return bn},isHTML5:function(){return vn},isHiddenWithCSS:function(){return mn},isInTextBlock:function(){return xn},isModalOpen:function(){return En},isNativelyFocusable:function(){return gn},isNode:function(){return An},isOffscreen:function(){return Hr},isOpaque:function(){return Ln},isSkipLink:function(){return qn},isVisible:function(){return Wr},isVisualContent:function(){return nn},reduceToElementsBelowFloating:function(){return jn},shadowElementsFromPoint:function(){return zn},urlPropsFromAttribute:function(){return $n},visuallyContains:function(){return Un},visuallyOverlaps:function(){return Wn}});var Sr=function(e){var t=e.getRootNode&&e.getRootNode()||r;return t===e?r:t},Ir=Sr,Pr=function(e){var t=e.context,a=e.value,r=e.attr;e=void 0===(e=e.elm)?"":e,a=Fa(a),t=9===t.nodeType||11===t.nodeType?t:Ir(t);return Array.from(t.querySelectorAll(e+"["+r+"="+a+"]"))},Br=function(e,t){var a=e.actualNode;if(!e.shadowId&&"function"==typeof e.actualNode.closest)return(e=e.actualNode.closest(t))||null;for(;(a=(a=a.assignedSlot||a.parentNode)&&11===a.nodeType?a.host:a)&&!Sa(a,t)&&a!==r.documentElement;);return a&&Sa(a,t)?a:null},Lr=function(e,t){return Br(Xa(e),t)},Mr=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){if(1===(t=t.parentNode).nodeType)return t;if(t.host)return t.host}return null},qr=function(e,t){return(e=e.getAttribute(t))?("#"===e.charAt(0)?e=decodeURIComponent(e.substring(1)):"/#"===e.substr(0,2)&&(e=decodeURIComponent(e.substring(2))),(t=r.getElementById(e))||((t=r.getElementsByName(e)).length?t[0]:null)):null},jr=function(e){if(9!==(e=!e.nodeType&&e.document?e.document:e).nodeType)return{left:e.scrollLeft,top:e.scrollTop};var t=e.documentElement;e=e.body;return{left:t&&t.scrollLeft||e&&e.scrollLeft||0,top:t&&t.scrollTop||e&&e.scrollTop||0}},Ur=function(e){var t=(a=jr(r)).left,a=a.top;return{top:(e=e.getBoundingClientRect()).top+a,right:e.right+t,bottom:e.bottom+a,left:e.left+t,width:e.right-e.left,height:e.bottom-e.top}},Vr=function(e){var t=e.document,a=t.documentElement;return e.innerWidth?{width:e.innerWidth,height:e.innerHeight}:a?{width:a.clientWidth,height:a.clientHeight}:{width:(t=t.body).clientWidth,height:t.clientHeight}},Hr=function(e){var a=r.documentElement,n=t.getComputedStyle(e),o=t.getComputedStyle(r.body||a).getPropertyValue("direction"),i=Ur(e);if(i.bottom<0&&(function(e,t){for(e=Mr(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&0<=(t+=e.scrollTop))return;e=Mr(e)}return 1}(e,i.bottom)||"absolute"===n.position))return!0;if(0===i.left&&0===i.right)return!1;if("ltr"===o){if(i.right<=0)return!0}else if(a=Math.max(a.scrollWidth,Vr(t).width),i.left>=a)return!0;return!1},zr=/rect\\s*\\(([0-9]+)px,?\\s*([0-9]+)px,?\\s*([0-9]+)px,?\\s*([0-9]+)px\\s*\\)/,$r=/(\\w+)\\((\\d+)/;var Wr=function e(a,r,n){if(!a)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var i=a instanceof St?a:Xa(a);a=i?i.actualNode:a;var l,s,u="_isVisible"+(r?"ScreenReader":""),c=(f=null!==(p=t.Node)&&void 0!==p?p:{}).DOCUMENT_NODE,d=f.DOCUMENT_FRAGMENT_NODE,p=(i?i.props:a).nodeType,f=i?i.props.nodeName:a.nodeName.toLowerCase();if(i&&void 0!==i[u])return i[u];if(p===c)return!0;if(["style","script","noscript","template"].includes(f))return!1;if(a&&p===d&&(a=a.host),r&&"true"===(i?i.attr("aria-hidden"):a.getAttribute("aria-hidden")))return!1;if(!a){var m,h=!0;return(m=i.parent)&&(h=e(m,r,!0)),i&&(i[u]=h),h}if(null===(m=t.getComputedStyle(a,null)))return!1;if("area"===f)return l=r,s=n,!!(g=Lr(b=a,"map"))&&!!(g=g.getAttribute("name"))&&!(!(b=Ir(b))||9!==b.nodeType)&&!(!(g=Zo(o._tree,\'img[usemap="#\'.concat(Fa(g),\'"]\')))||!g.length)&&g.some((function(t){return e(t.actualNode,l,s)}));if("none"===m.getPropertyValue("display"))return!1;h=parseInt(m.getPropertyValue("height")),f=parseInt(m.getPropertyValue("width"));var g=(b=mo(a))&&0===h,b=b&&0===f;return f="absolute"===m.getPropertyValue("position")&&(h<2||f<2)&&"hidden"===m.getPropertyValue("overflow"),!(!r&&(function(e){var t=e.getPropertyValue("clip").match(zr),a=e.getPropertyValue("clip-path").match($r);if(t&&5===t.length&&(e=e.getPropertyValue("position"),["fixed","absolute"].includes(e)))return t[3]-t[1]<=0&&t[2]-t[4]<=0;if(a){t=a[1];var r=parseInt(a[2],10);switch(t){case"inset":return 50<=r;case"circle":return 0===r}}}(m)||"0"===m.getPropertyValue("opacity")||g||b||f))&&(!(!n&&("hidden"===m.getPropertyValue("visibility")||!r&&Hr(a)))&&(m=a.assignedSlot||a.parentNode,a=!1,m&&(a=e(m,r,!0)),i&&(i[u]=a),a))},Gr=200;function Yr(e,a,n){var i,l=0<arguments.length&&void 0!==e?e:r.body,s=1<arguments.length&&void 0!==a?a:{container:null,cells:[]},u=2<arguments.length&&void 0!==n?n:null;u||((i=(i=Xa(r.documentElement))||new Yn(r.documentElement))._stackingOrder=[0],Qr(s,i),mo(i.actualNode)&&(i._subGrid={container:i,cells:[]}));for(var c=r.createTreeWalker(l,t.NodeFilter.SHOW_ELEMENT,null,!1),d=u?c.nextNode():c.currentNode;d;){var p=Xa(d);d.parentElement?u=Xa(d.parentElement):d.parentNode&&Xa(d.parentNode)&&(u=Xa(d.parentNode)),(p=p||new o.VirtualNode(d,u))._stackingOrder=function(e,t){var a=t._stackingOrder.slice(),r=e.getComputedStylePropertyValue("z-index"),n="static"!==e.getComputedStylePropertyValue("position"),o="none"!==e.getComputedStylePropertyValue("float");if(n&&!["auto","0"].includes(r)){for(;a.find((function(e){return e%1!=0}));){var i=a.findIndex((function(e){return e%1!=0}));a.splice(i,1)}a[a.length-1]=parseInt(r)}return!function(e,t){var a=e.getComputedStylePropertyValue("position"),r=e.getComputedStylePropertyValue("z-index");return"fixed"===a||"sticky"===a||("auto"!==r&&"static"!==a||("1"!==e.getComputedStylePropertyValue("opacity")||("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none")||(!(!(a=e.getComputedStylePropertyValue("mix-blend-mode"))||"normal"===a)||(!(!(a=e.getComputedStylePropertyValue("filter"))||"none"===a)||(!(!(a=e.getComputedStylePropertyValue("perspective"))||"none"===a)||(!(!(a=e.getComputedStylePropertyValue("clip-path"))||"none"===a)||("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none")||("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none")||("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none")||("isolate"===e.getComputedStylePropertyValue("isolation")||("transform"===(a=e.getComputedStylePropertyValue("will-change"))||"opacity"===a||("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling")||(e=e.getComputedStylePropertyValue("contain"),!!["layout","paint","strict","content"].includes(e)||!("auto"===r||!t||(t=t.getComputedStylePropertyValue("display"),!["flex","inline-flex","inline flex","grid","inline-grid","inline grid"].includes(t)))))))))))))))))}(e,t)?n?a.push(.5):o&&a.push(.25):a.push(0),a}(p,u);var f=function(e,t){for(var a=null,r=[e];t;){if(mo(t.actualNode)){a=t;break}if(t._scrollRegionParent){a=t._scrollRegionParent;break}r.push(t),t=Xa(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach((function(e){return e._scrollRegionParent=a})),a}(p,u),m=f?f._subGrid:s;mo(p.actualNode)&&(p._subGrid={container:p,cells:[]}),0!==(f=p.boundingClientRect).width&&0!==f.height&&Wr(d)&&Qr(m,p),_r(d)&&Yr(d.shadowRoot,m,p),d=c.nextNode()}}function Kr(e,t,a){var n=2<arguments.length&&void 0!==a&&a,o=t.left+t.width/2,i=t.top+t.height/2,l=i/Gr|0,s=o/Gr|0;if(l>e.cells.length||s>e.numCols)throw new Error("Element midpoint exceeds the grid bounds");return l=null!==(s=null===(l=e.cells[l][s])||void 0===l?void 0:l.filter((function(e){return e.clientRects.find((function(e){var t=e.left,a=e.top;return o<=t+e.width&&t<=o&&i<=a+e.height&&a<=i}))})))&&void 0!==s?s:[],(s=e.container)&&(l=Kr(s._grid,s.boundingClientRect,!0).concat(l)),n?l:l.sort(Jr).map((function(e){return e.actualNode})).concat(r.documentElement).filter((function(e,t,a){return a.indexOf(e)===t}))}function Xr(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:function e(t){if(!t)return!1;if(void 0!==t._isFloated)return t._isFloated;if("none"!==t.getComputedStylePropertyValue("float"))return t._isFloated=!0;var a=e(t.parent);return t._isFloated=a}(e)?1:0}function Jr(e,a){for(var r=Math.max(e._stackingOrder.length,a._stackingOrder.length),n=0;n<r;n++){if(void 0===a._stackingOrder[n])return-1;if(void 0===e._stackingOrder[n])return 1;if(a._stackingOrder[n]>e._stackingOrder[n])return 1;if(a._stackingOrder[n]<e._stackingOrder[n])return-1}var o=e.actualNode,i=a.actualNode;if(o.getRootNode&&o.getRootNode()!==i.getRootNode()){for(var l=[];o;)l.push({root:o.getRootNode(),node:o}),o=o.getRootNode().host;for(;i&&!l.find((function(e){return e.root===i.getRootNode()}));)i=i.getRootNode().host;if((o=l.find((function(e){return e.root===i.getRootNode()})).node)===i)return e.actualNode.getRootNode()!==o.getRootNode()?-1:1}var s,u=(s=t.Node).DOCUMENT_POSITION_FOLLOWING,c=s.DOCUMENT_POSITION_CONTAINS,d=s.DOCUMENT_POSITION_CONTAINED_BY;u=(s=o.compareDocumentPosition(i))&u?1:-1,c=s&c||s&d;return(s=Xr(e))===(d=Xr(a))||c?u:d-s}function Qr(e,t){t._grid=e,t.clientRects.forEach((function(a){var r=a.left,n=a.top,o=n/Gr|0,i=r/Gr|0,l=(n+a.height)/Gr|0,s=(r+a.width)/Gr|0;e.numCols=Math.max(null!==(a=e.numCols)&&void 0!==a?a:0,s);for(var u=o;u<=l;u++){e.cells[u]=e.cells[u]||[];for(var c=i;c<=s;c++)e.cells[u][c]=e.cells[u][c]||[],e.cells[u][c].includes(t)||e.cells[u][c].push(t)}}))}var Zr=function(e){Ka.get("gridCreated")||(Yr(),Ka.set("gridCreated",!0));var t=Xa(e);return(e=t._grid)?Kr(e,t.boundingClientRect):[]},en=function(e){return Zo(e,"*").filter((function(e){var t=e.isFocusable;return(e=(e=e.actualNode.getAttribute("tabindex"))&&!isNaN(parseInt(e,10))?parseInt(e):null)?t&&0<=e:t}))},tn=function(e){return e?e.replace(/\\r\\n/g,"\\n").replace(/\\u00A0/g," ").replace(/[\\s]{2,}/g," ").trim():""},an=function(e){Ka.get("gridCreated")||(Yr(),Ka.set("gridCreated",!0));var t=Xa(e),a=t._grid;if(!a)return[];var n=t.boundingClientRect,o=[];return Array.from(e.childNodes).forEach((function(e){if(3===e.nodeType&&""!==tn(e.textContent)){var t=r.createRange();t.selectNodeContents(e);var a=t.getClientRects();if(!Array.from(a).some((function(e){var t=e.left+e.width/2;e=e.top+e.height/2;return t<n.left||t>n.right||e<n.top||e>n.bottom})))for(var i=0;i<a.length;i++){var l=a[i];1<=l.width&&1<=l.height&&o.push(l)}}})),o.length?o.map((function(e){return Kr(a,e)})):[Zr(e)]},rn=["checkbox","img","radio","range","slider","spinbutton","textbox"],nn=function(e){var t=e.getAttribute("role");if(t)return-1!==rn.indexOf(t);switch(e.nodeName.toUpperCase()){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.type;default:return!1}},on=function(e,t){e=e.actualNode||e;try{var a=Ir(e),r=[];if(n=e.getAttribute(t))for(var n=ii(n),o=0;o<n.length;o++)r.push(a.getElementById(n[o]));return r}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}},ln=function e(t,a,r){var n=t instanceof St?t:Xa(t),o=!t.actualNode||t.actualNode&&Wr(t.actualNode,a);n=n.children.map((function(t){var n=(i=t.props).nodeType,i=i.nodeValue;if(3===n){if(i&&o)return i}else if(!r)return e(t,a)})).join("");return tn(n)},sn=function(e){var t;return e.attr("aria-labelledby")&&(t=on(e.actualNode,"aria-labelledby").map((function(e){return(e=Xa(e))?ln(e):""})).join(" ").trim())||(t=(t=e.attr("aria-label"))&&tn(t))?t:null},un=["HEAD","TITLE","TEMPLATE","SCRIPT","STYLE","IFRAME","OBJECT","VIDEO","AUDIO","NOSCRIPT"],cn=function e(t,a,r){return function(e){if(!un.includes(e.actualNode.nodeName.toUpperCase()))return e.children.some((function(e){return 3===(e=e.actualNode).nodeType&&e.nodeValue.trim()}))}(t)||nn(t.actualNode)||!r&&!!sn(t)||!a&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))},dn=function(e,t,a){return e=Xa(e),cn(e,t,a)};function pn(e,t){var a=Xa(e);return a?(void 0===a._isHiddenWithCSS&&(a._isHiddenWithCSS=fn(e,t)),a._isHiddenWithCSS):fn(e,t)}function fn(e,a){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;if(!(n=t.getComputedStyle(e,null)))throw new Error("Style does not exist for the given element.");if("none"===n.getPropertyValue("display"))return!0;var r=["hidden","collapse"],n=n.getPropertyValue("visibility");return!(!r.includes(n)||a)||(!!(r.includes(n)&&a&&r.includes(a))||!(!(e=Mr(e))||r.includes(n))&&pn(e,n))}var mn=pn,hn=function(e){var t=e instanceof St?e:Xa(e);if(t.hasAttr("disabled"))return!0;for(var a=t.parent,r=[],n=!1;a&&a.shadowId===t.shadowId&&!n&&(r.push(a),"legend"!==a.props.nodeName);){if(void 0!==a._inDisabledFieldset){n=a._inDisabledFieldset;break}"fieldset"===a.props.nodeName&&a.hasAttr("disabled")&&(n=!0),a=a.parent}return r.forEach((function(e){return e._inDisabledFieldset=n})),!!n||"area"!==t.props.nodeName&&!!t.actualNode&&mn(t.actualNode)},gn=function(e){var t=e instanceof St?e:Xa(e);if(!t||hn(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!Zo(t,"summary").length}return!1},bn=function(e){return!(1!==(e=e instanceof St?e:Xa(e)).props.nodeType||hn(e)||!gn(e)&&(!(e=e.attr("tabindex"))||isNaN(parseInt(e,10))))},yn=function(e){return-1<parseInt(e.getAttribute("tabindex"),10)&&bn(e)&&!gn(e)},vn=function(e){return null!==(e=e.doctype)&&"html"===e.name&&!e.publicId&&!e.systemId},wn=["block","list-item","table","flex","grid","inline-block"];function Dn(e){return e=t.getComputedStyle(e).getPropertyValue("display"),wn.includes(e)||"table-"===e.substr(0,6)}var xn=function(e){if(Dn(e))return!1;var t=function(e){for(var t=Mr(e);t&&!Dn(t);)t=Mr(t);return Xa(t)}(e),a="",r="",n=0;return function e(t,a){!1!==a(t.actualNode)&&t.children.forEach((function(t){return e(t,a)}))}(t,(function(t){if(2===n)return!1;if(3===t.nodeType&&(a+=t.nodeValue),1===t.nodeType){var o=(t.nodeName||"").toUpperCase();if(!["BR","HR"].includes(o))return!("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))&&("A"===o&&t.href||"link"===(t.getAttribute("role")||"").toLowerCase()?(t===e&&(n=1),r+=t.textContent,!1):void 0);0===n?r=a="":n=2}})),a=tn(a),r=tn(r),a.length>r.length},En=function(e){var a=(e=e||{}).modalPercent||.75;if(Ka.get("isModalOpen"))return Ka.get("isModalOpen");if(Ho(o._tree[0],"dialog, [role=dialog], [aria-modal=true]",(function(e){return Wr(e.actualNode)})).length)return Ka.set("isModalOpen",!0),!0;for(var i=Vr(t),l=i.width*a,s=i.height*a,u=[{x:e=(i.width-l)/2,y:a=(i.height-s)/2},{x:i.width-e,y:a},{x:i.width/2,y:i.height/2},{x:e,y:i.height-a},{x:i.width-e,y:i.height-a}].map((function(e){return Array.from(r.elementsFromPoint(e.x,e.y))})),c=0;c<u.length;c++){var d=function(e){var a=u[e].find((function(e){return e=t.getComputedStyle(e),parseInt(e.width,10)>=l&&parseInt(e.height,10)>=s&&"none"!==e.getPropertyValue("pointer-events")&&("absolute"===e.position||"fixed"===e.position)}));if(a&&u.every((function(e){return e.includes(a)})))return Ka.set("isModalOpen",!0),{v:!0}}(c);if("object"===n(d))return d.v}Ka.set("isModalOpen",void 0)},An=function(e){return e instanceof t.Node},Cn={},Fn={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");return t&&(Cn[e]=t),Cn[e]},get:function(e){return Cn[e]},clear:function(){Cn={}}},kn=function(e,a){var r=e.nodeName.toUpperCase();return["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r)?(Fn.set("bgColor","imgNode"),!0):((a="none"!==(e=(a=a||t.getComputedStyle(e)).getPropertyValue("background-image")))&&(e=/gradient/.test(e),Fn.set("bgColor",e?"bgGradient":"bgImage")),a)},Rn={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string"}},Nn={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",allowedAttrs:["aria-checked","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"composite",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["group","listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"composite",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list","group"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-checked","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-checked","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",allowedAttrs:["aria-valuetext"],requiredAttrs:["aria-valuemax","aria-valuemin","aria-valuenow"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",allowedAttrs:["aria-checked","aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",requiredOwned:["radio"],allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuenow","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},Tn={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},addres:{contentTypes:["flow"],allowedRoles:!0},area:{contentTypes:["phrasing","flow"],allowedRoles:!1,namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:{attributes:{alt:"/.+/"}},allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},_n={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},On={ariaAttrs:Rn,ariaRoles:_({},Nn,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",requiredContext:["doc-bibliography"],allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"]},"doc-bibliography":{type:"landmark",requiredOwned:["doc-biblioentry"],allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",requiredContext:["doc-endnotes"],allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"]},"doc-endnotes":{type:"landmark",requiredOwned:["doc-endnote"],allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",requiredOwned:["definition","term"],allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:Tn,cssColors:_n},Sn=_({},On),In=Sn,Pn=function(e,t,a,r){this.red=e,this.green=t,this.blue=a,this.alpha=r,this.toHexString=function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return"#"+(15.5<this.red?e:"0"+e)+(15.5<this.green?t:"0"+t)+(15.5<this.blue?a:"0"+a)};var n=/^#[0-9a-f]{3,8}$/i,o=/^((?:rgb|hsl)a?)\\s*\\(([^\\)]*)\\)/i;this.parseString=function(e){if(In.cssColors[e]||"transparent"===e){var t=(r=T(In.cssColors[e]||[0,0,0],3))[0],a=r[1],r=r[2];return this.red=t,this.green=a,this.blue=r,void(this.alpha="transparent"===e?0:1)}if(e.match(o))this.parseColorFnString(e);else{if(!e.match(n))throw new Error(\'Unable to parse color "\'.concat(e,\'"\'));this.parseHexString(e)}},this.parseRgbString=function(e){if("transparent"===e)return this.red=0,this.green=0,this.blue=0,void(this.alpha=0);this.parseColorFnString(e)},this.parseHexString=function(e){var t,a;e.match(n)&&![6,8].includes(e.length)&&((e=e.replace("#","")).length<6&&(e=(t=(a=T(e,4))[0])+t+(t=a[1])+t+(t=a[2])+t,(a=a[3])&&(e+=a+a)),e=e.match(/.{1,2}/g),this.red=parseInt(e[0],16),this.green=parseInt(e[1],16),this.blue=parseInt(e[2],16),e[3]?this.alpha=parseInt(e[3],16)/255:this.alpha=1)},this.parseColorFnString=function(e){var t=(e=T(e.match(o)||[],3))[1];e=e[2];t&&e&&(e=e.split(/\\s*[,\\/\\s]\\s*/).map((function(e){return e.replace(",","").trim()})).filter((function(e){return""!==e})).map((function(e,a){return function(e,t,a){if(/%$/.test(t))return 3===a?parseFloat(t)/100:255*parseFloat(t)/100;if("h"===e[a]){if(/turn$/.test(t))return 360*parseFloat(t);if(/rad$/.test(t))return 57.3*parseFloat(t)}return parseFloat(t)}(t,e,a)})),"hsl"===t.substr(0,3)&&(e=function(e){var t=T(e,4),a=t[0],r=t[1],n=t[2];e=t[3];r/=255,n/=255;r=(t=(1-Math.abs(2*n-1))*r)*(1-Math.abs(a/60%2-1));var o=n-t/2;return(r=a<60?[t,r,0]:a<120?[r,t,0]:a<180?[0,t,r]:a<240?[0,r,t]:a<300?[r,0,t]:[t,0,r]).map((function(e){return Math.round(255*(e+o))})).concat(e)}(e)),this.red=e[0],this.green=e[1],this.blue=e[2],this.alpha="number"==typeof e[3]?e[3]:1)},this.getRelativeLuminance=function(){var e=this.red/255,t=this.green/255,a=this.blue/255;return.2126*(e<=.03928?e/12.92:Math.pow((.055+e)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((.055+t)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((.055+a)/1.055,2.4))}},Bn=function(e){var t=new Pn;return t.parseString(e.getPropertyValue("background-color")),0!==t.alpha&&(e=e.getPropertyValue("opacity"),t.alpha=t.alpha*e),t},Ln=function(e){var a=t.getComputedStyle(e);return kn(e,a)||1===Bn(a).alpha},Mn=/^\\/?#[^/!]/,qn=function(e){return!!Mn.test(e.getAttribute("href"))&&(void 0!==Ka.get("firstPageLink")?t=Ka.get("firstPageLink"):(t=Zo(o._tree,\'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript"])\')[0],Ka.set("firstPageLink",t||null)),!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING);var t},jn=function(e,a){for(var r=["fixed","sticky"],n=[],o=!1,i=0;i<e.length;++i){var l=e[i];l===a&&(o=!0);var s=t.getComputedStyle(l);o||-1===r.indexOf(s.position)?n.push(l):n=[]}return n};function Un(e,a){var r=Vn(a);do{var n=Vn(e);if(n===r||n===a)return function(e,a){var r=t.getComputedStyle(a),n=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var o=Array.from(e.getClientRects()),i={left:(e=a.getBoundingClientRect()).left,top:e.top,width:e.width,height:e.height};return(["scroll","auto"].includes(n)||a instanceof t.HTMLHtmlElement)&&(i.width=a.scrollWidth,i.height=a.scrollHeight),1===o.length&&"hidden"===n&&"nowrap"===r.getPropertyValue("white-space")&&(o[0]=i),o.some((function(e){return!(Math.ceil(e.left)<Math.floor(i.left)||Math.ceil(e.top)<Math.floor(i.top)||Math.floor(e.left+e.width)>Math.ceil(i.left+i.width)||Math.floor(e.top+e.height)>Math.ceil(i.top+i.height))}))}(e,a)}while(e=n);return!1}function Vn(e){for(var t=Xa(e).parent;t;){if(mo(t.actualNode))return t.actualNode;t=t.parent}}var Hn,zn=function e(t,a){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:r,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0;if(999<o)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,a)||[]).filter((function(e){return Ir(e)===n})).reduce((function(r,n){var i;return _r(n)?(i=e(t,a,n.shadowRoot,o+1),(r=r.concat(i)).length&&Un(r[0],n)&&r.push(n)):r.push(n),r}),[])},$n=function(e,t){if(e.hasAttribute(t)){var a=e.nodeName.toUpperCase(),n=e;return["A","AREA"].includes(a)&&!e.ownerSVGElement||((n=r.createElement("a")).href=e.getAttribute(t)),a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,e=(e=(t=e=/^\\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)).split("/").pop())&&-1!==e.indexOf(".")?{pathname:t.replace(e,""),filename:/index./.test(e)?"":e}:{pathname:t,filename:""},t=e.pathname,e=e.filename,{protocol:a,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\\/$/.test(t)?t:"".concat(t,"/"),search:function(e){var t={};if(!e||!e.length)return t;var a=e.substring(1).split("&");if(!a||!a.length)return t;for(var r=0;r<a.length;r++){var n=(o=T(a[r].split("="),2))[0],o=void 0===(o=o[1])?"":o;t[decodeURIComponent(n)]=decodeURIComponent(o)}return t}(n.search),hash:function(e){if(!e)return"";var t=e.match(/#!?\\/?/g);return t&&"#"!==T(t,1)[0]?e:""}(n.hash),filename:e}}},Wn=function(e,a){var r=a.getBoundingClientRect(),n=r.top,o=r.left,i=n-a.scrollTop,l=n-a.scrollTop+a.scrollHeight;n=o-a.scrollLeft,o=o-a.scrollLeft+a.scrollWidth;return!(e.left>o&&e.left>r.right||e.top>l&&e.top>r.bottom||e.right<n&&e.right<r.left||e.bottom<i&&e.bottom<r.top)&&(i=t.getComputedStyle(a),!(e.left>r.right||e.top>r.bottom)||"scroll"===i.overflow||"auto"===i.overflow||a instanceof t.HTMLBodyElement||a instanceof t.HTMLHtmlElement)},Gn=0,Yn=function(){E(a,St);var e=C(a);function a(t,r,n){var o;return O(this,a),(o=e.call(this)).shadowId=n,o.children=[],o.actualNode=t,(o.parent=r)||(Gn=0),o.nodeIndex=Gn++,o._isHidden=null,o._cache={},void 0===Hn&&(Hn=Ia(t.ownerDocument)),o._isXHTML=Hn,"input"===t.nodeName.toLowerCase()&&(r=t.getAttribute("type"),r=o._isXHTML?r:(r||"").toLowerCase(),li().includes(r)||(r="text"),o._type=r),Ka.get("nodeMap")&&Ka.get("nodeMap").set(t,F(o)),o}return I(a,[{key:"props",get:function(){var e,t,a,r,n,o,i;return this._cache.hasOwnProperty("props")||(e=(i=this.actualNode).nodeType,t=i.nodeName,a=i.id,r=i.multiple,n=i.nodeValue,o=i.value,i=i.selected,this._cache.props={nodeType:e,nodeName:this._isXHTML?t:t.toLowerCase(),id:a,type:this._type,multiple:r,nodeValue:n,value:o,selected:i}),this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=(this.actualNode.attributes instanceof t.NamedNodeMap?this.actualNode:this.actualNode.cloneNode(!1)).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name}))),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var a="computedStyle_"+e;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=t.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(e)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=bn(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=en(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return 0<e.width}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),a}();function Kn(e,a,r){var n,o,i;function l(e,t,r){return(r=Kn(t,a,r))?e.concat(r):e}return i=(e=e.documentElement?e.documentElement:e).nodeName.toLowerCase(),_r(e)?(n=new Yn(e,r,a),a="a"+Math.random().toString().substring(2),o=Array.from(e.shadowRoot.childNodes),n.children=o.reduce((function(e,t){return l(e,t,n)}),[]),[n]):"content"===i&&"function"==typeof e.getDistributedNodes?(o=Array.from(e.getDistributedNodes())).reduce((function(e,t){return l(e,t,r)}),[]):"slot"!==i||"function"!=typeof e.assignedNodes?1===e.nodeType?(n=new Yn(e,r,a),o=Array.from(e.childNodes),n.children=o.reduce((function(e,t){return l(e,t,n)}),[]),[n]):3===e.nodeType?[new Yn(e,r)]:void 0:((o=Array.from(e.assignedNodes())).length||(o=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),t.getComputedStyle(e),o.reduce((function(e,t){return l(e,t,r)}),[]))}var Xn=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:r.documentElement,t=1<arguments.length?arguments[1]:void 0;return Ka.set("nodeMap",new WeakMap),Kn(e,t,null)},Jn=function(e){return e?e.trim().split("-")[0].toLowerCase():""},Qn=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var a=o._audit.data.failureSummaries[e];return a&&"function"==typeof a.failureMessage?a.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\\n\\n")},Zn=function(){return"function"==typeof o._audit.data.incompleteFallbackMessage?o._audit.data.incompleteFallbackMessage():o._audit.data.incompleteFallbackMessage},eo=Nt.resultGroups,to=function(e,t){var a=o.utils.aggregateResult(e);return eo.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(a[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&0<e.nodes.length&&(e.nodes=[e.nodes[0]])})),a[e]=(a[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&0<e.nodes.length&&(e.nodes=e.nodes.map((function(e){var a,r;return"object"===n(e.node)&&(e.html=e.node.source,t.elementRef&&!e.node.fromFrame&&(e.element=e.node.element),!1===t.selectors&&!e.node.fromFrame||(e.target=e.node.selector),t.ancestry&&(e.ancestry=e.node.ancestry),t.xpath&&(e.xpath=e.node.xpath)),delete e.result,delete e.node,a=e,r=t,["any","all","none"].forEach((function(e){Array.isArray(a[e])&&a[e].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){var t={html:e.source};return r.elementRef&&!e.fromFrame&&(t.element=e.element),!1===r.selectors&&!e.fromFrame||(t.target=e.selector),r.ancestry&&(t.ancestry=e.ancestry),r.xpath&&(t.xpath=e.xpath),t}))}))})),e}))),eo.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),a};o._thisWillBeDeletedDoNotUse=o._thisWillBeDeletedDoNotUse||{},o._thisWillBeDeletedDoNotUse.helpers={failureSummary:Qn,incompleteFallbackMessage:Zn,processAggregate:to};var ao=/\\$\\{\\s?data\\s?\\}/g;function ro(e,t){if("string"==typeof t)return e.replace(ao,t);for(var a in t){var r;t.hasOwnProperty(a)&&(r=new RegExp("\\\\${\\\\s?data\\\\."+a+"\\\\s?}","g"),a=void 0===t[a]?"":String(t[a]),e=e.replace(r,a))}return e}var no=function e(t,a){if(t){if(Array.isArray(a))return a.values=a.join(", "),"string"!=typeof t.singular||"string"!=typeof t.plural?ro(t,a):ro(1===a.length?t.singular:t.plural,a);if("string"==typeof t)return ro(t,a);if("string"==typeof a)return ro(t[a],a);var r=t.default||Zn();return e(r=a&&a.messageKey&&t[a.messageKey]?t[a.messageKey]:r,a)}},oo=function(e,t,a){var r=o._audit.data.checks[e];if(!r)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!r.messages[t])throw new Error(\'Check "\'.concat(e,\'"" does not have a "\').concat(t,\'" message.\'));return no(r.messages[t],a)},io=function(e,t,a){var r=((a.rules&&a.rules[t]||{}).checks||{})[e.id],n=(a.checks||{})[e.id];t=e.enabled,e=e.options;return n&&(n.hasOwnProperty("enabled")&&(t=n.enabled),n.hasOwnProperty("options")&&(e=n.options)),r&&(r.hasOwnProperty("enabled")&&(t=r.enabled),r.hasOwnProperty("options")&&(e=r.options)),{enabled:t,options:e,absolutePaths:a.absolutePaths}};function lo(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t;return e&&"object"===n(e)?e:"object"!==n(a)?{}:{testEngine:{name:"axe-core",version:o.version},testRunner:{name:o._audit.brand},testEnvironment:function(e){if(!e.navigator||"object"!==n(e.navigator))return{};var t=e.navigator,a=e.innerHeight,r=e.innerWidth,o=(e=(o=function(e){return(e=e.screen).orientation||e.msOrientation||e.mozOrientation}(e)||{}).angle,o.type);return{userAgent:t.userAgent,windowWidth:r,windowHeight:a,orientationAngle:e,orientationType:o}}(a),timestamp:(new Date).toISOString(),url:null===(a=a.location)||void 0===a?void 0:a.href}}function so(e,t){var a=t.focusable;t=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:a&&function(e){return!(e=e.getAttribute("tabindex"))||(e=parseInt(e,10),isNaN(e)||0<=e)}(e),size:function(e){var t=parseInt(e.getAttribute("width"),10),a=parseInt(e.getAttribute("height"),10);return(isNaN(t)||isNaN(a))&&(e=e.getBoundingClientRect(),t=isNaN(t)?e.width:t,a=isNaN(a)?e.height:a),{width:t,height:a}}(e),page:t}}function uo(e,a){for(var n,o,i=[],l=0,s=e[a].length;l<s;l++){if("string"==typeof(n=e[a][l])){o=Array.from(r.querySelectorAll(n)),i=i.concat(o.map((function(e){return Xa(e)})));break}!n||!n.length||n instanceof t.Node?n instanceof t.Node&&(n.documentElement instanceof t.Node?i.push(e.flatTree[0]):i.push(Xa(n))):1<n.length?function(e,t,a){e.frames=e.frames||[];var n=a.shift();n=r.querySelectorAll(n);Array.from(n).forEach((function(r){var n;e.frames.forEach((function(e){e.node===r&&e[t].push(a)})),e.frames.find((function(e){return e.node===r}))||(n=so(r,e),a&&n[t].push(a),e.frames.push(n))}))}(e,a,n):(o=Array.from(r.querySelectorAll(n[0])),i=i.concat(o.map((function(e){return Xa(e)}))))}return i.filter((function(e){return e}))}function co(e,a){var o=this;e=er(e),this.frames=[],this.page="boolean"==typeof(null==e?void 0:e.page)?e.page:void 0,this.initiator="boolean"!=typeof(null==e?void 0:e.initiator)||e.initiator,this.focusable="boolean"!=typeof(null==e?void 0:e.focusable)||e.focusable,this.size="object"===n(null==e?void 0:e.size)?e.size:{},e=function(e){if(e&&"object"===n(e)||e instanceof t.NodeList){if(e instanceof t.Node)return{include:[e],exclude:[]};if(e.hasOwnProperty("include")||e.hasOwnProperty("exclude"))return{include:e.include&&+e.include.length?e.include:[r],exclude:e.exclude||[]};if(e.length===+e.length)return{include:e,exclude:[]}}return"string"==typeof e?{include:[e],exclude:[]}:{include:[r],exclude:[]}}(e),this.flatTree=null!=a?a:Xn(function(e){for(var a=e.include,n=(e=e.exclude,Array.from(a).concat(Array.from(e))),o=0;o<n.length;++o){var i=n[o];if(i instanceof t.Element)return i.ownerDocument.documentElement;if(i instanceof t.Document)return i.documentElement}return r.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=uo(this,"include"),this.exclude=uo(this,"exclude"),ri("frame, iframe",this).forEach((function(e){var t;Eo(e,o)&&(t=o,e=e.actualNode,wo(e)||Er(t.frames,"node",e)||t.frames.push(so(e,t)))})),void 0===this.page&&(this.page=1===(i=(i=this).include).length&&i[0].actualNode===r.documentElement,this.frames.forEach((function(e){e.page=o.page})));var i=function(e){if(0===e.include.length){if(0===e.frames.length){var t=yr.isInFrame()?"frame":"page";return new Error("No elements found for include in "+t+" Context")}e.frames.forEach((function(e,t){if(0===e.include.length)return new Error("No elements found for include in Context of frame "+t)}))}}(this);if(i instanceof Error)throw i;Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(No)}function po(e){return new co(e).frames.map((function(e){var t=e.node;return(e=R(e,s)).initiator=!1,{frameSelector:Wa(t),frameContext:e}}))}var fo=function(e){var t=o._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t},mo=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+a,n=e.scrollHeight>e.clientHeight+a;if(r||n){a=(o=t.getComputedStyle(e)).getPropertyValue("overflow-x");var o=o.getPropertyValue("overflow-y");return r&&"visible"!==a&&"hidden"!==a||n&&"visible"!==o&&"hidden"!==o?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}},ho=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:t,a=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:a,top:a.scrollTop,left:a.scrollLeft}].concat(function e(t){return Array.from(t.children||t.childNodes||[]).reduce((function(t,a){var r=mo(a);return r&&t.push(r),t.concat(e(a))}),[])}(r.body))};function go(){return er(In)}var bo,yo=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var a=t.data,r=void 0!==(l=t.isCrossOrigin)&&l,n=t.shadowId,o=t.root,i=t.priority,l=(t=void 0!==(l=t.isLink)&&l,e.createElement("style"));return t?(t=e.createTextNode(\'@import "\'.concat(a.href,\'"\')),l.appendChild(t)):l.appendChild(e.createTextNode(a)),e.head.appendChild(l),{sheet:l.sheet,isCrossOrigin:r,shadowId:n,root:o,priority:i}}},vo=function(e){if(bo&&bo.parentNode)return void 0===bo.styleSheet?bo.appendChild(r.createTextNode(e)):bo.styleSheet.cssText+=e,bo;if(e){var t=r.head||r.getElementsByTagName("head")[0];return(bo=r.createElement("style")).type="text/css",void 0===bo.styleSheet?bo.appendChild(r.createTextNode(e)):bo.styleSheet.cssText=e,t.appendChild(bo),bo}},wo=function e(a,r){var n=Xa(a);if(9===a.nodeType)return!1;if(11===a.nodeType&&(a=a.host),n&&null!==n._isHidden)return n._isHidden;var o=t.getComputedStyle(a,null);return!o||!a.parentNode||"none"===o.getPropertyValue("display")||!r&&"hidden"===o.getPropertyValue("visibility")||"true"===a.getAttribute("aria-hidden")||(a=e(a.assignedSlot||a.parentNode,!0),n&&(n._isHidden=a),a)},Do=function(e){var t=null!==(t=null===(t=e.props)||void 0===t?void 0:t.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!In.htmlElms[t]};function xo(e){return e.sort((function(e,t){return kr(e,t)?1:-1}))[0]}var Eo=function(e,t){var a=t.include&&xo(t.include.filter((function(t){return kr(t,e)})));return!!(!(t=t.exclude&&xo(t.exclude.filter((function(t){return kr(t,e)}))))&&a||t&&kr(t,a))},Ao=function(e,t){return e.length===t.length&&e.every((function(e,a){var r=t[a];return Array.isArray(e)?e.length===r.length&&e.every((function(e,t){return r[t]===e})):e===r}))},Co=V(xt());o._memoizedFns=[];var Fo,ko,Ro=function(e){return e=Co.default(e),o._memoizedFns.push(e),e},No=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1},To=function(e,t,a,r){var n=4<arguments.length&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter((function(e){return 3===e.type}));return i.length?(i=i.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!r.includes(e)})).map((function(e,n){var o=[].concat(N(a),[n]);n=/^https?:\\/\\/|^\\/\\//i.test(e);return Oo(e,t,o,r,n)})),(o=o.filter((function(e){return 3!==e.type}))).length&&i.push(Promise.resolve(t.convertDataToStylesheet({data:o.map((function(e){return e.cssText})).join(),isCrossOrigin:n,priority:a,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(i)):Promise.resolve({isCrossOrigin:n,priority:a,root:t.rootNode,shadowId:t.shadowId,sheet:e})},_o=function(e,t,a,r){var n=4<arguments.length&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?To(e,t,a,r,n):Oo(e.href,t,a,r,!0)},Oo=function(e,t,a,r,n){return r.push(e),new Promise((function(t,a){var r=new XMLHttpRequest;r.open("GET",e),r.timeout=Nt.preload.timeout,r.addEventListener("error",a),r.addEventListener("timeout",a),r.addEventListener("loadend",(function(e){return e.loaded&&r.responseText?t(r.responseText):void a(r.responseText)})),r.send()})).then((function(e){return e=t.convertDataToStylesheet({data:e,isCrossOrigin:n,priority:a,root:t.rootNode,shadowId:t.shadowId}),_o(e.sheet,t,a,r,e.isCrossOrigin)}))};function So(){if(t.performance&&t.performance)return t.performance.now()}var Io,Po,Bo=(Fo=null,ko=So(),{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){t.performance&&void 0!==t.performance.mark&&t.performance.mark(e)},measure:function(e,a,r){t.performance&&void 0!==t.performance.measure&&t.performance.measure(e,a,r)},logMeasures:function(e){function a(e){Tt("Measure "+e.name+" took "+e.duration+"ms")}if(t.performance&&void 0!==t.performance.getEntriesByType)for(var r=t.performance.getEntriesByName("mark_axe_start")[0],n=t.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=r.startTime})),o=0;o<n.length;++o){var i=n[o];if(i.name===e)return void a(i);a(i)}},timeElapsed:function(){return So()-ko},reset:function(){Fo=Fo||So(),ko=So()}});function Lo(){if(r.elementsFromPoint)return r.elementsFromPoint;if(r.msElementsFromPoint)return r.msElementsFromPoint;var e,t=(e=((e=r.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents))?"pointer-events":"visibility",a=e?"none":"hidden",n=r.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(e,o){var i,l,s,u=[],c=[];for(r.head.appendChild(n);(i=r.elementFromPoint(e,o))&&-1===u.indexOf(i);)u.push(i),c.push({value:i.style.getPropertyValue(t),priority:i.style.getPropertyPriority(t)}),i.style.setProperty(t,a,"important");for(u.indexOf(r.documentElement)<u.length-1&&(u.splice(u.indexOf(r.documentElement),1),u.push(r.documentElement)),l=c.length;s=c[--l];)u[l].style.setProperty(t,s.value||"",s.priority);return r.head.removeChild(n),u}}function Mo(e){return"function"==typeof e||"[object Function]"===Io.call(e)}function qo(e){return e=function(e){return e=Number(e),isNaN(e)?0:0!==e&&isFinite(e)?(0<e?1:-1)*Math.floor(Math.abs(e)):e}(e),Math.min(Math.max(e,0),Po)}"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,a=Object(this),r=a.length>>>0,n=arguments[1],o=0;o<r;o++)if(t=a[o],e.call(n,t,o,a))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var a,r=Object(this),n=r.length>>>0,o=0;o<n;o++)if(a=r[o],e.call(t,a,o,r))return o;return-1}}),"function"==typeof t.addEventListener&&(r.elementsFromPoint=Lo()),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),a=parseInt(t.length,10)||0;if(0===a)return!1;var r,n,o=parseInt(arguments[1],10)||0;for(0<=o?r=o:(r=a+o)<0&&(r=0);r<a;){if(e===(n=t[r])||e!=e&&n!=n)return!0;r++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),a=t.length>>>0,r=2<=arguments.length?arguments[1]:void 0,n=0;n<a;n++)if(n in t&&e.call(r,t[n],n,t))return!0;return!1}}),Array.from||Object.defineProperty(Array,"from",{value:(Io=Object.prototype.toString,Po=Math.pow(2,53)-1,function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var a,r=1<arguments.length?arguments[1]:void 0;if(void 0!==r){if(!Mo(r))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(a=arguments[2])}for(var n,o=qo(t.length),i=Mo(this)?Object(new this(o)):new Array(o),l=0;l<o;)n=t[l],i[l]=r?void 0===a?r(n,l):r.call(a,n,l):n,l+=1;return i.length=o,i})}),String.prototype.includes||(String.prototype.includes=function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(a,r){return Array.isArray(r)?a.push.apply(a,e.call(r,t-1)):a.push(r),a}),[]):Array.prototype.slice.call(this)},writable:!0});var jo=function(e,t){return e.concat(t).filter((function(e,t,a){return a.indexOf(e)===t}))};function Uo(e,t,a,r,n){return(n=n||{}).vNodes=e,n.vNodesIndex=0,n.anyLevel=t,n.thisLevel=a,n.parentShadowId=r,n}var Vo=[],Ho=function(e,t,a){return function(e,t,a){for(var r=[],n=Uo(Array.isArray(e)?e:[e],t,null,e[0].shadowId,Vo.pop()),o=[];n.vNodesIndex<n.vNodes.length;){for(var i,l=n.vNodes[n.vNodesIndex++],s=null,u=null,c=((null===(i=n.anyLevel)||void 0===i?void 0:i.length)||0)+((null===(i=n.thisLevel)||void 0===i?void 0:i.length)||0),d=!1,p=0;p<c;p++){var f,m=p<((null===(m=n.anyLevel)||void 0===m?void 0:m.length)||0)?n.anyLevel[p]:n.thisLevel[p-((null===(h=n.anyLevel)||void 0===h?void 0:h.length)||0)];if((!m[0].id||l.shadowId===n.parentShadowId)&&ur(l,m[0]))if(1===m.length)d||a&&!a(l)||(o.push(l),d=!0);else{var h=m.slice(1);if(!1===[" ",">"].includes(h[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+m[1].combinator);(">"===h[0].combinator?s=s||[]:u=u||[]).push(h)}m[0].id&&l.shadowId!==n.parentShadowId||null===(f=n.anyLevel)||void 0===f||!f.includes(m)||(u=u||[]).push(m)}for(l.children&&l.children.length&&(r.push(n),n=Uo(l.children,u,s,l.shadowId,Vo.pop()));n.vNodesIndex===n.vNodes.length&&r.length;)Vo.push(n),n=r.pop()}return o}(e=Array.isArray(e)?e:[e],sr(t),a)},zo=function(e){var t;e=void 0===(i=e.treeRoot)?o._tree[0]:i;if(!(t=[],i=Ho(i=e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:Sr(e.actualNode)}})),e=jo(i,[])).length)return Promise.resolve();var a,n,i=r.implementation.createHTMLDocument("Dynamic document for loading cssom");i=yo(i);return a=i,n=[],e.forEach((function(e,t){var r=e.rootNode,o=e.shadowId;if(!(e=function(e,t,a){return function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(e=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter($o).reduce((function(a,r){r="STYLE"===(n=r.nodeName.toUpperCase())?r.textContent:r;var n=t({data:r,isLink:"LINK"===n,root:e});return a.push(n.sheet),a}),[])}(e,a):function(e){return Array.from(e.styleSheets).filter((function(e){return Wo(e.media.mediaText)}))}(e))}(r,o,a)))return Promise.all(n);var i=t+1,l={rootNode:r,shadowId:o,convertDataToStylesheet:a,rootIndex:i},s=[];e=Promise.all(e.map((function(e,t){return _o(e,l,[i,t],s)})));n.push(e)})),Promise.all(n).then((function e(t){return t.reduce((function(t,a){return Array.isArray(a)?t.concat(e(a)):t.concat(a)}),[])}))};function $o(e){var t=e.nodeName.toUpperCase(),a=e.getAttribute("href"),r=e.getAttribute("rel");r="LINK"===t&&a&&r&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||r&&Wo(e.media)}function Wo(e){return!e||!e.toUpperCase().includes("PRINT")}var Go=function(e){return e=void 0===(e=e.treeRoot)?o._tree[0]:e,e=Ho(e,"video, audio",(function(e){return(e=e.actualNode).hasAttribute("src")?!!e.getAttribute("src"):!(Array.from(e.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)})),Promise.all(e.map((function(e){var t;e=e.actualNode;return t=e,new Promise((function(e){0<t.readyState&&e(t),t.addEventListener("loadedmetadata",(function a(){t.removeEventListener("loadedmetadata",a),e(t)}))}))})))};function Yo(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(e=e.preload,"object"===n(e)&&Array.isArray(e.assets)))}function Ko(e){var t=(a=Nt.preload).assets,a=a.timeout;a={assets:t,timeout:a};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return t.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(t.join(", "),"."));return a.assets=jo(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}var Xo=function(e){var t={cssom:zo,media:Go};return Yo(e)?new Promise((function(a,r){var n=(o=Ko(e)).assets,o=o.timeout,i=setTimeout((function(){return r(new Error("Preload assets timed out."))}),o);Promise.all(n.map((function(a){return t[a](e).then((function(e){return r=e,(t=a)in(e={})?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;var t,r}))}))).then((function(e){e=e.reduce((function(e,t){return _({},e,t)}),{}),clearTimeout(i),a(e)})).catch((function(e){clearTimeout(i),r(e)}))})):Promise.resolve()};function Jo(e,t,a){return function(r){var o,i=(o=e[r.id]||{}).messages||{};delete(o=Object.assign({},o)).messages,a.reviewOnFail||void 0!==r.result?o.message=r.result===t?i.pass:i.fail:("object"!==n(i.incomplete)||Array.isArray(r.data)||(o.message=function(e,t){function a(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:Zn()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:a(t);try{var r=t.incomplete[e.missingData[0].reason];if(!r)throw new Error;return r}catch(r){return"string"==typeof e.missingData?t.incomplete[e.missingData]:a(t)}}(r.data,i)),o.message||(o.message=i.incomplete)),"function"!=typeof o.message&&(o.message=no(o.message,r.data)),Nr(r,o)}}var Qo=function(e){var t=o._audit.data.checks||{},a=o._audit.data.rules||{},r=Er(o._audit.rules,"id",e.id)||{};e.tags=er(r.tags||[]);var n=Jo(t,!0,r),i=Jo(t,!1,r);e.nodes.forEach((function(e){e.any.forEach(n),e.all.forEach(n),e.none.forEach(i)})),Nr(e,er(a[e.id]||{}))},Zo=function(e,t){return Ho(e,t)};function ei(e,t){var a,r=o._audit&&o._audit.tagExclude?o._audit.tagExclude:[],n=t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(a=t.include||[],a=Array.isArray(a)?a:[a],n=t.exclude||[],(n=Array.isArray(n)?n:[n]).concat(r.filter((function(e){return-1===a.indexOf(e)})))):(a=Array.isArray(t)?t:[t],r.filter((function(e){return-1===a.indexOf(e)})));return!!(a.some((function(t){return-1!==e.tags.indexOf(t)}))||0===a.length&&!1!==e.enabled)&&n.every((function(t){return-1===e.tags.indexOf(t)}))}var ti=function(e,t,a){var r=a.runOnly||{};a=(a.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===r.type?-1!==r.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===r.type&&r.values?ei(e,r.values):ei(e,[]))},ai=function e(t,a){if(!a)return t;var n=t.cloneNode(!1),o=n.outerHTML,i=Oa(n);return Ka.get(o)?n=Ka.get(o):i&&(n=r.createElement(n.nodeName),Array.from(i).forEach((function(e){var r,o,i;r=t,o=e.name,void 0!==(i=a)[o]&&(!0===i[o]||Sa(r,i[o]))||n.setAttribute(e.name,e.value)})),Ka.set(o,n)),Array.from(t.childNodes).forEach((function(t){n.appendChild(e(t,a))})),n},ri=function(e,t){var a,r=[];if(o._selectCache)for(var n=0,i=o._selectCache.length;n<i;n++){var l=o._selectCache[n];if(l.selector===e)return l.result}function s(e){return Eo(e,u)}for(var u,c=(u=t).include.reduce((function(e,t){return e.length&&kr(e[e.length-1],t)||e.push(t),e}),[]),d=0;d<c.length;d++)a=c[d],r=function(e,t){var a;if(0===e.length)return t;e.length<t.length&&(a=e,e=t,t=a);for(var r=0,n=t.length;r<n;r++)e.includes(t[r])||e.push(t[r]);return e}(r,Ho(a,e,s));return o._selectCache&&o._selectCache.push({selector:e,result:r}),r},ni=function(e){e.forEach((function(e){return function(e,a,r){if(e===t)return e.scroll(r,a);e.scrollTop=a,e.scrollLeft=r}(e.elm,e.top,e.left)}))};function oi(e){return function e(t,a){var r=t.shift();return r=r?a.querySelector(r):null,0===t.length?r:null!=r&&r.shadowRoot?e(t,r.shadowRoot):null}(Array.isArray(e)?N(e):[e],r)}var ii=function(e){return(e||"").trim().replace(/\\s{2,}/g," ").split(" ")},li=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},si=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function ui(e){e=Array.isArray(e)?e:si;var t=[];return e.forEach((function(e,a){var r=String.fromCharCode(a+96).replace("`","");Array.isArray(e)?t=t.concat(ui(e).map((function(e){return r+e}))):t.push(r)})),t}var ci=function(e){for(var t=si;e.length<3;)e+="`";for(var a=0;a<=e.length-1;a++)if(!(t=t[e.charCodeAt(a)-96]))return!1;return!0};o._thisWillBeDeletedDoNotUse=o._thisWillBeDeletedDoNotUse||{},o._thisWillBeDeletedDoNotUse.utils={setDefaultFrameMessenger:pa};var di=function(){E(t,St);var e=C(t);function t(a){var r,o,i;return O(this,t),(r=e.call(this))._props=function(e){var t=null!==(r=e.nodeName)&&void 0!==r?r:fi[e.nodeType],a=null!==(r=null!==(a=e.nodeType)&&void 0!==a?a:pi[e.nodeName])&&void 0!==r?r:1;Lt("number"==typeof a,"nodeType has to be a number, got \'".concat(a,"\'")),Lt("string"==typeof t,"nodeName has to be a string, got \'".concat(t,"\'"));var r=null;return"input"===(t=t.toLowerCase())&&(r=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),li().includes(r)||(r="text")),t=_({},e,{nodeType:a,nodeName:t}),r&&(t.type=r),delete t.attributes,Object.freeze(t)}(a),r._attrs=(a=(a=a).attributes,o=void 0===a?{}:a,i={htmlFor:"for",className:"class"},Object.keys(o).reduce((function(e,t){var a=o[t];return Lt("object"!==n(a)||null===a,"expects attributes not to be an object, \'".concat(t,"\' was")),void 0!==a&&(e[i[t]||t]=null!==a?String(a):null),e}),{})),r}return I(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){return null!==(e=this._attrs[e])&&void 0!==e?e:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}]),t}(),pi={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},fi={};Object.keys(pi).forEach((function(e){fi[pi[e]]=e}));var mi=di,hi={};U(hi,{allowedAttr:function(){return bi},arialabelText:function(){return yi},arialabelledbyText:function(){return Al},getAccessibleRefs:function(){return jl},getElementUnallowedRoles:function(){return zl},getExplicitRole:function(){return Di},getImplicitRole:function(){return zi},getOwnedVirtual:function(){return Qi},getRole:function(){return Yi},getRoleType:function(){return Ul},getRolesByType:function(){return Wl},getRolesWithNameFromContents:function(){return Yl},implicitNodes:function(){return Zl},implicitRole:function(){return zi},isAccessibleRef:function(){return es},isAriaRoleAllowedOnElement:function(){return Vl},isUnsupportedRole:function(){return vi},isValidRole:function(){return wi},label:function(){return ts},labelVirtual:function(){return sn},lookupTable:function(){return Ql},namedFromContents:function(){return Ji},requiredAttr:function(){return as},requiredContext:function(){return rs},requiredOwned:function(){return ns},validateAttr:function(){return is},validateAttrValue:function(){return os}});var gi=function(){if(Ka.get("globalAriaAttrs"))return Ka.get("globalAriaAttrs");var e=Object.keys(In.ariaAttrs).filter((function(e){return In.ariaAttrs[e].global}));return Ka.set("globalAriaAttrs",e),e},bi=function(e){var t=In.ariaRoles[e];e=N(gi());return t&&(t.allowedAttrs&&e.push.apply(e,N(t.allowedAttrs)),t.requiredAttrs&&e.push.apply(e,N(t.requiredAttrs))),e},yi=function(e){if(!(e instanceof St)){if(1!==e.nodeType)return"";e=Xa(e)}return e.attr("aria-label")||""},vi=function(e){return!!(e=In.ariaRoles[e])&&!!e.unsupported},wi=function(e){var t=(r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).allowAbstract,a=void 0!==(n=r.flagUnsupported)&&n,r=In.ariaRoles[e],n=vi(e);return!(!r||a&&n||!t&&"abstract"===r.type)},Di=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=t.fallback,r=t.abstracts,n=t.dpub;return 1!==(e=e instanceof St?e:Xa(e)).props.nodeType?null:(t=(e.attr("role")||"").trim().toLowerCase(),(a?ii(t):[t]).find((function(e){return!(!n&&"doc-"===e.substr(0,4))&&wi(e,{allowAbstract:r})}))||null)},xi=function(e){return Object.keys(In.htmlElms).filter((function(t){return(t=In.htmlElms[t]).contentTypes?t.contentTypes.includes(e):!!t.variant&&!(!t.variant.default||!t.variant.default.contentTypes)&&t.variant.default.contentTypes.includes(e)}))},Ei=Ro((function(e){for(var t=[],a=e.rows,r=0,n=a.length;r<n;r++){var o=a[r].cells;t[r]=t[r]||[];for(var i=0,l=0,s=o.length;l<s;l++)for(var u=0;u<o[l].colSpan;u++){for(var c=o[l].getAttribute("rowspan"),d=0===parseInt(c)||0===o[l].rowspan?a.length:o[l].rowSpan,p=0;p<d;p++){for(t[r+p]=t[r+p]||[];t[r+p][i];)i++;t[r+p][i]=o[l]}i++}}return t})),Ai=Ro((function(e,t){var a,r;for(t=t||Ei(Lr(e,"table")),a=0;a<t.length;a++)if(t[a]&&-1!==(r=t[a].indexOf(e)))return{x:r,y:a}})),Ci=function(e){var a=e.getAttribute("scope"),r=e.getAttribute("role");if(e instanceof t.Element==0||-1===["TD","TH"].indexOf(e.nodeName.toUpperCase()))throw new TypeError("Expected TD or TH element");if("columnheader"===r)return"col";if("rowheader"===r)return"row";if("col"===a||"row"===a)return a;if("TH"!==e.nodeName.toUpperCase())return!1;a=Ei(Lr(e,"table"));var n=Ai(e,a);return a[n.y].reduce((function(e,t){return e&&"TH"===t.nodeName.toUpperCase()}),!0)?"col":a.map((function(e){return e[n.x]})).reduce((function(e,t){return e&&t&&"TH"===t.nodeName.toUpperCase()}),!0)?"row":"auto"},Fi=function(e){return-1!==["col","auto"].indexOf(Ci(e))},ki=function(e){return["row","auto"].includes(Ci(e))},Ri=xi("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , main:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]";function Ni(e){var t=tn(Al(e));e=tn(yi(e));return t||e}var Ti={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:"complementary",body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return dr(e,Ri)?null:"contentinfo"},form:function(e){return Ni(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return dr(e,Ri)?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),a=gi().find((function(t){return e.hasAttr(t)}));return!t||a||bn(e)?"img":"presentation"},input:function(e){var t,a;switch(e.hasAttr("list")&&(a=(t=on(e.actualNode,"list").filter((function(e){return!!e}))[0])&&"datalist"===t.nodeName.toLowerCase()),e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return a?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return a?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:function(e){return Ni(e)?"region":null},select:function(e){return e.hasAttr("multiple")||1<parseInt(e.attr("size"))?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){return e=dr(e,"table"),e=Di(e),["grid","treegrid"].includes(e)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return Fi(e.actualNode)?"columnheader":ki(e.actualNode)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},_i=function(e,t){var a=n(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===a)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\\/.*\\/$/.test(t))return a=t.substring(1,t.length-1),new RegExp(a).test(e)}return t===e},Oi=function(e,t){if("object"!==n(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(a){return _i(e(a),t[a])}))},Si=function(e,t){return e instanceof St||(e=Xa(e)),Oi((function(t){return e.attr(t)}),t)},Ii=function(e,t){return!!t(e)},Pi=function(e,t){return _i(Di(e),t)},Bi=function(e,t){return _i(zi(e),t)},Li=function(e,t){return e instanceof St||(e=Xa(e)),_i(e.props.nodeName,t)},Mi=function(e,t){return e instanceof St||(e=Xa(e)),Oi((function(t){return e.props[t]}),t)},qi={attributes:Si,condition:Ii,explicitRole:Pi,implicitRole:Bi,nodeName:Li,properties:Mi,semanticRole:wu=function(e,t){return _i(Yi(e),t)}},ji=function e(t,a){return t instanceof St||(t=Xa(t)),Array.isArray(a)?a.some((function(a){return e(t,a)})):"string"==typeof a?cr(t,a):Object.keys(a).every((function(e){if(!qi[e])throw new Error(\'Unknown matcher type "\'.concat(e,\'"\'));var r=qi[e];e=a[e];return r(t,e)}))},Ui=function(e,t){return ji(e,t)};Ui.attributes=Si,Ui.condition=Ii,Ui.explicitRole=Pi,Ui.fromDefinition=ji,Ui.fromFunction=Oi,Ui.fromPrimative=_i,Ui.implicitRole=Bi,Ui.nodeName=Li,Ui.properties=Mi,Ui.semanticRole=wu;var Vi=Ui,Hi=function(e){var t=In.htmlElms[e.props.nodeName];if(!t)return{};if(!t.variant)return t;var a,r,n=t.variant,o=R(t,u);for(a in n)if(n.hasOwnProperty(a)&&"default"!==a){var i=n[a],l=i.matches,s=R(i,c);if(Vi(e,l))for(var d in s)s.hasOwnProperty(d)&&(o[d]=s[d])}for(r in n.default)n.default.hasOwnProperty(r)&&void 0===o[r]&&(o[r]=n.default[r]);return o},zi=function(e){var t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).chromium,a=e instanceof St?e:Xa(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var r=a.props.nodeName;return(r=Ti[r])||!t?"function"==typeof r?r(a):r||null:Hi(a).chromiumRole||null},$i={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Wi(e,t){var a=t.chromium;t=R(t,d);return(a=zi(e,{chromium:a}))?(t=function e(t,a){var r=$i[t.props.nodeName];if(!r)return null;if(!t.parent)throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.");return r.includes(t.parent.props.nodeName)?(r=Di(t.parent,a),["none","presentation"].includes(r)&&!Gi(t.parent)?r:r?null:e(t.parent,a)):null}(e,t))||a:null}function Gi(e){return gi().some((function(t){return e.hasAttr(t)}))||bn(e)}var Yi=function(e){var t=(a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).noPresentational,a=function(e,t){var a=1<arguments.length&&void 0!==t?t:{},r=a.noImplicit,n=R(a,p),o=e instanceof St?e:Xa(e);return 1!==o.props.nodeType?null:!(a=Di(o,n))||["presentation","none"].includes(a)&&Gi(o)?r?null:Wi(o,n):a}(e,R(a,f));return t&&["presentation","none"].includes(a)?null:a},Ki=["iframe"],Xi=function(e){var t=e instanceof St?e:Xa(e);return 1!==t.props.nodeType||!e.hasAttr("title")||!Ui(t,Ki)&&["none","presentation"].includes(Yi(t))?"":t.attr("title")},Ji=function(e){var t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof St?e:Xa(e)).props.nodeType)return!1;var a=Yi(e),r=In.ariaRoles[a];return!(!r||!r.nameFromContent)||!t&&(!r||["presentation","none"].includes(a))},Qi=function(e){var t=e.actualNode,a=e.children;if(!a)throw new Error("getOwnedVirtual requires a virtual node");return e.hasAttr("aria-owns")?(t=on(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return o.utils.getNodeFromTree(e)})),[].concat(N(a),N(t))):N(a)},Zi=xi("phrasing").concat(["#text"]),el=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=xl.alreadyProcessed;t.startNode=t.startNode||e;var r=(i=t).strict,n=i.inControlContext,o=i.inLabelledByContext,i=Hi(e).contentTypes;return a(e,t)||1!==e.props.nodeType||null!=i&&i.includes("embedded")||!Ji(e,{strict:r})&&!t.subtreeDescendant?"":(r||(t=_({subtreeDescendant:!n&&!o},t)),Qi(e).reduce((function(e,a){return function(e,t,a){var r=t.props.nodeName;return(a=xl(t,a))?(Zi.includes(r)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,a,t)}),""))},tl=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=xl.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||a(e,t))return"";t.startNode||(t.startNode=e);var r,n=_({inControlContext:!0},t);a=function(e){if(!e.attr("id"))return[];if(e.actualNode)return Pr({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode});throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes")}(e);return(t=dr(e,"label"))?(r=[].concat(N(a),[t.actualNode])).sort(No):r=a,r.map((function(e){return El(e,n)})).filter((function(e){return""!==e})).join(" ")},al={submit:"Submit",image:"Submit",reset:"Reset",button:""};function rl(e,t){return t.attr(e)||""}function nl(e,t,a){var r=t.actualNode;t=[e=e.toLowerCase(),r.nodeName.toLowerCase()].join(",");return(t=r.querySelector(t))&&t.nodeName.toLowerCase()===e?El(t,a):""}var ol={valueText:function(e){return e.actualNode.value||""},buttonDefaultText:function(e){return e=e.actualNode,al[e.type]||""},tableCaptionText:nl.bind(null,"caption"),figureText:nl.bind(null,"figcaption"),svgTitleText:nl.bind(null,"title"),fieldsetLegendText:nl.bind(null,"legend"),altText:rl.bind(null,"alt"),tableSummaryText:rl.bind(null,"summary"),titleText:Xi,subtreeText:el,labelText:tl,singleSpace:function(){return" "},placeholderText:rl.bind(null,"placeholder")};function il(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Yi(e)))return"";var r=(Hi(e).namingMethods||[]).map((function(e){return ol[e]})).reduce((function(a,r){return a||r(e,t)}),"");return t.debug&&o.log(r||"{empty-value}",a,t),r}var ll={accessibleNameFromFieldValue:["combobox","listbox","progressbar"]},sl=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],ul=function(e){var t=(e=e instanceof St?e:Xa(e)).props.nodeName;return"textarea"===t||"input"===t&&!sl.includes((e.attr("type")||"").toLowerCase())},cl=function(e){return"select"===(e=e instanceof St?e:Xa(e)).props.nodeName},dl=function(e){return"textbox"===Di(e)},pl=function(e){return"listbox"===Di(e)},fl=function(e){return"combobox"===Di(e)},ml=["progressbar","scrollbar","slider","spinbutton"],hl=function(e){return e=Di(e),ml.includes(e)},gl=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],bl={nativeTextboxValue:function(e){return e=e instanceof St?e:Xa(e),ul(e)&&e.props.value||""},nativeSelectValue:function(e){var t=e instanceof St?e:Xa(e);return cl(t)?((t=(e=Zo(t,"option")).filter((function(e){return e.props.selected}))).length||t.push(e[0]),t.map((function(e){return ln(e)})).join(" ")||""):""},ariaTextboxValue:function(e){var t=e instanceof St?e:Xa(e);e=t.actualNode;return dl(t)?!e||e&&!mn(e)?ln(t,!0):e.textContent:""},ariaListboxValue:yl,ariaComboboxValue:function(e,t){return e=e instanceof St?e:Xa(e),fl(e)&&(e=Qi(e).filter((function(e){return"listbox"===Yi(e)}))[0])?yl(e,t):""},ariaRangeValue:function(e){return e=e instanceof St?e:Xa(e),hl(e)&&e.hasAttr("aria-valuenow")?(e=+e.attr("aria-valuenow"),isNaN(e)?"0":String(e)):""}};function yl(e,t){return e=e instanceof St?e:Xa(e),pl(e)?0===(e=Qi(e).filter((function(e){return"option"===Yi(e)&&"true"===e.attr("aria-selected")}))).length?"":xl(e[0],t):""}function vl(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=e.actualNode,r=ll.accessibleNameFromFieldValue||[],n=Yi(e);return t.startNode===e||!gl.includes(n)||r.includes(n)?"":(n=Object.keys(bl).map((function(e){return bl[e]})).reduce((function(a,r){return a||r(e,t)}),""),t.debug&&Tt(n||"{empty-value}",a,t),n)}function wl(e){var t=e.actualNode,a=function(e,t){var a=e.actualNode;return t.startNode||(t=_({startNode:e},t)),a?(1===a.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=_({includeHidden:!Wr(a,!0)},t)),t):t}(e,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{});if(function(e,t){return!!(e=e.actualNode)&&(1===e.nodeType&&!t.includeHidden&&!Wr(e,!0))}(e,a))return"";var r=[Al,yi,il,vl,el,Dl,Xi].reduce((function(t,r){return""!==(t=a.startNode===e?tn(t):t)?t:r(e,a)}),"");return a.debug&&o.log(r||"{empty-value}",t,a),r}function Dl(e){return 3!==e.props.nodeType?"":e.props.nodeValue}wl.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var xl=wl,El=function(e,t){return e=Xa(e),xl(e,t)},Al=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof St)){if(1!==e.nodeType)return"";e=Xa(e)}return 1!==e.props.nodeType||t.inLabelledByContext||t.inControlContext||!e.attr("aria-labelledby")?"":on(e,"aria-labelledby").filter((function(e){return e})).reduce((function(a,r){return r=El(r,_({inLabelledByContext:!0,startNode:t.startNode||e},t)),a?"".concat(a," ").concat(r):r}),"")},Cl={};U(Cl,{accessibleText:function(){return El},accessibleTextVirtual:function(){return xl},autocomplete:function(){return Ol},formControlValue:function(){return vl},formControlValueMethods:function(){return bl},hasUnicode:function(){return kl},isHumanInterpretable:function(){return Tl},isIconLigature:function(){return _l},isValidAutocomplete:function(){return Sl},label:function(){return Bl},labelText:function(){return tl},labelVirtual:function(){return Pl},nativeElementType:function(){return Ll},nativeTextAlternative:function(){return il},nativeTextMethods:function(){return ol},removeUnicode:function(){return Nl},sanitize:function(){return tn},subtreeText:function(){return el},titleText:function(){return Xi},unsupported:function(){return ll},visible:function(){return Il},visibleTextNodes:function(){return Ml},visibleVirtual:function(){return ln}});var Fl=V(Et()),kl=function(e,t){var a=t.emoji,r=t.nonBmp;t=t.punctuations;return a?Fl.default().test(e):r?/[\\u1D00-\\u1D7F\\u1D80-\\u1DBF\\u1DC0-\\u1DFF\\u20A0-\\u20CF\\u20D0-\\u20FF\\u2100-\\u214F\\u2150-\\u218F\\u2190-\\u21FF\\u2200-\\u22FF\\u2300-\\u23FF\\u2400-\\u243F\\u2440-\\u245F\\u2460-\\u24FF\\u2500-\\u257F\\u2580-\\u259F\\u25A0-\\u25FF\\u2600-\\u26FF\\u2700-\\u27BF\\uE000-\\uF8FF]/g.test(e)||/[\\uDB80-\\uDBBF][\\uDC00-\\uDFFF]/g.test(e):!!t&&/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\\'!"#$%&\\xa3\\xa2\\xa5\\xa7\\u20ac()*+,\\-.\\/:;<=>?@\\[\\]^_`{|}~\\xb1]/g.test(e)},Rl=V(Et()),Nl=function(e,t){var a=t.emoji,r=t.nonBmp;t=t.punctuations;return a&&(e=e.replace(Rl.default(),"")),r&&(e=(e=e.replace(/[\\u1D00-\\u1D7F\\u1D80-\\u1DBF\\u1DC0-\\u1DFF\\u20A0-\\u20CF\\u20D0-\\u20FF\\u2100-\\u214F\\u2150-\\u218F\\u2190-\\u21FF\\u2200-\\u22FF\\u2300-\\u23FF\\u2400-\\u243F\\u2440-\\u245F\\u2460-\\u24FF\\u2500-\\u257F\\u2580-\\u259F\\u25A0-\\u25FF\\u2600-\\u26FF\\u2700-\\u27BF\\uE000-\\uF8FF]/g,"")).replace(/[\\uDB80-\\uDBBF][\\uDC00-\\uDFFF]/g,"")),t?e.replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\\'!"#$%&\\xa3\\xa2\\xa5\\xa7\\u20ac()*+,\\-.\\/:;<=>?@\\[\\]^_`{|}~\\xb1]/g,""):e},Tl=function(e){return!e.length||["x","i"].includes(e)?0:(e=Nl(e,{emoji:!0,nonBmp:!0,punctuations:!0}),tn(e)?1:0)},_l=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.15,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:3,o=e.actualNode.nodeValue.trim();if(!tn(o)||kl(o,{emoji:!0,nonBmp:!0}))return!1;Ka.get("canvasContext")||Ka.set("canvasContext",r.createElement("canvas").getContext("2d"));var i=Ka.get("canvasContext"),l=i.canvas;Ka.get("fonts")||Ka.set("fonts",{});var s=Ka.get("fonts"),u=t.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");s[u]||(s[u]={occurances:0,numLigatures:0});var c=s[u];if(c.occurances>=n){if(c.numLigatures/c.occurances==1)return!0;if(0===c.numLigatures)return!1}c.occurances++;var d="".concat(m=30,"px ").concat(u);i.font=d;var p=o.charAt(0);if((s=i.measureText(p).width)<30&&(s*=n=30/s,d="".concat(m*=n,"px ").concat(u)),l.width=s,l.height=m,i.font=d,i.textAlign="left",i.textBaseline="top",i.fillText(p,0,0),!(p=new Uint32Array(i.getImageData(0,0,s,m).data.buffer)).some((function(e){return e})))return c.numLigatures++,!0;i.clearRect(0,0,s,m),i.fillText(o,0,0);var f=new Uint32Array(i.getImageData(0,0,s,m).data.buffer),m=(s=p.reduce((function(e,t,a){return 0===t&&0===f[a]||0!==t&&0!==f[a]?e:++e}),0),o.split("").reduce((function(e,t){return e+i.measureText(t).width}),0));o=i.measureText(o).width;return a<=s/p.length&&a<=1-o/m&&(c.numLigatures++,!0)},Ol={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},Sl=function(e){var t=void 0!==(r=(i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).looseTyped)&&r,a=void 0===(o=i.stateTerms)?[]:o,r=void 0===(n=i.locations)?[]:n,n=void 0===(o=i.qualifiers)?[]:o,o=void 0===(o=i.standaloneTerms)?[]:o,i=void 0===(i=i.qualifiedTerms)?[]:i;return e=e.toLowerCase().trim(),!(!(a=a.concat(Ol.stateTerms)).includes(e)&&""!==e)||(n=n.concat(Ol.qualifiers),r=r.concat(Ol.locations),o=o.concat(Ol.standaloneTerms),i=i.concat(Ol.qualifiedTerms),a=e.split(/\\s+/g),!(!t&&(8<a[0].length&&"section-"===a[0].substr(0,8)&&a.shift(),r.includes(a[0])&&a.shift(),n.includes(a[0])&&(a.shift(),o=[]),1!==a.length))&&(a=a[a.length-1],o.includes(a)||i.includes(a)))},Il=function(e,t,a){return e=Xa(e),ln(e,t,a)},Pl=function(e){if(t=sn(e))return t;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var t,a=Fa(e.attr("id"));if(t=(a=Ir(e.actualNode).querySelector(\'label[for="\'+a+\'"]\'))&&Il(a,!0))return t}return(t=(a=dr(e,"label"))&&ln(a,!0))?t:null},Bl=function(e){return e=Xa(e),Pl(e)},Ll=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],Ml=function e(t){var a=Wr(t.actualNode),r=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?a&&r.push(t):r=r.concat(e(t))})),r},ql=/^idrefs?$/,jl=function(e){e=e.actualNode||e;var t=(t=Ir(e)).documentElement||t,a=Ka.get("idRefsByRoot");a||(a=new WeakMap,Ka.set("idRefsByRoot",a));var r=a.get(t);return r||(a.set(t,r={}),function e(t,a,r){if(t.hasAttribute){var n;"LABEL"===t.nodeName.toUpperCase()&&t.hasAttribute("for")&&(a[n=t.getAttribute("for")]=a[n]||[],a[n].push(t));for(var o=0;o<r.length;++o){var i=r[o];if(i=tn(t.getAttribute(i)||""))for(var l=ii(i),s=0;s<l.length;++s)a[l[s]]=a[l[s]]||[],a[l[s]].push(t)}}for(var u=0;u<t.children.length;u++)e(t.children[u],a,r)}(t,r,Object.keys(In.ariaAttrs).filter((function(e){return e=In.ariaAttrs[e].type,ql.test(e)})))),r[e.id]||[]},Ul=function(e){return(e=In.ariaRoles[e])?e.type:null},Vl=function(e,t){return e=e instanceof St?e:Xa(e),t===zi(e)||(e=Hi(e),Array.isArray(e.allowedRoles)?e.allowedRoles.includes(t):!!e.allowedRoles)},Hl=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],zl=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],a=e instanceof St?e:Xa(e),r=a.props.nodeName;if(!Do(a))return[];var n,o=(o=[],(n=a)?(n.hasAttr("role")&&(n=ii(n.attr("role").toLowerCase()),o=o.concat(n)),o=o.filter((function(e){return wi(e)}))):o),i=zi(a);return o.filter((function(e){if(t&&e===i)return!1;if(t&&Hl.includes(e)){var n=Ul(e);if(i!==n)return!0}return!(t||"row"===e&&"tr"===r&&Sa(a,\'table[role="grid"] > tr\'))||!Vl(a,e)}))},$l=function(e){return Object.keys(In.ariaRoles).filter((function(t){return In.ariaRoles[t].type===e}))},Wl=function(e){return $l(e)},Gl=function(){if(Ka.get("ariaRolesNameFromContent"))return Ka.get("ariaRolesNameFromContent");var e=Object.keys(In.ariaRoles).filter((function(e){return In.ariaRoles[e].nameFromContent}));return Ka.set("ariaRolesNameFromContent",e),e},Yl=function(){return Gl()},Kl=function(e){return null===e},Xl=function(e){return null!==e},Jl={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};Jl.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",\'input[type="button"]\',\'input[type="image"]\',\'input[type="reset"]\',\'input[type="submit"]\',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xl}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:[\'input[type="checkbox"]\'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xl}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xl}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xl}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xl}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:[\'menu[type="context"]\'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:[\'menuitem[type="command"]\'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Xl}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:[\'menuitem[type="checkbox"]\'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Xl}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:[\'menuitem[type="radio"]\'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Xl}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Xl}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Xl}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Xl}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:[\'input[type="radio"]\'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="search"]\'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="range"]\'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="number"]\'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Xl}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Xl}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:[\'input[type="text"]\',\'input[type="email"]\',\'input[type="password"]\',\'input[type="tel"]\',\'input[type="url"]\',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:[\'menu[type="toolbar"]\'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:Xl}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Jl.implicitHtmlRole=Ti,Jl.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Xl}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Xl}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof o.AbstractVirtualNode||(e=o.utils.getNodeFromTree(e)),1<Number(e.attr("size"))},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Jl.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Kl}},{nodeName:"img",attributes:{alt:Kl}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Jl.evaluateRoleForElement={A:function(e){var t=e.node;e=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||e},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,a=e.role;e=e.out;return"menu"===t.getAttribute("type")?"menuitem"===a:e},IMG:function(e){var t=e.node,a=e.role,r=e.out;switch(t.alt){case null:return r;case"":return"presentation"===a||"none"===a;default:return"presentation"!==a&&"none"!==a}},INPUT:function(e){var t=e.node,a=e.role,r=e.out;switch(t.type){case"button":case"image":return r;case"checkbox":return!("button"!==a||!t.hasAttribute("aria-pressed"))||r;case"radio":return"menuitemradio"===a;case"text":return"combobox"===a||"searchbox"===a||"spinbutton"===a;case"tel":return"combobox"===a||"spinbutton"===a;case"url":case"search":case"email":return"combobox"===a;default:return!1}},LI:function(e){var t=e.node;e=e.out;return!o.utils.matchesSelector(t,"ol li, ul li")||e},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){return e=e.node,!o.utils.matchesSelector(e,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node;e=e.role;return!t.multiple&&t.size<=1&&"menu"===e},SVG:function(e){var t=e.node;e=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||e}},Jl.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var Ql=Jl,Zl=function(e){var t=null;return(e=Ql.role[e])&&e.implicit?er(e.implicit):t},es=function(e){return!!jl(e).length},ts=function(e){return e=Xa(e),sn(e)},as=function(e){return(e=In.ariaRoles[e])&&Array.isArray(e.requiredAttrs)?N(e.requiredAttrs):[]},rs=function(e){return(e=In.ariaRoles[e])&&Array.isArray(e.requiredContext)?N(e.requiredContext):null},ns=function(e){return(e=In.ariaRoles[e])&&Array.isArray(e.requiredOwned)?N(e.requiredOwned):null},os=function(e,t){var a,r=(e=e instanceof St?e:Xa(e)).attr(t),n=In.ariaAttrs[t];if(!n)return!0;if(n.allowEmpty&&(!r||""===r.trim()))return!0;switch(n.type){case"boolean":return["true","false"].includes(r.toLowerCase());case"nmtoken":return"string"==typeof r&&n.values.includes(r.toLowerCase());case"nmtokens":return(a=ii(r)).reduce((function(e,t){return e&&n.values.includes(t)}),0!==a.length);case"idref":try{var o=Ir(e.actualNode);return!(!r||!o.getElementById(r))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return on(e,t).some((function(e){return!!e}));case"string":return""!==r.trim();case"decimal":return!(!(i=r.match(/^[-+]?([0-9]*)\\.?([0-9]*)$/))||!i[1]&&!i[2]);case"int":var i=void 0!==n.minValue?n.minValue:-1/0;return/^[-+]?[0-9]+$/.test(r)&&parseInt(r)>=i}},is=function(e){return!!In.ariaAttrs[e]};var ls={};function ss(e,t,a,r){var n=Di(e);if(!(a=a||rs(n)))return null;for(var o=r?e:e.parent;o;){var i=Yi(o);if(a.includes("group")&&"group"===i)t.includes(n)&&a.push(n),a=a.filter((function(e){return"group"!==e})),o=o.parent;else{if(a.includes(i))return null;if(i&&!["presentation","none"].includes(i))return a;o=o.parent}}return a}U(ls,{getAriaRolesByType:function(){return $l},getAriaRolesSupportingNameFromContent:function(){return Gl},getElementSpec:function(){return Hi},getElementsByContentType:function(){return xi},getGlobalAriaAttrs:function(){return gi},implicitHtmlRoles:function(){return Ti}});var us={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},cs={application:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};var ds={};U(ds,{getAllCells:function(){return ps},getCellPosition:function(){return Ai},getHeaders:function(){return ms},getScope:function(){return Ci},isColumnHeader:function(){return Fi},isDataCell:function(){return hs},isDataTable:function(){return gs},isHeader:function(){return bs},isRowHeader:function(){return ki},toArray:function(){return Ei},toGrid:function(){return Ei},traverse:function(){return ys}});var ps=function(e){for(var t,a,r=[],n=0,o=e.rows.length;n<o;n++)for(t=0,a=e.rows[n].cells.length;t<a;t++)r.push(e.rows[n].cells[t]);return r};function fs(e,t,a){for(var r,n="row"===e?"_rowHeaders":"_colHeaders",i="row"===e?ki:Fi,l=(u=a[t.y][t.x]).colSpan-1,s=u.getAttribute("rowspan"),u=0===parseInt(s)||0===u.rowspan?a.length:u.rowSpan,c=(u=t.y+(u-1),t.x+l),d="row"===e?t.y:0,p="row"===e?0:t.x,f=[],m=u;d<=m&&!r;m--)for(var h=c;p<=h;h--){var g=a[m]?a[m][h]:void 0;if(g){var b=o.utils.getNodeFromTree(g);if(b[n]){r=b[n];break}f.push(g)}}return r=(r||[]).concat(f.filter(i)),f.forEach((function(e){o.utils.getNodeFromTree(e)[n]=r})),r}var ms=function(e,t){if(e.getAttribute("headers")){var a=on(e,"headers");if(a.filter((function(e){return e})).length)return a}return t=t||Ei(Lr(e,"table")),e=fs("row",a=Ai(e,t),t),t=fs("col",a,t),[].concat(e,t).reverse()},hs=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return wi(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},gs=function(e){var a=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===a||"none"===a)&&!bn(e))return!1;if("true"===e.getAttribute("contenteditable")||Lr(e,\'[contenteditable="true"]\'))return!0;if("grid"===a||"treegrid"===a||"table"===a)return!0;if("landmark"===Ul(a))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var o,i,l,s=0,u=e.rows.length,c=!1,d=0;d<u;d++)for(var p,f=0,m=(p=e.rows[d]).cells.length;f<m;f++){if("TH"===(o=p.cells[f]).nodeName.toUpperCase())return!0;if(c||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(c=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes((o.getAttribute("role")||"").toLowerCase()))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;s++}if(e.getElementsByTagName("table").length)return!1;if(u<2)return!1;if(1===(a=e.rows[Math.ceil(u/2)]).cells.length&&1===a.cells[0].colSpan)return!1;if(5<=a.cells.length)return!0;if(c)return!0;for(d=0;d<u;d++){if(p=e.rows[d],i&&i!==t.getComputedStyle(p).getPropertyValue("background-color"))return!0;if(i=t.getComputedStyle(p).getPropertyValue("background-color"),l&&l!==t.getComputedStyle(p).getPropertyValue("background-image"))return!0;l=t.getComputedStyle(p).getPropertyValue("background-image")}return 20<=u||!(Ur(e).width>.95*Vr(t).width)&&!(s<10)&&!e.querySelector("object, embed, iframe, applet")},bs=function(e){return!(!Fi(e)&&!ki(e))||!!e.getAttribute("id")&&(e=Fa(e.getAttribute("id")),!!r.querySelector(\'[headers~="\'.concat(e,\'"]\')))},ys=function(e,t,a,r){if(Array.isArray(t)&&(r=a,a=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return function e(t,a,r,n){var o,i=r[a.y]?r[a.y][a.x]:void 0;return i?"function"==typeof n&&!0===(o=n(i,a,r))?[i]:((o=e(t,{x:a.x+t.x,y:a.y+t.y},r,n)).unshift(i),o):[]}(e,{x:t.x+e.x,y:t.y+e.y},a,r)};var vs={};U(vs,{Color:function(){return Pn},centerPointOfRect:function(){return ws},elementHasImage:function(){return kn},elementIsDistinct:function(){return xs},filteredRectStack:function(){return As},flattenColors:function(){return ks},flattenShadowColors:function(){return Rs},getBackgroundColor:function(){return _s},getBackgroundStack:function(){return Ns},getContrast:function(){return Os},getForegroundColor:function(){return Ss},getOwnBackgroundColor:function(){return Bn},getRectStack:function(){return Es},getTextShadowColors:function(){return Ts},hasValidContrastRatio:function(){return Is},incompleteData:function(){return Fn}});var ws=function(e){if(!(e.left>t.innerWidth||e.top>t.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),t.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),t.innerHeight-1)}};function Ds(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var xs=function(e,a){var r=t.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var a=new Pn;return a.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&0<parseFloat(r.getPropertyValue(t+"-width"))&&0!==a.alpha}),!1))return!0;var n=t.getComputedStyle(a);return Ds(r)[0]!==Ds(n)[0]||(e=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)}),!1),(a=r.getPropertyValue("text-decoration")).split(" ").length<3?e||a!==n.getPropertyValue("text-decoration"):e)},Es=function(e){var t=Zr(e);return!(e=an(e))||e.length<=1?[t]:e.some((function(e){return void 0===e}))?null:(e.splice(0,0,t),e)},As=function(e){var t=Es(e);if(t&&1===t.length)return t[0];if(t&&1<t.length){var a,r=t.shift();return t.forEach((function(n,o){var i,l;0!==o&&(i=t[o-1],l=t[o],a=i.every((function(e,t){return e===l[t]}))||r.includes(e))})),a?t[0]:(Fn.set("bgColor","elmPartiallyObscuring"),null)}return Fn.set("bgColor","outsideViewport"),null},Cs={normal:function(e,t){return t}};function Fs(e,t,a,r,n){return Math.round(t*(1-r)*e+t*r*Cs[n](a,e)+(1-t)*r*a)}var ks=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"normal",r=Fs(e.red,e.alpha,t.red,t.alpha,a),n=Fs(e.green,e.alpha,t.green,t.alpha,a),o=Fs(e.blue,e.alpha,t.blue,t.alpha,a);a=Math.max(0,Math.min(e.alpha+t.alpha*(1-e.alpha),1));return new Pn(r,n,o,a)},Rs=function(e,t){var a=(1-(n=e.alpha))*t.red+n*e.red,r=(1-n)*t.green+n*e.green,n=(1-n)*t.blue+n*e.blue;e=e.alpha+t.alpha*(1-e.alpha);return new Pn(a,r,n,e)};var Ns=function(e){var a,n,o=As(e);if(null===o)return null;n=(a=o=jn(o,e)).indexOf(r.body),i=a,a=Bn(t.getComputedStyle(r.documentElement)),1<n&&0===a.alpha&&!kn(r.documentElement)&&(1<n&&(i.splice(n,1),i.push(r.body)),0<(n=i.indexOf(r.documentElement))&&(i.splice(n,1),i.push(r.documentElement)));var i=(o=i).indexOf(e);return function(e,t,a){if(0<e)for(var r=e-1;0<=r;r--){if(function(e,t){var a=e.getClientRects()[0],r=zn(a.left,a.top);if(r)for(var n=0;n<r.length;n++)if(r[n]!==e&&r[n]===t)return 1}(a,t[r]))return 1;t.splice(r,1)}}(i,o,e)?(Fn.set("bgColor","bgOverlap"),null):-1!==i?o:null},Ts=function(e){var a=(i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).minRatio,r=i.maxRatio,n=t.getComputedStyle(e),o=n.getPropertyValue("text-shadow");if("none"===o)return[];var i=n.getPropertyValue("font-size"),l=parseInt(i);Lt(!1===isNaN(l),"Unable to determine font-size value ".concat(i));var s=[];return function(e){var t={pixels:[]},a=e.trim(),r=[t];if(!a)return[];for(;a;){var n=a.match(/^rgba?\\([0-9,.\\s]+\\)/i)||a.match(/^[a-z]+/i)||a.match(/^#[0-9a-f]+/i),o=a.match(/^([0-9.-]+)px/i)||a.match(/^(0)/);if(n)Lt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),a=a.replace(n[0],"").trim(),t.colorStr=n[0];else if(o)Lt(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),a=a.replace(o[0],"").trim(),o=parseFloat(("."===o[1][0]?"0":"")+o[1]),t.pixels.push(o);else{if(","!==a[0])throw new Error("Unable to process text-shadows: ".concat(e));Lt(2<=t.pixels.length,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},r.push(t),a=a.substr(1).trim()}}return r}(o).forEach((function(e){var t=e.colorStr,o=e.pixels,i=(t=t||n.getPropertyValue("color"),e=(i=T(o,3))[0],o=i[1],void 0===(i=i[2])?0:i);(!a||l*a<=i)&&(!r||i<l*r)&&(i=function(e){var t=e.colorStr,a=e.offsetX,r=e.offsetY,n=e.blurRadius;e=e.fontSize;return n<a||n<r?new Pn(0,0,0,0):((r=new Pn).parseString(t),r.alpha*=function(e,t){return 0!==e?.185/(e/t+.4):1}(n,e),r)}({colorStr:t,offsetY:e,offsetX:o,blurRadius:i,fontSize:l}),s.push(i))})),s};function _s(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],n=Ts(e,{minRatio:2<arguments.length&&void 0!==arguments[2]?arguments[2]:.1});n.length&&(n=[n.reduce(Rs)]);var o=Ns(e);return(o||[]).some((function(r){var o=t.getComputedStyle(r),i=Bn(o);return function(e,t,a){return(a=e!==t&&!Un(e,t)&&0!==a.alpha)&&Fn.set("bgColor","elmPartiallyObscured"),a}(e,r,i)||kn(r,o)?(n=null,a.push(r),!0):0!==i.alpha&&(a.push(r),n.unshift(i),1===i.alpha)})),null===n||null===o?null:(o=function(e,a){var n,o,i=[];return a||(n=r.documentElement,o=r.body,a=t.getComputedStyle(n),n=t.getComputedStyle(o),a=Bn(a),o=0!==(n=Bn(n)).alpha&&Un(e,o),(0!==n.alpha&&0===a.alpha||o&&1!==n.alpha)&&i.unshift(n),0!==a.alpha&&(!o||o&&1!==n.alpha)&&i.unshift(a)),i.unshift(new Pn(255,255,255,1)),i}(e,o.includes(r.body)),n.unshift.apply(n,N(o)),n.reduce((function(e,t){return ks(t,e)})))}var Os=function(e,t){return t&&e?(t.alpha<1&&(t=ks(t,e)),e=e.getRelativeLuminance(),t=t.getRelativeLuminance(),(Math.max(t,e)+.05)/(Math.min(t,e)+.05)):null},Ss=function(e,a,r){var n=t.getComputedStyle(e),o=new Pn;return o.parseString(n.getPropertyValue("color")),n=function e(a){if(!a)return 1;var r=Xa(a);return r&&void 0!==r._opacity&&null!==r._opacity?r._opacity:(a=t.getComputedStyle(a).getPropertyValue("opacity")*e(a.parentElement),r&&(r._opacity=a),a)}(e),o.alpha=o.alpha*n,1===o.alpha?o:null===(r=r||_s(e,[]))?(n=Fn.get("bgColor"),Fn.set("fgColor",n),null):o.alpha<1?(e=Ts(e,{minRatio:0}),[o].concat(N(e),[r]).reduce(Rs)):ks(o,r)},Is=function(e,t,a,r){return t=Os(e,t),{isValid:(a=r&&Math.ceil(72*a)/96<14||!r&&Math.ceil(72*a)/96<18?4.5:3)<t,contrastRatio:t,expectedContrastRatio:a}},Ps=Ro((function(e,a){var r=t.getComputedStyle(e,a);return(e=function(e,t){return r.getPropertyValue(e)===t})("content","none")||e("display","none")||e("visibility","hidden")||!1===e("position","absolute")||0===Bn(r).alpha&&e("background-image","none")?0:(a=Bs(r.getPropertyValue("width")),e=Bs(r.getPropertyValue("height")),"px"!==a.unit||"px"!==e.unit?0===a.value||0===e.value?0:1/0:a.value*e.value)}));function Bs(e){e=(t=T(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3))[1];var t=void 0===(t=t[2])?"":t;return{value:parseFloat(void 0===e?"":e),unit:t.toLowerCase()}}function Ls(e,t){return e=e.getRelativeLuminance(),t=t.getRelativeLuminance(),(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}var Ms=["block","list-item","table","flex","grid","inline-block"];function qs(e){return e=t.getComputedStyle(e).getPropertyValue("display"),-1!==Ms.indexOf(e)||"table-"===e.substr(0,6)}j=function(e,t,a){if("input"!==a.props.nodeName)return!0;var r=["text","search","number","tel"],o=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":r,"cc-exp":["text","search","month","tel"],"cc-exp-month":r,"cc-exp-year":r,"cc-csc":r,"transaction-amount":r,"bday-day":r,"bday-month":r,"bday-year":r,"new-password":["text","search","password"],"current-password":["text","search","password"],url:o,photo:o,impp:o};return"object"===n(t)&&Object.keys(t).forEach((function(e){i[e]||(i[e]=[]),i[e]=i[e].concat(t[e])})),o=(o=a.attr("autocomplete").split(/\\s+/g).map((function(e){return e.toLowerCase()})))[o.length-1],!!Ol.stateTerms.includes(o)||(o=i[o],a=a.hasAttr("type")?tn(a.attr("type")).toLowerCase():"text",a=li().includes(a)?a:"text",void 0===o?"text"===a:o.includes(a))},Qt=function(e,t,a){return a=a.attr("autocomplete")||"",Sl(a,t)};var js=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");return a.hasAttr(t.attribute)?(t=a.attr(t.attribute),!!tn(t)||(this.data({messageKey:"emptyAttr"}),!1)):(this.data({messageKey:"noAttr"}),!1)};function Us(e,t){var a=null===(a=t.data)||void 0===a?void 0:a.headingOrder,r=Hs(t.node.ancestry,1);return a?(t=a.map((function(e){return function(e,t){return _({},e,{ancestry:t=t.concat(e.ancestry)})}(e,r)})),-1===(a=function(e,t){for(;t.length;){var a=Vs(e,t);if(-1!==a)return a;t=Hs(t,1)}return-1}(e,r))?e.push.apply(e,N(t)):e.splice.apply(e,[a,0].concat(N(t))),e):e}function Vs(e,t){return e.findIndex((function(e){return Ao(e.ancestry,t)}))}function Hs(e,t){return e.slice(0,e.length-t)}tr=function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e},Tn=function(e,t,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");return t=Ho(a,t.selector,(function(e){return Wr(e.actualNode,!0)})),this.relatedNodes(t.map((function(e){return e.actualNode}))),0<t.length},_n=function(e,t,a){try{return""!==tn(el(a))}catch(e){return}},di=function(e,t,a){return Vi(a,t.matcher)},Si=function(e){return e.filter((function(e){return"ignored"!==e.data}))},Ii=function(e,t,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var r="page-no-duplicate;"+t.selector;if(!Ka.get(r))return Ka.set(r,!0),r=Ho(o._tree[0],t.selector,(function(e){return Wr(e.actualNode,!0)})),"string"==typeof t.nativeScopeFilter&&(r=r.filter((function(e){return e.actualNode.hasAttribute("role")||!Br(e,t.nativeScopeFilter)}))),this.relatedNodes(r.filter((function(e){return e!==a})).map((function(e){return e.actualNode}))),r.length<=1;this.data("ignored")},Pi=function(){if(Ka.get("headingOrder"))return!0;var e=Ho(o._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",(function(e){return Wr(e.actualNode,!0)})),t=e.map((function(e){return{ancestry:[Wa(e.actualNode)],level:(a=(r=Yi(t=e))&&r.includes("heading"),e=t.attr("aria-level"),r=parseInt(e,10),t=T(t.props.nodeName.match(/h(\\d)/)||[],2)[1],a?t&&!e?parseInt(t,10):isNaN(r)||r<1?t?parseInt(t,10):2:r||-1:-1)};var t,a,r}));return this.data({headingOrder:t}),Ka.set("headingOrder",e),!0},Bi=function(e){if(e.length<2)return e;function t(e){var t=a[e],i=(u=t.data).name,l=u.urlProps;if(o[i])return"continue";var s=a.filter((function(t,a){return t.data.name===i&&a!==e})),u=s.every((function(e){return function e(t,a){if(!t||!a)return!1;var r=Object.getOwnPropertyNames(t),o=Object.getOwnPropertyNames(a);return r.length===o.length&&r.every((function(r){var o=t[r];r=a[r];return n(o)===n(r)&&("object"==typeof o||"object"==typeof r?e(o,r):o===r)}))}(e.data.urlProps,l)}));s.length&&!u&&(t.result=void 0),t.relatedNodes=[],(u=t.relatedNodes).push.apply(u,N(s.map((function(e){return e.relatedNodes[0]})))),o[i]=s,r.push(t)}for(var a=e.filter((function(e){return void 0!==e.result})),r=[],o={},i=0;i<a.length;i++)t(i);return r},U(Li={},{aria:function(){return hi},color:function(){return vs},dom:function(){return Or},forms:function(){return zs},matches:function(){return Vi},standards:function(){return ls},table:function(){return ds},text:function(){return Cl},utils:function(){return It}});var zs={};U(zs,{isAriaCombobox:function(){return fl},isAriaListbox:function(){return pl},isAriaRange:function(){return hl},isAriaTextbox:function(){return dl},isDisabled:function(){return Ws},isNativeSelect:function(){return cl},isNativeTextbox:function(){return ul}});var $s=["fieldset","button","select","input","textarea"],Ws=function e(t){if("boolean"==typeof(n=t._isDisabled))return n;var a=t.props.nodeName,r=t.attr("aria-disabled"),n=!(!$s.includes(a)||!t.hasAttr("disabled"))||(r?"true"===r.toLowerCase():!!t.parent&&e(t.parent));return t._isDisabled=n};function Gs(e){return{fontWeight:function(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}((e=t.getComputedStyle(function(e){for(var t=e,a=e.textContent.trim(),r=a;r===a&&void 0!==t;){var n=-1;if(0===(e=t).children.length)return e;for(;n++,""===(r=e.children[n].textContent.trim())&&n+1<e.children.length;);t=e.children[n]}return e}(e))).getPropertyValue("font-weight")),fontSize:parseInt(e.getPropertyValue("font-size")),isItalic:"italic"===e.getPropertyValue("font-style")}}function Ys(e,t,a){return a.reduce((function(a,r){return a||(!r.size||e.fontSize/r.size>t.fontSize)&&(!r.weight||e.fontWeight-r.weight>t.fontWeight)&&(!r.italic||e.isItalic&&!t.isItalic)}),!1)}Mi=function(e,t,a){if(a=Cl.accessibleTextVirtual(a),a=Cl.sanitize(Cl.removeUnicode(a,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase())return a={name:a,urlProps:Or.urlPropsFromAttribute(e,"href")},this.data(a),this.relatedNodes([e]),!0},wu=function(e,t,a){return Zo(a,"a[href]").some((function(e){return/^#[^/!]/.test(e.actualNode.getAttribute("href"))}))},Xl=function(e,t,a){var r=a.attr("content")||"";a=r.split(/[;,]/);return""===r||"0"===a[0]};Kl=function(e,t,a){var r=(s=Array.from(e.parentNode.children)).indexOf(e),n=(t=t||{}).margins||[],o=s.slice(r+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),i=s.slice(0,r).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),l=Gs(e),s=o?Gs(o):null;r=i?Gs(i):null,i=t.passLength,t=t.failLength,e=e.textContent.trim().length;return(o=null==o?void 0:o.textContent.trim().length)*i<e||!s||!Ys(l,s,n)||!!((a=Br(a,"blockquote"))&&"BLOCKQUOTE"===a.nodeName.toUpperCase()||r&&!Ys(l,r,n)||o*t<e)&&void 0};var Ks=$l("landmark"),Xs=["alert","log","status"];function Js(e,t){var a,n,o,i,l=e.actualNode;if(n=t,o=(a=e).actualNode,i=Yi(a),o=(o.getAttribute("aria-live")||"").toLowerCase().trim(),["assertive","polite"].includes(o)||Xs.includes(i)||Ks.includes(i)||n.regionMatcher&&Vi(a,n.regionMatcher)||["iframe","frame"].includes(e.props.nodeName)||qn(e.actualNode)&&qr(e.actualNode,"href")||!Wr(l,!0)){for(var s=e;s;)s._hasRegionDescendant=!0,s=s.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return l!==r.body&&dn(l,!0)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Js(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}function Qs(e,t){return t=Zs(t),e=Zs(e),!(!t||!e)&&t.includes(e)}function Zs(e){return e=Nl(e,{emoji:!0,nonBmp:!0,punctuations:!0}),tn(e)}function eu(e){return""!==(e||"").trim()}var tu=function(e,t,a){return a.initiator},au=function(e,t){try{return"svg"===t.props.nodeName||!!dr(t,"svg")}catch(e){return!1}},ru={"abstractrole-evaluate":function(e,t,a){return 0<(a=ii(a.attr("role")).filter((function(e){return"abstract"===Ul(e)}))).length&&(this.data(a),!0)},"aria-allowed-attr-evaluate":function(e,t,a){var r=[],n=Yi(a),o=a.attrNames,i=bi(n);Array.isArray(t[n])&&(i=jo(t[n].concat(i)));var l=Ka.get("aria-allowed-attr-table");function s(){if(a.parent&&"row"===n){var e=dr(a,\'table, [role="treegrid"], [role="table"], [role="grid"]\'),t=l.get(e);if(e&&!t&&(t=Yi(e),l.set(e,t)),["table","grid"].includes(t)&&"row"===n)return!0}}l||(l=new WeakMap,Ka.set("aria-allowed-attr-table",l)),t=Array.isArray(t.validTreeRowAttrs)?t.validTreeRowAttrs:[];var u={};if(t.forEach((function(e){u[e]=s})),n&&i)for(var c=0;c<o.length;c++){var d,p=o[c];(is(p)&&null!==(d=u[p])&&void 0!==d&&d.call(u)||is(p)&&!i.includes(p))&&r.push(p+\'="\'+a.attr(p)+\'"\')}return!r.length||(this.data(r),!1)},"aria-allowed-role-evaluate":function(e){var t=2<arguments.length?arguments[2]:void 0,a=void 0===(n=(r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).allowImplicit)||n,r=void 0===(n=r.ignoredTags)?[]:n,n=t.props.nodeName;return!!r.map((function(e){return e.toLowerCase()})).includes(n)||!(a=zl(t,a)).length||(this.data(a),!Wr(t,!0)&&void 0)},"aria-errormessage-evaluate":function(e,t,a){t=Array.isArray(t)?t:[];var r=a.attr("aria-errormessage"),n=a.hasAttr("aria-errormessage"),o=a.attr("aria-invalid");return!a.hasAttr("aria-invalid")||"false"===o||-1!==t.indexOf(r)||!n||(this.data(ii(r)),function(e){if(""===e.trim())return In.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&on(a,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:ii(e)})}return t?Wr(t,!0)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||-1<ii(a.attr("aria-describedby")).indexOf(e):(this.data({messageKey:"hidden",values:ii(e)}),!1):void 0}.call(this,r))},"aria-hidden-body-evaluate":function(e,t,a){return"true"!==a.attr("aria-hidden")},"aria-level-evaluate":function(e,t,a){if(a=a.attr("aria-level"),!(6<parseInt(a,10)))return!0},"aria-prohibited-attr-evaluate":function(e){var t=2<arguments.length?arguments[2]:void 0,a=(a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).elementsAllowedAriaLabel||[];return 0!==(a=function(e,t){var a=Yi(e,{chromium:!0}),r=In.ariaRoles[a];return r?r.prohibitedAttrs||[]:(e=e.props.nodeName,a||t.includes(e)?[]:["aria-label","aria-labelledby"])}(t,a).filter((function(e){return!!t.attrNames.includes(e)&&""!==tn(t.attr(e))}))).length&&(this.data(a),!(""!==tn(el(t)))||void 0)},"aria-required-attr-evaluate":function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length?arguments[2]:void 0,r=[],n=a.attrNames,o=Di(a);if(n.length){var i=as(o),l=Hi(a);if(Array.isArray(t[o])&&(i=jo(t[o],i)),o&&i)for(var s=0,u=i.length;s<u;s++){var c=i[s];a.attr(c)||l.implicitAttrs&&void 0!==l.implicitAttrs[c]||r.push(c)}}return"combobox"===o&&r.includes("aria-controls")&&(a.hasAttr("aria-owns")||"true"!==a.attr("aria-expanded"))&&r.splice(r.indexOf("aria-controls",1)),!r.length||(this.data(r),!1)},"aria-required-children-evaluate":function(e,t,a){var r=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=Di(a,{dpub:!0}),o=ns(n);return null===o||(!(o=function(e,t){for(var a=0;a<t.length;a++){var r=t[a];if(e.includes(r))return e=e.filter((function(e){return e!==r})),null}return e.length?e:null}(o,t=function(e,t){for(var a=[],r=Qi(e),n=0;n<r.length;n++)!function(e){e=r[e];var n=Yi(e,{noPresentational:!0});!n||["group","rowgroup"].includes(n)&&t.some((function(e){return e===n}))?r.push.apply(r,N(e.children)):n&&a.push(n)}(n);return a}(a,o)))||(this.data(o),!(!r.includes(n)||cn(a,!1,!0)||t.length||a.hasAttr("aria-owns")&&on(e,"aria-owns").length)&&void 0))},"aria-required-parent-evaluate":function(e,t,a){var r=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=ss(a,r);if(!n)return!0;var o=function(e){for(var t,a=[],r=null;e;)e.getAttribute("id")&&(t=Fa(e.getAttribute("id")),(r=Ir(e).querySelector("[aria-owns~=".concat(t,"]")))&&a.push(r)),e=e.parentElement;return a.length?a:null}(e);if(o)for(var i=0,l=o.length;i<l;i++)if(!(n=ss(Xa(o[i]),r,n,!0)))return!0;return this.data(n),!1},"aria-roledescription-evaluate":function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=Yi(e);return!!(t.supportedRoles||[]).includes(a)||!(!a||"presentation"===a||"none"===a)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,a){return!!(a=a.attrNames.filter((function(t){var a=In.ariaAttrs[t];return!!is(t)&&(a=a.unsupported,"object"!==n(a)?!!a:!Vi(e,a.exceptions))}))).length&&(this.data(a),!0)},"aria-valid-attr-evaluate":function(e,t,a){t=Array.isArray(t.value)?t.value:[];var r=[],n=/^aria-/;return a.attrNames.forEach((function(e){-1===t.indexOf(e)&&n.test(e)&&!is(e)&&r.push(e)})),!r.length||(this.data(r),!1)},"aria-valid-attr-value-evaluate":function(e,t,a){t=Array.isArray(t.value)?t.value:[];var r="",n="",o=[],i=/^aria-/,l=["aria-errormessage"],s={"aria-controls":function(){return"false"!==a.attr("aria-expanded")&&"false"!==a.attr("aria-selected")},"aria-current":function(e){e||(r=\'aria-current="\'.concat(a.attr("aria-current"),\'"\'),n="ariaCurrent")},"aria-owns":function(){return"false"!==a.attr("aria-expanded")},"aria-describedby":function(e){e||(r=\'aria-describedby="\'.concat(a.attr("aria-describedby"),\'"\'),n="noId")},"aria-labelledby":function(e){e||(r=\'aria-labelledby="\'.concat(a.attr("aria-labelledby"),\'"\'),n="noId")}};if(a.attrNames.forEach((function(e){if(!l.includes(e)&&!t.includes(e)&&i.test(e)){var u,c=a.attr(e);try{u=os(a,e)}catch(u){r="".concat(e,\'="\').concat(c,\'"\'),n="idrefs"}s[e]&&!s[e](u)||u||o.push("".concat(e,\'="\').concat(c,\'"\'))}})),!r)return!o.length||(this.data(o),!1);this.data({messageKey:n,needsReview:r})},"fallbackrole-evaluate":function(e,t,a){var r;return!((r=ii(a.attr("role"))).length<=1)&&(r=r,!(!zi(a)&&2===r.length&&r.includes("none")&&r.includes("presentation"))||void 0)},"has-global-aria-attribute-evaluate":function(e,t,a){var r=gi().filter((function(e){return a.hasAttr(e)}));return this.data(r),0<r.length},"has-implicit-chromium-role-matches":function(e,t){return null!==zi(t,{chromium:!0})},"has-widget-role-evaluate":function(e){return null!==(e=e.getAttribute("role"))&&("widget"===(e=Ul(e))||"composite"===e)},"invalidrole-evaluate":function(e,t,a){return!!(a=ii(a.attr("role"))).every((function(e){return!wi(e,{allowAbstract:!0})}))&&(this.data(a),!0)},"is-element-focusable-evaluate":function(e,t,a){return bn(a)},"no-implicit-explicit-label-evaluate":function(e,t,a){var r,n,o=Yi(a,{noImplicit:!0});this.data(o);try{r=tn(tl(a)).toLowerCase(),n=tn(xl(a)).toLowerCase()}catch(e){return}return!(!n&&!r)&&!((n||!r)&&n.includes(r))&&void 0},"unsupportedrole-evaluate":function(e,t,a){return vi(Yi(a))},"valid-scrollable-semantics-evaluate":function(e,t){return a=t,(t=Di(t=e))&&(cs[t]||a.roles.includes(t))||(t=(t=e).nodeName.toUpperCase(),us[t]||!1);var a},"caption-faked-evaluate":function(e){var t=Ei(e),a=t[0];return t.length<=1||a.length<=1||e.rows.length<=1||a.reduce((function(e,t,r){return e||t!==a[r+1]&&void 0!==a[r+1]}),!1)},"html5-scope-evaluate":function(e){return!vn(r)||"TH"===e.nodeName.toUpperCase()},"same-caption-summary-evaluate":function(e){return!(!e.summary||!e.caption)&&e.summary.toLowerCase()===El(e.caption).toLowerCase()},"scope-value-evaluate":function(e,t){return e=e.getAttribute("scope").toLowerCase(),-1!==t.values.indexOf(e)},"td-has-header-evaluate":function(e){var t=[],a=ps(e),r=Ei(e);return a.forEach((function(e){dn(e)&&hs(e)&&!ts(e)&&(ms(e,r).some((function(e){return null!==e&&!!dn(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],a=[],r=[],n=0;n<e.rows.length;n++)for(var o=e.rows[n],i=0;i<o.cells.length;i++)t.push(o.cells[i]);var l=t.reduce((function(e,t){return t.getAttribute("id")&&e.push(t.getAttribute("id")),e}),[]);return t.forEach((function(e){var t,n=!1;if(e.hasAttribute("headers")){var o=e.getAttribute("headers").trim();if(!o)return a.push(e);0!==(o=ii(o)).length&&(e.getAttribute("id")&&(n=-1!==o.indexOf(e.getAttribute("id").trim())),t=o.some((function(e){return!l.includes(e)})),(n||t)&&r.push(e))}})),0<r.length?(this.relatedNodes(r),!1):!a.length||void this.relatedNodes(a)},"th-has-data-cells-evaluate":function(e){var t=ps(e),a=this,r=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(r=r.concat(t.split(/\\s+/))),(e=e.getAttribute("aria-labelledby"))&&(r=r.concat(e.split(/\\s+/)))})),t=t.filter((function(e){return""!==tn(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))}));var n=Ei(e),o=!0;return t.forEach((function(e){var t,i;e.getAttribute("id")&&r.includes(e.getAttribute("id"))||(t=Ai(e,n),i=!1,(i=!(i=Fi(e)?ys("down",t,n).find((function(t){return!Fi(t)&&ms(t,n).includes(e)})):i)&&ki(e)?ys("right",t,n).find((function(t){return!ki(t)&&ms(t,n).includes(e)})):i)||a.relatedNodes(e),o=o&&i)})),!!o||void 0},"hidden-content-evaluate":function(e,a,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&cn(r)){if("none"===(r=t.getComputedStyle(e)).getPropertyValue("display"))return;if("hidden"===r.getPropertyValue("visibility")&&(!(e=(e=Mr(e))&&t.getComputedStyle(e))||"hidden"!==e.getPropertyValue("visibility")))return}return!0},"color-contrast-evaluate":function(e,a,r){var n=a.ignoreUnicode,o=a.ignoreLength,i=a.ignorePseudo,l=a.boldValue,s=a.boldTextPt,u=a.largeTextPt,c=a.contrastRatio,d=a.shadowOutlineEmMax,p=a.pseudoSizeThreshold;if(!Wr(e,!1))return!0;if(a=ln(r,!1,!0),!(n&&(f=kl(h=a,m={nonBmp:!0}),m=""===tn(Nl(h,m)),f&&m))){if(h=function(e,t){var a=void 0===(a=t.pseudoSizeThreshold)?.25:a;if(void 0===(t=t.ignorePseudo)||!t){var r=(t=e.boundingClientRect).width*t.height*a;do{if(r<Ps(e.actualNode,":before")+Ps(e.actualNode,":after"))return e}while(e=e.parent)}}(r,{ignorePseudo:i,pseudoSizeThreshold:p}))return this.data({messageKey:"pseudoContent"}),void this.relatedNodes(h.actualNode);var f=[],m=_s(e,f,d),h=(r=Ss(e,!1,m),i=Ts(e,{minRatio:.001,maxRatio:d}),p=t.getComputedStyle(e),parseFloat(p.getPropertyValue("font-size")));d=p.getPropertyValue("font-weight"),e=parseFloat(d)>=l||"bold"===d,p=null,l=null,d=null;0===i.length?p=Os(m,r):r&&m&&(d=[].concat(N(i),[m]).reduce(Rs),g=Os(m,d),i=Os(d,r),p=Math.max(g,i),l=i<g?"shadowOnBgColor":"fgOnShadowColor");var g=Math.ceil(72*h)/96;g=(s=e&&g<s||!e&&g<u?c.normal:c.large).expected,u=s.minThreshold,c=s.maxThreshold,s=g<p;if("number"==typeof u&&p<u||"number"==typeof c&&c<p)return!0;var b;p=Math.floor(100*p)/100;return null===m?b=Fn.get("bgColor"):s||(b=l),l=1==p,a=1===a.length,l?b=Fn.set("bgColor","equalRatio"):s||!a||o||(b="shortTextContent"),this.data({fgColor:r?r.toHexString():void 0,bgColor:m?m.toHexString():void 0,contrastRatio:p,fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:e?"bold":"normal",messageKey:b,expectedContrastRatio:g+":1",shadowColor:d?d.toHexString():void 0}),null===r||null===m||l||a&&!o&&!s?(b=null,Fn.clear(),void this.relatedNodes(f)):(s||this.relatedNodes(f),s)}this.data({messageKey:"nonBmp"})},"link-in-text-block-evaluate":function(e){if(qs(e))return!1;for(var t=Mr(e);1===t.nodeType&&!qs(t);)t=Mr(t);if(this.relatedNodes([t]),xs(e,t))return!0;var a=Ss(e),r=Ss(t);if(a&&r){var n=Ls(a,r);return 1===n||(3<=n?(Fn.set("fgColor","bgContrast"),this.data({messageKey:Fn.get("fgColor")}),void Fn.clear()):(a=_s(e),r=_s(t),(!a||!r||3<=Ls(a,r))&&(r=a&&r?"bgContrast":Fn.get("bgColor"),Fn.set("fgColor",r),this.data({messageKey:Fn.get("fgColor")}),void Fn.clear())))}},"autocomplete-appropriate-evaluate":j,"autocomplete-valid-evaluate":Qt,"attr-non-space-content-evaluate":js,"has-descendant-after":tr,"has-descendant-evaluate":Tn,"has-text-content-evaluate":_n,"matches-definition-evaluate":di,"page-no-duplicate-after":Si,"page-no-duplicate-evaluate":Ii,"heading-order-after":function(e){var t,a=((t=N(t=e)).sort((function(e,t){return e=e.node,t=t.node,e.ancestry.length-t.ancestry.length})),t.reduce(Us,[]).filter((function(e){return-1!==e.level})));return e.forEach((function(e){e.result=function(e,t){var a=Vs(t,e.node.ancestry);e=null!==(e=null===(e=t[a])||void 0===e?void 0:e.level)&&void 0!==e?e:-1,t=null!==(t=null===(t=t[a-1])||void 0===t?void 0:t.level)&&void 0!==t?t:-1;return 0===a||(-1!==e?e-t<=1:void 0)}(e,a)})),e},"heading-order-evaluate":Pi,"identical-links-same-purpose-after":Bi,"identical-links-same-purpose-evaluate":Mi,"internal-link-present-evaluate":wu,"meta-refresh-evaluate":Xl,"p-as-heading-evaluate":Kl,"region-evaluate":function(e,t,a){var n=Ka.get("regionlessNodes");return this.data({isIframe:["iframe","frame"].includes(a.props.nodeName)}),n||(n=Js(o._tree[0],t).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==r.body;)e=e.parent;return e})).filter((function(e,t,a){return a.indexOf(e)===t})),Ka.set("regionlessNodes",n)),!n.includes(a)},"region-after":function(e){var t=e.filter((function(e){return e.data.isIframe}));return e.forEach((function(e){if(!e.result&&1!==e.node.ancestry.length){var a,r=e.node.ancestry.slice(0,-1),n=P(t);try{for(n.s();!(a=n.n()).done;){var o=a.value;if(Ao(r,o.node.ancestry)){e.result=o.result;break}}}catch(e){n.e(e)}finally{n.f()}}})),t.forEach((function(e){e.result||(e.result=!0)})),e},"skip-link-evaluate":function(e){return!!(e=qr(e,"href"))&&(Wr(e,!0)||void 0)},"unique-frame-title-after":function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e},"unique-frame-title-evaluate":function(e,t,a){return a=tn(a.attr("title")).toLowerCase(),this.data(a),!0},"aria-label-evaluate":function(e,t,a){return!!tn(yi(a))},"aria-labelledby-evaluate":function(e,t,a){try{return!!tn(Al(a))}catch(e){return}},"avoid-inline-spacing-evaluate":function(e,t){return!(0<(t=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}))).length&&(this.data(t),1))},"doc-has-title-evaluate":function(){var e=r.title;return!!tn(e)},"exists-evaluate":function(){},"has-alt-evaluate":function(e,t,a){var r=a.props.nodeName;return!!["img","input","area"].includes(r)&&a.hasAttr("alt")},"is-on-screen-evaluate":function(e){return Wr(e,!1)&&!Hr(e)},"non-empty-if-present-evaluate":function(e,t,a){var r=a.props.nodeName,n=(a.attr("type")||"").toLowerCase();return(a=a.attr("value"))&&this.data({messageKey:"has-label"}),!("input"!==r||!["submit","reset"].includes(n))&&null===a},"presentational-role-evaluate":function(e,t,a){var r=Yi(a),n=Di(a);if(["presentation","none"].includes(r))return this.data({role:r}),!0;if(!["presentation","none"].includes(n))return!1;var o=gi().some((function(e){return a.hasAttr(e)}));n=bn(a),n=o&&!n?"globalAria":!o&&n?"focusable":"both";return this.data({messageKey:n,role:r}),!1},"svg-non-empty-title-evaluate":function(e,t,a){if(a.children){if(!(a=a.children.find((function(e){return"title"===e.props.nodeName}))))return this.data({messageKey:"noTitle"}),!1;try{if(""===ln(a))return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"css-orientation-lock-evaluate":function(e,t,a,r){r=void 0===(r=(r||{}).cssom)?void 0:r;var n=void 0===(t=(t||{}).degreeThreshold)?0:t;if(r&&r.length){function o(){var e=c[u],t=(e=s[e]).root;if(!(e=e.rules.filter(d)).length)return"continue";e.forEach((function(e){e=e.cssRules,Array.from(e).forEach((function(e){var a=function(e){var t=e.selectorText;e=e.style;return!(!t||e.length<=0)&&(!!(t=e.transform||e.webkitTransform||e.msTransform||!1)&&(!!(e=t.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\\(([^)]+)\\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/))&&(!!(t=function(e,t){switch(e){case"rotate":case"rotateZ":return p(t);case"rotate3d":var a=(r=T(t.split(",").map((function(e){return e.trim()})),4))[2],r=r[3];return 0===parseInt(a)?void 0:p(r);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var a=(e=T(t,2))[0];e=e[1];return f(Math.atan2(parseFloat(e),parseFloat(a)))}return a=parseFloat(t[8]),a=Math.asin(a),a=Math.cos(a),f(Math.acos(parseFloat(t[0])/a))}(t);default:return}}(e=(t=T(e,3))[1],t=t[2]))&&(t=Math.abs(t),!(Math.abs(t-180)%180<=n)&&Math.abs(t-90)%90<=n))))}(e);a&&"HTML"!==e.selectorText.toUpperCase()&&(e=Array.from(t.querySelectorAll(e.selectorText))||[],l=l.concat(e)),i=i||a}))}))}for(var i=!1,l=[],s=r.reduce((function(e,t){var a=t.sheet,r=t.root;return e[t=(t=t.shadowId)||"topDocument"]||(e[t]={root:r,rules:[]}),a&&a.cssRules?(a=Array.from(a.cssRules),e[t].rules=e[t].rules.concat(a),e):e}),{}),u=0,c=Object.keys(s);u<c.length;u++)o();return!i||(l.length&&this.relatedNodes(l),!1)}function d(e){var t=e.type;e=e.cssText;return 4===t&&(/orientation:\\s*landscape/i.test(e)||/orientation:\\s*portrait/i.test(e))}function p(e){var t=T(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(t){var a=parseFloat(e.replace(t,""));switch(t){case"rad":return f(a);case"grad":return function(e){return(e%=400)<0&&(e+=400),Math.round(e/400*360)}(a);case"turn":return Math.round(360/(1/a));case"deg":default:return parseInt(a)}}}function f(e){return Math.round(e*(180/Math.PI))}},"meta-viewport-scale-evaluate":function(e,t,a){var r=(n=t||{}).scaleMinimum,n=(t=void 0===r?2:r,void 0!==(r=n.lowerBound)&&r);return!((r=a.attr("content")||"")&&(a=r.split(/[;,]/).reduce((function(e,t){var a=t.trim();return a?(t=T(a.split("="),2),a=t[0],t=t[1],a&&t?(a=a.toLowerCase().trim(),t=t.toLowerCase().trim(),"maximum-scale"===a&&"yes"===t&&(t=1),"maximum-scale"===a&&parseFloat(t)<0||(e[a]=t),e):e):e}),{}),!(n&&a["maximum-scale"]&&parseFloat(a["maximum-scale"])<n)&&(n||"no"!==a["user-scalable"]?(r=parseFloat(a["user-scalable"]),!n&&a["user-scalable"]&&(r||0===r)&&-1<r&&r<1?(this.data("user-scalable"),1):a["maximum-scale"]&&parseFloat(a["maximum-scale"])<t&&(this.data("maximum-scale"),1)):(this.data("user-scalable=no"),1))))},"duplicate-id-after":function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var a=Ir(e);return(a=Array.from(a.querySelectorAll(\'[id="\'.concat(Fa(t),\'"]\'))).filter((function(t){return t!==e}))).length&&this.relatedNodes(a),this.data(t),0===a.length},"accesskeys-after":function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var a=e.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(e.relatedNodes[0]),!1):((t[a]=e).relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))},"accesskeys-evaluate":function(e){return Wr(e,!1)&&(this.data(e.getAttribute("accesskey")),this.relatedNodes([e])),!0},"focusable-content-evaluate":function(e,t,a){var r=a.tabbableElements;return!!r&&0<r.filter((function(e){return e!==a})).length},"focusable-disabled-evaluate":function(e,t,a){var r=["BUTTON","FIELDSET","INPUT","SELECT","TEXTAREA"];return!(a=a.tabbableElements)||!a.length||(a=a.reduce((function(e,t){var a=t.actualNode;t=a.nodeName.toUpperCase();return r.includes(t)&&e.push(a),e}),[]),this.relatedNodes(a),!(!a.length||!En())||0===a.length)},"focusable-element-evaluate":function(e,t,a){if(a.hasAttr("contenteditable")&&function e(t){return"true"===(t=t.attr("contenteditable"))||""===t||"false"!==t&&(!!(t=dr(a.parent,"[contenteditable]"))&&e(t))}(a))return!0;var r=a.isFocusable,n=parseInt(a.attr("tabindex"),10);return(n=isNaN(n)?null:n)?r&&0<=n:r},"focusable-modal-open-evaluate":function(e,t,a){return!(a=a.tabbableElements.map((function(e){return e.actualNode})))||!a.length||!En()||void this.relatedNodes(a)},"focusable-no-name-evaluate":function(e,t,a){var r=a.attr("tabindex");if(!(bn(a)&&-1<r))return!1;try{return!xl(a)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,a){var r=["BUTTON","FIELDSET","INPUT","SELECT","TEXTAREA"];return!(a=a.tabbableElements)||!a.length||(a=a.reduce((function(e,t){var a=t.actualNode;t=a.nodeName.toUpperCase();return r.includes(t)||e.push(a),e}),[]),this.relatedNodes(a),!!(0<a.length&&En())||0===a.length)},"landmark-is-top-level-evaluate":function(e){var t=$l("landmark"),a=Mr(e),r=Yi(e);for(this.data({role:r});a;){var n=a.getAttribute("role");if((n=n||"FORM"===a.nodeName.toUpperCase()?n:zi(a))&&t.includes(n)&&("main"!==n||"complementary"!==r))return!1;a=Mr(a)}return!0},"no-focusable-content-evaluate":function(e,t,a){if(a.children)try{return!a.children.some((function e(t){if(bn(t))return!0;if(t.children)return t.children.some(e);if(1===t.props.nodeType)throw new Error("Cannot determine children");return!1}))}catch(e){return}},"tabindex-evaluate":function(e,t,a){return a=parseInt(a.attr("tabindex"),10),!!isNaN(a)||a<=0},"alt-space-value-evaluate":function(e,t,a){return"string"==typeof(a=a.attr("alt"))&&/^\\s+$/.test(a)},"duplicate-img-label-evaluate":function(e,t,a){return!["none","presentation"].includes(Yi(a))&&!!(t=dr(a,t.parentSelector))&&""!==(t=ln(t,!0).toLowerCase())&&t===xl(a).toLowerCase()},"explicit-evaluate":function(e,t,a){if(a.attr("id")){if(!a.actualNode)return;var r=Ir(a.actualNode);a=Fa(a.attr("id"));if((a=Array.from(r.querySelectorAll(\'label[for="\'.concat(a,\'"]\')))).length)try{return a.some((function(e){return!Wr(e)||!!El(e)}))}catch(e){return}}return!1},"help-same-as-label-evaluate":function(e,t,a){var r=Pl(a);a=e.getAttribute("title");return!!r&&(a||(a="",e.getAttribute("aria-describedby")&&(a=on(e,"aria-describedby").map((function(e){return e?El(e):""})).join(""))),tn(a)===tn(r))},"hidden-explicit-label-evaluate":function(e,t,a){if(a.hasAttr("id")){if(!a.actualNode)return;var r,n=Ir(e);e=Fa(e.getAttribute("id"));if((e=n.querySelector(\'label[for="\'.concat(e,\'"]\')))&&!Wr(e,!0)){try{r=xl(a).trim()}catch(e){return}return""===r}}return!1},"implicit-evaluate":function(e,t,a){try{var r=dr(a,"label");return!!r&&!!xl(r,{inControlContext:!0})}catch(e){return}},"label-content-name-mismatch-evaluate":function(e,t,a){var r=(t=t||{}).pixelThreshold,n=t.occuranceThreshold;e=El(e).toLowerCase();if(!(Tl(e)<1))return a=Ml(a).filter((function(e){return!_l(e,r,n)})).map((function(e){return e.actualNode.nodeValue})).join(""),!(a=tn(a).toLowerCase())||(Tl(a)<1?!!Qs(a,e)||void 0:Qs(a,e))},"multiple-label-evaluate":function(e){var t=Fa(e.getAttribute("id")),a=e.parentNode,r=(r=Ir(e)).documentElement||r,n=Array.from(r.querySelectorAll(\'label[for="\'.concat(t,\'"]\')));for(n.length&&(n=n.filter((function(e){return Wr(e)})));a;)"LABEL"===a.nodeName.toUpperCase()&&-1===n.indexOf(a)&&n.push(a),a=a.parentNode;return this.relatedNodes(n),1<n.length&&((1<(t=n.filter((function(e){return Wr(e,!0)}))).length||!on(e,"aria-labelledby").includes(t[0]))&&void 0)},"title-only-evaluate":function(e,t,a){var r=Pl(a),n=Xi(a);a=a.attr("aria-describedby");return!(r||!n&&!a)},"landmark-is-unique-after":function(e){var t=[];return e.filter((function(e){var a=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return a?(a.result=!1,a.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))},"landmark-is-unique-evaluate":function(e,t,a){var r=Yi(e);a=(a=xl(a))?a.toLowerCase():null;return this.data({role:r,accessibleText:a}),this.relatedNodes([e]),!0},"has-lang-evaluate":function(e,t,a){var n=void 0!==r&&Ia(r);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&eu(a.attr("xml:lang"))&&!eu(a.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return eu(a.attr(e))}))||(this.data({messageKey:"noLang"}),!1)},"valid-lang-evaluate":function(e,t,a){var r=[];return t.attributes.forEach((function(e){var n,o,i=a.attr(e);"string"==typeof i&&(n=Jn(i),o=t.value?!t.value.map(Jn).includes(n):!ci(n),(""!==n&&o||""!==i&&!tn(i))&&r.push(e+\'="\'+a.attr(e)+\'"\'))})),!!r.length&&(this.data(r),!0)},"xml-lang-mismatch-evaluate":function(e,t,a){return Jn(a.attr("lang"))===Jn(a.attr("xml:lang"))},"dlitem-evaluate":function(e){var t=Mr(e),a=t.nodeName.toUpperCase();e=Di(t);return"DIV"===a&&["presentation","none",null].includes(e)&&(a=(t=Mr(t)).nodeName.toUpperCase(),e=Di(t)),"DL"===a&&!(e&&!["presentation","none","list"].includes(e))},"listitem-evaluate":function(e){var t=Mr(e);if(t)return e=t.nodeName.toUpperCase(),t=(t.getAttribute("role")||"").toLowerCase(),!!["presentation","none","list"].includes(t)||(t&&wi(t)?(this.data({messageKey:"roleNotValid"}),!1):["UL","OL"].includes(e))},"only-dlitems-evaluate":function(e,t,a){var r=["definition","term","list"];return(a=a.children.reduce((function(e,t){var a=t.actualNode;return"DIV"===a.nodeName.toUpperCase()&&null===Yi(a)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var a=t.actualNode,n=a.nodeName.toUpperCase();return 1===a.nodeType&&Wr(a,!0,!1)?(t=Di(a),("DT"!==n&&"DD"!==n||t)&&(r.includes(t)||e.badNodes.push(a))):3===a.nodeType&&""!==a.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0),e}),{badNodes:[],hasNonEmptyTextNode:!1})).badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,a){var r=!1,n=!1,o=!0,i=[],l=[],s=[];return a.children.forEach((function(e){var t,a,u=e.actualNode;3!==u.nodeType||""===u.nodeValue.trim()?1===u.nodeType&&Wr(u,!0,!1)&&(o=!1,t="LI"===u.nodeName.toUpperCase(),e="listitem"===(a=Yi(e)),t||e||i.push(u),t&&!e&&(l.push(u),s.includes(a)||s.push(a)),e&&(n=!0)):r=!0})),r||i.length?(this.relatedNodes(i),!0):!o&&!n&&(this.relatedNodes(l),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)},"structured-dlitems-evaluate":function(e,t,a){var r=a.children;if(!r||!r.length)return!1;for(var n,o=!1,i=!1,l=0;l<r.length;l++){if((o="DT"===(n=r[l].props.nodeName.toUpperCase())||o)&&"DD"===n)return!1;"DD"===n&&(i=!0)}return o||i},"caption-evaluate":function(e,t,a){return!Zo(a,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-tested-after":function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var a=e.node.ancestry.flat(1/0).join(" > ");return t[a]=e,!0}return e=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > "),t[e]&&(t[e].result=!0),!1}))},"no-autoplay-audio-evaluate":function(e,t){if(e.duration)return t=void 0===(t=t.allowedDuration)?3:t,function(e){if(!e.currentSrc)return 0;var t=function(e){if(e=e.match(/#t=(.*)/))return T(e,2)[1].split(",").map((function(e){return(/:/.test(e)?function(e){for(var t=e.split(":"),a=0,r=1;0<t.length;)a+=r*parseInt(t.pop(),10),r*=60;return parseFloat(a)}:parseFloat)(e)}))}(e.currentSrc);return t?1!==t.length?Math.abs(t[1]-t[0]):Math.abs(e.duration-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e)<=t&&!e.hasAttribute("loop")||!!e.hasAttribute("controls");console.warn("axe.utils.preloadMedia did not load metadata")},"aria-allowed-attr-matches":function(e,t){var a=/^aria-/,r=t.attrNames;if(r.length)for(var n=0,o=r.length;n<o;n++)if(a.test(r[n]))return!0;return!1},"aria-allowed-role-matches":function(e,t){return null!==Di(t,{dpub:!0,fallback:!0})},"aria-form-field-name-matches":Jl=function(e,t){var a=Hi(t).namingMethods;return!(a&&0!==a.length||"combobox"===Di(t)&&Zo(t,\'input:not([type="hidden"])\').length)},"aria-has-attr-matches":function(e,t){var a=/^aria-/;return t.attrNames.some((function(e){return a.test(e)}))},"aria-hidden-focus-matches":function(e){return function e(t){return!t||"true"!==t.getAttribute("aria-hidden")&&e(Mr(t))}(Mr(e))},"aria-required-children-matches":function(e,t){return t=Di(t,{dpub:!0}),!!ns(t)},"aria-required-parent-matches":function(e,t){return t=Di(t),!!rs(t)},"autocomplete-matches":function(e,t){var a=t.attr("autocomplete");if(!a||""===tn(a))return!1;var r=t.props.nodeName;return!1!==["textarea","input","select"].includes(r)&&(("input"!==r||!["submit","reset","button","hidden"].includes(t.props.type))&&(a=t.attr("aria-disabled")||"false",!t.hasAttr("disabled")&&"true"!==a.toLowerCase()&&(r=t.attr("role"),("-1"!==(a=t.attr("tabindex"))||!r||void 0!==(r=In.ariaRoles[r])&&"widget"===r.type)&&!("-1"===a&&t.actualNode&&!Wr(t.actualNode,!1)&&!Wr(t.actualNode,!0)))))},"bypass-matches":function(e,t,a){return!tu(0,0,a)||!!e.querySelector("a[href]")},"color-contrast-matches":function(e,a){var n=(o=a.props).nodeName,o=o.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(o))return!1;if(Ws(a))return!1;if(["input","select","textarea"].includes(n)){if(o=t.getComputedStyle(e),o=parseInt(o.getPropertyValue("text-indent"),10)){var i={top:(i=e.getBoundingClientRect()).top,bottom:i.bottom,left:i.left+o,right:i.right+o};if(!Wn(i,e))return!1}return!0}if(i=Br(a,"label"),"label"===n||i){n=i||e;var l=i?Xa(i):a;if(n.htmlFor&&(n=(n=Ir(n).getElementById(n.htmlFor))&&Xa(n))&&Ws(n))return!1;if((l=Zo(l,\'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea\')[0])&&Ws(l))return!1}for(var s,u=[],c=a;c;)c.props.id&&(s=jl(c).filter((function(e){return ii(e.getAttribute("aria-labelledby")||"").includes(c.props.id)})).map((function(e){return Xa(e)})),u.push.apply(u,N(s))),c=c.parent;if(0<u.length&&u.every(Ws))return!1;if(!(l=ln(a,!1,!0))||!Nl(l,{emoji:!0,nonBmp:!1,punctuations:!0}))return!1;for(var d=r.createRange(),p=a.children,f=0;f<p.length;f++){var m=p[f];3===m.actualNode.nodeType&&""!==tn(m.actualNode.nodeValue)&&d.selectNodeContents(m.actualNode)}for(var h=d.getClientRects(),g=0;g<h.length;g++)if(Wn(h[g],e))return!0;return!1},"data-table-large-matches":function(e){return!!gs(e)&&(3<=(e=Ei(e)).length&&3<=e[0].length&&3<=e[1].length&&3<=e[2].length)},"data-table-matches":function(e){return gs(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim();t=\'*[id="\'.concat(Fa(t),\'"]\'),t=Array.from(Ir(e).querySelectorAll(t));return!es(e)&&t.some(bn)},"duplicate-id-aria-matches":function(e){return es(e)},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim();t=\'*[id="\'.concat(Fa(t),\'"]\'),t=Array.from(Ir(e).querySelectorAll(t));return!es(e)&&t.every((function(e){return!bn(e)}))},"frame-focusable-content-matches":function(e,t,a){var r;return!a.initiator&&!a.focusable&&1<(null===(r=a.size)||void 0===r?void 0:r.width)*(null===(a=a.size)||void 0===a?void 0:a.height)},"frame-title-has-text-matches":function(e){return e=e.getAttribute("title"),!!tn(e)},"heading-matches":function(e){var t;return(t=e.hasAttribute("role")?e.getAttribute("role").split(/\\s+/i).filter(o.commons.aria.isValidRole):t)&&0<t.length?t.includes("heading"):"heading"===o.commons.aria.implicitRole(e)},"html-namespace-matches":function(e,t){return!au(0,t)},"identical-links-same-purpose-matches":function(e,t){return!(!xl(t)||(e=Yi(e))&&"link"!==e)},"inserted-into-focus-order-matches":function(e){return yn(e)},"is-initiator-matches":tu,"label-content-name-mismatch-matches":function(e,t){var a=Yi(e);return!!(a&&$l("widget").includes(a)&&Gl().includes(a)&&(tn(yi(t))||tn(Al(e)))&&tn(ln(t)))},"label-matches":function(e,t){return"input"!==t.props.nodeName||!1===t.hasAttr("type")||(t=t.attr("type").toLowerCase(),!1===["hidden","image","button","submit","reset"].includes(t))},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!Br(t,"article, aside, main, nav, section")},"landmark-unique-matches":function(e,t){var a,r,n,o=["article","aside","main","nav","section"].join(",");return r=(a=t).actualNode,n=$l("landmark"),!!(t=Yi(r))&&("HEADER"===(r=r.nodeName.toUpperCase())||"FOOTER"===r?!Br(a,o):"SECTION"!==r&&"FORM"!==r?0<=n.indexOf(t)||"region"===t:!!xl(a))&&Wr(e,!0)},"layout-table-matches":function(e){return!gs(e)&&!bn(e)},"link-in-text-block-matches":function(e){var t=tn(e.textContent),a=e.getAttribute("role");return(!a||"link"===a)&&!!t&&!!Wr(e,!1)&&xn(e)},"nested-interactive-matches":function(e,t){return!!(t=Yi(t))&&!!In.ariaRoles[t].childrenPresentational},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":function(e,t){var a=Di(t);return!(a&&!["none","presentation"].includes(a)&&!(Nn[a]||{}).accessibleNameRequired&&!bn(t))},"no-naming-method-matches":Jl,"no-role-matches":function(e){return!e.getAttribute("role")},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),a=e.textContent.trim();return!(0===a.length||2<=(a.match(/[.!?:;](?![.!?:;])/g)||[]).length)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length},"scrollable-region-focusable-matches":function(e,t){if(0==!!mo(e,13))return!1;var a=Di(t);if(Rn["aria-haspopup"].values.includes(a)){if(dr(t,\'[role~="combobox"]\'))return!1;if((a=t.attr("id"))&&(e=Sr(e),Array.from(e.querySelectorAll(\'[aria-owns~="\'.concat(a,\'"], [aria-controls~="\').concat(a,\'"]\'))).some((function(e){return ii(e.getAttribute("role")).includes("combobox")}))))return!1}return!!Zo(t,"*").some((function(e){return cn(e,!0,!0)}))},"skip-link-matches":function(e){return qn(e)&&Hr(e)},"svg-namespace-matches":au,"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-matches":function(e){var t=Jn(e.getAttribute("lang"));e=Jn(e.getAttribute("xml:lang"));return ci(t)&&ci(e)}},nu=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function ou(e){if("string"!=typeof e)return e;if(ru[e])return ru[e];if(/^\\s*function[\\s\\w]*\\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}function iu(e){var t=0<arguments.length&&void 0!==e?e:{};return Array.isArray(t)||"object"!==n(t)?{value:t}:t}function lu(e){e&&(this.id=e.id,this.configure(e))}lu.prototype.enabled=!0,lu.prototype.run=function(e,t,a,r,n){var o=((t=t||{}).hasOwnProperty("enabled")?t:this).enabled,i=this.getOptions(t.options);if(o){var l;o=new nu(this),t=Za(o,t,r,n);try{l=this.evaluate.call(t,e.actualNode,i,e,a)}catch(t){return e&&e.actualNode&&(t.errorNode=new Qa(e).toJSON()),void n(t)}t.isAsync||(o.result=l,r(o))}else r(null)},lu.prototype.runSync=function(e,t,a){if(!(void 0===(o=(t=t||{}).enabled)?this.enabled:o))return null;var r,n=this.getOptions(t.options),o=new nu(this);(t=Za(o,t)).async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{r=this.evaluate.call(t,e.actualNode,n,e,a)}catch(t){throw e&&e.actualNode&&(t.errorNode=new Qa(e).toJSON()),t}return o.result=r,o},lu.prototype.configure=function(e){var t=this;e.evaluate&&!ru[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=iu(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(a){return t[a]=ou(e[a])}))},lu.prototype.getOptions=function(e){return this._internalCheck?Rr(this.options,iu(e||{})):e||this.options};var su=lu,uu=function(e){this.id=e.id,this.result=Nt.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function cu(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Lt(Nt.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,e.matches&&(this.matches=ou(e.matches))}function du(e){if(e.length){var t=!1,a={};return e.forEach((function(e){var r=e.results.filter((function(e){return e}));(a[e.type]=r).length&&(t=!0)})),t?a:null}}cu.prototype.matches=function(){return!0},cu.prototype.gather=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a="mark_gather_start_"+this.id,r="mark_gather_end_"+this.id,n="mark_isHidden_start_"+this.id,o="mark_isHidden_end_"+this.id;t.performanceTimer&&Bo.mark(a);var i=ri(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&Bo.mark(n),i=i.filter((function(e){return!wo(e.actualNode)})),t.performanceTimer&&(Bo.mark(o),Bo.measure("rule_"+this.id+"#gather_axe.utils.isHidden",n,o))),t.performanceTimer&&(Bo.mark(r),Bo.measure("rule_"+this.id+"#gather",a,r)),i},cu.prototype.runChecks=function(e,t,a,r,n,o){var i=this,l=gr();this[e].forEach((function(e){var n=i._audit.checks[e.id||e],o=io(n,i.id,a);l.defer((function(e,a){n.run(t,o,r,e,a)}))})),l.then((function(t){t=t.filter((function(e){return e})),n({type:e,results:t})})).catch(o)},cu.prototype.runChecksSync=function(e,t,a,r){var n=this,o=[];return this[e].forEach((function(e){var i=n._audit.checks[e.id||e];e=io(i,n.id,a);o.push(i.runSync(t,e,r))})),{type:e,results:o=o.filter((function(e){return e}))}},cu.prototype.run=function(e){var t=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length?arguments[2]:void 0,n=3<arguments.length?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o,l=gr(),s=new uu(this);try{o=this.gatherAndMatchNodes(e,a)}catch(r){return void n(new i({cause:r,ruleId:this.id}))}a.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(r){l.defer((function(n,o){var i=gr();["any","all","none"].forEach((function(n){i.defer((function(o,i){t.runChecks(n,r,a,e,o,i)}))})),i.then((function(e){var o=du(e);o&&(o.node=new Qa(r,a),s.nodes.push(o),t.reviewOnFail&&(["any","all"].forEach((function(e){o[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),o.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),n()})).catch((function(e){return o(e)}))}))})),l.defer((function(e){return setTimeout(e,0)})),a.performanceTimer&&this._logRulePerformance(),l.then((function(){return r(s)})).catch((function(e){return n(e)}))},cu.prototype.runSync=function(e){var t=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var r,n=new uu(this);try{r=this.gatherAndMatchNodes(e,a)}catch(r){throw new i({cause:r,ruleId:this.id})}return a.performanceTimer&&this._logGatherPerformance(r),r.forEach((function(r){var o=[];["any","all","none"].forEach((function(n){o.push(t.runChecksSync(n,r,a,e))}));var i=du(o);i&&(i.node=r.actualNode?new Qa(r,a):null,n.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach((function(e){i[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),i.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),a.performanceTimer&&this._logRulePerformance(),n},cu.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},cu.prototype._logGatherPerformance=function(e){Tt("gather (",e.length,"):",Bo.timeElapsed()+"ms"),Bo.mark(this._markChecksStart)},cu.prototype._logRulePerformance=function(){Bo.mark(this._markChecksEnd),Bo.mark(this._markEnd),Bo.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Bo.measure("rule_"+this.id,this._markStart,this._markEnd)},cu.prototype.gatherAndMatchNodes=function(e,t){var a=this,r="mark_matches_start_"+this.id,n="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&Bo.mark(r),o=o.filter((function(t){return a.matches(t.actualNode,t,e)})),t.performanceTimer&&(Bo.mark(n),Bo.measure("rule_"+this.id+"#matches",r,n)),o},cu.prototype.after=function(e,t){var a,r,n,o=xr(a=this).map((function(e){return(e=a._audit.checks[e.id||e])&&"function"==typeof e.after?e:null})).filter(Boolean),i=this.id;return o.forEach((function(a){var r,n,o=(l=e.nodes,r=a.id,n=[],l.forEach((function(e){xr(e).forEach((function(t){t.id===r&&(t.node=e.node,n.push(t))}))})),n),l=io(a,i,t),s=a.after(o,l);o.forEach((function(e){delete e.node,-1===s.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=(n=["any","all","none"],o=(r=e).nodes.filter((function(e){var t=0;return n.forEach((function(a){e[a]=e[a].filter((function(e){return!0!==e.filtered})),t+=e[a].length})),0<t})),o=r.pageLevel&&o.length?[o.reduce((function(e,t){if(e)return n.forEach((function(a){e[a].push.apply(e[a],t[a])})),e}))]:o),e},cu.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("matches")&&(this.matches=ou(e.matches)),e.impact&&(Lt(Nt.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var pu=cu,fu=V(At()),mu=/\\{\\{.+?\\}\\}/g;function hu(){return t.origin||(t.location&&t.location.origin?t.location.origin:void 0)}function gu(e,t,a){for(var r=0,n=e.length;r<n;r++)t[a](e[r])}function bu(e){O(this,bu),this.lang="en",this.defaultConfig=e,this.standards=In,this._init(),this._defaultLocale=null}function yu(e,t,a){return a.performanceTimer&&Bo.mark("mark_rule_start_"+e.id),function(r,n){e.run(t,a,(function(e){r(e)}),(function(t){a.debug?n(t):(t=Object.assign(new uu(e),{result:Nt.CANTTELL,description:"An error occured while running this rule",message:t.message,stack:t.stack,error:t,errorNode:t.errorNode}),r(t))}))}}function vu(e,t,a){var r=e.brand,n=e.application;e=e.lang;return Nt.helpUrlBase+r+"/"+(a||o.version.substring(0,o.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(e&&"en"!==e?"&lang="+encodeURIComponent(e):"")}var wu,Du=(I(bu,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),a=0;a<t.length;a++){var r=t[a],n=(i=this.data.checks[r].messages).pass,o=i.fail,i=i.incomplete;e.checks[r]={pass:n,fail:o,incomplete:i}}for(var l=Object.keys(this.data.rules),s=0;s<l.length;s++){var u=l[s],c=(d=this.data.rules[u]).description,d=d.help;e.rules[u]={description:c,help:d}}for(var p=Object.keys(this.data.failureSummaries),f=0;f<p.length;f++){var m=p[f],h=this.data.failureSummaries[m].failureMessage;e.failureSummaries[m]={failureMessage:h}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t,a,r,o=Object.keys(e),i=0;i<o.length;i++){var l=o[i];if(!this.data.checks[l])throw new Error(\'Locale provided for unknown check: "\'.concat(l,\'"\'));this.data.checks[l]=(t=this.data.checks[l],a=e[l],l=r=void 0,r=a.pass,l=a.fail,"string"==typeof r&&mu.test(r)&&(r=fu.default.compile(r)),"string"==typeof l&&mu.test(l)&&(l=fu.default.compile(l)),_({},t,{messages:{pass:r||t.messages.pass,fail:l||t.messages.fail,incomplete:"object"===n(t.messages.incomplete)?_({},t.messages.incomplete,a.incomplete):a.incomplete}}))}}},{key:"_applyRuleLocale",value:function(e){for(var t,a,r=Object.keys(e),n=0;n<r.length;n++){var o=r[n];if(!this.data.rules[o])throw new Error(\'Locale provided for unknown rule: "\'.concat(o,\'"\'));this.data.rules[o]=(t=this.data.rules[o],a=e[o],o=void 0,o=a.help,a=a.description,"string"==typeof o&&mu.test(o)&&(o=fu.default.compile(o)),"string"==typeof a&&mu.test(a)&&(a=fu.default.compile(a)),_({},t,{help:o||t.help,description:a||t.description}))}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),a=0;a<t.length;a++){var r=t[a];if(!this.data.failureSummaries[r])throw new Error(\'Locale provided for unknown failureMessage: "\'.concat(r,\'"\'));this.data.failureSummaries[r]=function(e,t){return _({},e,{failureMessage:(t="string"==typeof(t=t.failureMessage)&&mu.test(t)?fu.default.compile(t):t)||e.failureMessage})}(this.data.failureSummaries[r],e[r])}}},{key:"applyLocale",value:function(e){var t,a;this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=(t=this.data.incompleteFallbackMessage,(a="string"==typeof(a=e.incompleteFallbackMessage)&&mu.test(a)?fu.default.compile(a):a)||t)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=hu();this.allowedOrigins=[];var a,r=P(e);try{for(r.s();!(a=r.n()).done;){var n=a.value;if(n===Nt.allOrigins)return void(this.allowedOrigins=["*"]);n!==Nt.sameOrigin?this.allowedOrigins.push(n):t&&this.allowedOrigins.push(t)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_init",value:function(){var e,t=((e=this.defaultConfig)?(t=er(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,t.allowedOrigins||(e=hu(),t.allowedOrigins=e?[e]:[]),t.rules=t.rules||[],t.checks=t.checks||[],t.data=_({checks:{},rules:{}},t.data),t);this.lang=t.lang||"en",this.reporter=t.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental"],this.noHtml=t.noHtml,this.allowedOrigins=t.allowedOrigins,gu(t.rules,this,"addRule"),gu(t.checks,this,"addCheck"),this.data={},this.data.checks=t.data&&t.data.checks||{},this.data.rules=t.data&&t.data.rules||{},this.data.failureSummaries=t.data&&t.data.failureSummaries||{},this.data.incompleteFallbackMessage=t.data&&t.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new pu(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===n(t)&&(this.data.checks[e.id]=t,"object"===n(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new su(e)}},{key:"run",value:function(e,t,a,r){this.normalizeOptions(t),o._selectCache=[];var n,i,l=(s=this.rules,n=e,i=t,s.reduce((function(e,t){return ti(t,n,i)&&(t.preload?e.later:e.now).push(t),e}),{now:[],later:[]})),s=l.now,u=l.later,c=gr();s.forEach((function(a){c.defer(yu(a,e,t))})),l=gr(),u.length&&l.defer((function(e){Xo(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn\'t load preload assets: ",t),e(void 0)}))})),(s=gr()).defer(c),s.defer(l),s.then((function(n){var i=n.pop();i&&i.length&&(i=i[0])&&(e=_({},e,i));var l=n[0];if(!u.length)return o._selectCache=void 0,void a(l.filter((function(e){return!!e})));var s=gr();u.forEach((function(a){a=yu(a,e,t),s.defer(a)})),s.then((function(e){o._selectCache=void 0,a(l.concat(e).filter((function(e){return!!e})))})).catch(r)})).catch(r)}},{key:"after",value:function(e,t){var a=this.rules;return e.map((function(e){var r=Er(a,"id",e.id);if(!r)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");return r.after(e,t)}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],a=[];if(this.rules.forEach((function(e){a.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(n(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var r=e.runOnly.find((function(e){return t.includes(e)})),i=e.runOnly.find((function(e){return a.includes(e)}));if(r&&i)throw new Error("runOnly cannot be both rules and tags");e.runOnly=i?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}if((i=e.runOnly).value&&!i.values&&(i.values=i.value,delete i.value),!Array.isArray(i.values)||0===i.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(i.type))i.type="rule",i.values.forEach((function(e){if(!a.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(i.type))throw new Error("Unknown runOnly type \'".concat(i.type,"\'"));i.type="tag",0!==(i=i.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}))).length&&o.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===n(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!a.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,a=(o.version.match(/^[1-9][0-9]*\\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(r){e.data.rules[r.id]||(e.data.rules[r.id]={});var n=e.data.rules[r.id];("string"!=typeof n.helpUrl||t&&n.helpUrl===vu(t,r.id,a))&&(n.helpUrl=vu(e,r.id,a))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),bu);U(wu={},{CssSelectorParser:function(){return xu.CssSelectorParser},doT:function(){return Eu.default},emojiRegexText:function(){return Au.default},memoize:function(){return Cu.default}});var xu=V(W()),Eu=V(At()),Au=V(Et()),Cu=V(xt());Xl=V(Ct()),Kl=V(Ft());V(kt()),Eu.default.templateSettings.strip=!1,"Promise"in t||Xl.default.polyfill(),"Uint32Array"in t||(t.Uint32Array=Kl.Uint32Array),t.Uint32Array&&("some"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce}));var Fu,ku=function(e,t){if(e=e||function(){},t=t||o.log,!o._audit)throw new Error("No audit configured");var a=o.utils.queue(),n=[];Object.keys(o.plugins).forEach((function(e){a.defer((function(t){function a(e){n.push(e),t()}try{o.plugins[e].cleanup(t,a)}catch(e){a(e)}}))}));var i=o.utils.getFlattenedTree(r.body);o.utils.querySelectorAll(i,"iframe, frame").forEach((function(e){a.defer((function(t,a){return o.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,a)}))})),a.then((function(a){0===n.length?e(a):t(n)})).catch(t)},Ru={};function Nu(e){return Ru.hasOwnProperty(e)}function Tu(e){return"string"==typeof e&&Ru[e]?Ru[e]:"function"==typeof e?e:Fu}function _u(){Ka.get("globalDocumentSet")&&(Ka.set("globalDocumentSet",!1),r=null),Ka.get("globalWindowSet")&&(Ka.set("globalWindowSet",!1),t=null)}Jl=function(e){var t=o._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var a=e.axeVersion||e.ver;if(!/^\\d+\\.\\d+\\.\\d+(-canary)?/.test(a))throw new Error("Invalid configured version ".concat(a));var r=(u=T(a.split("-"),2))[0],n=u[1],i=(d=T(r.split(".").map(Number),3))[0],l=d[1],s=d[2],u=(c=T(o.version.split("-"),2))[0],c=(r=c[1],(d=T(u.split(".").map(Number),3))[0]),d=(u=d[1],d[2]);if(i!==c||u<l||u===l&&d<s||i===c&&l===u&&s===d&&n&&n!==r)throw new Error("Configured version ".concat(a," is not compatible with current axe version ").concat(o.version))}if(e.reporter&&("function"==typeof e.reporter||Nu(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var p,f=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));f.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===f.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(p=e.standards,Object.keys(Sn).forEach((function(e){p[e]&&(Sn[e]=Rr(Sn[e],p[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error(\'"*" is not allowed. Use "\'.concat(Nt.allOrigins,\'" instead\'));t.setAllowedOrigins(e.allowedOrigins)}},U=function(e){var t=(e=e||[]).length?o._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):o._audit.rules,a=o._audit.data.rules||{};return t.map((function(e){var t=a[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags}}))};var Ou=function(){_u(),o._memoizedFns.forEach((function(e){return e.clear()})),Ka.clear(),o._tree=void 0,o._selectorData=void 0,o._selectCache=void 0},Su=function(e,t,a,r){try{e=new co(e),o._tree=e.flatTree,o._selectorData=ja(e.flatTree)}catch(n){return Ou(),r(n)}var n=gr(),i=o._audit;t.performanceTimer&&Bo.auditStart(),e.frames.length&&!1!==t.iframes&&n.defer((function(a,r){Fr(e,t,"rules",null,a,r)})),n.defer((function(a,r){i.run(e,t,a,r)})),n.then((function(n){try{t.performanceTimer&&Bo.auditEnd();var o=Cr(n.map((function(e){return{results:e}})));e.initiator&&((o=i.after(o,t)).forEach(Qo),o=o.map(wa));try{a(o,Ou)}catch(n){Ou(),Tt(n)}}catch(n){Ou(),r(n)}})).catch((function(e){Ou(),r(e)}))};function Iu(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){o._audit.registerCommand(e)}))}function Pu(e){var a,i=(s=T(e,3))[0],l=s[1],s=(e=s[2],new TypeError("axe.run arguments are invalid"));if(!function(e){switch(!0){case"string"==typeof e:case Array.isArray(e):case t.Node&&e instanceof t.Node:case t.NodeList&&e instanceof t.NodeList:return!0;case"object"!==n(e):return!1;case void 0!==e.include:case void 0!==e.exclude:case"number"==typeof e.length:return!0;default:return!1}}(i)){if(void 0!==e)throw s;e=l,l=i,i=r}if("object"!==n(l)){if(void 0!==e)throw s;e=l,l={}}if("function"!=typeof e&&void 0!==e)throw s;return(l=er(l)).reporter=null!==(a=null!==(s=l.reporter)&&void 0!==s?s:null===(a=o._audit)||void 0===a?void 0:a.reporter)&&void 0!==a?a:"v1",{context:i,options:l,callback:e}}t.top!==t&&(yr.subscribe("axe.start",(function(e,t,a){function n(e){e instanceof Error==0&&(e=new Error(e)),a(e)}var i=a,l=e&&e.context||{};l.hasOwnProperty("include")&&!l.include.length&&(l.include=[r]);var s=e&&e.options||{};switch(e.command){case"rules":return Su(l,s,(function(e,t){i(e),t()}),n);case"cleanup-plugin":return ku(i,n);default:if(o._audit&&o._audit.commands&&o._audit.commands[e.command])return o._audit.commands[e.command](e,a)}})),yr.subscribe("axe.ping",(function(e,t,a){a({axe:!0})}))),W=function(e){o._audit=new Du(e)},Iu.prototype.run=function(){return this._run.apply(this,arguments)},Iu.prototype.collect=function(){return this._collect.apply(this,arguments)},Iu.prototype.cleanup=function(e){var t=o.utils.queue(),a=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){a._registry[e].cleanup(t)}))})),t.then(e)},Iu.prototype.add=function(e){this._registry[e.id]=e},At=function(e){o.plugins[e.id]=new Iu(e)},Et=function(){var e=o._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(Sn).forEach((function(e){Sn[e]=On[e]}))},xt=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};a.reporter=a.reporter||o._audit.reporter||"v1",o._selectorData={},t instanceof St||(t=new mi(t));var r=fo(e);if(!r)throw new Error("unknown rule `"+e+"`");return r=(r=Object.create(r,{excludeHidden:{value:!1}})).runSync({initiator:!0,include:[t]},a),Qo(r),wa(r),(r=Ea([r])).violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=Qn(e)}))})),_({},lo(),r,{toolOptions:a})};var Bu=function(){};function Lu(e){var t=e.node,a=R(e,h);a.node=t.toJSON();for(var r=0,n=["any","all","none"];r<n.length;r++){var o=n[r];a[o]=a[o].map((function(e){var t=e.relatedNodes;return _({},R(e,g),{relatedNodes:t.map((function(e){return e.toJSON()}))})}))}return a}Ct=function(e){if(o._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return o._tree=Xn(e),o._selectorData=ja(o._tree),o._tree[0]},Ft=function(e,t,a){console.warn(\'"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.\'),"function"==typeof t&&(a=t,t={});var r=(n=t).environmentData,n=R(n,b);a(_({},lo(r),{toolOptions:n},to(e,t)))},V=function(e,t,a){"function"==typeof t&&(a=t,t={});var r=(n=t).environmentData,n=R(n,y);t.resultTypes=["violations"],t=to(e,t).violations,a(_({},lo(r),{toolOptions:n,violations:t}))};var Mu=function(e,t,a){if("function"==typeof t&&(a=t,t={}),!e||!Array.isArray(e))return a(e);a(e.map((function(e){for(var t=_({},e),a=0,r=["passes","violations","incomplete","inapplicable"];a<r.length;a++){var n=r[a];t[n]&&Array.isArray(t[n])&&(t[n]=t[n].map((function(e){var t=e.node;e=R(e,v);return _({node:t="function"==typeof(null==t?void 0:t.toJSON)?t.toJSON():t},e)})))}return t})))};kt=function(e,t,a){"function"==typeof t&&(a=t,t={});var r=(t=t).environmentData;t=R(t,w);Mu(e,t,(function(e){var t=lo(r);a({raw:e,env:t})}))},Xl=function(e,t,a){"function"==typeof t&&(a=t,t={});var r=(n=t).environmentData,n=R(n,D);e=to(e,t),t=function(e){e.nodes.forEach((function(e){e.failureSummary=Qn(e)}))};e.incomplete.forEach(t),e.violations.forEach(t),a(_({},lo(r),{toolOptions:n},e))},Kl=function(e,t,a){"function"==typeof t&&(a=t,t={});var r=(n=t).environmentData,n=R(n,x);t=to(e,t);a(_({},lo(r),{toolOptions:n},t))};o.constants=Nt,o.log=Tt,o.AbstractVirtualNode=St,o.SerialVirtualNode=mi,o.VirtualNode=Yn,o._cache=Ka,o._thisWillBeDeletedDoNotUse=o._thisWillBeDeletedDoNotUse||{},o._thisWillBeDeletedDoNotUse.base={Audit:Du,CheckResult:nu,Check:su,Context:co,RuleResult:uu,Rule:pu,metadataFunctionMap:ru},o._thisWillBeDeletedDoNotUse.public={reporters:Ru},o.imports=wu,o.cleanup=ku,o.configure=Jl,o.frameMessenger=function(e){yr.updateMessenger(e)},o.getRules=U,o._load=W,o.plugins={},o.registerPlugin=At,o.hasReporter=Nu,o.getReporter=Tu,o.addReporter=function(e,t,a){Ru[e]=t,a&&(Fu=t)},o.reset=Et,o._runRules=Su,o.runVirtualRule=xt,o.run=function(){for(var e=arguments.length,a=new Array(e),n=0;n<e;n++)a[n]=arguments[n];!function(e){var a=t&&"Node"in t&&"NodeList"in t,n=!!r;if(!a||!n){if(!e||!e.ownerDocument)throw new Error(\'Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.\');n||(Ka.set("globalDocumentSet",!0),r=e.ownerDocument),a||(Ka.set("globalWindowSet",!0),t=r.defaultView)}}(a[0]);var i=Pu(a),l=i.context,s=i.options,u=void 0===(c=i.callback)?Bu:c,c=(i=function(e){var t,a,r;return"function"==typeof Promise&&e===Bu?t=new Promise((function(e,t){a=t,r=e})):r=a=Bu,{thenable:t,reject:a,resolve:r}}(u)).thenable,d=i.resolve,p=i.reject;try{Lt(o._audit,"No audit configured"),Lt(!o._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if(_u(),"function"!=typeof t||t===Bu)throw e;t(e.message)}(e,u)}return o._running=!0,s.performanceTimer&&o.utils.performanceTimer.start(),o._runRules(l,s,(function(e,t){s.performanceTimer&&o.utils.performanceTimer.end();try{!function(e,t,a){void 0!==(t=Tu(t.reporter)(e,t,a))&&a(t)}(e,s,(function(e){o._running=!1,t();try{u(null,e)}catch(e){o.log(e)}d(e)}))}catch(e){o._running=!1,t(),u(e),p(e)}}),(function(e){s.performanceTimer&&o.utils.performanceTimer.end(),o._running=!1,_u(),u(e),p(e)})),c},o.setup=Ct,o.teardown=Ou,o.runPartial=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var r=(n=Pu(t)).options,n=n.context;Lt(o._audit,"Axe is not configured. Audit is missing."),Lt(!o._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new co(n,o._tree);return o._tree=i.flatTree,o._selectorData=ja(i.flatTree),o._running=!0,new Promise((function(e,t){o._audit.run(i,r,e,t)})).then((function(e){var t;return{results:e=e.map((function(e){var t=e.nodes;e=R(e,m);return _({nodes:t.map(Lu)},e)})),frames:i.frames.map((function(e){return e=e.node,new Qa(e,r).toJSON()})),environmentData:t=i.initiator?lo():t}})).finally((function(){o._running=!1,Ou()}))},o.finishRun=function(e){var t,a=er(a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),r=(e.find((function(e){return e.environmentData}))||{}).environmentData;o._audit.normalizeOptions(a),a.reporter=null!==(l=null!==(t=a.reporter)&&void 0!==t?t:null===(l=o._audit)||void 0===l?void 0:l.reporter)&&void 0!==l?l:"v1",function(e){var t,a=[],r=P(e);try{for(r.s();!(t=r.n()).done;){var n,o=t.value,i=a.shift();o&&(o.frameSpec=null!=i?i:null,n=function(e){var t=e.frames,a=e.frameSpec;return a?t.map((function(e){return Qa.mergeSpecs(e,a)})):t}(o),a.unshift.apply(a,N(n)))}}catch(e){r.e(e)}finally{r.f()}}(e);var n,i,l=Cr(e);return(l=o._audit.after(l,a)).forEach(Qo),l=l.map(wa),n=l,i=_({environmentData:r},a),new Promise((function(e){Tu(i.reporter)(n,i,e)}))},o.commons=Li,o.utils=It,o.addReporter("na",Ft),o.addReporter("no-passes",V),o.addReporter("rawEnv",kt),o.addReporter("raw",Mu),o.addReporter("v1",Xl),o.addReporter("v2",Kl,!0)}(),o._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures <area> elements of image maps have alternate text",help:"Active <area> elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element\'s role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:"Ensures aria-hidden=\'true\' is not present on the document body.",help:"aria-hidden=\'true\' must not be present on the document body"},"aria-hidden-focus":{description:"Ensures aria-hidden elements do not contain focusable elements",help:"ARIA hidden element must not contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:\'Ensures "role=text" is used on elements with no focusable descendants\',help:\'"role=text" should have no focusable descendants\'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensures <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensures buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",help:"Elements must have sufficient color contrast"},"css-orientation-lock":{description:"Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensures <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensures <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensures each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensures every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensures every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensures every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensures headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensures table headers have discernible text",help:"Table header text must not be empty"},"focus-order-semantics":{description:"Ensures elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensures form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensures <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensures <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensures <iframe> and <frame> elements contain a unique title attribute",help:"Frames should have a unique title attribute"},"frame-title":{description:"Ensures <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensures the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Informs users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensures every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensures the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensures <img> elements have alternate text or a role of none or presentation",help:"Images must have alternate text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensures input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:\'Ensures <input type="image"> elements have alternate text\',help:"Image buttons must have alternate text"},"label-content-name-mismatch":{description:"Ensures that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensures every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensures the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensures the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensures the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensures the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensures the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensures the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensures the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensures the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{help:"Ensures landmarks are unique",description:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensures links have discernible text",help:"Links must have discernible text"},list:{description:"Ensures that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensures <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensures <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh":{description:\'Ensures <meta http-equiv="refresh"> is not used\',help:"Timed refresh must not exist"},"meta-viewport-large":{description:\'Ensures <meta name="viewport"> can scale a significant amount\',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:\'Ensures <meta name="viewport"> does not disable text scaling and zooming\',help:"Zooming and scaling should not be disabled"},"nested-interactive":{description:"Ensure controls are not nested as they are not announced by screen readers",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensures <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensures <object> elements have alternate text",help:"<object> elements must have alternate text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Flags elements whose role is none or presentation and which cause the role conflict resolution to trigger.",help:"Elements of role none or presentation should be flagged"},region:{description:"Ensures all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:"Ensures [role=\'img\'] elements have alternate text",help:"[role=\'img\'] elements must have an alternative text"},"scope-attr-valid":{description:"Ensures the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensures select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensures that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"svg-img-alt":{description:"Ensures <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",help:"<svg> elements with an img role must have an alternative text"},tabindex:{description:"Ensures tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",help:"Table cells that use the headers attribute must only refer to cells in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensures lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensures <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"}}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"ensure aria-errormessage value `${data.values}` references an existing element",plural:"ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:"ARIA attribute: ${data.values} is not allowed. Use a different role attribute or element.",incomplete:"ARIA attribute: ${data.values} is not well supported. Use a different role attribute or element."}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:"Required ARIA children are present",fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",ariaCurrent:\'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}\',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role \'presentation\' or \'none\' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"moderate",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field\'s name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data.values}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element\'s background color could not be determined due to a background image",bgGradient:"Element\'s background color could not be determined due to a background gradient",imgNode:"Element\'s background color could not be determined because element contains an image node",bgOverlap:"Element\'s background color could not be determined because it is overlapped by another element",fgAlpha:"Element\'s foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element\'s background color could not be determined because it\'s partially obscured by another element",elmPartiallyObscuring:"Element\'s background color could not be determined because it partially overlaps other elements",outsideViewport:"Element\'s background color could not be determined because it\'s outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element\'s background color could not be determined due to a pseudo element"}}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:"Links need to be distinguished from surrounding text in some way other than by color",incomplete:{default:"Unable to determine contrast ratio",bgContrast:"Element\'s contrast ratio could not be determined. Check for a distinct hover/focus style",bgImage:"Element\'s contrast ratio could not be determined due to a background image",bgGradient:"Element\'s contrast ratio could not be determined due to a background gradient",imgNode:"Element\'s contrast ratio could not be determined because element contains an image node",bgOverlap:"Element\'s contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"the autocomplete value is on an appropriate element",fail:"the autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted"}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"moderate",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"moderate",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",fail:"Focusable content should have tabindex=\'-1\' or be removed from the DOM"}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Form element has an explicit <label>",fail:"Form element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Form element has an implicit (wrapped) <label>",fail:"Form element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped} <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it\'s accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:\'List item has a <ul>, <ol> or role="list" parent element\',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:\'List item does not have a <ul>, <ol> parent element without a role, or a role="list"\'}}},"only-dlitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <dt> or <dd> elements",fail:"List element has direct children that are not allowed inside <dt> or <dd> elements"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:{default:"List element has direct children that are not allowed inside <li> elements",roleNotValid:"List element has direct children with a role that is not allowed: ${data.roles}"}}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions is available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element\'s title attribute is unique",fail:"Element\'s title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with \'!important\' that affect text spacing has been specified",fail:{singular:"Remove \'!important\' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove \'!important\' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:\'Element\\\'s default semantics were overriden with role="${data.role}"\',fail:{default:\'Element\\\'s default semantics were not overridden with role="none" or role="presentation"\',globalAria:"Element\'s role is not presentational because it has a global ARIA attribute",focusable:"Element\'s role is not presentational because it is focusable",both:"Element\'s role is not presentational because it has a global ARIA attribute and is focusable"}}},"role-none":{impact:"minor",messages:{pass:\'Element\\\'s default semantics were overriden with role="none"\',fail:\'Element\\\'s default semantics were not overridden with role="none"\'}},"role-presentation":{impact:"minor",messages:{pass:\'Element\\\'s default semantics were overriden with role="presentation"\',fail:\'Element\\\'s default semantics were not overridden with role="presentation"\'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be \'row\' or \'col\'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other cells in the table",incomplete:"The headers attribute is empty",fail:"The headers attribute is not exclusively used to refer to other cells in the table"}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",a=e;if(a)for(var r=-1,n=a.length-1;r<n;)t+="\\n "+a[r+=1].split("\\n").join("\\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",a=e;if(a)for(var r=-1,n=a.length-1;r<n;)t+="\\n "+a[r+=1].split("\\n").join("\\n ");return t}}},incompleteFallbackMessage:{}},rules:[{id:"accesskeys",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag111","wcag244","wcag412","section508","section508.22.a","ACT"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412"],actIds:["5c01ea"],all:[],any:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],none:["aria-unsupported-attr",{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-allowed-role",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-command-name",selector:\'[role="link"], [role="button"], [role="menuitem"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-dialog-name",selector:\'[role="dialog"], [role="alertdialog"]\',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",selector:\'[aria-hidden="true"]\',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","wcag131"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",selector:\'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","ACT"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",selector:\'[role="meter"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",selector:\'[role="progressbar"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-required-attr",selector:"[role]",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131"],actIds:["ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412"],all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:[],none:["fallbackrole","invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",selector:\'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","ACT"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",selector:\'[role="tooltip"]\',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",selector:\'[role="treeitem"]\',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412"],actIds:["5c01ea","c487ae"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","section508","section508.22.a"],actIds:["c3232f","e7aa44"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135"],actIds:["73f2c2"],all:["autocomplete-valid"],any:[],none:[]},{id:"avoid-inline-spacing",selector:"[style]",tags:["cat.structure","wcag21aa","wcag1412"],all:[{options:{cssProperties:["line-height","letter-spacing","word-spacing"]},id:"avoid-inline-spacing"}],any:[],none:[]},{id:"blink",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","ACT"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"bypass",selector:"html",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",selector:"html",tags:["cat.structure","wcag134","wcag21aa","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:[],none:["structured-dlitems","only-dlitems"]},{id:"dlitem",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:["dlitem"],none:[]},{id:"document-title",selector:"html",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","ACT"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",selector:\'h1, h2, h3, h4, h5, h6, [role="heading"]\',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],impact:"minor",all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",selector:\'th, [role="rowheader"], [role="columnheader"]\',tags:["wcag131","cat.aria"],reviewOnFail:!0,all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",selector:"html",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",selector:"html, frame, iframe",tags:["cat.structure","review-item","best-practice"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:["unique-frame-title"]},{id:"frame-title",selector:"frame, iframe",tags:["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",selector:"*",excludeHidden:!1,tags:["cat.structure","experimental","review-item","best-practice"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",selector:"html",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","ACT"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",selector:"html[lang], html[xml\\\\:lang]",tags:["cat.language","wcag2a","wcag311","ACT"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",selector:"html[lang][xml\\\\:lang]",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","ACT"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",selector:\'a[href], area[href], [role="link"]\',excludeHidden:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66","fd3a94"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",selector:\'input[type="button"], input[type="submit"], input[type="reset"]\',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"input-image-alt",selector:\'input[type="image"]\',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"label-content-name-mismatch",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occuranceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","wcag131","section508","section508.22.n","ACT"],actIds:["e086e5","307n5z"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["help-same-as-label","hidden-explicit-label"]},{id:"landmark-banner-is-top-level",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",nativeScopeFilter:"article, aside, main, nav, section"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",nativeScopeFilter:"article, aside, main, nav, section"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role=\'main\']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role=\'main\']"},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","experimental","wcag2a","wcag141"],all:["link-in-text-block"],any:[],none:[]},{id:"link-name",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a","ACT"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:[],none:["only-listitems"]},{id:"listitem",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131"],all:[],any:["listitem"],none:[]},{id:"marquee",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh",selector:\'meta[http-equiv="refresh"]\',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","wcag224","wcag325"],all:[],any:["meta-refresh"],none:[]},{id:"meta-viewport-large",selector:\'meta[name="viewport"]\',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",selector:\'meta[name="viewport"]\',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice","ACT"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",tags:["cat.time-and-media","wcag2a","wcag142","experimental"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",selector:"object",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]"},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",matches:"has-implicit-chromium-role-matches",selector:\'[role="none"], [role="presentation"]\',tags:["cat.aria","best-practice"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",selector:"body *",tags:["cat.keyboard","best-practice"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",selector:"[role=\'img\']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",selector:"select",tags:["cat.forms","wcag2a","wcag412","wcag131","section508","section508.22.n","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["help-same-as-label","hidden-explicit-label"]},{id:"server-side-image-map",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"],all:[],any:[],none:["exists"]},{id:"skip-link",selector:\'a[href^="#"], a[href^="/#"]\',matches:"skip-link-matches",tags:["cat.keyboard","best-practice"],all:[],any:["skip-link"],none:[]},{id:"svg-img-alt",selector:\'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]\',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","ACT"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",selector:"table",tags:["cat.tables","best-practice"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g"],all:["caption-faked"],any:[],none:[]},{id:"td-has-header",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",selector:"table",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",selector:"[lang], [xml\\\\:lang]",matches:"not-html-matches",tags:["cat.language","wcag2aa","wcag312"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",selector:"video",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1}},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate"},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate"},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]"}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role=\'main\']"}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",nativeScopeFilter:"article, aside, main, nav, section"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",nativeScopeFilter:"article, aside, main, nav, section"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role=\'main\']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate",enabled:!1},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occuranceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"only-dlitems-evaluate"},{id:"only-listitems",evaluate:"only-listitems-evaluate"},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate"},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this);'
402
403
  ;var axe={source};const FRGatherer$v=baseGatherer,axeLibSource$1=axe.source,pageFunctions$d=pageFunctions$h;async function runA11yChecks(){const e=window.axe,t=`lighthouse-${Math.random()}`;e.configure({branding:{application:t},noHtml:!0});const r=await e.run(document,{elementRef:!0,runOnly:{type:"tag",values:["wcag2a","wcag2aa"]},resultTypes:["violations","inapplicable"],rules:{tabindex:{enabled:!0},accesskeys:{enabled:!0},"heading-order":{enabled:!0},"meta-viewport":{enabled:!0},"duplicate-id":{enabled:!1},"table-fake-caption":{enabled:!1},"td-has-header":{enabled:!1},marquee:{enabled:!1},"area-alt":{enabled:!1},"html-xml-lang-mismatch":{enabled:!1},blink:{enabled:!1},"server-side-image-map":{enabled:!1},"identical-links-same-purpose":{enabled:!1},"no-autoplay-audio":{enabled:!1},"svg-img-alt":{enabled:!1},"audio-caption":{enabled:!1},"aria-treeitem-name":{enabled:!0},"nested-interactive":{enabled:!1},"frame-focusable-content":{enabled:!1}}})
403
404
  ;return document.documentElement.scrollTop=0,{violations:r.violations.map(createAxeRuleResultArtifact),incomplete:r.incomplete.map(createAxeRuleResultArtifact),notApplicable:r.inapplicable.map((e=>({id:e.id}))),version:r.testEngine.version}}function createAxeRuleResultArtifact(e){const t=e.nodes.map((e=>{const{target:t,failureSummary:r,element:n}=e,a=getNodeDetails(n),i=new Set,impactToNumber=e=>[null,"minor","moderate","serious","critical"].indexOf(e),o=[...e.any,...e.all,...e.none].sort(((e,t)=>impactToNumber(t.impact)-impactToNumber(e.impact)));for(const e of o)for(const t of e.relatedNodes||[]){const e=t.element;if(i.size>=3)break;e&&(n!==e&&i.add(e))}return{target:t,failureSummary:r,node:a,relatedNodes:[...i].map(getNodeDetails)}})),r=e.error;let n;return r instanceof Error&&(n={name:r.name,message:r.message}),{id:e.id,impact:e.impact||void 0,tags:e.tags,nodes:t,error:n}}class Accessibility extends FRGatherer$v{meta={supportedModes:["snapshot","navigation"]};getArtifact(e){
404
405
  return e.driver.executionContext.evaluate(runA11yChecks,{args:[],useIsolation:!0,deps:[axeLibSource$1,pageFunctions$d.getNodeDetailsString,createAxeRuleResultArtifact]})}}var accessibility=Accessibility;function handlePotentialMissingNodeError(e){if(!/No node.*found/.test(e.message)&&!/Node.*does not belong to the document/.test(e.message))throw e}async function resolveNodeIdToObjectId$1(e,t){try{return(await e.sendCommand("DOM.resolveNode",{backendNodeId:t})).object.objectId}catch(e){return handlePotentialMissingNodeError(e)}}async function resolveDevtoolsNodePathToObjectId(e,t){try{const{nodeId:r}=await e.sendCommand("DOM.pushNodeByPathToFrontend",{path:t}),{object:{objectId:n}}=await e.sendCommand("DOM.resolveNode",{nodeId:r});return n}catch(e){return handlePotentialMissingNodeError(e)}}var dom$1={resolveNodeIdToObjectId:resolveNodeIdToObjectId$1,resolveDevtoolsNodePathToObjectId};const FRGatherer$u=baseGatherer,dom=dom$1,pageFunctions$c=pageFunctions$h
@@ -486,7 +487,7 @@ n instanceof HTMLLabelElement&&a.labels.push({for:n.htmlFor,node:getNodeDetails(
486
487
  ;await t.sendCommand("Emulation.setDeviceMetricsOverride",{mobile:e.settings.screenEmulation.mobile,height:i,width:a,deviceScaleFactor:1,scale:1,screenOrientation:{angle:0,type:"portraitPrimary"}});return{data:"data:image/jpeg;base64,"+(await t.sendCommand("Page.captureScreenshot",{format:"jpeg",quality:FULL_PAGE_SCREENSHOT_QUALITY})).data,width:a,height:i}}async _resolveNodes(e){function resolveNodes(){const e={};if(!window.__lighthouseNodesDontTouchOrAllVarianceGoesAway)return e;const t=window.__lighthouseNodesDontTouchOrAllVarianceGoesAway;for(const[r,n]of t.entries()){const t=getBoundingClientRect(r);e[n]=t}return e}function resolveNodesInPage({useIsolation:t}){return e.driver.executionContext.evaluate(resolveNodes,{args:[],useIsolation:t,deps:[pageFunctions$8.getBoundingClientRectString]})}return{...await resolveNodesInPage({useIsolation:!1}),...await resolveNodesInPage({useIsolation:!0})}}async getArtifact(e){
487
488
  const t=e.driver.defaultSession,r=e.driver.executionContext,n=e.settings;let a;const i=!n.screenEmulation.disabled;i||(a=await r.evaluate(getObservedDeviceMetrics,{args:[],useIsolation:!0,deps:[kebabCaseToCamelCase]}));try{return{screenshot:await this._takeScreenshot(e),nodes:await this._resolveNodes(e)}}finally{i?await emulation.emulate(t,n):a&&await t.sendCommand("Emulation.setDeviceMetricsOverride",{mobile:"mobile"===n.formFactor,...a})}}}var fullPageScreenshot$1=FullPageScreenshot$1;const FRGatherer$h=baseGatherer;class GlobalListeners extends FRGatherer$h{meta={supportedModes:["snapshot","timespan","navigation"]};static _filterForAllowlistedTypes(e){return"pagehide"===e.type||"unload"===e.type||"visibilitychange"===e.type}getListenerIndentifier(e){return`${e.type}:${e.scriptId}:${e.columnNumber}:${e.lineNumber}`}dedupeListeners(e){const t=new Set;return e.filter((e=>{const r=this.getListenerIndentifier(e);return!t.has(r)&&(t.add(r),!0)}))}async getArtifact(e){
488
489
  const t=e.driver.defaultSession,{result:{objectId:r}}=await t.sendCommand("Runtime.evaluate",{expression:"window",returnByValue:!1});if(!r)throw new Error("Error fetching information about the global object");const{listeners:n}=await t.sendCommand("DOMDebugger.getEventListeners",{objectId:r}),a=n.filter(GlobalListeners._filterForAllowlistedTypes).map((e=>{const{type:t,scriptId:r,lineNumber:n,columnNumber:a}=e;return{type:t,scriptId:r,lineNumber:n,columnNumber:a}}));return this.dedupeListeners(a)}}var globalListeners=GlobalListeners;const FRGatherer$g=baseGatherer,pageFunctions$7=pageFunctions$h;function collectIFrameElements(){return getElementsInDocument("iframe").map((e=>{const t=e.getBoundingClientRect(),{top:r,bottom:n,left:a,right:i,width:o,height:l}=t;return{id:e.id,src:e.src,clientRect:{top:r,bottom:n,left:a,right:i,width:o,height:l},isPositionFixed:isPositionFixed(e),node:getNodeDetails(e)}}))}class IFrameElements extends FRGatherer$g{meta={
489
- supportedModes:["snapshot","navigation"]};async getArtifact(e){const t=e.driver;return await t.executionContext.evaluate(collectIFrameElements,{args:[],useIsolation:!0,deps:[pageFunctions$7.getElementsInDocumentString,pageFunctions$7.isPositionFixedString,pageFunctions$7.getNodeDetailsString]})}}var iframeElements=IFrameElements,fontSize$1={exports:{}};const FRGatherer$f=baseGatherer,FONT_SIZE_PROPERTY_NAME="font-size",MINIMAL_LEGIBLE_FONT_SIZE_PX=12,MAX_NODES_SOURCE_RULE_FETCHED=50;function hasFontSizeDeclaration(e){return!!e&&!!e.cssProperties.find((({name:e})=>e===FONT_SIZE_PROPERTY_NAME))}function computeSelectorSpecificity(e){const t=e.split(" ");let r=0,n=0,a=0;for(const e of t){const t=e.match(/\b#[a-z0-9]+/g)||[],i=e.match(/\b\.[a-z0-9]+/g)||[],o=e.match(/^[a-z]+/)?[1]:[];r+=t.length,n+=i.length,a+=o.length}return 100*Math.min(9,r)+10*Math.min(9,n)+Math.min(9,a)}function findMostSpecificMatchedCSSRule(e=[],t){let r,n=-1/0
490
+ supportedModes:["snapshot","navigation"]};async getArtifact(e){const t=e.driver;return await t.executionContext.evaluate(collectIFrameElements,{args:[],useIsolation:!0,deps:[pageFunctions$7.getElementsInDocumentString,pageFunctions$7.isPositionFixedString,pageFunctions$7.getNodeDetailsString]})}}var iframeElements=IFrameElements,fontSize$1={exports:{}};const FRGatherer$f=baseGatherer,FONT_SIZE_PROPERTY_NAME="font-size",MINIMAL_LEGIBLE_FONT_SIZE_PX=12,MAX_NODES_SOURCE_RULE_FETCHED=50;function hasFontSizeDeclaration(e){return!!e&&!!e.cssProperties.find((({name:e})=>e===FONT_SIZE_PROPERTY_NAME))}function computeSelectorSpecificity(e){const t=e.replace(/[*\s+>~]/g," ").split(" ");let r=0,n=0,a=0;for(const e of t){const t=e.match(/(\b|^)#[a-z0-9_-]+/gi)||[],i=e.match(/(\b|^)\.[a-z0-9_-]+/gi)||[],o=e.match(/^[a-z]+/i)?[1]:[];r+=t.length,n+=i.length,a+=o.length}return 100*Math.min(9,r)+10*Math.min(9,n)+Math.min(9,a)}function findMostSpecificMatchedCSSRule(e=[],t){let r,n=-1/0
490
491
  ;for(const{rule:a,matchingSelectors:i}of e)if(t(a.style)){const e=i.map((e=>computeSelectorSpecificity(a.selectorList.selectors[e].text))),t=Math.max(...e);t>=n&&(n=t,r=a)}if(r)return{type:"Regular",...r.style,parentRule:{origin:r.origin,selectors:r.selectorList.selectors}}}function findInheritedCSSRule(e=[]){for(const{inlineStyle:t,matchedCSSRules:r}of e){if(hasFontSizeDeclaration(t))return{type:"Inline",...t};const e=findMostSpecificMatchedCSSRule(r,hasFontSizeDeclaration);if(e)return e}}function getEffectiveFontRule({attributesStyle:e,inlineStyle:t,matchedCSSRules:r,inherited:n}){if(hasFontSizeDeclaration(t))return{type:"Inline",...t};const a=findMostSpecificMatchedCSSRule(r,hasFontSizeDeclaration);if(a)return a;if(hasFontSizeDeclaration(e))return{type:"Attributes",...e};const i=findInheritedCSSRule(n);return i||void 0}function getTextLength(e){return e?Array.from(e.trim()).length:0}async function fetchSourceRule(e,t){
491
492
  const r=getEffectiveFontRule(await e.sendCommand("CSS.getMatchedStylesForNode",{nodeId:t}));if(r)return{type:r.type,range:r.range,styleSheetId:r.styleSheetId,parentRule:r.parentRule&&{origin:r.parentRule.origin,selectors:r.parentRule.selectors}}}class FontSize$2 extends FRGatherer$f{meta={supportedModes:["snapshot","navigation"]};static async fetchFailingNodeSourceRules(e,t){const r=t.sort(((e,t)=>t.textLength-e.textLength)).slice(0,MAX_NODES_SOURCE_RULE_FETCHED);await e.sendCommand("DOM.getDocument",{depth:-1,pierce:!0});const{nodeIds:n}=await e.sendCommand("DOM.pushNodesByBackendIdsToFrontend",{backendNodeIds:r.map((e=>e.parentNode.backendNodeId))}),a=r.map((async(t,r)=>{t.nodeId=n[r];try{const a=await fetchSourceRule(e,n[r]);t.cssRule=a}catch(e){t.cssRule=void 0}return t})),i=await Promise.all(a),o=i.reduce(((e,{textLength:t})=>e+t),0);return{analyzedFailingNodesData:i,analyzedFailingTextLength:o}}getTextNodesInLayoutFromSnapshot(e){const t=e.strings,getString=e=>t[e],r=[]
492
493
  ;for(let n=0;n<e.documents.length;n++){const a=e.documents[n];if(!(a.nodes.backendNodeId&&a.nodes.parentIndex&&a.nodes.attributes&&a.nodes.nodeName))throw new Error("Unexpected response from DOMSnapshot.captureSnapshot.");const i=a.nodes,getParentData=e=>({backendNodeId:i.backendNodeId[e],attributes:i.attributes[e].map(getString),nodeName:getString(i.nodeName[e])});for(const e of a.textBoxes.layoutIndex){const n=t[a.layout.text[e]];if(!n)continue;const o=a.layout.nodeIndex[e],l=a.layout.styles[e],[c]=l,u=parseFloat(t[c]),p=i.parentIndex[o],f=i.parentIndex[p],b=getParentData(p),S=void 0!==f?getParentData(f):void 0;r.push({nodeIndex:o,backendNodeId:i.backendNodeId[o],fontSize:u,textLength:getTextLength(n),parentNode:{...b,parentNode:S}})}}return r}findFailingNodes(e){const t=[];let r=0,n=0;for(const a of this.getTextNodesInLayoutFromSnapshot(e))r+=a.textLength,a.fontSize<MINIMAL_LEGIBLE_FONT_SIZE_PX&&(n+=a.textLength,t.push({nodeId:0,parentNode:a.parentNode,textLength:a.textLength,
@@ -521,7 +522,7 @@ if(!e.parentElement)return!1;const t=e.parentElement,r=e.textContent||"";if((t.t
521
522
  await t.sendCommand("DOM.disable"),a}}var tapTargets$1=TapTargets$1;const FRGatherer$4=baseGatherer,serviceWorkers=serviceWorkers$2;class ServiceWorker$1 extends FRGatherer$4{meta={supportedModes:["navigation"]};async beforePass(e){return this.getArtifact({...e,dependencies:{}})}async afterPass(){}async getArtifact(e){const t=e.driver.defaultSession,{versions:r}=await serviceWorkers.getServiceWorkerVersions(t),{registrations:n}=await serviceWorkers.getServiceWorkerRegistrations(t);return{versions:r,registrations:n}}}var serviceWorker$1=ServiceWorker$1;const FRGatherer$3=baseGatherer,URL$C=urlShim;class SourceMaps extends FRGatherer$3{meta={supportedModes:["timespan","navigation"]};constructor(){super(),this._scriptParsedEvents=[],this.onScriptParsed=this.onScriptParsed.bind(this)}async fetchSourceMap(e,t){const r=await e.fetcher.fetchResource(t,{timeout:1500});if(null===r.content)throw new Error(`Failed fetching source map (${r.status})`);return JSON.parse(r.content)}
522
523
  parseSourceMapFromDataUrl(e){const t=Buffer.from(e.split(",")[1],"base64");return JSON.parse(t.toString())}onScriptParsed(e){e.sourceMapURL&&this._scriptParsedEvents.push(e)}_resolveUrl(e,t){try{return new URL$C(e,t).href}catch(e){return}}async _retrieveMapFromScriptParsedEvent(e,t){if(!t.sourceMapURL)throw new Error("precondition failed: event.sourceMapURL should exist");const r=t.sourceMapURL.startsWith("data:"),n=t.url,a=r?t.sourceMapURL:this._resolveUrl(t.sourceMapURL,t.url);if(!a)return{scriptUrl:n,errorMessage:`Could not resolve map url: ${t.sourceMapURL}`};const i=r?void 0:a;try{const t=r?this.parseSourceMapFromDataUrl(a):await this.fetchSourceMap(e,a);return t.sections&&(t.sections=t.sections.filter((e=>e.map))),{scriptUrl:n,sourceMapUrl:i,map:t}}catch(e){return{scriptUrl:n,sourceMapUrl:i,errorMessage:e.toString()}}}async startSensitiveInstrumentation(e){const t=e.driver.defaultSession;t.on("Debugger.scriptParsed",this.onScriptParsed),await t.sendCommand("Debugger.enable")}
523
524
  async stopSensitiveInstrumentation(e){const t=e.driver.defaultSession;await t.sendCommand("Debugger.disable"),t.off("Debugger.scriptParsed",this.onScriptParsed)}async getArtifact(e){await e.driver.fetcher.enable();const t=this._scriptParsedEvents.map((t=>this._retrieveMapFromScriptParsedEvent(e.driver,t)));return Promise.all(t)}}var sourceMaps=SourceMaps;const TraceGatherer=trace,FRGatherer$2=baseGatherer;class TraceCompat extends FRGatherer$2{meta={supportedModes:["timespan","navigation"],dependencies:{Trace:TraceGatherer.symbol}};async getArtifact(e){return{defaultPass:e.dependencies.Trace}}}var traceCompat=TraceCompat;const LHError$b=lhError.exports,TraceProcessor$1=traceProcessor;class LHTraceProcessor$2 extends TraceProcessor$1{static createNoNavstartError(){return new LHError$b(LHError$b.errors.NO_NAVSTART)}static createNoResourceSendRequestError(){return new LHError$b(LHError$b.errors.NO_RESOURCE_REQUEST)}static createNoTracingStartedError(){
524
- return new LHError$b(LHError$b.errors.NO_TRACING_STARTED)}static createNoFirstContentfulPaintError(){return new LHError$b(LHError$b.errors.NO_FCP)}}var lhTraceProcessor=LHTraceProcessor$2;const makeComputedArtifact$E=computedArtifact,LHTraceProcessor$1=lhTraceProcessor;class ProcessedTrace$f{static async compute_(e){return LHTraceProcessor$1.processTrace(e)}}var processedTrace=makeComputedArtifact$E(ProcessedTrace$f);const makeComputedArtifact$D=computedArtifact,LHTraceProcessor=lhTraceProcessor;class ProcessedNavigation$7{static async compute_(e){return LHTraceProcessor.processNavigation(e)}}var processedNavigation=makeComputedArtifact$D(ProcessedNavigation$7);const FRGatherer$1=baseGatherer,{resolveNodeIdToObjectId}=dom$1,pageFunctions=pageFunctions$h,RectHelpers$1=rectHelpers,Sentry$3=sentry,Trace=trace,ProcessedTrace$e=processedTrace,ProcessedNavigation$6=processedNavigation,LighthouseError=lhError.exports;function getNodeDetailsData(){
525
+ return new LHError$b(LHError$b.errors.NO_TRACING_STARTED)}static createNoFirstContentfulPaintError(){return new LHError$b(LHError$b.errors.NO_FCP)}}var lhTraceProcessor=LHTraceProcessor$2;const makeComputedArtifact$E=computedArtifact,LHTraceProcessor$1=lhTraceProcessor;class ProcessedTrace$f{static async compute_(e){return LHTraceProcessor$1.processTrace(e)}}var processedTrace=makeComputedArtifact$E(ProcessedTrace$f,null);const makeComputedArtifact$D=computedArtifact,LHTraceProcessor=lhTraceProcessor;class ProcessedNavigation$7{static async compute_(e){return LHTraceProcessor.processNavigation(e)}}var processedNavigation=makeComputedArtifact$D(ProcessedNavigation$7,null);const FRGatherer$1=baseGatherer,{resolveNodeIdToObjectId}=dom$1,pageFunctions=pageFunctions$h,RectHelpers$1=rectHelpers,Sentry$3=sentry,Trace=trace,ProcessedTrace$e=processedTrace,ProcessedNavigation$6=processedNavigation,LighthouseError=lhError.exports;function getNodeDetailsData(){
525
526
  const e=this.nodeType===document.ELEMENT_NODE?this:this.parentElement;let t;return e&&(t={node:getNodeDetails(e)}),t}class TraceElements extends FRGatherer$1{meta={supportedModes:["timespan","navigation"],dependencies:{Trace:Trace.symbol}};animationIdToName=new Map;constructor(){super(),this._onAnimationStarted=this._onAnimationStarted.bind(this)}_onAnimationStarted({animation:{id:e,name:t}}){t&&this.animationIdToName.set(e,t)}static getNodeIDFromTraceEvent(e){return e&&e.args&&e.args.data&&e.args.data.nodeId}static getAnimationIDFromTraceEvent(e){return e&&e.args&&e.args.data&&e.args.data.id}static getFailureReasonsFromTraceEvent(e){return e&&e.args&&e.args.data&&e.args.data.compositeFailed}static getUnsupportedPropertiesFromTraceEvent(e){return e&&e.args&&e.args.data&&e.args.data.unsupportedProperties}static traceRectToLHRect(e){const t={x:e[0],y:e[1],width:e[2],height:e[3]};return RectHelpers$1.addRectTopAndBottom(t)}static getTopLayoutShiftElements(e){
526
527
  const t=new Map,r=e.filter((e=>"LayoutShift"===e.name)).map((e=>e.args&&e.args.data)),n=r.findIndex((e=>e&&!e.had_recent_input));r.forEach(((e,r)=>{if(!e||!e.impacted_nodes||!e.score)return;if(-1!==n&&r>=n&&e.had_recent_input)return;let a=0;const i=new Map;e.impacted_nodes.forEach((e=>{if(!e.node_id||!e.old_rect||!e.new_rect)return;const t=TraceElements.traceRectToLHRect(e.old_rect),r=TraceElements.traceRectToLHRect(e.new_rect),n=RectHelpers$1.getRectArea(t)+RectHelpers$1.getRectArea(r)-RectHelpers$1.getRectOverlapArea(t,r);i.set(e.node_id,n),a+=n}));for(const[r,n]of i.entries()){let i=t.get(r)||0;i+=n/a*e.score,t.set(r,i)}}));return[...t.entries()].sort(((e,t)=>t[1]-e[1])).slice(0,5).map((([e,t])=>({nodeId:e,score:t})))}async getAnimatedElements(e){const t=new Map;for(const r of e){if("Animation"!==r.name)continue;if(!r.id2||!r.id2.local)continue;const e=r.id2.local,n=t.get(e)||{begin:void 0,status:void 0}
527
528
  ;"b"===r.ph?n.begin=r:"n"===r.ph&&r.args.data&&void 0!==r.args.data.compositeFailed&&(n.status=r),t.set(e,n)}const r=new Map;for(const{begin:e,status:n}of t.values()){const t=TraceElements.getNodeIDFromTraceEvent(e),a=TraceElements.getAnimationIDFromTraceEvent(e),i=TraceElements.getFailureReasonsFromTraceEvent(n),o=TraceElements.getUnsupportedPropertiesFromTraceEvent(n);if(!t||!a)continue;const l=r.get(t)||new Set;l.add({animationId:a,failureReasonsMask:i,unsupportedProperties:o}),r.set(t,l)}const n=[];for(const[e,t]of r){const r=[];for(const{animationId:e,failureReasonsMask:n,unsupportedProperties:a}of t){const t=this.animationIdToName.get(e);r.push({name:t,failureReasonsMask:n,unsupportedProperties:a})}n.push({nodeId:e,animations:r})}return n}async startInstrumentation(e){await e.driver.defaultSession.sendCommand("Animation.enable"),e.driver.defaultSession.on("Animation.animationStarted",this._onAnimationStarted)}async stopInstrumentation(e){
@@ -594,29 +595,29 @@ if(!(i.startTime-n.startTime<1e3)||n.children.length){const t=new Error("Fatal t
594
595
  const t=e.event.args.data.timerId,r=n.timers.get(t);if(!r)break;p=r.attributableURLs;break}case"ParseHTML":p=[i.url,l];break;case"ParseAuthorStyleSheet":p=[i.styleSheetUrl,l];break;case"UpdateLayoutTree":case"Layout":case"Paint":if(l){p=[l];break}if(r.length)break;p=n.lastTaskURLs;break;case"XHRReadyStateChange":case"XHRLoad":{const e=i.url,t=i.readyState;if(!e||"number"==typeof t&&4!==t)break;const r=n.xhrs.get(e);if(!r)break;p=r.attributableURLs;break}default:p=[]}const f=Array.from(t);for(const e of[...p,...c])e&&(r.includes(e)||r.push(e),f[f.length-1]!==e&&f.push(e));e.attributableURLs=f,e.children.forEach((e=>MainThreadTasks$8._computeRecursiveAttributableURLs(e,f,r,n))),f.length||e.parent||!r.length||MainThreadTasks$8._setRecursiveEmptyAttributableURLs(e,r)}static _setRecursiveEmptyAttributableURLs(e,t){e.attributableURLs.length||(e.attributableURLs=t.slice(),e.children.forEach((e=>MainThreadTasks$8._setRecursiveEmptyAttributableURLs(e,t))))}
595
596
  static _computeRecursiveTaskGroup(e,t){const r=taskNameToGroup[e.event.name];e.group=r||t||taskGroups$2.other,e.children.forEach((t=>MainThreadTasks$8._computeRecursiveTaskGroup(t,e.group)))}static getMainThreadTasks(e,t,r){const n=new Map,a=new Map,i=new Map;t.forEach((({id:e,url:t})=>i.set(e,t)));const o={timers:n,xhrs:a,frameURLsById:i,lastTaskURLs:[]},l=MainThreadTasks$8._createTasksFromEvents(e,o,r);for(const e of l)e.parent||(MainThreadTasks$8._computeRecursiveSelfTime(e,void 0),MainThreadTasks$8._computeRecursiveAttributableURLs(e,[],[],o),MainThreadTasks$8._computeRecursiveTaskGroup(e),o.lastTaskURLs=e.attributableURLs);const c=(l[0]||{startTime:0}).startTime;for(const e of l)if(e.startTime=(e.startTime-c)/1e3,e.endTime=(e.endTime-c)/1e3,e.duration/=1e3,e.selfTime/=1e3,!Number.isFinite(e.selfTime))throw new Error("Invalid task timing data");return l}static printTaskTreeToDebugString(e,t={}){
596
597
  const r=Math.max(...e.map((e=>e.endTime)),0),{printWidth:n=100,startTime:a=0,endTime:i=r,taskLabelFn:o=(e=>e.event.name)}=t;function computeTaskDepth(e){let t=0;for(;e.parent;e=e.parent)t++;return t}const l=(i-a)/n,c=new Map,u=new Map;for(const t of e){if(t.startTime>i||t.endTime<a)continue;const e=computeTaskDepth(t),r=u.get(e)||[];r.push(t),u.set(e,r);const n=String.fromCharCode(65+c.size%26);c.set(t,{id:n,task:t})}const p=[`Trace Duration: ${r.toFixed(0)}ms`,`Range: [${a}, ${i}]`,`█ = ${l.toFixed(2)}ms`,""],f=Array.from(u.entries()).sort(((e,t)=>e[0]-t[0]));for(const[,e]of f){const t=Array.from({length:n}).map((()=>" "));for(const r of e){const e=Math.max(r.startTime,a),n=Math.min(r.endTime,i),{id:o}=c.get(r)||{id:"?"},u=Math.floor(e/l),p=Math.floor(n/l),f=Math.floor((u+p)/2);for(let e=u;e<=p;e++)t[e]="█";for(let e=0;e<o.length;e++)t[f]=o}p.push(t.join(""))}p.push("");for(const{id:e,task:t}of c.values())p.push(`${e} = ${o(t)}`);return p.join("\n")}}
597
- var mainThreadTasks$2=MainThreadTasks$8;const makeComputedArtifact$C=computedArtifact,MainThreadTasks_=mainThreadTasks$2,ProcessedTrace$d=processedTrace;class MainThreadTasks$7{static async compute_(e,t){const{mainThreadEvents:r,frames:n,timestamps:a}=await ProcessedTrace$d.request(e,t);return MainThreadTasks_.getMainThreadTasks(r,n,a.traceEnd)}}var mainThreadTasks$1=makeComputedArtifact$C(MainThreadTasks$7);const Audit$1E=audit,NetworkRequest$h=networkRequest,{taskGroups:taskGroups$1}=taskGroups_1,i18n$1Q=i18n$2H,NetworkRecords$B=networkRecords,MainThreadTasks$6=mainThreadTasks$1,UIStrings$1O={title:"JavaScript execution time",failureTitle:"Reduce JavaScript execution time",description:"Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. [Learn more](https://web.dev/bootup-time/).",columnTotal:"Total CPU Time",columnScriptEval:"Script Evaluation",columnScriptParse:"Script Parse",
598
+ var mainThreadTasks$2=MainThreadTasks$8;const makeComputedArtifact$C=computedArtifact,MainThreadTasks_=mainThreadTasks$2,ProcessedTrace$d=processedTrace;class MainThreadTasks$7{static async compute_(e,t){const{mainThreadEvents:r,frames:n,timestamps:a}=await ProcessedTrace$d.request(e,t);return MainThreadTasks_.getMainThreadTasks(r,n,a.traceEnd)}}var mainThreadTasks$1=makeComputedArtifact$C(MainThreadTasks$7,null);const Audit$1E=audit,NetworkRequest$h=networkRequest,{taskGroups:taskGroups$1}=taskGroups_1,i18n$1Q=i18n$2H,NetworkRecords$B=networkRecords,MainThreadTasks$6=mainThreadTasks$1,UIStrings$1O={title:"JavaScript execution time",failureTitle:"Reduce JavaScript execution time",description:"Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. [Learn more](https://web.dev/bootup-time/).",columnTotal:"Total CPU Time",columnScriptEval:"Script Evaluation",columnScriptParse:"Script Parse",
598
599
  chromeExtensionsWarning:"Chrome extensions negatively affected this page's load performance. Try auditing the page in incognito mode or from a Chrome profile without extensions."},str_$1P=i18n$1Q.createMessageInstanceIdFn("lighthouse-core/audits/bootup-time.js",UIStrings$1O),BROWSER_TASK_NAMES_SET=new Set(["CpuProfiler::StartProfiling"]),BROWSER_GC_TASK_NAMES_SET=new Set(["V8.GCCompactor","MajorGC","MinorGC"]);class BootupTime$2 extends Audit$1E{static get meta(){return{id:"bootup-time",title:str_$1P(UIStrings$1O.title),failureTitle:str_$1P(UIStrings$1O.failureTitle),description:str_$1P(UIStrings$1O.description),scoreDisplayMode:Audit$1E.SCORING_MODES.NUMERIC,requiredArtifacts:["traces","devtoolsLogs"]}}static get defaultOptions(){return{p10:1282,median:3500,thresholdInMs:50}}static getJavaScriptURLs(e){const t=new Set;for(const r of e)r.resourceType===NetworkRequest$h.TYPES.Script&&t.add(r.url);return t}static getAttributableURLForTask(e,t){
599
600
  const r=e.attributableURLs.find((e=>t.has(e))),n=e.attributableURLs[0];let a=r||n;return a&&"about:blank"!==a||(a=BROWSER_TASK_NAMES_SET.has(e.event.name)?"Browser":BROWSER_GC_TASK_NAMES_SET.has(e.event.name)?"Browser GC":"Unattributable"),a}static getExecutionTimingsByURL(e,t){const r=new Map;for(const n of e){const e=BootupTime$2.getAttributableURLForTask(n,t),a=r.get(e)||{},i=a[n.group.id]||0;a[n.group.id]=i+n.selfTime,r.set(e,a)}return r}static async audit(e,t){const r=t.settings||{},n=e.traces[BootupTime$2.DEFAULT_PASS],a=e.devtoolsLogs[BootupTime$2.DEFAULT_PASS],i=await NetworkRecords$B.request(a,t),o=await MainThreadTasks$6.request(n,t),l="simulate"===r.throttlingMethod?r.throttling.cpuSlowdownMultiplier:1,c=BootupTime$2.getJavaScriptURLs(i),u=BootupTime$2.getExecutionTimingsByURL(o,c);let p=!1,f=0;const b=Array.from(u).map((([e,r])=>{let n=0;for(const[e,t]of Object.entries(r))r[e]=t*l,n+=t*l
600
601
  ;const a=r[taskGroups$1.scriptEvaluation.id]||0,i=r[taskGroups$1.scriptParseCompile.id]||0;return n>=t.options.thresholdInMs&&(f+=a+i),p=p||e.startsWith("chrome-extension:")&&a>100,{url:e,total:n,scripting:a,scriptParseCompile:i}})).filter((e=>e.total>=t.options.thresholdInMs)).sort(((e,t)=>t.total-e.total));let S;p&&(S=[str_$1P(UIStrings$1O.chromeExtensionsWarning)]);const _={wastedMs:f},T=[{key:"url",itemType:"url",text:str_$1P(i18n$1Q.UIStrings.columnURL)},{key:"total",granularity:1,itemType:"ms",text:str_$1P(UIStrings$1O.columnTotal)},{key:"scripting",granularity:1,itemType:"ms",text:str_$1P(UIStrings$1O.columnScriptEval)},{key:"scriptParseCompile",granularity:1,itemType:"ms",text:str_$1P(UIStrings$1O.columnScriptParse)}],E=BootupTime$2.makeTableDetails(T,b,_);return{score:Audit$1E.computeLogNormalScore({p10:t.options.p10,median:t.options.median},f),numericValue:f,numericUnit:"millisecond",displayValue:f>0?str_$1P(i18n$1Q.UIStrings.seconds,{timeInMs:f}):"",details:E,runWarnings:S}}
601
602
  }bootupTime.exports=BootupTime$2,bootupTime.exports.UIStrings=UIStrings$1O;var duplicatedJavascript={exports:{}};const BaseNode$b=baseNode,NetworkRequest$g=networkRequest;class NetworkNode$1 extends BaseNode$b{constructor(e){super(e.requestId),this._record=e}get type(){return BaseNode$b.TYPES.NETWORK}get startTime(){return 1e3*this._record.startTime*1e3}get endTime(){return 1e3*this._record.endTime*1e3}get record(){return this._record}get initiatorType(){return this._record.initiator&&this._record.initiator.type}get fromDiskCache(){return!!this._record.fromDiskCache}get isNonNetworkProtocol(){return NetworkRequest$g.isNonNetworkRequest(this._record)}get isConnectionless(){return this.fromDiskCache||this.isNonNetworkProtocol}hasRenderBlockingPriority(){const e=this._record.priority,t=this._record.resourceType===NetworkRequest$g.TYPES.Script,r=this._record.resourceType===NetworkRequest$g.TYPES.Document;return"VeryHigh"===e||"High"===e&&t||"High"===e&&r}cloneWithoutRelationships(){
602
603
  const e=new NetworkNode$1(this._record);return e.setIsMainDocument(this._isMainDocument),e}}var networkNode=NetworkNode$1;const BaseNode$a=baseNode;class CPUNode$1 extends BaseNode$a{constructor(e,t=[]){super(`${e.tid}.${e.ts}`),this._event=e,this._childEvents=t}get type(){return BaseNode$a.TYPES.CPU}get startTime(){return this._event.ts}get endTime(){return this._event.ts+this._event.dur}get event(){return this._event}get childEvents(){return this._childEvents}didPerformLayout(){return this._childEvents.some((e=>"Layout"===e.name))}getEvaluateScriptURLs(){const e=new Set;for(const t of this._childEvents)"EvaluateScript"===t.name&&t.args.data&&t.args.data.url&&e.add(t.args.data.url);return e}cloneWithoutRelationships(){return new CPUNode$1(this._event,this._childEvents)}}var cpuNode=CPUNode$1
603
604
  ;const makeComputedArtifact$B=computedArtifact,NetworkNode=networkNode,CPUNode=cpuNode,NetworkAnalyzer$5=networkAnalyzer,TracingProcessor$3=traceProcessor,NetworkRequest$f=networkRequest,ProcessedTrace$c=processedTrace,NetworkRecords$A=networkRecords,SIGNIFICANT_DUR_THRESHOLD_MS=10,IGNORED_MIME_TYPES_REGEX=/^video/;class PageDependencyGraph$a{static getNetworkInitiators(e){if(!e.initiator)return[];if(e.initiator.url)return[e.initiator.url];if("script"===e.initiator.type){const t=new Set;let r=e.initiator.stack;for(;r;){const e=r.callFrames||[];for(const r of e)r.url&&t.add(r.url);r=r.parent}return Array.from(t)}return[]}static getNetworkNodeOutput(e){const t=[],r=new Map,n=new Map,a=new Map;return e.forEach((e=>{if(IGNORED_MIME_TYPES_REGEX.test(e.mimeType))return;for(;r.has(e.requestId);)e.requestId+=":duplicate";const i=new NetworkNode(e);t.push(i);const o=n.get(e.url)||[];if(o.push(i),r.set(e.requestId,i),n.set(e.url,o),
604
- e.frameId&&e.resourceType===NetworkRequest$f.TYPES.Document&&e.documentURL===e.url){const t=a.has(e.frameId)?null:i;a.set(e.frameId,t)}})),{nodes:t,idToNodeMap:r,urlToNodeMap:n,frameIdToNodeMap:a}}static getCPUNodes({mainThreadEvents:e}){const t=[];let r=0;for(TracingProcessor$3.assertHasToplevelEvents(e);r<e.length;){const n=e[r];if(r++,!TracingProcessor$3.isScheduleableTask(n)||!n.dur)continue;const a=[];for(const t=n.ts+n.dur;r<e.length&&e[r].ts<t;r++)a.push(e[r]);t.push(new CPUNode(n,a))}return t}static linkNetworkNodes(e,t){t.nodes.forEach((r=>{const n=r.record.initiatorRequest||e.record,a=t.idToNodeMap.get(n.requestId)||e,i=PageDependencyGraph$a.getNetworkInitiators(r.record);if(i.length?i.forEach((e=>{const n=t.urlToNodeMap.get(e)||[];1===n.length&&n[0].startTime<=r.startTime&&!n[0].isDependentOn(r)?r.addDependency(n[0]):a.isDependentOn(r)||a.addDependent(r)})):a.isDependentOn(r)||a.addDependent(r),r!==e&&0===r.getDependencies().length&&r.addDependency(e),
605
- !r.record.redirects)return;const o=[...r.record.redirects,r.record];for(let e=1;e<o.length;e++){const r=t.idToNodeMap.get(o[e-1].requestId),n=t.idToNodeMap.get(o[e].requestId);n&&r&&n.addDependency(r)}}))}static linkCPUNodes(e,t,r){const n=new Set([NetworkRequest$f.TYPES.XHR,NetworkRequest$f.TYPES.Fetch,NetworkRequest$f.TYPES.Script]);function addDependentNetworkRequest(e,r){const a=t.idToNodeMap.get(r);if(!a||a.startTime<=e.startTime)return;const{record:i}=a,o=i.resourceType||i.redirectDestination&&i.redirectDestination.resourceType;n.has(o)&&e.addDependent(a)}function addDependencyOnFrame(e,r){if(!r)return;const n=t.frameIdToNodeMap.get(r);n&&(n.startTime>=e.startTime||e.addDependency(n))}function addDependencyOnUrl(e,r){if(!r)return;const n=t.urlToNodeMap.get(r)||[];let a=null,i=1/0;for(const t of n){if(e.startTime<=t.startTime)return;const r=e.startTime-t.endTime;r>=-1e5&&r<i&&(a=t,i=r)}a&&e.addDependency(a)}const a=new Map;for(const t of r){for(const e of t.childEvents){
606
- if(!e.args.data)continue;const r=e.args.data.url,n=(e.args.data.stackTrace||[]).map((e=>e.url)).filter(Boolean);switch(e.name){case"TimerInstall":a.set(e.args.data.timerId,t),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"TimerFire":{const r=a.get(e.args.data.timerId);if(!r||r.endTime>t.startTime)break;r.addDependent(t);break}case"InvalidateLayout":case"ScheduleStyleRecalculation":addDependencyOnFrame(t,e.args.data.frame),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"EvaluateScript":addDependencyOnFrame(t,e.args.data.frame),addDependencyOnUrl(t,r),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"XHRReadyStateChange":if(4!==e.args.data.readyState)break;addDependencyOnUrl(t,r),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"FunctionCall":case"v8.compile":addDependencyOnFrame(t,e.args.data.frame),addDependencyOnUrl(t,r);break;case"ParseAuthorStyleSheet":addDependencyOnFrame(t,e.args.data.frame),addDependencyOnUrl(t,e.args.data.styleSheetUrl);break;case"ResourceSendRequest":
607
- addDependencyOnFrame(t,e.args.data.frame),addDependentNetworkRequest(t,e.args.data.requestId),n.forEach((e=>addDependencyOnUrl(t,e)))}}0===t.getNumberOfDependencies()&&t.addDependency(e)}const i=1e3*SIGNIFICANT_DUR_THRESHOLD_MS;let o=!1,l=!1,c=!1;for(const e of r){let t=!1;!o&&e.childEvents.some((e=>"Layout"===e.name))&&(t=o=!0),!l&&e.childEvents.some((e=>"Paint"===e.name))&&(t=l=!0),!c&&e.childEvents.some((e=>"ParseHTML"===e.name))&&(t=c=!0),t||e.event.dur>=i||(1===e.getNumberOfDependencies()||e.getNumberOfDependents()<=1)&&PageDependencyGraph$a._pruneNode(e)}}static _pruneNode(e){const t=e.getDependencies(),r=e.getDependents();for(const n of t){e.removeDependency(n);for(const e of r)n.addDependent(e)}for(const t of r)e.removeDependent(t)}static createGraph(e,t){
608
- const r=PageDependencyGraph$a.getNetworkNodeOutput(t),n=PageDependencyGraph$a.getCPUNodes(e),a=t.reduce(((e,t)=>t.startTime<e.startTime?t:e)),i=r.idToNodeMap.get(a.requestId),o=NetworkAnalyzer$5.findMainDocument(t),l=r.idToNodeMap.get(o.requestId);if(!i||!l)throw new Error((i?"mainDocument":"root")+"Node not found.");if(!(l===i||l.record.redirects&&l.record.redirects.includes(i.record)))throw new Error("Root node was not in redirect chain of mainDocument");if(PageDependencyGraph$a.linkNetworkNodes(i,r),PageDependencyGraph$a.linkCPUNodes(i,r,n),l.setIsMainDocument(!0),NetworkNode.hasCycle(i))throw new Error("Invalid dependency graph created, cycle detected");return i}static printGraph(e,t=100){function padRight(e,t,r=" "){return e+r.repeat(Math.max(t-e.length,0))}const r=[];e.traverse((e=>r.push(e))),r.sort(((e,t)=>e.startTime-t.startTime));const n=r[0].startTime,a=(r.reduce(((e,t)=>Math.max(e,t.endTime)),0)-n)/t;r.forEach((e=>{
609
- const r=Math.round((e.startTime-n)/a),i=Math.ceil((e.endTime-e.startTime)/a),o=padRight("",r)+padRight("",i,"="),l=e.record?e.record.url:e.type;console.log(padRight(o,t),`| ${l.slice(0,30)}`)}))}static async compute_(e,t){const r=e.trace,n=e.devtoolsLog,[a,i]=await Promise.all([ProcessedTrace$c.request(r,t),NetworkRecords$A.request(n,t)]);return PageDependencyGraph$a.createGraph(a,i)}}var pageDependencyGraph=makeComputedArtifact$B(PageDependencyGraph$a);const BaseNode$9=baseNode,NetworkRequest$e=networkRequest,ProcessedTrace$b=processedTrace,ProcessedNavigation$5=processedNavigation,PageDependencyGraph$9=pageDependencyGraph,LoadSimulator$9=loadSimulator;class LanternMetricArtifact$1{static getScriptUrls(e,t){const r=new Set;return e.traverse((e=>{e.type!==BaseNode$9.TYPES.CPU&&e.record.resourceType===NetworkRequest$e.TYPES.Script&&(t&&!t(e)||r.add(e.record.url))})),r}static get COEFFICIENTS(){throw new Error("COEFFICIENTS unimplemented!")}static getScaledCoefficients(e){
610
- return this.COEFFICIENTS}static getOptimisticGraph(e,t){throw new Error("Optimistic graph unimplemented!")}static getPessimisticGraph(e,t){throw new Error("Pessmistic graph unimplemented!")}static getEstimateFromSimulation(e,t){return e}static async computeMetricWithGraphs(e,t,r){const n=e.gatherContext||{gatherMode:"navigation"},{trace:a,devtoolsLog:i,settings:o}=e;if("navigation"!==n.gatherMode)throw new Error("Lantern metrics can only be computed on navigations");const l=this.name.replace("Lantern",""),c=await PageDependencyGraph$9.request({trace:a,devtoolsLog:i},t),u=await ProcessedTrace$b.request(a,t),p=await ProcessedNavigation$5.request(u,t),f=e.simulator||await LoadSimulator$9.request({devtoolsLog:i,settings:o},t),b=this.getOptimisticGraph(c,p),S=this.getPessimisticGraph(c,p);let _={label:`optimistic${l}`};const T=f.simulate(b,_);_={label:`optimisticFlex${l}`,flexibleOrdering:!0};const E=f.simulate(b,_);_={label:`pessimistic${l}`}
611
- ;const $=f.simulate(S,_),A=this.getEstimateFromSimulation(T.timeInMs<E.timeInMs?T:E,{...r,optimistic:!0}),I=this.getEstimateFromSimulation($,{...r,optimistic:!1}),R=this.getScaledCoefficients(f.rtt),x=R.intercept>0?Math.min(1,A.timeInMs/1e3):1;return{timing:R.intercept*x+R.optimistic*A.timeInMs+R.pessimistic*I.timeInMs,optimisticEstimate:A,pessimisticEstimate:I,optimisticGraph:b,pessimisticGraph:S}}static async compute_(e,t){return this.computeMetricWithGraphs(e,t)}}var lanternMetric=LanternMetricArtifact$1;const makeComputedArtifact$A=computedArtifact,LanternMetric$6=lanternMetric,BaseNode$8=baseNode;class LanternFirstContentfulPaint$6 extends LanternMetric$6{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getBlockingNodeData(e,t,r,n){const a=new Map,i=[];e.traverse((e=>{if(e.type===BaseNode$8.TYPES.CPU){e.startTime<=t&&i.push(e);const r=e.getEvaluateScriptURLs();for(const t of r){const r=a.get(t)||e;a.set(t,e.startTime<r.startTime?e:r)}}})),
612
- i.sort(((e,t)=>e.startTime-t.startTime));const o=LanternMetric$6.getScriptUrls(e,(e=>e.endTime<=t&&r(e))),l=new Set,c=new Set;for(const e of o){const t=a.get(e);t&&(i.includes(t)?c.add(t.id):l.add(e))}const u=i.find((e=>e.didPerformLayout()));u&&c.add(u.id);const p=i.find((e=>e.childEvents.some((e=>"Paint"===e.name))));p&&c.add(p.id);const f=i.find((e=>e.childEvents.some((e=>"ParseHTML"===e.name))));return f&&c.add(f.id),n&&i.filter(n).forEach((e=>c.add(e.id))),{definitelyNotRenderBlockingScriptUrls:l,blockingCpuNodeIds:c}}static getFirstPaintBasedGraph(e,t,r,n){const{definitelyNotRenderBlockingScriptUrls:a,blockingCpuNodeIds:i}=this.getBlockingNodeData(e,t,r,n);return e.cloneWithRelationships((e=>{if(e.type===BaseNode$8.TYPES.NETWORK){if(e.endTime>t&&!e.isMainDocument())return!1;const n=e.record.url;return!a.has(n)&&r(e)}return i.has(e.id)}))}static getOptimisticGraph(e,t){
613
- return this.getFirstPaintBasedGraph(e,t.timestamps.firstContentfulPaint,(e=>e.hasRenderBlockingPriority()&&"script"!==e.initiatorType))}static getPessimisticGraph(e,t){return this.getFirstPaintBasedGraph(e,t.timestamps.firstContentfulPaint,(e=>e.hasRenderBlockingPriority()))}}var lanternFirstContentfulPaint=makeComputedArtifact$A(LanternFirstContentfulPaint$6);const makeComputedArtifact$z=computedArtifact,LanternMetric$5=lanternMetric,LHError$a=lhError.exports,LanternFirstContentfulPaint$5=lanternFirstContentfulPaint;class LanternFirstMeaningfulPaint$2 extends LanternMetric$5{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e,t){const r=t.timestamps.firstMeaningfulPaint;if(!r)throw new LHError$a(LHError$a.errors.NO_FMP);return LanternFirstContentfulPaint$5.getFirstPaintBasedGraph(e,r,(e=>e.hasRenderBlockingPriority()&&"script"!==e.initiatorType))}static getPessimisticGraph(e,t){const r=t.timestamps.firstMeaningfulPaint
614
- ;if(!r)throw new LHError$a(LHError$a.errors.NO_FMP);return LanternFirstContentfulPaint$5.getFirstPaintBasedGraph(e,r,(e=>e.hasRenderBlockingPriority()),(e=>e.didPerformLayout()))}static async compute_(e,t){const r=await LanternFirstContentfulPaint$5.request(e,t),n=await this.computeMetricWithGraphs(e,t);return n.timing=Math.max(n.timing,r.timing),n}}var lanternFirstMeaningfulPaint=makeComputedArtifact$z(LanternFirstMeaningfulPaint$2);const makeComputedArtifact$y=computedArtifact,LanternMetric$4=lanternMetric,BaseNode$7=baseNode,NetworkRequest$d=networkRequest,LanternFirstMeaningfulPaint$1=lanternFirstMeaningfulPaint,CRITICAL_LONG_TASK_THRESHOLD=20;class LanternInteractive$4 extends LanternMetric$4{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e){const t=1e3*CRITICAL_LONG_TASK_THRESHOLD;return e.cloneWithRelationships((e=>{if(e.type===BaseNode$7.TYPES.CPU)return e.event.dur>t
615
- ;const r=e.record.resourceType===NetworkRequest$d.TYPES.Image,n=e.record.resourceType===NetworkRequest$d.TYPES.Script;return!r&&(n||"High"===e.record.priority||"VeryHigh"===e.record.priority)}))}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fmpResult)throw new Error("missing fmpResult");const r=LanternInteractive$4.getLastLongTaskEndTime(e.nodeTimings),n=t.optimistic?t.fmpResult.optimisticEstimate.timeInMs:t.fmpResult.pessimisticEstimate.timeInMs;return{timeInMs:Math.max(n,r),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await LanternFirstMeaningfulPaint$1.request(e,t),n=await this.computeMetricWithGraphs(e,t,{fmpResult:r});return n.timing=Math.max(n.timing,r.timing),n}static getLastLongTaskEndTime(e,t=50){return Array.from(e.entries()).filter((([e,r])=>e.type===BaseNode$7.TYPES.CPU&&r.duration>t)).map((([e,t])=>t.endTime)).reduce(((e,t)=>Math.max(e||0,t||0)),0)}}var lanternInteractive=makeComputedArtifact$y(LanternInteractive$4)
616
- ;const Audit$1D=audit,linearInterpolation$1=statistics$1.linearInterpolation,Interactive$5=lanternInteractive,i18n$1P=i18n$2H,NetworkRecords$z=networkRecords,LoadSimulator$8=loadSimulator,PageDependencyGraph$8=pageDependencyGraph,str_$1O=i18n$1P.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/byte-efficiency-audit.js",{}),WASTED_MS_FOR_AVERAGE=300,WASTED_MS_FOR_POOR=750,WASTED_MS_FOR_SCORE_OF_ZERO=5e3;class UnusedBytes$4 extends Audit$1D{static scoreForWastedMs(e){return 0===e?1:e<WASTED_MS_FOR_AVERAGE?linearInterpolation$1(0,1,WASTED_MS_FOR_AVERAGE,.75,e):e<WASTED_MS_FOR_POOR?linearInterpolation$1(WASTED_MS_FOR_AVERAGE,.75,WASTED_MS_FOR_POOR,.5,e):Math.max(0,linearInterpolation$1(WASTED_MS_FOR_POOR,.5,WASTED_MS_FOR_SCORE_OF_ZERO,0,e))}static estimateTransferSize(e,t,r){if(e){if(e.resourceType===r)return e.transferSize||0;{const r=e.transferSize||0,n=e.resourceSize||0,a=Number.isFinite(n)&&n>0?r/n:1;return Math.round(t*a)}}switch(r){case"Stylesheet":
617
- return Math.round(.2*t);case"Script":case"Document":return Math.round(.33*t);default:return Math.round(.5*t)}}static async audit(e,t){const r=e.GatherContext,n=e.traces[Audit$1D.DEFAULT_PASS],a=e.devtoolsLogs[Audit$1D.DEFAULT_PASS],i={devtoolsLog:a,settings:t&&t.settings||{}},o=await NetworkRecords$z.request(a,t);if(!o.some((e=>e.transferSize))&&"timespan"===r.gatherMode)return{score:1,notApplicable:!0};const[l,c,u]=await Promise.all([this.audit_(e,o,t),"navigation"===r.gatherMode?PageDependencyGraph$8.request({trace:n,devtoolsLog:a},t):null,LoadSimulator$8.request(i,t)]);return this.createAuditProduct(l,c,u,r)}static computeWasteWithTTIGraph(e,t,r,n){const a=`${(n=Object.assign({includeLoad:!0,label:this.meta.id},n)).label}-before`,i=`${n.label}-after`,o=r.simulate(t,{label:a}),l=n.providedWastedBytesByUrl||new Map;if(!n.providedWastedBytesByUrl)for(const{url:t,wastedBytes:r}of e)l.set(t,(l.get(t)||0)+r);const c=new Map;t.traverse((e=>{if("network"!==e.type)return
618
- ;const t=l.get(e.record.url);if(!t)return;const r=e.record.transferSize;c.set(e.record.requestId,r),e.record.transferSize=Math.max(r-t,0)}));const u=r.simulate(t,{label:i});t.traverse((e=>{if("network"!==e.type)return;const t=c.get(e.record.requestId);void 0!==t&&(e.record.transferSize=t)}));const p=o.timeInMs-u.timeInMs;let f=Interactive$5.getLastLongTaskEndTime(o.nodeTimings)-Interactive$5.getLastLongTaskEndTime(u.nodeTimings);return n.includeLoad&&(f=Math.max(f,p)),10*Math.round(Math.max(f,0)/10)}static computeWastedMsWithThroughput(e,t){const r=t.getOptions().throughput;if(0===r)return 0;return 8*e/r*1e3}static createAuditProduct(e,t,r,n){const a=e.items.sort(((e,t)=>t.wastedBytes-e.wastedBytes)),i=a.reduce(((e,t)=>e+t.wastedBytes),0);let o;if("navigation"===n.gatherMode){if(!t)throw Error("Page dependency graph should always be computed in navigation mode");o=this.computeWasteWithTTIGraph(a,t,r,{providedWastedBytesByUrl:e.wastedBytesByUrl})
619
- }else o=this.computeWastedMsWithThroughput(i,r);let l=e.displayValue||"";void 0===e.displayValue&&i&&(l=str_$1O(i18n$1P.UIStrings.displayValueByteSavings,{wastedBytes:i}));const c=Audit$1D.makeOpportunityDetails(e.headings,a,o,i);return{explanation:e.explanation,warnings:e.warnings,displayValue:l,numericValue:o,numericUnit:"millisecond",score:UnusedBytes$4.scoreForWastedMs(o),details:c}}static audit_(e,t,r){throw new Error("audit_ unimplemented")}}var byteEfficiencyAudit=UnusedBytes$4,SourceMap={exports:{}};function lowerBound(e,t,r,n,a){let i=n||0,o=void 0!==a?a:e.length;for(;i<o;){const n=i+o>>1;r(t,e[n])>0?i=n+1:o=n}return o}function upperBound(e,t,r,n,a){let i=n||0,o=void 0!==a?a:e.length;for(;i<o;){const n=i+o>>1;r(t,e[n])>=0?i=n+1:o=n}return o}var Platform={ArrayUtilities:{lowerBound,upperBound}};!function(e,t){const r=Platform;Object.defineProperty(t,"__esModule",{value:!0}),t.TextSourceMap=t.SourceMapEntry=t.Offset=t.Section=t.SourceMapV3=void 0;t.SourceMapV3=class SourceMapV3{
605
+ e.frameId&&e.resourceType===NetworkRequest$f.TYPES.Document&&e.documentURL===e.url){const t=a.has(e.frameId)?null:i;a.set(e.frameId,t)}})),{nodes:t,idToNodeMap:r,urlToNodeMap:n,frameIdToNodeMap:a}}static getCPUNodes({mainThreadEvents:e}){const t=[];let r=0;for(TracingProcessor$3.assertHasToplevelEvents(e);r<e.length;){const n=e[r];if(r++,!TracingProcessor$3.isScheduleableTask(n)||!n.dur)continue;const a=[];for(const t=n.ts+n.dur;r<e.length&&e[r].ts<t;r++)a.push(e[r]);t.push(new CPUNode(n,a))}return t}static linkNetworkNodes(e,t){t.nodes.forEach((r=>{const n=r.record.initiatorRequest||e.record,a=t.idToNodeMap.get(n.requestId)||e,i=!a.isDependentOn(r)&&r.canDependOn(a),o=PageDependencyGraph$a.getNetworkInitiators(r.record);if(o.length?o.forEach((e=>{const n=t.urlToNodeMap.get(e)||[];1===n.length&&n[0].startTime<=r.startTime&&!n[0].isDependentOn(r)?r.addDependency(n[0]):i&&a.addDependent(r)})):i&&a.addDependent(r),
606
+ r!==e&&0===r.getDependencies().length&&r.canDependOn(e)&&r.addDependency(e),!r.record.redirects)return;const l=[...r.record.redirects,r.record];for(let e=1;e<l.length;e++){const r=t.idToNodeMap.get(l[e-1].requestId),n=t.idToNodeMap.get(l[e].requestId);n&&r&&n.addDependency(r)}}))}static linkCPUNodes(e,t,r){const n=new Set([NetworkRequest$f.TYPES.XHR,NetworkRequest$f.TYPES.Fetch,NetworkRequest$f.TYPES.Script]);function addDependentNetworkRequest(e,r){const a=t.idToNodeMap.get(r);if(!a||a.startTime<=e.startTime)return;const{record:i}=a,o=i.resourceType||i.redirectDestination&&i.redirectDestination.resourceType;n.has(o)&&e.addDependent(a)}function addDependencyOnFrame(e,r){if(!r)return;const n=t.frameIdToNodeMap.get(r);n&&(n.startTime>=e.startTime||e.addDependency(n))}function addDependencyOnUrl(e,r){if(!r)return;const n=t.urlToNodeMap.get(r)||[];let a=null,i=1/0;for(const t of n){if(e.startTime<=t.startTime)return;const r=e.startTime-t.endTime;r>=-1e5&&r<i&&(a=t,i=r)}
607
+ a&&e.addDependency(a)}const a=new Map;for(const t of r){for(const e of t.childEvents){if(!e.args.data)continue;const r=e.args.data.url,n=(e.args.data.stackTrace||[]).map((e=>e.url)).filter(Boolean);switch(e.name){case"TimerInstall":a.set(e.args.data.timerId,t),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"TimerFire":{const r=a.get(e.args.data.timerId);if(!r||r.endTime>t.startTime)break;r.addDependent(t);break}case"InvalidateLayout":case"ScheduleStyleRecalculation":addDependencyOnFrame(t,e.args.data.frame),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"EvaluateScript":addDependencyOnFrame(t,e.args.data.frame),addDependencyOnUrl(t,r),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"XHRReadyStateChange":if(4!==e.args.data.readyState)break;addDependencyOnUrl(t,r),n.forEach((e=>addDependencyOnUrl(t,e)));break;case"FunctionCall":case"v8.compile":addDependencyOnFrame(t,e.args.data.frame),addDependencyOnUrl(t,r);break;case"ParseAuthorStyleSheet":
608
+ addDependencyOnFrame(t,e.args.data.frame),addDependencyOnUrl(t,e.args.data.styleSheetUrl);break;case"ResourceSendRequest":addDependencyOnFrame(t,e.args.data.frame),addDependentNetworkRequest(t,e.args.data.requestId),n.forEach((e=>addDependencyOnUrl(t,e)))}}0===t.getNumberOfDependencies()&&t.canDependOn(e)&&t.addDependency(e)}const i=1e3*SIGNIFICANT_DUR_THRESHOLD_MS;let o=!1,l=!1,c=!1;for(const e of r){let t=!1;!o&&e.childEvents.some((e=>"Layout"===e.name))&&(t=o=!0),!l&&e.childEvents.some((e=>"Paint"===e.name))&&(t=l=!0),!c&&e.childEvents.some((e=>"ParseHTML"===e.name))&&(t=c=!0),t||e.event.dur>=i||(1===e.getNumberOfDependencies()||e.getNumberOfDependents()<=1)&&PageDependencyGraph$a._pruneNode(e)}}static _pruneNode(e){const t=e.getDependencies(),r=e.getDependents();for(const n of t){e.removeDependency(n);for(const e of r)n.addDependent(e)}for(const t of r)e.removeDependent(t)}static createGraph(e,t){
609
+ const r=PageDependencyGraph$a.getNetworkNodeOutput(t),n=PageDependencyGraph$a.getCPUNodes(e),a=NetworkAnalyzer$5.findMainDocument(t),i=r.idToNodeMap.get(a.requestId);if(!i)throw new Error("mainDocumentNode not found.");const o=i.record.redirects&&i.record.redirects[0];let l;if(o){if(l=o&&r.idToNodeMap.get(o.requestId),!l)throw new Error("rootNode not found")}else l=i;if(PageDependencyGraph$a.linkNetworkNodes(l,r),PageDependencyGraph$a.linkCPUNodes(l,r,n),i.setIsMainDocument(!0),NetworkNode.hasCycle(l))throw new Error("Invalid dependency graph created, cycle detected");return l}static printGraph(e,t=100){function padRight(e,t,r=" "){return e+r.repeat(Math.max(t-e.length,0))}const r=[];e.traverse((e=>r.push(e))),r.sort(((e,t)=>e.startTime-t.startTime));const n=r[0].startTime,a=(r.reduce(((e,t)=>Math.max(e,t.endTime)),0)-n)/t;r.forEach((e=>{const r=Math.round((e.startTime-n)/a),i=Math.ceil((e.endTime-e.startTime)/a),o=padRight("",r)+padRight("",i,"="),l=e.record?e.record.url:e.type
610
+ ;console.log(padRight(o,t),`| ${l.slice(0,30)}`)}))}static async compute_(e,t){const r=e.trace,n=e.devtoolsLog,[a,i]=await Promise.all([ProcessedTrace$c.request(r,t),NetworkRecords$A.request(n,t)]);return PageDependencyGraph$a.createGraph(a,i)}}var pageDependencyGraph=makeComputedArtifact$B(PageDependencyGraph$a,["devtoolsLog","trace"]);const BaseNode$9=baseNode,NetworkRequest$e=networkRequest,ProcessedTrace$b=processedTrace,ProcessedNavigation$5=processedNavigation,PageDependencyGraph$9=pageDependencyGraph,LoadSimulator$9=loadSimulator;class LanternMetricArtifact$1{static getScriptUrls(e,t){const r=new Set;return e.traverse((e=>{e.type!==BaseNode$9.TYPES.CPU&&e.record.resourceType===NetworkRequest$e.TYPES.Script&&(t&&!t(e)||r.add(e.record.url))})),r}static get COEFFICIENTS(){throw new Error("COEFFICIENTS unimplemented!")}static getScaledCoefficients(e){return this.COEFFICIENTS}static getOptimisticGraph(e,t){throw new Error("Optimistic graph unimplemented!")}
611
+ static getPessimisticGraph(e,t){throw new Error("Pessmistic graph unimplemented!")}static getEstimateFromSimulation(e,t){return e}static async computeMetricWithGraphs(e,t,r){const n=e.gatherContext||{gatherMode:"navigation"},{trace:a,devtoolsLog:i,settings:o}=e;if("navigation"!==n.gatherMode)throw new Error("Lantern metrics can only be computed on navigations");const l=this.name.replace("Lantern",""),c=await PageDependencyGraph$9.request({trace:a,devtoolsLog:i},t),u=await ProcessedTrace$b.request(a,t),p=await ProcessedNavigation$5.request(u,t),f=e.simulator||await LoadSimulator$9.request({devtoolsLog:i,settings:o},t),b=this.getOptimisticGraph(c,p),S=this.getPessimisticGraph(c,p);let _={label:`optimistic${l}`};const T=f.simulate(b,_);_={label:`optimisticFlex${l}`,flexibleOrdering:!0};const E=f.simulate(b,_);_={label:`pessimistic${l}`};const $=f.simulate(S,_),A=this.getEstimateFromSimulation(T.timeInMs<E.timeInMs?T:E,{...r,optimistic:!0}),I=this.getEstimateFromSimulation($,{...r,
612
+ optimistic:!1}),R=this.getScaledCoefficients(f.rtt),x=R.intercept>0?Math.min(1,A.timeInMs/1e3):1;return{timing:R.intercept*x+R.optimistic*A.timeInMs+R.pessimistic*I.timeInMs,optimisticEstimate:A,pessimisticEstimate:I,optimisticGraph:b,pessimisticGraph:S}}static async compute_(e,t){return this.computeMetricWithGraphs(e,t)}}var lanternMetric=LanternMetricArtifact$1;const makeComputedArtifact$A=computedArtifact,LanternMetric$6=lanternMetric,BaseNode$8=baseNode;class LanternFirstContentfulPaint$6 extends LanternMetric$6{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getBlockingNodeData(e,t,r,n){const a=new Map,i=[];e.traverse((e=>{if(e.type===BaseNode$8.TYPES.CPU){e.startTime<=t&&i.push(e);const r=e.getEvaluateScriptURLs();for(const t of r){const r=a.get(t)||e;a.set(t,e.startTime<r.startTime?e:r)}}})),i.sort(((e,t)=>e.startTime-t.startTime));const o=LanternMetric$6.getScriptUrls(e,(e=>e.endTime<=t&&r(e))),l=new Set,c=new Set;for(const e of o){
613
+ const t=a.get(e);t&&(i.includes(t)?c.add(t.id):l.add(e))}const u=i.find((e=>e.didPerformLayout()));u&&c.add(u.id);const p=i.find((e=>e.childEvents.some((e=>"Paint"===e.name))));p&&c.add(p.id);const f=i.find((e=>e.childEvents.some((e=>"ParseHTML"===e.name))));return f&&c.add(f.id),n&&i.filter(n).forEach((e=>c.add(e.id))),{definitelyNotRenderBlockingScriptUrls:l,blockingCpuNodeIds:c}}static getFirstPaintBasedGraph(e,t,r,n){const{definitelyNotRenderBlockingScriptUrls:a,blockingCpuNodeIds:i}=this.getBlockingNodeData(e,t,r,n);return e.cloneWithRelationships((e=>{if(e.type===BaseNode$8.TYPES.NETWORK){if((e.endTime>t||e.startTime>t)&&!e.isMainDocument())return!1;const n=e.record.url;return!a.has(n)&&r(e)}return i.has(e.id)}))}static getOptimisticGraph(e,t){return this.getFirstPaintBasedGraph(e,t.timestamps.firstContentfulPaint,(e=>e.hasRenderBlockingPriority()&&"script"!==e.initiatorType))}static getPessimisticGraph(e,t){
614
+ return this.getFirstPaintBasedGraph(e,t.timestamps.firstContentfulPaint,(e=>e.hasRenderBlockingPriority()))}}var lanternFirstContentfulPaint=makeComputedArtifact$A(LanternFirstContentfulPaint$6,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$z=computedArtifact,LanternMetric$5=lanternMetric,LHError$a=lhError.exports,LanternFirstContentfulPaint$5=lanternFirstContentfulPaint;class LanternFirstMeaningfulPaint$2 extends LanternMetric$5{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e,t){const r=t.timestamps.firstMeaningfulPaint;if(!r)throw new LHError$a(LHError$a.errors.NO_FMP);return LanternFirstContentfulPaint$5.getFirstPaintBasedGraph(e,r,(e=>e.hasRenderBlockingPriority()&&"script"!==e.initiatorType))}static getPessimisticGraph(e,t){const r=t.timestamps.firstMeaningfulPaint;if(!r)throw new LHError$a(LHError$a.errors.NO_FMP)
615
+ ;return LanternFirstContentfulPaint$5.getFirstPaintBasedGraph(e,r,(e=>e.hasRenderBlockingPriority()),(e=>e.didPerformLayout()))}static async compute_(e,t){const r=await LanternFirstContentfulPaint$5.request(e,t),n=await this.computeMetricWithGraphs(e,t);return n.timing=Math.max(n.timing,r.timing),n}}var lanternFirstMeaningfulPaint=makeComputedArtifact$z(LanternFirstMeaningfulPaint$2,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$y=computedArtifact,LanternMetric$4=lanternMetric,BaseNode$7=baseNode,NetworkRequest$d=networkRequest,LanternFirstMeaningfulPaint$1=lanternFirstMeaningfulPaint,CRITICAL_LONG_TASK_THRESHOLD=20;class LanternInteractive$4 extends LanternMetric$4{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e){const t=1e3*CRITICAL_LONG_TASK_THRESHOLD;return e.cloneWithRelationships((e=>{if(e.type===BaseNode$7.TYPES.CPU)return e.event.dur>t
616
+ ;const r=e.record.resourceType===NetworkRequest$d.TYPES.Image,n=e.record.resourceType===NetworkRequest$d.TYPES.Script;return!r&&(n||"High"===e.record.priority||"VeryHigh"===e.record.priority)}))}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fmpResult)throw new Error("missing fmpResult");const r=LanternInteractive$4.getLastLongTaskEndTime(e.nodeTimings),n=t.optimistic?t.fmpResult.optimisticEstimate.timeInMs:t.fmpResult.pessimisticEstimate.timeInMs;return{timeInMs:Math.max(n,r),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await LanternFirstMeaningfulPaint$1.request(e,t),n=await this.computeMetricWithGraphs(e,t,{fmpResult:r});return n.timing=Math.max(n.timing,r.timing),n}static getLastLongTaskEndTime(e,t=50){return Array.from(e.entries()).filter((([e,r])=>e.type===BaseNode$7.TYPES.CPU&&r.duration>t)).map((([e,t])=>t.endTime)).reduce(((e,t)=>Math.max(e||0,t||0)),0)}}
617
+ var lanternInteractive=makeComputedArtifact$y(LanternInteractive$4,["devtoolsLog","gatherContext","settings","simulator","trace"]);const Audit$1D=audit,linearInterpolation$1=statistics$1.linearInterpolation,Interactive$5=lanternInteractive,i18n$1P=i18n$2H,NetworkRecords$z=networkRecords,LoadSimulator$8=loadSimulator,PageDependencyGraph$8=pageDependencyGraph,str_$1O=i18n$1P.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/byte-efficiency-audit.js",{}),WASTED_MS_FOR_AVERAGE=300,WASTED_MS_FOR_POOR=750,WASTED_MS_FOR_SCORE_OF_ZERO=5e3;class UnusedBytes$4 extends Audit$1D{static scoreForWastedMs(e){return 0===e?1:e<WASTED_MS_FOR_AVERAGE?linearInterpolation$1(0,1,WASTED_MS_FOR_AVERAGE,.75,e):e<WASTED_MS_FOR_POOR?linearInterpolation$1(WASTED_MS_FOR_AVERAGE,.75,WASTED_MS_FOR_POOR,.5,e):Math.max(0,linearInterpolation$1(WASTED_MS_FOR_POOR,.5,WASTED_MS_FOR_SCORE_OF_ZERO,0,e))}static estimateTransferSize(e,t,r){if(e){if(e.resourceType===r)return e.transferSize||0;{
618
+ const r=e.transferSize||0,n=e.resourceSize||0,a=Number.isFinite(n)&&n>0?r/n:1;return Math.round(t*a)}}switch(r){case"Stylesheet":return Math.round(.2*t);case"Script":case"Document":return Math.round(.33*t);default:return Math.round(.5*t)}}static async audit(e,t){const r=e.GatherContext,n=e.traces[Audit$1D.DEFAULT_PASS],a=e.devtoolsLogs[Audit$1D.DEFAULT_PASS],i={devtoolsLog:a,settings:t&&t.settings||{}},o=await NetworkRecords$z.request(a,t);if(!o.some((e=>e.transferSize))&&"timespan"===r.gatherMode)return{score:1,notApplicable:!0};const[l,c,u]=await Promise.all([this.audit_(e,o,t),"navigation"===r.gatherMode?PageDependencyGraph$8.request({trace:n,devtoolsLog:a},t):null,LoadSimulator$8.request(i,t)]);return this.createAuditProduct(l,c,u,r)}static computeWasteWithTTIGraph(e,t,r,n){const a=`${(n=Object.assign({includeLoad:!0,label:this.meta.id},n)).label}-before`,i=`${n.label}-after`,o=r.simulate(t,{label:a}),l=n.providedWastedBytesByUrl||new Map
619
+ ;if(!n.providedWastedBytesByUrl)for(const{url:t,wastedBytes:r}of e)l.set(t,(l.get(t)||0)+r);const c=new Map;t.traverse((e=>{if("network"!==e.type)return;const t=l.get(e.record.url);if(!t)return;const r=e.record.transferSize;c.set(e.record.requestId,r),e.record.transferSize=Math.max(r-t,0)}));const u=r.simulate(t,{label:i});t.traverse((e=>{if("network"!==e.type)return;const t=c.get(e.record.requestId);void 0!==t&&(e.record.transferSize=t)}));const p=o.timeInMs-u.timeInMs;let f=Interactive$5.getLastLongTaskEndTime(o.nodeTimings)-Interactive$5.getLastLongTaskEndTime(u.nodeTimings);return n.includeLoad&&(f=Math.max(f,p)),10*Math.round(Math.max(f,0)/10)}static createAuditProduct(e,t,r,n){const a=e.items.sort(((e,t)=>t.wastedBytes-e.wastedBytes)),i=a.reduce(((e,t)=>e+t.wastedBytes),0);let o;if("navigation"===n.gatherMode){if(!t)throw Error("Page dependency graph should always be computed in navigation mode");o=this.computeWasteWithTTIGraph(a,t,r,{providedWastedBytesByUrl:e.wastedBytesByUrl})
620
+ }else o=r.computeWastedMsFromWastedBytes(i);let l=e.displayValue||"";void 0===e.displayValue&&i&&(l=str_$1O(i18n$1P.UIStrings.displayValueByteSavings,{wastedBytes:i}));const c=Audit$1D.makeOpportunityDetails(e.headings,a,o,i);return{explanation:e.explanation,warnings:e.warnings,displayValue:l,numericValue:o,numericUnit:"millisecond",score:UnusedBytes$4.scoreForWastedMs(o),details:c}}static audit_(e,t,r){throw new Error("audit_ unimplemented")}}var byteEfficiencyAudit=UnusedBytes$4,SourceMap={exports:{}};function lowerBound(e,t,r,n,a){let i=n||0,o=void 0!==a?a:e.length;for(;i<o;){const n=i+o>>1;r(t,e[n])>0?i=n+1:o=n}return o}function upperBound(e,t,r,n,a){let i=n||0,o=void 0!==a?a:e.length;for(;i<o;){const n=i+o>>1;r(t,e[n])>=0?i=n+1:o=n}return o}var Platform={ArrayUtilities:{lowerBound,upperBound}};!function(e,t){const r=Platform;Object.defineProperty(t,"__esModule",{value:!0}),t.TextSourceMap=t.SourceMapEntry=t.Offset=t.Section=t.SourceMapV3=void 0;t.SourceMapV3=class SourceMapV3{
620
621
  constructor(){}};t.Section=class Section{constructor(){}};t.Offset=class Offset{constructor(){}};class SourceMapEntry{constructor(e,t,r,n,a,i){this.lineNumber=e,this.columnNumber=t,this.sourceURL=r,this.sourceLineNumber=n,this.sourceColumnNumber=a,this.name=i}static compare(e,t){return e.lineNumber!==t.lineNumber?e.lineNumber-t.lineNumber:e.columnNumber-t.columnNumber}}t.SourceMapEntry=SourceMapEntry;const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Map;for(let e=0;e<n.length;++e)a.set(n.charAt(e),e);const i=new WeakMap;class TextSourceMap{constructor(e,t,r,n){if(this.initiator=n,this.json=r,this.compiledURLInternal=e,this.sourceMappingURL=t,this.baseURL=t.startsWith("data:")?e:t,this.mappingsInternal=null,this.sourceInfos=new Map,this.json.sections){Boolean(this.json.sections.find((e=>Boolean(e.url))))&&console.warn(`SourceMap "${t}" contains unsupported "URL" field in one of its sections.`)}this.eachSection(this.parseSources.bind(this))}compiledURL(){
621
622
  return this.compiledURLInternal}url(){return this.sourceMappingURL}sourceURLs(){return[...this.sourceInfos.keys()]}embeddedContentByURL(e){const t=this.sourceInfos.get(e);return t?t.content:null}findEntry(e,t){const n=this.mappings(),a=r.ArrayUtilities.upperBound(n,void 0,((r,n)=>e-n.lineNumber||t-n.columnNumber));return a?n[a-1]:null}sourceLineMapping(e,t,n){const a=this.reversedMappings(e),i=r.ArrayUtilities.lowerBound(a,t,lineComparator),o=r.ArrayUtilities.upperBound(a,t,lineComparator);if(i>=a.length||a[i].sourceLineNumber!==t)return null;const l=a.slice(i,o);if(!l.length)return null;const c=r.ArrayUtilities.lowerBound(l,n,((e,t)=>e-t.sourceColumnNumber));return c>=l.length?l[l.length-1]:l[c];function lineComparator(e,t){return e-t.sourceLineNumber}}findReverseEntries(e,t,n){const a=this.reversedMappings(e),i=r.ArrayUtilities.upperBound(a,void 0,((e,r)=>t-r.sourceLineNumber||n-r.sourceColumnNumber));let o=i
622
623
  ;for(;o>0&&a[o-1].sourceLineNumber===a[i-1].sourceLineNumber&&a[o-1].sourceColumnNumber===a[i-1].sourceColumnNumber;)--o;return a.slice(o,i)}mappings(){return null===this.mappingsInternal&&(this.mappingsInternal=[],this.eachSection(this.parseMap.bind(this)),this.json=null),this.mappingsInternal}reversedMappings(e){const t=this.sourceInfos.get(e);if(!t)return[];const r=this.mappings();return null===t.reverseMappings&&(t.reverseMappings=r.filter((t=>t.sourceURL===e)).sort((function sourceMappingComparator(e,t){if(e.sourceLineNumber!==t.sourceLineNumber)return e.sourceLineNumber-t.sourceLineNumber;if(e.sourceColumnNumber!==t.sourceColumnNumber)return e.sourceColumnNumber-t.sourceColumnNumber;if(e.lineNumber!==t.lineNumber)return e.lineNumber-t.lineNumber;return e.columnNumber-t.columnNumber}))),t.reverseMappings}eachSection(e){if(this.json)if(this.json.sections)for(const t of this.json.sections)e(t.map,t.offset.line,t.offset.column);else e(this.json,0,0)}parseSources(e){const t=[]
@@ -624,8 +625,8 @@ return this.compiledURLInternal}url(){return this.sourceMappingURL}sourceURLs(){
624
625
  let t=0,r=0,n=TextSourceMap._VLQ_CONTINUATION_MASK;for(;n&TextSourceMap._VLQ_CONTINUATION_MASK;)n=a.get(e.next())||0,t+=(n&TextSourceMap._VLQ_BASE_MASK)<<r,r+=TextSourceMap._VLQ_BASE_SHIFT;const i=1&t;return t>>=1,i?-t:t}reverseMapTextRange(e,t){function comparator(e,t){return e.lineNumber!==t.sourceLineNumber?e.lineNumber-t.sourceLineNumber:e.columnNumber-t.sourceColumnNumber}const n=this.reversedMappings(e);if(!n.length)return null;const a=r.ArrayUtilities.lowerBound(n,{lineNumber:t.startLine,columnNumber:t.startColumn},comparator),i=r.ArrayUtilities.upperBound(n,{lineNumber:t.endLine,columnNumber:t.endColumn},comparator),o=n[a],l=n[i];return new TextUtils.TextRange.TextRange(o.lineNumber,o.columnNumber,l.lineNumber,l.columnNumber)}mapsOrigin(){const e=this.mappings();if(e.length>0){const t=e[0];return 0===(null==t?void 0:t.lineNumber)||0===t.columnNumber}return!1}}t.TextSourceMap=TextSourceMap,function(e){e._VLQ_BASE_SHIFT=5,e._VLQ_BASE_MASK=31,e._VLQ_CONTINUATION_MASK=32
625
626
  ;e.StringCharIterator=class StringCharIterator{constructor(e){this.string=e,this.position=0}next(){return this.string.charAt(this.position++)}peek(){return this.string.charAt(this.position)}hasNext(){return this.position<this.string.length}};e.SourceInfo=class SourceInfo{constructor(e,t){this.content=e,this.reverseMappings=t}}}(TextSourceMap=t.TextSourceMap||(t.TextSourceMap={})),e.exports=TextSourceMap}(SourceMap,SourceMap.exports);const SDK$1={TextSourceMap:SourceMap.exports};SDK$1.TextSourceMap.prototype.computeLastGeneratedColumns=function(){const e=this.mappings();if(!e.length||void 0===e[0].lastColumnNumber)for(let t=0;t<e.length-1;t++){const r=e[t],n=e[t+1];r.lineNumber===n.lineNumber&&(r.lastColumnNumber=n.columnNumber)}};var SDK_1=SDK$1;const log$6=lighthouseLogger,makeComputedArtifact$x=computedArtifact,SDK=SDK_1;function computeGeneratedFileSizes(e,t){const r=t.split("\n"),n={},a=t.length;let i=a;e.computeLastGeneratedColumns();for(const t of e.mappings()){
626
627
  const a=t.sourceURL,o=t.lineNumber,l=t.columnNumber,c=t.lastColumnNumber;if(!a)continue;const u=r[o];if(null==u){const t=`${e.url()} mapping for line out of bounds: ${o+1}`;return log$6.error("JSBundles",t),{errorMessage:t}}if(l>u.length){const t=`${e.url()} mapping for column out of bounds: ${o+1}:${l}`;return log$6.error("JSBundles",t),{errorMessage:t}}let p=0;if(void 0!==c){if(c>u.length){const t=`${e.url()} mapping for last column out of bounds: ${o+1}:${c}`;return log$6.error("JSBundles",t),{errorMessage:t}}p=c-l}else p=u.length-l+1;n[a]=(n[a]||0)+p,i-=p}return{files:n,unmappedBytes:i,totalBytes:a}}class JSBundles{static async compute_(e){const{SourceMaps:t,ScriptElements:r}=e,n=[];for(const e of t){if(!e.map)continue;const{scriptUrl:t,map:a}=e;if(!a.mappings)continue;const i=r.find((e=>e.src===t));if(!i)continue;const o=e.scriptUrl||"compiled.js",l=e.sourceMapUrl||"compiled.js.map",c=new SDK.TextSourceMap(o,l,a),u={rawMap:a,script:i,map:c,
627
- sizes:computeGeneratedFileSizes(c,i&&i.content?i.content:"")};n.push(u)}return n}}var jsBundles=makeComputedArtifact$x(JSBundles);const makeComputedArtifact$w=computedArtifact,JsBundles$6=jsBundles,RELATIVE_SIZE_THRESHOLD=.1,ABSOLUTE_SIZE_THRESHOLD_BYTES=512;class ModuleDuplication$2{static normalizeSource(e){const t=(e=e.replace(/\?$/,"")).lastIndexOf("node_modules");return-1!==t&&(e=e.substring(t)),e}static _shouldIgnoreSource(e){return!!e.includes("webpack/bootstrap")||(!!e.includes("(webpack)/buildin")||!!e.includes("external "))}static _normalizeAggregatedData(e){for(const[t,r]of e.entries()){let n=r;if(n.sort(((e,t)=>t.resourceSize-e.resourceSize)),n.length>1){const e=n[0].resourceSize;n=n.filter((t=>t.resourceSize/e>=RELATIVE_SIZE_THRESHOLD))}n=n.filter((e=>e.resourceSize>=ABSOLUTE_SIZE_THRESHOLD_BYTES)),n.length>1?e.set(t,n):e.delete(t)}}static async compute_(e,t){const r=await JsBundles$6.request(e,t),n=new Map;for(const{rawMap:e,sizes:t}of r){if("errorMessage"in t)continue
628
- ;const r=[];n.set(e,r);for(let n=0;n<e.sources.length;n++){if(this._shouldIgnoreSource(e.sources[n]))continue;const a=(e.sourceRoot||"")+e.sources[n],i=t.files[a];r.push({source:ModuleDuplication$2.normalizeSource(e.sources[n]),resourceSize:i})}}const a=new Map;for(const{rawMap:e,script:t}of r){const r=n.get(e);if(r)for(const e of r){let r=a.get(e.source);r||(r=[],a.set(e.source,r)),r.push({scriptUrl:t.src||"",resourceSize:e.resourceSize})}}return this._normalizeAggregatedData(a),a}}var moduleDuplication=makeComputedArtifact$w(ModuleDuplication$2);const ByteEfficiencyAudit$d=byteEfficiencyAudit,ModuleDuplication$1=moduleDuplication,NetworkAnalyzer$4=networkAnalyzer,i18n$1O=i18n$2H,UIStrings$1N={title:"Remove duplicate modules in JavaScript bundles",description:"Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity. "
628
+ sizes:computeGeneratedFileSizes(c,i&&i.content?i.content:"")};n.push(u)}return n}}var jsBundles=makeComputedArtifact$x(JSBundles,["ScriptElements","SourceMaps"]);const makeComputedArtifact$w=computedArtifact,JsBundles$6=jsBundles,RELATIVE_SIZE_THRESHOLD=.1,ABSOLUTE_SIZE_THRESHOLD_BYTES=512;class ModuleDuplication$2{static normalizeSource(e){const t=(e=e.replace(/\?$/,"")).lastIndexOf("node_modules");return-1!==t&&(e=e.substring(t)),e}static _shouldIgnoreSource(e){return!!e.includes("webpack/bootstrap")||(!!e.includes("(webpack)/buildin")||!!e.includes("external "))}static _normalizeAggregatedData(e){for(const[t,r]of e.entries()){let n=r;if(n.sort(((e,t)=>t.resourceSize-e.resourceSize)),n.length>1){const e=n[0].resourceSize;n=n.filter((t=>t.resourceSize/e>=RELATIVE_SIZE_THRESHOLD))}n=n.filter((e=>e.resourceSize>=ABSOLUTE_SIZE_THRESHOLD_BYTES)),n.length>1?e.set(t,n):e.delete(t)}}static async compute_(e,t){const r=await JsBundles$6.request(e,t),n=new Map;for(const{rawMap:e,sizes:t}of r){
629
+ if("errorMessage"in t)continue;const r=[];n.set(e,r);for(let n=0;n<e.sources.length;n++){if(this._shouldIgnoreSource(e.sources[n]))continue;const a=(e.sourceRoot||"")+e.sources[n],i=t.files[a];r.push({source:ModuleDuplication$2.normalizeSource(e.sources[n]),resourceSize:i})}}const a=new Map;for(const{rawMap:e,script:t}of r){const r=n.get(e);if(r)for(const e of r){let r=a.get(e.source);r||(r=[],a.set(e.source,r)),r.push({scriptUrl:t.src||"",resourceSize:e.resourceSize})}}return this._normalizeAggregatedData(a),a}}var moduleDuplication=makeComputedArtifact$w(ModuleDuplication$2,["ScriptElements","SourceMaps"]);const ByteEfficiencyAudit$d=byteEfficiencyAudit,ModuleDuplication$1=moduleDuplication,NetworkAnalyzer$4=networkAnalyzer,i18n$1O=i18n$2H,UIStrings$1N={title:"Remove duplicate modules in JavaScript bundles",description:"Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity. "
629
630
  },str_$1N=i18n$1O.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/duplicated-javascript.js",UIStrings$1N),IGNORE_THRESHOLD_IN_BYTES$8=1024;function indexOfOrEnd(e,t,r=0){const n=e.indexOf(t,r);return-1===n?e.length:n}class DuplicatedJavascript extends ByteEfficiencyAudit$d{static get meta(){return{id:"duplicated-javascript",title:str_$1N(UIStrings$1N.title),description:str_$1N(UIStrings$1N.description),scoreDisplayMode:ByteEfficiencyAudit$d.SCORING_MODES.NUMERIC,requiredArtifacts:["devtoolsLogs","traces","SourceMaps","ScriptElements","GatherContext","URL"]}}static _getNodeModuleName(e){const t=e.split("node_modules/"),r=indexOfOrEnd(e=t[t.length-1],"/");return"@"===e[0]?e.slice(0,indexOfOrEnd(e,"/",r+1)):e.slice(0,r)}static async _getDuplicationGroupedByNodeModules(e,t){const r=await ModuleDuplication$1.request(e,t),n=new Map;for(const[e,t]of r.entries()){if(!e.includes("node_modules")){n.set(e,t);continue}
630
631
  const r="node_modules/"+DuplicatedJavascript._getNodeModuleName(e),a=n.get(r)||[];for(const{scriptUrl:e,resourceSize:r}of t){let t=a.find((t=>t.scriptUrl===e));t||(t={scriptUrl:e,resourceSize:0},a.push(t)),t.resourceSize+=r}n.set(r,a)}for(const e of r.values())e.sort(((e,t)=>t.resourceSize-e.resourceSize));return n}static _estimateTransferRatio(e,t){return ByteEfficiencyAudit$d.estimateTransferSize(e,t,"Script")/t}static async audit_(e,t,r){const n=r.options&&r.options.ignoreThresholdInBytes||IGNORE_THRESHOLD_IN_BYTES$8,a=await DuplicatedJavascript._getDuplicationGroupedByNodeModules(e,r),i=NetworkAnalyzer$4.findOptionalMainDocument(t),o=new Map,l=[];let c=0;const u=new Set,p=new Map;for(const[r,f]of a.entries()){const a=[];let b=0;for(let r=0;r<f.length;r++){const n=f[r],l=n.scriptUrl;let c=o.get(l);if(void 0===c){const r=l===e.URL.finalUrl?i:t.find((e=>e.url===l)),n=e.ScriptElements.find((e=>e.src===l));if(!n||null===n.content)continue;const a=n.content.length
631
632
  ;c=DuplicatedJavascript._estimateTransferRatio(r,a),o.set(l,c)}if(void 0===c)continue;const u=Math.round(n.resourceSize*c);a.push({url:l,sourceTransferBytes:u}),0!==r&&(b+=u,p.set(l,(p.get(l)||0)+u))}if(b<=n){c+=b;for(const e of a)u.add(e.url)}else l.push({source:r,wastedBytes:b,url:"",totalBytes:0,subItems:{type:"subitems",items:a}})}c>n&&l.push({source:"Other",wastedBytes:c,url:"",totalBytes:0,subItems:{type:"subitems",items:Array.from(u).map((e=>({url:e})))}});return{items:l,headings:[{key:"source",valueType:"code",subItemsHeading:{key:"url",valueType:"url"},label:str_$1N(i18n$1O.UIStrings.columnSource)},{key:null,valueType:"bytes",subItemsHeading:{key:"sourceTransferBytes"},granularity:.05,label:str_$1N(i18n$1O.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",granularity:.05,label:str_$1N(i18n$1O.UIStrings.columnWastedBytes)}],wastedBytesByUrl:p}}}duplicatedJavascript.exports=DuplicatedJavascript,duplicatedJavascript.exports.UIStrings=UIStrings$1N
@@ -741,7 +742,7 @@ company:"Conversant",categories:["ad"],domains:["*.ftjcfx.com"]},{name:"Varick M
741
742
  "Object.values":[8,17,19,21,22,29,30,35,38,39,42,43,45,48,51,53,58,60,61,63,64,65,67,68,69,70,71,72,73,74,75,80,81,82,83,87,126]},maxSize=77759,baseSize=3708,require$$5={moduleSizes,dependencies,maxSize,baseSize};!function(e){const t=byteEfficiencyAudit,r=jsBundles,n=i18n$2H,a=thirdPartyWeb_1,i=networkAnalyzer,o={title:"Avoid serving legacy JavaScript to modern browsers",description:"Polyfills and transforms enable legacy browsers to use new JavaScript features. However, many aren't necessary for modern browsers. For your bundled JavaScript, adopt a modern script deployment strategy using module/nomodule feature detection to reduce the amount of code shipped to modern browsers, while retaining support for legacy browsers. [Learn More](https://philipwalton.com/articles/deploying-es2015-code-in-production-today/)"},l=n.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/legacy-javascript.js",o);class CodePatternMatcher{constructor(e){
742
743
  const t=e.map((e=>`(${e.expression})`)).join("|");this.re=new RegExp(`(^\r\n|\r|\n)|${t}`,"g"),this.patterns=e}match(e){this.re.lastIndex=0;const t=new Set,r=[];let n,a=0,i=0;for(;null!==(n=this.re.exec(e));){const e=n.slice(1),[o,...l]=e;if(o){a++,i=n.index+1;continue}const c=this.patterns[l.findIndex(Boolean)];if(t.has(c)){const e=r.find((e=>e.name===c.name));e&&(e.count+=1)}else t.add(c),r.push({name:c.name,line:a,column:n.index-i,count:1})}return r}}e.exports=class LegacyJavascript extends t{static get meta(){return{id:"legacy-javascript",scoreDisplayMode:t.SCORING_MODES.NUMERIC,description:l(o.description),title:l(o.title),requiredArtifacts:["devtoolsLogs","traces","ScriptElements","SourceMaps","GatherContext","URL"]}}static buildPolyfillExpression(e,t){const qt=e=>`['"]${e}['"]`;let r="";if(r+=e?`${e}\\.${t}\\s?=[^=]`:`(?:window\\.|[\\s;]+)${t}\\s?=[^=]`,e&&(r+=`|${e}\\[${qt(t)}\\]\\s?=[^=]`),r+=`|defineProperty\\(${e||"window"},\\s?${qt(t)}`,e){const n=e.replace(".prototype","")
743
744
  ;r+=`|\\$export\\([^,]+,${qt(n)},{${t}:`,r+=`|{target:${qt(n)}\\S*},{${t}:`}else r+=`|function ${t}\\(`;return r}static getPolyfillData(){
744
- return[["Array.prototype.fill","es6.array.fill"],["Array.prototype.filter","es6.array.filter"],["Array.prototype.find","es6.array.find"],["Array.prototype.findIndex","es6.array.find-index"],["Array.prototype.forEach","es6.array.for-each"],["Array.from","es6.array.from"],["Array.isArray","es6.array.is-array"],["Array.prototype.map","es6.array.map"],["Array.of","es6.array.of"],["Array.prototype.reduce","es6.array.reduce"],["Array.prototype.reduceRight","es6.array.reduce-right"],["Array.prototype.some","es6.array.some"],["Date.now","es6.date.now"],["Date.prototype.toISOString","es6.date.to-iso-string"],["Date.prototype.toJSON","es6.date.to-json"],["Date.prototype.toString","es6.date.to-string"],["Function.prototype.name","es6.function.name"],["Number.isInteger","es6.number.is-integer"],["Number.isSafeInteger","es6.number.is-safe-integer"],["Number.parseInt","es6.number.parse-int"],["Object.defineProperties","es6.object.define-properties"],["Object.defineProperty","es6.object.define-property"],["Object.freeze","es6.object.freeze"],["Object.getOwnPropertyNames","es6.object.get-own-property-names"],["Object.getPrototypeOf","es6.object.get-prototype-of"],["Object.isExtensible","es6.object.is-extensible"],["Object.isFrozen","es6.object.is-frozen"],["Object.isSealed","es6.object.is-sealed"],["Object.keys","es6.object.keys"],["Object.preventExtensions","es6.object.prevent-extensions"],["Object.seal","es6.object.seal"],["Object.setPrototypeOf","es6.object.set-prototype-of"],["Reflect.apply","es6.reflect.apply"],["Reflect.construct","es6.reflect.construct"],["Reflect.defineProperty","es6.reflect.define-property"],["Reflect.deleteProperty","es6.reflect.delete-property"],["Reflect.get","es6.reflect.get"],["Reflect.getOwnPropertyDescriptor","es6.reflect.get-own-property-descriptor"],["Reflect.getPrototypeOf","es6.reflect.get-prototype-of"],["Reflect.has","es6.reflect.has"],["Reflect.isExtensible","es6.reflect.is-extensible"],["Reflect.ownKeys","es6.reflect.own-keys"],["Reflect.preventExtensions","es6.reflect.prevent-extensions"],["Reflect.setPrototypeOf","es6.reflect.set-prototype-of"],["String.prototype.codePointAt","es6.string.code-point-at"],["String.fromCodePoint","es6.string.from-code-point"],["String.raw","es6.string.raw"],["String.prototype.repeat","es6.string.repeat"],["Array.prototype.includes","es7.array.includes"],["Object.entries","es7.object.entries"],["Object.getOwnPropertyDescriptors","es7.object.get-own-property-descriptors"],["Object.values","es7.object.values"]].map((e=>{
745
+ return[["Array.prototype.fill","es6.array.fill"],["Array.prototype.filter","es6.array.filter"],["Array.prototype.find","es6.array.find"],["Array.prototype.findIndex","es6.array.find-index"],["Array.prototype.forEach","es6.array.for-each"],["Array.from","es6.array.from"],["Array.isArray","es6.array.is-array"],["Array.prototype.map","es6.array.map"],["Array.of","es6.array.of"],["Array.prototype.some","es6.array.some"],["Date.now","es6.date.now"],["Date.prototype.toISOString","es6.date.to-iso-string"],["Date.prototype.toJSON","es6.date.to-json"],["Date.prototype.toString","es6.date.to-string"],["Function.prototype.name","es6.function.name"],["Number.isInteger","es6.number.is-integer"],["Number.isSafeInteger","es6.number.is-safe-integer"],["Object.defineProperties","es6.object.define-properties"],["Object.defineProperty","es6.object.define-property"],["Object.freeze","es6.object.freeze"],["Object.getPrototypeOf","es6.object.get-prototype-of"],["Object.isExtensible","es6.object.is-extensible"],["Object.isFrozen","es6.object.is-frozen"],["Object.isSealed","es6.object.is-sealed"],["Object.keys","es6.object.keys"],["Object.preventExtensions","es6.object.prevent-extensions"],["Object.seal","es6.object.seal"],["Object.setPrototypeOf","es6.object.set-prototype-of"],["Reflect.apply","es6.reflect.apply"],["Reflect.construct","es6.reflect.construct"],["Reflect.defineProperty","es6.reflect.define-property"],["Reflect.deleteProperty","es6.reflect.delete-property"],["Reflect.get","es6.reflect.get"],["Reflect.getOwnPropertyDescriptor","es6.reflect.get-own-property-descriptor"],["Reflect.getPrototypeOf","es6.reflect.get-prototype-of"],["Reflect.has","es6.reflect.has"],["Reflect.isExtensible","es6.reflect.is-extensible"],["Reflect.ownKeys","es6.reflect.own-keys"],["Reflect.preventExtensions","es6.reflect.prevent-extensions"],["Reflect.setPrototypeOf","es6.reflect.set-prototype-of"],["String.prototype.codePointAt","es6.string.code-point-at"],["String.fromCodePoint","es6.string.from-code-point"],["String.raw","es6.string.raw"],["String.prototype.repeat","es6.string.repeat"],["Array.prototype.includes","es7.array.includes"],["Object.entries","es7.object.entries"],["Object.getOwnPropertyDescriptors","es7.object.get-own-property-descriptors"],["Object.values","es7.object.values"]].map((e=>{
745
746
  const[t,r]=e;return{name:t,coreJs2Module:r,coreJs3Module:r.replace("es6.","es.").replace("es7.","es.").replace("typed.","typed-array.")}}))}static getPolyfillPatterns(){return this.getPolyfillData().map((({name:e})=>{const t=e.split("."),r=t.length>1?t.slice(0,t.length-1).join("."):null,n=t[t.length-1];return{name:e,expression:this.buildPolyfillExpression(r,n)}}))}static getTransformPatterns(){return[{name:"@babel/plugin-transform-classes",expression:"Cannot call a class as a function",estimateBytes:e=>150+e.count*"_classCallCheck()".length},{name:"@babel/plugin-transform-regenerator",expression:/regeneratorRuntime\.a?wrap/.source,estimateBytes:e=>80*e.count},{name:"@babel/plugin-transform-spread",expression:/\.apply\(void 0,\s?_toConsumableArray/.source,estimateBytes:e=>1169+e.count*"_toConsumableArray()".length}]}static detectAcrossScripts(e,t,r,n){const a=new Map,i=this.getPolyfillData();for(const{requestId:o,content:l}of Object.values(t)){if(!l)continue
746
747
  ;const t=r.find((e=>e.requestId===o));if(!t)continue;const c=e.match(l),u=n.find((e=>e.script.src===t.url));if(u)for(const{coreJs2Module:e,coreJs3Module:t,name:r}of i){if(c.some((e=>e.name===r)))continue;const n=u.rawMap.sources.find((r=>r.endsWith(`${e}.js`)||r.endsWith(`${t}.js`)));if(!n)continue;const a=u.map.mappings().find((e=>e.sourceURL===n));a?c.push({name:r,line:a.lineNumber,column:a.columnNumber,count:1}):c.push({name:r,line:0,column:0,count:1})}c.length&&a.set(t.url,c)}return a}static estimateWastedBytes(e){const t=e.filter((e=>!e.name.startsWith("@"))),r=e.filter((e=>e.name.startsWith("@")));let n=0;const a=require$$5,i=new Set;for(const e of t){const t=a.dependencies[e.name];if(t)for(const e of t)i.add(e)}t.length>0&&(n+=a.baseSize),n+=[...i].reduce(((e,t)=>e+a.moduleSizes[t]),0),n=Math.min(n,a.maxSize);let o=0;for(const e of r){const t=this.getTransformPatterns().find((t=>t.name===e.name));t&&t.estimateBytes&&(o+=t.estimateBytes(e))}return n+o}
747
748
  static async estimateTransferRatioForScript(e,r,n,a){let o=e.get(r);if(void 0!==o)return o;const l=i.findOptionalMainDocument(a),c=r===n.URL.finalUrl?l:a.find((e=>e.url===r)),u=n.ScriptElements.find((e=>e.src===r));if(u&&null!==u.content){const e=u.content.length;o=t.estimateTransferSize(c,e,"Script")/e}else o=1;return e.set(r,o),o}static async audit_(e,i,o){const c=a.getEntity(e.URL.finalUrl),u=await r.request(e,o),p=[],f=new CodePatternMatcher([...this.getPolyfillPatterns(),...this.getTransformPatterns()]),b=new Map,S=this.detectAcrossScripts(f,e.ScriptElements,i,u);for(const[r,n]of S.entries()){const a=await this.estimateTransferRatioForScript(b,r,e,i),o=Math.round(this.estimateWastedBytes(n)*a),l={url:r,wastedBytes:o,subItems:{type:"subitems",items:[]},totalBytes:0},c=u.find((e=>e.script.src===r));for(const e of n){const{name:n,line:a,column:i}=e,o={signal:n,location:t.makeSourceLocation(r,a,i,c)};l.subItems.items.push(o)}p.push(l)}const _=new Map
@@ -752,33 +753,34 @@ label:""},{key:"url",valueType:"url",label:str_$1L(i18n$1M.UIStrings.columnURL)}
752
753
  ;if(!n||!a||!i)throw new Error("Did not provide necessary metric computation data");const o=await ProcessedTrace$a.request(n,t),l="timespan"===r.gatherMode?void 0:await ProcessedNavigation$4.request(o,t),c=Object.assign({networkRecords:await NetworkRecords$y.request(a,t),gatherContext:r,processedTrace:o,processedNavigation:l},e);switch(TracingProcessor$2.assertHasToplevelEvents(c.processedTrace.mainThreadEvents),i.throttlingMethod){case"simulate":if("navigation"!==r.gatherMode)throw new Error(`${r.gatherMode} does not support throttlingMethod simulate`);return this.computeSimulatedMetric(c,t);case"provided":case"devtools":return this.computeObservedMetric(c,t);default:throw new TypeError(`Unrecognized throttling method: ${i.throttlingMethod}`)}}}var metric=Metric$1;const Metric=metric;class NavigationMetric$8 extends Metric{static computeSimulatedMetric(e,t){throw new Error("Unimplemented")}static computeObservedMetric(e,t){throw new Error("Unimplemented")}static async compute_(e,t){
753
754
  if("navigation"!==e.gatherContext.gatherMode)throw new Error(`${this.name} can only be computed on navigations`);return super.compute_(e,t)}}var navigationMetric=NavigationMetric$8;const makeComputedArtifact$v=computedArtifact,NavigationMetric$7=navigationMetric,LanternInteractive$3=lanternInteractive,NetworkMonitor=networkMonitor,TracingProcessor$1=traceProcessor,LHError$9=lhError.exports,REQUIRED_QUIET_WINDOW=5e3,ALLOWED_CONCURRENT_REQUESTS=2;class Interactive$4 extends NavigationMetric$7{static _findNetworkQuietPeriods(e,t){const r=t.timestamps.traceEnd/1e3,n=e.filter((e=>e.finished&&"GET"===e.requestMethod&&!e.failed&&e.statusCode<400));return NetworkMonitor.findNetworkQuietPeriods(n,ALLOWED_CONCURRENT_REQUESTS,r)}static _findCPUQuietPeriods(e,t){const r=t.timestamps.timeOrigin/1e3,n=t.timestamps.traceEnd/1e3;if(0===e.length)return[{start:0,end:n}];const a=[];return e.forEach(((t,i)=>{0===i&&a.push({start:0,end:t.start+r}),i===e.length-1?a.push({start:t.end+r,end:n}):a.push({
754
755
  start:t.end+r,end:e[i+1].start+r})})),a}static findOverlappingQuietPeriods(e,t,r){const n=r.timestamps.firstContentfulPaint/1e3,isLongEnoughQuietPeriod=e=>e.end>n+REQUIRED_QUIET_WINDOW&&e.end-e.start>=REQUIRED_QUIET_WINDOW,a=this._findNetworkQuietPeriods(t,r).filter(isLongEnoughQuietPeriod),i=this._findCPUQuietPeriods(e,r).filter(isLongEnoughQuietPeriod),o=i.slice(),l=a.slice();let c=o.shift(),u=l.shift();for(;c&&u;)if(c.start>=u.start){if(u.end>=c.start+REQUIRED_QUIET_WINDOW)return{cpuQuietPeriod:c,networkQuietPeriod:u,cpuQuietPeriods:i,networkQuietPeriods:a};u=l.shift()}else{if(c.end>=u.start+REQUIRED_QUIET_WINDOW)return{cpuQuietPeriod:c,networkQuietPeriod:u,cpuQuietPeriods:i,networkQuietPeriods:a};c=o.shift()}throw new LHError$9(c?LHError$9.errors.NO_TTI_NETWORK_IDLE_PERIOD:LHError$9.errors.NO_TTI_CPU_IDLE_PERIOD)}static computeSimulatedMetric(e,t){const r=NavigationMetric$7.getMetricComputationInput(e);return LanternInteractive$3.request(r,t)}static computeObservedMetric(e){
755
- const{processedTrace:t,processedNavigation:r,networkRecords:n}=e;if(!r.timestamps.domContentLoaded)throw new LHError$9(LHError$9.errors.NO_DCL);const a=TracingProcessor$1.getMainThreadTopLevelEvents(t).filter((e=>e.duration>=50)),i=Interactive$4.findOverlappingQuietPeriods(a,n,r).cpuQuietPeriod,o=1e3*Math.max(i.start,r.timestamps.firstContentfulPaint/1e3,r.timestamps.domContentLoaded/1e3),l=(o-r.timestamps.timeOrigin)/1e3;return Promise.resolve({timing:l,timestamp:o})}}var interactive$1=makeComputedArtifact$v(Interactive$4);const ByteEfficiencyAudit$a=byteEfficiencyAudit,NetworkRequest$b=networkRequest,Sentry$2=sentry,URL$A=urlShim,i18n$1L=i18n$2H,Interactive$3=interactive$1,ProcessedTrace$9=processedTrace,UIStrings$1K={title:"Defer offscreen images",description:"Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive. [Learn more](https://web.dev/offscreen-images/)."
756
- },str_$1K=i18n$1L.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/offscreen-images.js",UIStrings$1K),ALLOWABLE_OFFSCREEN_IN_PX=100,ALLOWABLE_OFFSCREEN_BOTTOM_IN_VIEWPORTS=3,IGNORE_THRESHOLD_IN_BYTES$6=2048,IGNORE_THRESHOLD_IN_PERCENT$4=75,IGNORE_THRESHOLD_IN_MS$1=50;class OffscreenImages extends ByteEfficiencyAudit$a{static get meta(){return{id:"offscreen-images",title:str_$1K(UIStrings$1K.title),description:str_$1K(UIStrings$1K.description),scoreDisplayMode:ByteEfficiencyAudit$a.SCORING_MODES.NUMERIC,supportedModes:["navigation"],requiredArtifacts:["ImageElements","ViewportDimensions","GatherContext","devtoolsLogs","traces"]}}static computeVisiblePixels(e,t){const r=t.innerWidth,n=t.innerHeight,a=ALLOWABLE_OFFSCREEN_BOTTOM_IN_VIEWPORTS*t.innerHeight,i=Math.max(e.top,-1*ALLOWABLE_OFFSCREEN_IN_PX),o=Math.min(e.right,r+ALLOWABLE_OFFSCREEN_IN_PX),l=Math.min(e.bottom,n+a),c=Math.max(e.left,-1*ALLOWABLE_OFFSCREEN_IN_PX);return Math.max(o-c,0)*Math.max(l-i,0)}
757
- static computeWaste(e,t,r){const n=r.find((t=>t.url===e.src));if(!n)return null;if("lazy"===e.loading||"eager"===e.loading)return null;const a=URL$A.elideDataURI(e.src),i=e.displayedWidth*e.displayedHeight,o=this.computeVisiblePixels(e.clientRect,t),l=0===i?1:1-o/i,c=NetworkRequest$b.getResourceSizeOnNetwork(n),u=Math.round(c*l);return Number.isFinite(l)?{node:ByteEfficiencyAudit$a.makeNodeItem(e.node),url:a,requestStartTime:n.startTime,totalBytes:c,wastedBytes:u,wastedPercent:100*l}:new Error(`Invalid image sizing information ${a}`)}static filterLanternResults(e,t){const r=t.pessimisticEstimate.nodeTimings;let n=0;const a=new Map;for(const[e,t]of r)"cpu"===e.type&&t.duration>=50?n=Math.max(n,t.startTime):"network"===e.type&&a.set(e.record.url,t.startTime);return e.filter((e=>{if(e.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$6)return!1;if(e.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$4)return!1;return(a.get(e.url)||0)<n-IGNORE_THRESHOLD_IN_MS$1}))}static filterObservedResults(e,t){
758
- return e.filter((e=>!(e.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$6)&&(!(e.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$4)&&e.requestStartTime<t/1e6-IGNORE_THRESHOLD_IN_MS$1/1e3)))}static computeWasteWithTTIGraph(e,t,r){return super.computeWasteWithTTIGraph(e,t,r,{includeLoad:!1})}static async audit_(e,t,r){const n=e.ImageElements,a=e.ViewportDimensions,i=e.GatherContext,o=e.traces[ByteEfficiencyAudit$a.DEFAULT_PASS],l=e.devtoolsLogs[ByteEfficiencyAudit$a.DEFAULT_PASS],c=[],u=new Map;for(const e of n){const r=OffscreenImages.computeWaste(e,a,t);if(null===r)continue;if(r instanceof Error){c.push(r.message),Sentry$2.captureException(r,{tags:{audit:this.meta.id},level:"warning"});continue}const n=u.get(r.url);(!n||n.wastedBytes>r.wastedBytes)&&u.set(r.url,r)}const p=r.settings;let f;const b=Array.from(u.values());try{const e={trace:o,devtoolsLog:l,gatherContext:i,settings:p},t=await Interactive$3.request(e,r),n=t
759
- ;f="simulate"===r.settings.throttlingMethod?OffscreenImages.filterLanternResults(b,n):OffscreenImages.filterObservedResults(b,t.timestamp)}catch(e){if("simulate"===r.settings.throttlingMethod)throw e;f=OffscreenImages.filterObservedResults(b,await ProcessedTrace$9.request(o,r).then((e=>e.timestamps.traceEnd)))}return{warnings:c,items:f,headings:[{key:"node",valueType:"node",label:""},{key:"url",valueType:"url",label:str_$1K(i18n$1L.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1K(i18n$1L.UIStrings.columnResourceSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1K(i18n$1L.UIStrings.columnWastedBytes)}]}}}offscreenImages.exports=OffscreenImages,offscreenImages.exports.UIStrings=UIStrings$1K;var renderBlockingResources={exports:{}};const makeComputedArtifact$u=computedArtifact,ByteEfficiencyAudit$9=byteEfficiencyAudit,NetworkRecords$x=networkRecords,PREVIEW_LENGTH=100;class UnusedCSS$3{static indexStylesheetsById(e,t){
760
- const r=t.filter((e=>e.resourceSize>0)).reduce(((e,t)=>(e[t.url]=t,e)),{});return e.reduce(((e,t)=>(e[t.header.styleSheetId]=Object.assign({usedRules:[],networkRecord:r[t.header.sourceURL]},t),e)),{})}static indexUsedRules(e,t){e.forEach((e=>{const r=t[e.styleSheetId];r&&e.used&&r.usedRules.push(e)}))}static computeUsage(e){let t=0;const r=e.content.length;for(const r of e.usedRules)t+=r.endOffset-r.startOffset;const n=ByteEfficiencyAudit$9.estimateTransferSize(e.networkRecord,r,"Stylesheet"),a=(r-t)/r;return{wastedBytes:Math.round(a*n),wastedPercent:100*a,totalBytes:n}}static determineContentPreview(e){let t=(e||"").slice(0,5*PREVIEW_LENGTH).replace(/( {2,}|\t)+/g," ").replace(/\n\s+}/g,"\n}").trim();if(t.length>PREVIEW_LENGTH){const e=t.indexOf("{"),r=t.indexOf("}");if(-1===e||-1===r||e>r||e>PREVIEW_LENGTH)t=t.slice(0,PREVIEW_LENGTH)+"...";else if(r<PREVIEW_LENGTH)t=t.slice(0,r+1)+" ...";else{const r=t.slice(0,PREVIEW_LENGTH).lastIndexOf(";")
761
- ;t=r<e?t.slice(0,PREVIEW_LENGTH)+"... } ...":t.slice(0,r+1)+" ... } ..."}}return t}static mapSheetToResult(e,t){let r=e.header.sourceURL;if(!r||r===t){r=UnusedCSS$3.determineContentPreview(e.content)}return{url:r,...UnusedCSS$3.computeUsage(e)}}static async compute_(e,t){const{CSSUsage:r,URL:n,devtoolsLog:a}=e,i=await NetworkRecords$x.request(a,t),o=UnusedCSS$3.indexStylesheetsById(r.stylesheets,i);UnusedCSS$3.indexUsedRules(r.rules,o);return Object.keys(o).map((e=>UnusedCSS$3.mapSheetToResult(o[e],n.finalUrl)))}}var unusedCss=makeComputedArtifact$u(UnusedCSS$3);const makeComputedArtifact$t=computedArtifact,NavigationMetric$6=navigationMetric,LanternFirstContentfulPaint$4=lanternFirstContentfulPaint;class FirstContentfulPaint$3 extends NavigationMetric$6{static computeSimulatedMetric(e,t){const r=NavigationMetric$6.getMetricComputationInput(e);return LanternFirstContentfulPaint$4.request(r,t)}static async computeObservedMetric(e){const{processedNavigation:t}=e;return{
762
- timing:t.timings.firstContentfulPaint,timestamp:t.timestamps.firstContentfulPaint}}}var firstContentfulPaint$1=makeComputedArtifact$t(FirstContentfulPaint$3);const Audit$1C=audit,i18n$1K=i18n$2H,BaseNode$6=baseNode,ByteEfficiencyAudit$8=byteEfficiencyAudit,UnusedCSS$2=unusedCss,NetworkRequest$a=networkRequest,ProcessedTrace$8=processedTrace,ProcessedNavigation$3=processedNavigation,LoadSimulator$7=loadSimulator,FirstContentfulPaint$2=firstContentfulPaint$1,MINIMUM_WASTED_MS=50,UIStrings$1J={title:"Eliminate render-blocking resources",description:"Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. [Learn more](https://web.dev/render-blocking-resources/)."},str_$1J=i18n$1K.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/render-blocking-resources.js",UIStrings$1J);function getNodesAndTimingByUrl(e){const t={};return Array.from(e.keys()).forEach((r=>{if("network"!==r.type)return
763
- ;const n=e.get(r);n&&(t[r.record.url]={node:r,nodeTiming:n})})),t}function adjustNodeTimings(e,t,r){const n=e.get(t);if(!n)return;const a=computeStackSpecificTiming(t,n,r);n.duration-a.duration&&(t.traverse((t=>{e.delete(t)})),e.set(t,a))}function computeStackSpecificTiming(e,t,r){const n={...t};return r.some((e=>"amp"===e.id))&&e.type===BaseNode$6.TYPES.NETWORK&&e.record.resourceType===NetworkRequest$a.TYPES.Stylesheet&&t.endTime>2100&&(n.endTime=Math.max(t.startTime,2100),n.duration=n.endTime-n.startTime),n}class RenderBlockingResources extends Audit$1C{static get meta(){return{id:"render-blocking-resources",title:str_$1J(UIStrings$1J.title),supportedModes:["navigation"],scoreDisplayMode:Audit$1C.SCORING_MODES.NUMERIC,description:str_$1J(UIStrings$1J.description),requiredArtifacts:["URL","TagsBlockingFirstPaint","traces","devtoolsLogs","CSSUsage","GatherContext","Stacks"]}}static async computeResults(e,t){
764
- const r=e.GatherContext,n=e.traces[Audit$1C.DEFAULT_PASS],a=e.devtoolsLogs[Audit$1C.DEFAULT_PASS],i={devtoolsLog:a,settings:t.settings},o=await ProcessedTrace$8.request(n,t),l=await ProcessedNavigation$3.request(o,t),c=await LoadSimulator$7.request(i,t),u=await RenderBlockingResources.computeWastedCSSBytes(e,t),p={trace:n,devtoolsLog:a,gatherContext:r,simulator:c,settings:{...t.settings,throttlingMethod:"simulate"}},f=await FirstContentfulPaint$2.request(p,t),b=l.timestamps.firstContentfulPaint/1e3,S=getNodesAndTimingByUrl(f.optimisticEstimate.nodeTimings),_=[],T=new Set;for(const t of e.TagsBlockingFirstPaint){if(1e3*t.endTime>b)continue;if(!S[t.tag.url])continue;const{node:r,nodeTiming:n}=S[t.tag.url],a=computeStackSpecificTiming(r,n,e.Stacks);r.traverse((e=>T.add(e.id)));const i=Math.round(a.duration);i<MINIMUM_WASTED_MS||_.push({url:t.tag.url,totalBytes:t.transferSize,wastedMs:i})}if(!_.length)return{results:_,wastedMs:0};return{results:_,
765
- wastedMs:RenderBlockingResources.estimateSavingsWithGraphs(c,f.optimisticGraph,T,u,e.Stacks)}}static estimateSavingsWithGraphs(e,t,r,n,a){const{nodeTimings:i}=e.simulate(t),o=new Map(i);let l=0;const c=t.cloneWithRelationships((e=>{adjustNodeTimings(o,e,a);const t=r.has(e.id);if(e.type!==BaseNode$6.TYPES.NETWORK)return!t;const i=e.record.resourceType===NetworkRequest$a.TYPES.Stylesheet;if(t&&i){const t=n.get(e.record.url)||0;l+=(e.record.transferSize||0)-t}return!t}));if("network"!==c.type)throw new Error("minimalFCPGraph not a NetworkNode");const u=Math.max(...Array.from(Array.from(o).map((e=>e[1].endTime)))),p=c.record.transferSize,f=p||0;c.record.transferSize=f+l;const b=e.simulate(c).timeInMs;return c.record.transferSize=p,Math.round(Math.max(u-b,0))}static async computeWastedCSSBytes(e,t){const r=new Map;try{const n=await UnusedCSS$2.request({CSSUsage:e.CSSUsage,URL:e.URL,devtoolsLog:e.devtoolsLogs[Audit$1C.DEFAULT_PASS]},t);for(const e of n)r.set(e.url,e.wastedBytes)}catch(e){}
766
- return r}static async audit(e,t){const{results:r,wastedMs:n}=await RenderBlockingResources.computeResults(e,t);let a;r.length>0&&(a=str_$1J(i18n$1K.UIStrings.displayValueMsSavings,{wastedMs:n}));const i=[{key:"url",valueType:"url",label:str_$1J(i18n$1K.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1J(i18n$1K.UIStrings.columnTransferSize)},{key:"wastedMs",valueType:"timespanMs",label:str_$1J(i18n$1K.UIStrings.columnWastedMs)}],o=Audit$1C.makeOpportunityDetails(i,r,n);return{displayValue:a,score:ByteEfficiencyAudit$8.scoreForWastedMs(n),numericValue:n,numericUnit:"millisecond",details:o}}}renderBlockingResources.exports=RenderBlockingResources,renderBlockingResources.exports.UIStrings=UIStrings$1J;var totalByteWeight={exports:{}};const Audit$1B=audit,i18n$1J=i18n$2H,NetworkRequest$9=networkRequest,NetworkRecords$w=networkRecords,UIStrings$1I={title:"Avoids enormous network payloads",failureTitle:"Avoid enormous network payloads",
767
- description:"Large network payloads cost users real money and are highly correlated with long load times. [Learn more](https://web.dev/total-byte-weight/).",displayValue:"Total size was {totalBytes, number, bytes} KiB"},str_$1I=i18n$1J.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/total-byte-weight.js",UIStrings$1I);class TotalByteWeight extends Audit$1B{static get meta(){return{id:"total-byte-weight",title:str_$1I(UIStrings$1I.title),failureTitle:str_$1I(UIStrings$1I.failureTitle),description:str_$1I(UIStrings$1I.description),scoreDisplayMode:Audit$1B.SCORING_MODES.NUMERIC,requiredArtifacts:["devtoolsLogs"]}}static get defaultOptions(){return{p10:2731008,median:4096e3}}static async audit(e,t){const r=e.devtoolsLogs[Audit$1B.DEFAULT_PASS],n=await NetworkRecords$w.request(r,t);let a=0,i=[];n.forEach((e=>{if(NetworkRequest$9.isNonNetworkRequest(e)||!e.transferSize)return;const t={url:e.url,totalBytes:e.transferSize};a+=t.totalBytes,i.push(t)})),
768
- i=i.sort(((e,t)=>t.totalBytes-e.totalBytes||e.url.localeCompare(t.url))).slice(0,10);const o=Audit$1B.computeLogNormalScore({p10:t.options.p10,median:t.options.median},a),l=[{key:"url",itemType:"url",text:str_$1I(i18n$1J.UIStrings.columnURL)},{key:"totalBytes",itemType:"bytes",text:str_$1I(i18n$1J.UIStrings.columnTransferSize)}],c=Audit$1B.makeTableDetails(l,i);return{score:o,numericValue:a,numericUnit:"byte",displayValue:str_$1I(UIStrings$1I.displayValue,{totalBytes:a}),details:c}}}totalByteWeight.exports=TotalByteWeight,totalByteWeight.exports.UIStrings=UIStrings$1I;var unminifiedCss={exports:{}};const PUNCTUATOR_REGEX=/(return|case|{|\(|\[|\.\.\.|;|,|<|>|<=|>=|==|!=|===|!==|\+|-|\*|%|\*\*|\+\+|--|<<|>>|>>>|&|\||\^|!|~|&&|\|\||\?|:|=|\+=|-=|\*=|%=|\*\*=|<<=|>>=|>>>=|&=|\|=|\^=|=>|\/|\/=|\})$/,WHITESPACE_REGEX=/( |\n|\t)+$/;function hasPunctuatorBefore(e,t){for(let r=t;r>0;r--){const t=Math.max(0,r-6),n=e.slice(t,r);if(!WHITESPACE_REGEX.test(n))return PUNCTUATOR_REGEX.test(n)}return!0
769
- }function computeTokenLength$2(e,t){let r=0,n=!1,a=!1,i=!1,o=!1,l=!1,c=!1,u=null;const p=[];for(let f=0;f<e.length;f++){const b=e.substr(f,2),S=b.charAt(0),_=" "===S||"\n"===S||"\t"===S,T="'"===S||'"'===S||"`"===S;n?"\n"===S&&(n=!1):a?(i&&r++,"*/"===b&&(i&&r++,a=!1,f++)):o?(r++,"`"===u&&"${"===b?(p.push("templateBrace"),o=!1,r++,f++):"\\"===S?(r++,f++):S===u&&(o=!1)):l?(r++,"\\"===S?(r++,f++):"["===S?c=!0:"]"===S&&c?c=!1:"/"!==S||c||(l=!1)):"/*"===b?(a=!0,i="!"===e.charAt(f+2),i&&(r+=2),f++):"//"===b&&t.singlelineComments?(n=!0,a=!1,i=!1,f++):"/"===S&&t.regex&&hasPunctuatorBefore(e,f)?(l=!0,r++):"{"===S&&p.length?(p.push("normalBrace"),r++):"}"===S&&p.length?("templateBrace"===p[p.length-1]&&(o=!0,u="`"),p.pop(),r++):T?(o=!0,u=S,r++):_||r++}return a||o?e.length:r}function computeJSTokenLength(e){return computeTokenLength$2(e,{singlelineComments:!0,regex:!0})}function computeCSSTokenLength(e){return computeTokenLength$2(e,{singlelineComments:!1,regex:!1})}var minificationEstimator={
770
- computeJSTokenLength,computeCSSTokenLength};const ByteEfficiencyAudit$7=byteEfficiencyAudit,UnusedCSS$1=unusedCss,i18n$1I=i18n$2H,computeTokenLength$1=minificationEstimator.computeCSSTokenLength,UIStrings$1H={title:"Minify CSS",description:"Minifying CSS files can reduce network payload sizes. [Learn more](https://web.dev/unminified-css/)."},str_$1H=i18n$1I.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/unminified-css.js",UIStrings$1H),IGNORE_THRESHOLD_IN_PERCENT$3=5,IGNORE_THRESHOLD_IN_BYTES$5=2048;class UnminifiedCSS extends ByteEfficiencyAudit$7{static get meta(){return{id:"unminified-css",title:str_$1H(UIStrings$1H.title),description:str_$1H(UIStrings$1H.description),scoreDisplayMode:ByteEfficiencyAudit$7.SCORING_MODES.NUMERIC,requiredArtifacts:["CSSUsage","devtoolsLogs","traces","URL","GatherContext"]}}static computeTokenLength(e){return computeTokenLength$1(e)}static computeWaste(e,t,r){const n=e.content,a=UnminifiedCSS.computeTokenLength(n)
771
- ;let i=e.header.sourceURL;if(!i||i===r){i=UnusedCSS$1.determineContentPreview(e.content)}const o=ByteEfficiencyAudit$7.estimateTransferSize(t,n.length,"Stylesheet"),l=1-a/n.length;return{url:i,totalBytes:o,wastedBytes:Math.round(o*l),wastedPercent:100*l}}static audit_(e,t){const r=e.URL.finalUrl,n=[];for(const a of e.CSSUsage.stylesheets){const e=t.find((e=>e.url===a.header.sourceURL));if(!a.content)continue;const i=UnminifiedCSS.computeWaste(a,e,r);i.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$3||i.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$5||!Number.isFinite(i.wastedBytes)||n.push(i)}return{items:n,headings:[{key:"url",valueType:"url",label:str_$1H(i18n$1I.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1H(i18n$1I.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1H(i18n$1I.UIStrings.columnWastedBytes)}]}}}unminifiedCss.exports=UnminifiedCSS,unminifiedCss.exports.UIStrings=UIStrings$1H;var unminifiedJavascript={exports:{}}
772
- ;const ByteEfficiencyAudit$6=byteEfficiencyAudit,i18n$1H=i18n$2H,computeTokenLength=minificationEstimator.computeJSTokenLength,UIStrings$1G={title:"Minify JavaScript",description:"Minifying JavaScript files can reduce payload sizes and script parse time. [Learn more](https://web.dev/unminified-javascript/)."},str_$1G=i18n$1H.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/unminified-javascript.js",UIStrings$1G),IGNORE_THRESHOLD_IN_PERCENT$2=10,IGNORE_THRESHOLD_IN_BYTES$4=2048;class UnminifiedJavaScript extends ByteEfficiencyAudit$6{static get meta(){return{id:"unminified-javascript",title:str_$1G(UIStrings$1G.title),description:str_$1G(UIStrings$1G.description),scoreDisplayMode:ByteEfficiencyAudit$6.SCORING_MODES.NUMERIC,requiredArtifacts:["ScriptElements","devtoolsLogs","traces","GatherContext"]}}static computeWaste(e,t,r){const n=e.length,a=computeTokenLength(e),i=ByteEfficiencyAudit$6.estimateTransferSize(r,n,"Script"),o=1-a/n;return{url:t,totalBytes:i,
773
- wastedBytes:Math.round(i*o),wastedPercent:100*o}}static audit_(e,t){const r=[],n=[];for(const{requestId:a,src:i,content:o}of e.ScriptElements){if(!o)continue;const e=t.find((e=>e.requestId===a)),l=i&&e?e.url:`inline: ${o.substr(0,40)}...`;try{const t=UnminifiedJavaScript.computeWaste(o,l,e);if(t.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$2||t.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$4||!Number.isFinite(t.wastedBytes))continue;r.push(t)}catch(t){const r=e?e.url:"?";n.push(`Unable to process script ${r}: ${t.message}`)}}return{items:r,warnings:n,headings:[{key:"url",valueType:"url",label:str_$1G(i18n$1H.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1G(i18n$1H.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1G(i18n$1H.UIStrings.columnWastedBytes)}]}}}unminifiedJavascript.exports=UnminifiedJavaScript,unminifiedJavascript.exports.UIStrings=UIStrings$1G;var unusedCssRules={exports:{}}
774
- ;const ByteEfficiencyAudit$5=byteEfficiencyAudit,UnusedCSS=unusedCss,i18n$1G=i18n$2H,UIStrings$1F={title:"Reduce unused CSS",description:"Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. [Learn more](https://web.dev/unused-css-rules/)."},str_$1F=i18n$1G.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/unused-css-rules.js",UIStrings$1F),IGNORE_THRESHOLD_IN_BYTES$3=10240;class UnusedCSSRules extends ByteEfficiencyAudit$5{static get meta(){return{id:"unused-css-rules",title:str_$1F(UIStrings$1F.title),description:str_$1F(UIStrings$1F.description),scoreDisplayMode:ByteEfficiencyAudit$5.SCORING_MODES.NUMERIC,requiredArtifacts:["CSSUsage","URL","devtoolsLogs","traces","GatherContext"]}}static async audit_(e,t,r){return{items:(await UnusedCSS.request({CSSUsage:e.CSSUsage,URL:e.URL,devtoolsLog:e.devtoolsLogs[ByteEfficiencyAudit$5.DEFAULT_PASS]
775
- },r)).filter((e=>e&&e.wastedBytes>IGNORE_THRESHOLD_IN_BYTES$3)),headings:[{key:"url",valueType:"url",label:str_$1F(i18n$1G.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1F(i18n$1G.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1F(i18n$1G.UIStrings.columnWastedBytes)}]}}}unusedCssRules.exports=UnusedCSSRules,unusedCssRules.exports.UIStrings=UIStrings$1F;var unusedJavascript={exports:{}};
756
+ const{processedTrace:t,processedNavigation:r,networkRecords:n}=e;if(!r.timestamps.domContentLoaded)throw new LHError$9(LHError$9.errors.NO_DCL);const a=TracingProcessor$1.getMainThreadTopLevelEvents(t).filter((e=>e.duration>=50)),i=Interactive$4.findOverlappingQuietPeriods(a,n,r).cpuQuietPeriod,o=1e3*Math.max(i.start,r.timestamps.firstContentfulPaint/1e3,r.timestamps.domContentLoaded/1e3),l=(o-r.timestamps.timeOrigin)/1e3;return Promise.resolve({timing:l,timestamp:o})}}var interactive$1=makeComputedArtifact$v(Interactive$4,["devtoolsLog","gatherContext","settings","simulator","trace"]);const ByteEfficiencyAudit$a=byteEfficiencyAudit,NetworkRequest$b=networkRequest,Sentry$2=sentry,URL$A=urlShim,i18n$1L=i18n$2H,Interactive$3=interactive$1,ProcessedTrace$9=processedTrace,UIStrings$1K={title:"Defer offscreen images",
757
+ description:"Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive. [Learn more](https://web.dev/offscreen-images/)."},str_$1K=i18n$1L.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/offscreen-images.js",UIStrings$1K),ALLOWABLE_OFFSCREEN_IN_PX=100,ALLOWABLE_OFFSCREEN_BOTTOM_IN_VIEWPORTS=3,IGNORE_THRESHOLD_IN_BYTES$6=2048,IGNORE_THRESHOLD_IN_PERCENT$4=75,IGNORE_THRESHOLD_IN_MS$1=50;class OffscreenImages extends ByteEfficiencyAudit$a{static get meta(){return{id:"offscreen-images",title:str_$1K(UIStrings$1K.title),description:str_$1K(UIStrings$1K.description),scoreDisplayMode:ByteEfficiencyAudit$a.SCORING_MODES.NUMERIC,supportedModes:["navigation"],requiredArtifacts:["ImageElements","ViewportDimensions","GatherContext","devtoolsLogs","traces"]}}static computeVisiblePixels(e,t){
758
+ const r=t.innerWidth,n=t.innerHeight,a=ALLOWABLE_OFFSCREEN_BOTTOM_IN_VIEWPORTS*t.innerHeight,i=Math.max(e.top,-1*ALLOWABLE_OFFSCREEN_IN_PX),o=Math.min(e.right,r+ALLOWABLE_OFFSCREEN_IN_PX),l=Math.min(e.bottom,n+a),c=Math.max(e.left,-1*ALLOWABLE_OFFSCREEN_IN_PX);return Math.max(o-c,0)*Math.max(l-i,0)}static computeWaste(e,t,r){const n=r.find((t=>t.url===e.src));if(!n)return null;if("lazy"===e.loading||"eager"===e.loading)return null;const a=URL$A.elideDataURI(e.src),i=e.displayedWidth*e.displayedHeight,o=this.computeVisiblePixels(e.clientRect,t),l=0===i?1:1-o/i,c=NetworkRequest$b.getResourceSizeOnNetwork(n),u=Math.round(c*l);return Number.isFinite(l)?{node:ByteEfficiencyAudit$a.makeNodeItem(e.node),url:a,requestStartTime:n.startTime,totalBytes:c,wastedBytes:u,wastedPercent:100*l}:new Error(`Invalid image sizing information ${a}`)}static filterLanternResults(e,t){const r=t.pessimisticEstimate.nodeTimings;let n=0;const a=new Map
759
+ ;for(const[e,t]of r)"cpu"===e.type&&t.duration>=50?n=Math.max(n,t.startTime):"network"===e.type&&a.set(e.record.url,t.startTime);return e.filter((e=>{if(e.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$6)return!1;if(e.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$4)return!1;return(a.get(e.url)||0)<n-IGNORE_THRESHOLD_IN_MS$1}))}static filterObservedResults(e,t){return e.filter((e=>!(e.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$6)&&(!(e.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$4)&&e.requestStartTime<t/1e6-IGNORE_THRESHOLD_IN_MS$1/1e3)))}static computeWasteWithTTIGraph(e,t,r){return super.computeWasteWithTTIGraph(e,t,r,{includeLoad:!1})}static async audit_(e,t,r){const n=e.ImageElements,a=e.ViewportDimensions,i=e.GatherContext,o=e.traces[ByteEfficiencyAudit$a.DEFAULT_PASS],l=e.devtoolsLogs[ByteEfficiencyAudit$a.DEFAULT_PASS],c=[],u=new Map;for(const e of n){const r=OffscreenImages.computeWaste(e,a,t);if(null===r)continue;if(r instanceof Error){c.push(r.message),Sentry$2.captureException(r,{tags:{
760
+ audit:this.meta.id},level:"warning"});continue}const n=u.get(r.url);(!n||n.wastedBytes>r.wastedBytes)&&u.set(r.url,r)}const p=r.settings;let f;const b=Array.from(u.values());try{const e={trace:o,devtoolsLog:l,gatherContext:i,settings:p},t=await Interactive$3.request(e,r),n=t;f="simulate"===r.settings.throttlingMethod?OffscreenImages.filterLanternResults(b,n):OffscreenImages.filterObservedResults(b,t.timestamp)}catch(e){if("simulate"===r.settings.throttlingMethod)throw e;f=OffscreenImages.filterObservedResults(b,await ProcessedTrace$9.request(o,r).then((e=>e.timestamps.traceEnd)))}return{warnings:c,items:f,headings:[{key:"node",valueType:"node",label:""},{key:"url",valueType:"url",label:str_$1K(i18n$1L.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1K(i18n$1L.UIStrings.columnResourceSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1K(i18n$1L.UIStrings.columnWastedBytes)}]}}}offscreenImages.exports=OffscreenImages,offscreenImages.exports.UIStrings=UIStrings$1K
761
+ ;var renderBlockingResources={exports:{}};const makeComputedArtifact$u=computedArtifact,ByteEfficiencyAudit$9=byteEfficiencyAudit,NetworkRecords$x=networkRecords,PREVIEW_LENGTH=100;class UnusedCSS$3{static indexStylesheetsById(e,t){const r=t.filter((e=>e.resourceSize>0)).reduce(((e,t)=>(e[t.url]=t,e)),{});return e.reduce(((e,t)=>(e[t.header.styleSheetId]=Object.assign({usedRules:[],networkRecord:r[t.header.sourceURL]},t),e)),{})}static indexUsedRules(e,t){e.forEach((e=>{const r=t[e.styleSheetId];r&&e.used&&r.usedRules.push(e)}))}static computeUsage(e){let t=0;const r=e.content.length;for(const r of e.usedRules)t+=r.endOffset-r.startOffset;const n=ByteEfficiencyAudit$9.estimateTransferSize(e.networkRecord,r,"Stylesheet"),a=(r-t)/r;return{wastedBytes:Math.round(a*n),wastedPercent:100*a,totalBytes:n}}static determineContentPreview(e){let t=(e||"").slice(0,5*PREVIEW_LENGTH).replace(/( {2,}|\t)+/g," ").replace(/\n\s+}/g,"\n}").trim();if(t.length>PREVIEW_LENGTH){
762
+ const e=t.indexOf("{"),r=t.indexOf("}");if(-1===e||-1===r||e>r||e>PREVIEW_LENGTH)t=t.slice(0,PREVIEW_LENGTH)+"...";else if(r<PREVIEW_LENGTH)t=t.slice(0,r+1)+" ...";else{const r=t.slice(0,PREVIEW_LENGTH).lastIndexOf(";");t=r<e?t.slice(0,PREVIEW_LENGTH)+"... } ...":t.slice(0,r+1)+" ... } ..."}}return t}static mapSheetToResult(e,t){let r=e.header.sourceURL;if(!r||r===t){r=UnusedCSS$3.determineContentPreview(e.content)}return{url:r,...UnusedCSS$3.computeUsage(e)}}static async compute_(e,t){const{CSSUsage:r,URL:n,devtoolsLog:a}=e,i=await NetworkRecords$x.request(a,t),o=UnusedCSS$3.indexStylesheetsById(r.stylesheets,i);UnusedCSS$3.indexUsedRules(r.rules,o);return Object.keys(o).map((e=>UnusedCSS$3.mapSheetToResult(o[e],n.finalUrl)))}}var unusedCss=makeComputedArtifact$u(UnusedCSS$3,["CSSUsage","URL","devtoolsLog"]);const makeComputedArtifact$t=computedArtifact,NavigationMetric$6=navigationMetric,LanternFirstContentfulPaint$4=lanternFirstContentfulPaint
763
+ ;class FirstContentfulPaint$3 extends NavigationMetric$6{static computeSimulatedMetric(e,t){const r=NavigationMetric$6.getMetricComputationInput(e);return LanternFirstContentfulPaint$4.request(r,t)}static async computeObservedMetric(e){const{processedNavigation:t}=e;return{timing:t.timings.firstContentfulPaint,timestamp:t.timestamps.firstContentfulPaint}}}var firstContentfulPaint$1=makeComputedArtifact$t(FirstContentfulPaint$3,["devtoolsLog","gatherContext","settings","simulator","trace"]);const Audit$1C=audit,i18n$1K=i18n$2H,BaseNode$6=baseNode,ByteEfficiencyAudit$8=byteEfficiencyAudit,UnusedCSS$2=unusedCss,NetworkRequest$a=networkRequest,ProcessedTrace$8=processedTrace,ProcessedNavigation$3=processedNavigation,LoadSimulator$7=loadSimulator,FirstContentfulPaint$2=firstContentfulPaint$1,MINIMUM_WASTED_MS=50,UIStrings$1J={title:"Eliminate render-blocking resources",
764
+ description:"Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. [Learn more](https://web.dev/render-blocking-resources/)."},str_$1J=i18n$1K.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/render-blocking-resources.js",UIStrings$1J);function getNodesAndTimingByUrl(e){const t={};return Array.from(e.keys()).forEach((r=>{if("network"!==r.type)return;const n=e.get(r);n&&(t[r.record.url]={node:r,nodeTiming:n})})),t}function adjustNodeTimings(e,t,r){const n=e.get(t);if(!n)return;const a=computeStackSpecificTiming(t,n,r);n.duration-a.duration&&(t.traverse((t=>{e.delete(t)})),e.set(t,a))}function computeStackSpecificTiming(e,t,r){const n={...t};return r.some((e=>"amp"===e.id))&&e.type===BaseNode$6.TYPES.NETWORK&&e.record.resourceType===NetworkRequest$a.TYPES.Stylesheet&&t.endTime>2100&&(n.endTime=Math.max(t.startTime,2100),n.duration=n.endTime-n.startTime),n}
765
+ class RenderBlockingResources extends Audit$1C{static get meta(){return{id:"render-blocking-resources",title:str_$1J(UIStrings$1J.title),supportedModes:["navigation"],scoreDisplayMode:Audit$1C.SCORING_MODES.NUMERIC,description:str_$1J(UIStrings$1J.description),requiredArtifacts:["URL","TagsBlockingFirstPaint","traces","devtoolsLogs","CSSUsage","GatherContext","Stacks"]}}static async computeResults(e,t){const r=e.GatherContext,n=e.traces[Audit$1C.DEFAULT_PASS],a=e.devtoolsLogs[Audit$1C.DEFAULT_PASS],i={devtoolsLog:a,settings:t.settings},o=await ProcessedTrace$8.request(n,t),l=await ProcessedNavigation$3.request(o,t),c=await LoadSimulator$7.request(i,t),u=await RenderBlockingResources.computeWastedCSSBytes(e,t),p={trace:n,devtoolsLog:a,gatherContext:r,simulator:c,settings:{...t.settings,throttlingMethod:"simulate"}},f=await FirstContentfulPaint$2.request(p,t),b=l.timestamps.firstContentfulPaint/1e3,S=getNodesAndTimingByUrl(f.optimisticEstimate.nodeTimings),_=[],T=new Set
766
+ ;for(const t of e.TagsBlockingFirstPaint){if(1e3*t.endTime>b)continue;if(!S[t.tag.url])continue;const{node:r,nodeTiming:n}=S[t.tag.url],a=computeStackSpecificTiming(r,n,e.Stacks);r.traverse((e=>T.add(e.id)));const i=Math.round(a.duration);i<MINIMUM_WASTED_MS||_.push({url:t.tag.url,totalBytes:t.transferSize,wastedMs:i})}if(!_.length)return{results:_,wastedMs:0};return{results:_,wastedMs:RenderBlockingResources.estimateSavingsWithGraphs(c,f.optimisticGraph,T,u,e.Stacks)}}static estimateSavingsWithGraphs(e,t,r,n,a){const{nodeTimings:i}=e.simulate(t),o=new Map(i);let l=0;const c=t.cloneWithRelationships((e=>{adjustNodeTimings(o,e,a);const t=r.has(e.id);if(e.type!==BaseNode$6.TYPES.NETWORK)return!t;const i=e.record.resourceType===NetworkRequest$a.TYPES.Stylesheet;if(t&&i){const t=n.get(e.record.url)||0;l+=(e.record.transferSize||0)-t}return!t}));if("network"!==c.type)throw new Error("minimalFCPGraph not a NetworkNode")
767
+ ;const u=Math.max(...Array.from(Array.from(o).map((e=>e[1].endTime)))),p=c.record.transferSize,f=p||0;c.record.transferSize=f+l;const b=e.simulate(c).timeInMs;return c.record.transferSize=p,Math.round(Math.max(u-b,0))}static async computeWastedCSSBytes(e,t){const r=new Map;try{const n=await UnusedCSS$2.request({CSSUsage:e.CSSUsage,URL:e.URL,devtoolsLog:e.devtoolsLogs[Audit$1C.DEFAULT_PASS]},t);for(const e of n)r.set(e.url,e.wastedBytes)}catch(e){}return r}static async audit(e,t){const{results:r,wastedMs:n}=await RenderBlockingResources.computeResults(e,t);let a;r.length>0&&(a=str_$1J(i18n$1K.UIStrings.displayValueMsSavings,{wastedMs:n}));const i=[{key:"url",valueType:"url",label:str_$1J(i18n$1K.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1J(i18n$1K.UIStrings.columnTransferSize)},{key:"wastedMs",valueType:"timespanMs",label:str_$1J(i18n$1K.UIStrings.columnWastedMs)}],o=Audit$1C.makeOpportunityDetails(i,r,n);return{displayValue:a,
768
+ score:ByteEfficiencyAudit$8.scoreForWastedMs(n),numericValue:n,numericUnit:"millisecond",details:o}}}renderBlockingResources.exports=RenderBlockingResources,renderBlockingResources.exports.UIStrings=UIStrings$1J;var totalByteWeight={exports:{}};const Audit$1B=audit,i18n$1J=i18n$2H,NetworkRequest$9=networkRequest,NetworkRecords$w=networkRecords,UIStrings$1I={title:"Avoids enormous network payloads",failureTitle:"Avoid enormous network payloads",description:"Large network payloads cost users real money and are highly correlated with long load times. [Learn more](https://web.dev/total-byte-weight/).",displayValue:"Total size was {totalBytes, number, bytes} KiB"},str_$1I=i18n$1J.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/total-byte-weight.js",UIStrings$1I);class TotalByteWeight extends Audit$1B{static get meta(){return{id:"total-byte-weight",title:str_$1I(UIStrings$1I.title),failureTitle:str_$1I(UIStrings$1I.failureTitle),
769
+ description:str_$1I(UIStrings$1I.description),scoreDisplayMode:Audit$1B.SCORING_MODES.NUMERIC,requiredArtifacts:["devtoolsLogs"]}}static get defaultOptions(){return{p10:2731008,median:4096e3}}static async audit(e,t){const r=e.devtoolsLogs[Audit$1B.DEFAULT_PASS],n=await NetworkRecords$w.request(r,t);let a=0,i=[];n.forEach((e=>{if(NetworkRequest$9.isNonNetworkRequest(e)||!e.transferSize)return;const t={url:e.url,totalBytes:e.transferSize};a+=t.totalBytes,i.push(t)})),i=i.sort(((e,t)=>t.totalBytes-e.totalBytes||e.url.localeCompare(t.url))).slice(0,10);const o=Audit$1B.computeLogNormalScore({p10:t.options.p10,median:t.options.median},a),l=[{key:"url",itemType:"url",text:str_$1I(i18n$1J.UIStrings.columnURL)},{key:"totalBytes",itemType:"bytes",text:str_$1I(i18n$1J.UIStrings.columnTransferSize)}],c=Audit$1B.makeTableDetails(l,i);return{score:o,numericValue:a,numericUnit:"byte",displayValue:str_$1I(UIStrings$1I.displayValue,{totalBytes:a}),details:c}}}totalByteWeight.exports=TotalByteWeight,
770
+ totalByteWeight.exports.UIStrings=UIStrings$1I;var unminifiedCss={exports:{}};const PUNCTUATOR_REGEX=/(return|case|{|\(|\[|\.\.\.|;|,|<|>|<=|>=|==|!=|===|!==|\+|-|\*|%|\*\*|\+\+|--|<<|>>|>>>|&|\||\^|!|~|&&|\|\||\?|:|=|\+=|-=|\*=|%=|\*\*=|<<=|>>=|>>>=|&=|\|=|\^=|=>|\/|\/=|\})$/,WHITESPACE_REGEX=/( |\n|\t)+$/;function hasPunctuatorBefore(e,t){for(let r=t;r>0;r--){const t=Math.max(0,r-6),n=e.slice(t,r);if(!WHITESPACE_REGEX.test(n))return PUNCTUATOR_REGEX.test(n)}return!0}function computeTokenLength$2(e,t){let r=0,n=!1,a=!1,i=!1,o=!1,l=!1,c=!1,u=null;const p=[];for(let f=0;f<e.length;f++){const b=e.substr(f,2),S=b.charAt(0),_=" "===S||"\n"===S||"\t"===S,T="'"===S||'"'===S||"`"===S;n?"\n"===S&&(n=!1):a?(i&&r++,"*/"===b&&(i&&r++,a=!1,f++)):o?(r++,"`"===u&&"${"===b?(p.push("templateBrace"),o=!1,r++,f++):"\\"===S?(r++,f++):S===u&&(o=!1)):l?(r++,"\\"===S?(r++,f++):"["===S?c=!0:"]"===S&&c?c=!1:"/"!==S||c||(l=!1)):"/*"===b?(a=!0,i="!"===e.charAt(f+2),i&&(r+=2),
771
+ f++):"//"===b&&t.singlelineComments?(n=!0,a=!1,i=!1,f++):"/"===S&&t.regex&&hasPunctuatorBefore(e,f)?(l=!0,r++):"{"===S&&p.length?(p.push("normalBrace"),r++):"}"===S&&p.length?("templateBrace"===p[p.length-1]&&(o=!0,u="`"),p.pop(),r++):T?(o=!0,u=S,r++):_||r++}return a||o?e.length:r}function computeJSTokenLength(e){return computeTokenLength$2(e,{singlelineComments:!0,regex:!0})}function computeCSSTokenLength(e){return computeTokenLength$2(e,{singlelineComments:!1,regex:!1})}var minificationEstimator={computeJSTokenLength,computeCSSTokenLength};const ByteEfficiencyAudit$7=byteEfficiencyAudit,UnusedCSS$1=unusedCss,i18n$1I=i18n$2H,computeTokenLength$1=minificationEstimator.computeCSSTokenLength,UIStrings$1H={title:"Minify CSS",description:"Minifying CSS files can reduce network payload sizes. [Learn more](https://web.dev/unminified-css/)."
772
+ },str_$1H=i18n$1I.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/unminified-css.js",UIStrings$1H),IGNORE_THRESHOLD_IN_PERCENT$3=5,IGNORE_THRESHOLD_IN_BYTES$5=2048;class UnminifiedCSS extends ByteEfficiencyAudit$7{static get meta(){return{id:"unminified-css",title:str_$1H(UIStrings$1H.title),description:str_$1H(UIStrings$1H.description),scoreDisplayMode:ByteEfficiencyAudit$7.SCORING_MODES.NUMERIC,requiredArtifacts:["CSSUsage","devtoolsLogs","traces","URL","GatherContext"]}}static computeTokenLength(e){return computeTokenLength$1(e)}static computeWaste(e,t,r){const n=e.content,a=UnminifiedCSS.computeTokenLength(n);let i=e.header.sourceURL;if(!i||i===r){i=UnusedCSS$1.determineContentPreview(e.content)}const o=ByteEfficiencyAudit$7.estimateTransferSize(t,n.length,"Stylesheet"),l=1-a/n.length;return{url:i,totalBytes:o,wastedBytes:Math.round(o*l),wastedPercent:100*l}}static audit_(e,t){const r=e.URL.finalUrl,n=[];for(const a of e.CSSUsage.stylesheets){
773
+ const e=t.find((e=>e.url===a.header.sourceURL));if(!a.content)continue;const i=UnminifiedCSS.computeWaste(a,e,r);i.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$3||i.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$5||!Number.isFinite(i.wastedBytes)||n.push(i)}return{items:n,headings:[{key:"url",valueType:"url",label:str_$1H(i18n$1I.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1H(i18n$1I.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1H(i18n$1I.UIStrings.columnWastedBytes)}]}}}unminifiedCss.exports=UnminifiedCSS,unminifiedCss.exports.UIStrings=UIStrings$1H;var unminifiedJavascript={exports:{}};const ByteEfficiencyAudit$6=byteEfficiencyAudit,i18n$1H=i18n$2H,computeTokenLength=minificationEstimator.computeJSTokenLength,UIStrings$1G={title:"Minify JavaScript",description:"Minifying JavaScript files can reduce payload sizes and script parse time. [Learn more](https://web.dev/unminified-javascript/)."
774
+ },str_$1G=i18n$1H.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/unminified-javascript.js",UIStrings$1G),IGNORE_THRESHOLD_IN_PERCENT$2=10,IGNORE_THRESHOLD_IN_BYTES$4=2048;class UnminifiedJavaScript extends ByteEfficiencyAudit$6{static get meta(){return{id:"unminified-javascript",title:str_$1G(UIStrings$1G.title),description:str_$1G(UIStrings$1G.description),scoreDisplayMode:ByteEfficiencyAudit$6.SCORING_MODES.NUMERIC,requiredArtifacts:["ScriptElements","devtoolsLogs","traces","GatherContext"]}}static computeWaste(e,t,r){const n=e.length,a=computeTokenLength(e),i=ByteEfficiencyAudit$6.estimateTransferSize(r,n,"Script"),o=1-a/n;return{url:t,totalBytes:i,wastedBytes:Math.round(i*o),wastedPercent:100*o}}static audit_(e,t){const r=[],n=[];for(const{requestId:a,src:i,content:o}of e.ScriptElements){if(!o)continue;const e=t.find((e=>e.requestId===a)),l=i&&e?e.url:`inline: ${o.substr(0,40)}...`;try{const t=UnminifiedJavaScript.computeWaste(o,l,e)
775
+ ;if(t.wastedPercent<IGNORE_THRESHOLD_IN_PERCENT$2||t.wastedBytes<IGNORE_THRESHOLD_IN_BYTES$4||!Number.isFinite(t.wastedBytes))continue;r.push(t)}catch(t){const r=e?e.url:"?";n.push(`Unable to process script ${r}: ${t.message}`)}}return{items:r,warnings:n,headings:[{key:"url",valueType:"url",label:str_$1G(i18n$1H.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1G(i18n$1H.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1G(i18n$1H.UIStrings.columnWastedBytes)}]}}}unminifiedJavascript.exports=UnminifiedJavaScript,unminifiedJavascript.exports.UIStrings=UIStrings$1G;var unusedCssRules={exports:{}};const ByteEfficiencyAudit$5=byteEfficiencyAudit,UnusedCSS=unusedCss,i18n$1G=i18n$2H,UIStrings$1F={title:"Reduce unused CSS",description:"Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. [Learn more](https://web.dev/unused-css-rules/)."
776
+ },str_$1F=i18n$1G.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/unused-css-rules.js",UIStrings$1F),IGNORE_THRESHOLD_IN_BYTES$3=10240;class UnusedCSSRules extends ByteEfficiencyAudit$5{static get meta(){return{id:"unused-css-rules",title:str_$1F(UIStrings$1F.title),description:str_$1F(UIStrings$1F.description),scoreDisplayMode:ByteEfficiencyAudit$5.SCORING_MODES.NUMERIC,requiredArtifacts:["CSSUsage","URL","devtoolsLogs","traces","GatherContext"]}}static async audit_(e,t,r){return{items:(await UnusedCSS.request({CSSUsage:e.CSSUsage,URL:e.URL,devtoolsLog:e.devtoolsLogs[ByteEfficiencyAudit$5.DEFAULT_PASS]},r)).filter((e=>e&&e.wastedBytes>IGNORE_THRESHOLD_IN_BYTES$3)),headings:[{key:"url",valueType:"url",label:str_$1F(i18n$1G.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1F(i18n$1G.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1F(i18n$1G.UIStrings.columnWastedBytes)}]}}}unusedCssRules.exports=UnusedCSSRules,
777
+ unusedCssRules.exports.UIStrings=UIStrings$1F;var unusedJavascript={exports:{}};
776
778
  /**
777
779
  * @license Copyright 2020 Google Inc. All Rights Reserved.
778
780
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
779
781
  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
780
782
  */const makeComputedArtifact$s=computedArtifact;class UnusedJavascriptSummary{static computeWaste(e){let t=0;for(const r of e.functions)t=Math.max(t,...r.ranges.map((e=>e.endOffset)));const r=new Uint8Array(t);for(const t of e.functions)for(const e of t.ranges)if(0===e.count)for(let t=e.startOffset;t<e.endOffset;t++)r[t]=1;let n=0;for(const e of r)n+=e;return{unusedByIndex:r,unusedLength:n,contentLength:t}}static createItem(e,t){const r=t.unused/t.content||0,n=Math.round(t.content*r);return{url:e,totalBytes:t.content,wastedBytes:n,wastedPercent:100*r}}static determineLengths(e){let t=0,r=0;for(const n of e)t+=n.unusedLength,r+=n.contentLength;return{content:r,unused:t}}static createSourceWastedBytes(e,t){if(!t.script.content)return;const r={},n=t.script.content.split("\n").map((e=>e.length));let a=0;const i=n.map((e=>{const t=a;return a+=e+1,t}));t.map.computeLastGeneratedColumns();for(const a of t.map.mappings()){let t=i[a.lineNumber];t+=a.columnNumber
781
- ;const o=void 0!==a.lastColumnNumber?a.lastColumnNumber-1:n[a.lineNumber];for(let n=a.columnNumber;n<=o;n++){if(e.every((e=>1===e.unusedByIndex[t]))){const e=a.sourceURL||"(unmapped)";r[e]=(r[e]||0)+1}t+=1}}const o=Object.entries(r).sort((([e,t],[r,n])=>n-t)),l={};for(const[e,t]of o)l[e]=t;return l}static async compute_(e){const{url:t,scriptCoverages:r,bundle:n}=e,a=r.map(UnusedJavascriptSummary.computeWaste),i=UnusedJavascriptSummary.determineLengths(a),o=UnusedJavascriptSummary.createItem(t,i);return n?{...o,sourcesWastedBytes:UnusedJavascriptSummary.createSourceWastedBytes(a,n)}:o}}var unusedJavascriptSummary=makeComputedArtifact$s(UnusedJavascriptSummary);const ByteEfficiencyAudit$4=byteEfficiencyAudit,UnusedJavaScriptSummary$1=unusedJavascriptSummary,JsBundles$5=jsBundles,i18n$1F=i18n$2H,UIStrings$1E={title:"Reduce unused JavaScript",
783
+ ;const o=void 0!==a.lastColumnNumber?a.lastColumnNumber-1:n[a.lineNumber];for(let n=a.columnNumber;n<=o;n++){if(e.every((e=>1===e.unusedByIndex[t]))){const e=a.sourceURL||"(unmapped)";r[e]=(r[e]||0)+1}t+=1}}const o=Object.entries(r).sort((([e,t],[r,n])=>n-t)),l={};for(const[e,t]of o)l[e]=t;return l}static async compute_(e){const{url:t,scriptCoverages:r,bundle:n}=e,a=r.map(UnusedJavascriptSummary.computeWaste),i=UnusedJavascriptSummary.determineLengths(a),o=UnusedJavascriptSummary.createItem(t,i);return n?{...o,sourcesWastedBytes:UnusedJavascriptSummary.createSourceWastedBytes(a,n)}:o}}var unusedJavascriptSummary=makeComputedArtifact$s(UnusedJavascriptSummary,["bundle","scriptCoverages","url"]);const ByteEfficiencyAudit$4=byteEfficiencyAudit,UnusedJavaScriptSummary$1=unusedJavascriptSummary,JsBundles$5=jsBundles,i18n$1F=i18n$2H,UIStrings$1E={title:"Reduce unused JavaScript",
782
784
  description:"Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. [Learn more](https://web.dev/unused-javascript/)."},str_$1E=i18n$1F.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/unused-javascript.js",UIStrings$1E),UNUSED_BYTES_IGNORE_THRESHOLD=20480,UNUSED_BYTES_IGNORE_BUNDLE_SOURCE_THRESHOLD=512;function commonPrefix(e){if(!e.length)return"";const t=e.reduce(((e,t)=>e>t?e:t));let r=e.reduce(((e,t)=>e>t?t:e));for(;!t.startsWith(r);)r=r.slice(0,-1);return r}function trimCommonPrefix(e,t){return t&&e.startsWith(t)?"…"+e.slice(t.length):e}class UnusedJavaScript extends ByteEfficiencyAudit$4{static get meta(){return{id:"unused-javascript",title:str_$1E(UIStrings$1E.title),description:str_$1E(UIStrings$1E.description),scoreDisplayMode:ByteEfficiencyAudit$4.SCORING_MODES.NUMERIC,requiredArtifacts:["JsUsage","ScriptElements","SourceMaps","GatherContext","devtoolsLogs","traces"]}}
783
785
  static async audit_(e,t,r){const n=await JsBundles$5.request(e,r),{unusedThreshold:a=UNUSED_BYTES_IGNORE_THRESHOLD,bundleSourceUnusedThreshold:i=UNUSED_BYTES_IGNORE_BUNDLE_SOURCE_THRESHOLD}=r.options||{},o=[];for(const[l,c]of Object.entries(e.JsUsage)){const e=t.find((e=>e.url===l));if(!e)continue;const u=n.find((e=>e.script.src===l)),p=await UnusedJavaScriptSummary$1.request({url:l,scriptCoverages:c,bundle:u},r);if(0===p.wastedBytes||0===p.totalBytes)continue;const f=ByteEfficiencyAudit$4.estimateTransferSize(e,p.totalBytes,"Script")/p.totalBytes,b={url:p.url,totalBytes:Math.round(f*p.totalBytes),wastedBytes:Math.round(f*p.wastedBytes),wastedPercent:p.wastedPercent};if(b.wastedBytes<=a)continue;if(o.push(b),!u||"errorMessage"in u.sizes)continue;const S=u.sizes;if(p.sourcesWastedBytes){const e=Object.entries(p.sourcesWastedBytes).sort(((e,t)=>t[1]-e[1])).slice(0,5).map((([e,t])=>{const r="(unmapped)"===e?S.unmappedBytes:S.files[e];return{source:e,unused:Math.round(t*f),
784
786
  total:Math.round(r*f)}})).filter((e=>e.unused>=i)),t=commonPrefix([...u.map.sourceInfos.keys()]);b.subItems={type:"subitems",items:e.map((({source:e,unused:r,total:n})=>({source:trimCommonPrefix(e,t),sourceBytes:n,sourceWastedBytes:r})))}}}return{items:o,headings:[{key:"url",valueType:"url",subItemsHeading:{key:"source",valueType:"code"},label:str_$1E(i18n$1F.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",subItemsHeading:{key:"sourceBytes"},label:str_$1E(i18n$1F.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",subItemsHeading:{key:"sourceWastedBytes"},label:str_$1E(i18n$1F.UIStrings.columnWastedBytes)}]}}}unusedJavascript.exports=UnusedJavaScript,unusedJavascript.exports.UIStrings=UIStrings$1E;var usesLongCacheTtl={exports:{}},parseCacheControl$2=function parseCacheControl(e){if("string"!=typeof e)return null
@@ -789,31 +791,31 @@ total:Math.round(r*f)}})).filter((e=>e.unused>=i)),t=commonPrefix([...u.map.sour
789
791
  ;return{score:a,numericValue:n,numericUnit:"byte",displayValue:str_$1D(UIStrings$1D.displayValue,{itemCount:r.length}),details:l}}))}}usesLongCacheTtl.exports=CacheHeaders$1,usesLongCacheTtl.exports.UIStrings=UIStrings$1D;var usesOptimizedImages={exports:{}};const ByteEfficiencyAudit$3=byteEfficiencyAudit,URL$y=urlShim,i18n$1D=i18n$2H,UIStrings$1C={title:"Efficiently encode images",description:"Optimized images load faster and consume less cellular data. [Learn more](https://web.dev/uses-optimized-images/)."},str_$1C=i18n$1D.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/uses-optimized-images.js",UIStrings$1C),IGNORE_THRESHOLD_IN_BYTES$2=4096;class UsesOptimizedImages extends ByteEfficiencyAudit$3{static get meta(){return{id:"uses-optimized-images",title:str_$1C(UIStrings$1C.title),description:str_$1C(UIStrings$1C.description),scoreDisplayMode:ByteEfficiencyAudit$3.SCORING_MODES.NUMERIC,
790
792
  requiredArtifacts:["OptimizedImages","ImageElements","GatherContext","devtoolsLogs","traces","URL"]}}static computeSavings(e){const t=e.originalSize-e.jpegSize;return{bytes:t,percent:100*t/e.originalSize}}static estimateJPEGSizeFromDimensions(e){const t=e.naturalWidth*e.naturalHeight;return Math.round(t*(2/8))}static audit_(e){const t=e.URL.finalUrl,r=e.OptimizedImages,n=e.ImageElements,a=new Map;n.forEach((e=>a.set(e.src,e)));const i=[],o=[];for(const e of r){const r=a.get(e.url);if(e.failed){o.push(`Unable to decode ${URL$y.getURLDisplayName(e.url)}`);continue}if(!1===/(jpeg|bmp)/.test(e.mimeType))continue;let n=e.jpegSize,l=!0;if(void 0===n){if(!r){o.push(`Unable to locate resource ${URL$y.getURLDisplayName(e.url)}`);continue}if(!r.naturalDimensions)continue;const t=r.naturalDimensions.height,a=r.naturalDimensions.width;if(!t||!a)continue;n=UsesOptimizedImages.estimateJPEGSizeFromDimensions({naturalHeight:t,naturalWidth:a}),l=!1}
791
793
  if(e.originalSize<n+IGNORE_THRESHOLD_IN_BYTES$2)continue;const c=URL$y.elideDataURI(e.url),u=!URL$y.originsMatch(t,e.url),p=UsesOptimizedImages.computeSavings({...e,jpegSize:n});i.push({node:r?ByteEfficiencyAudit$3.makeNodeItem(r.node):void 0,url:c,fromProtocol:l,isCrossOrigin:u,totalBytes:e.originalSize,wastedBytes:p.bytes})}return{warnings:o,items:i,headings:[{key:"node",valueType:"node",label:""},{key:"url",valueType:"url",label:str_$1C(i18n$1D.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1C(i18n$1D.UIStrings.columnResourceSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1C(i18n$1D.UIStrings.columnWastedBytes)}]}}}usesOptimizedImages.exports=UsesOptimizedImages,usesOptimizedImages.exports.UIStrings=UIStrings$1C;var usesResponsiveImagesSnapshot={exports:{}},usesResponsiveImages={exports:{}};const URL$x=urlShim,makeComputedArtifact$r=computedArtifact;class ImageRecords$1{static indexNetworkRecords(e){
792
- return e.reduce(((e,t)=>((/^image/.test(t.mimeType)||/\.(avif|webp)$/i.test(t.url))&&t.finished&&200===t.statusCode&&(e[t.url]=t),e)),{})}static async compute_(e){const t=ImageRecords$1.indexNetworkRecords(e.networkRecords),r=[];for(const n of e.ImageElements){const e=t[n.src],a=e&&e.mimeType;r.push({...n,mimeType:a||URL$x.guessMimeType(n.src)})}return r.sort(((e,r)=>{const n=t[e.src]||{};return(t[r.src]||{}).resourceSize-n.resourceSize})),r}}var imageRecords=makeComputedArtifact$r(ImageRecords$1);const ByteEfficiencyAudit$2=byteEfficiencyAudit,NetworkRequest$7=networkRequest,ImageRecords=imageRecords,URL$w=urlShim,i18n$1C=i18n$2H,UIStrings$1B={title:"Properly size images",description:"Serve images that are appropriately-sized to save cellular data and improve load time. [Learn more](https://web.dev/uses-responsive-images/)."},str_$1B=i18n$1C.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/uses-responsive-images.js",UIStrings$1B),IGNORE_THRESHOLD_IN_BYTES$1=4096
793
- ;class UsesResponsiveImages$1 extends ByteEfficiencyAudit$2{static get meta(){return{id:"uses-responsive-images",title:str_$1B(UIStrings$1B.title),description:str_$1B(UIStrings$1B.description),scoreDisplayMode:ByteEfficiencyAudit$2.SCORING_MODES.NUMERIC,requiredArtifacts:["ImageElements","ViewportDimensions","GatherContext","devtoolsLogs","traces"]}}static getDisplayedDimensions(e,t){if(e.displayedWidth&&e.displayedHeight)return{width:e.displayedWidth*t.devicePixelRatio,height:e.displayedHeight*t.devicePixelRatio};const r=t.innerWidth,n=2*t.innerHeight,a=e.naturalWidth/e.naturalHeight;let i=r,o=n;return a>r/n?o=r/a:i=n*a,{width:i*t.devicePixelRatio,height:o*t.devicePixelRatio}}static computeWaste(e,t,r){const n=r.find((t=>t.url===e.src));if(!n)return null;const a=this.getDisplayedDimensions(e,t),i=a.width*a.height,o=URL$w.elideDataURI(e.src),l=1-i/(e.naturalWidth*e.naturalHeight),c=NetworkRequest$7.getResourceSizeOnNetwork(n),u=Math.round(c*l);return{
794
- node:ByteEfficiencyAudit$2.makeNodeItem(e.node),url:o,totalBytes:c,wastedBytes:u,wastedPercent:100*l}}static async audit_(e,t,r){const n=await ImageRecords.request({ImageElements:e.ImageElements,networkRecords:t},r),a=e.ViewportDimensions,i=new Map;for(const e of n){if("image/svg+xml"===e.mimeType||e.isCss)continue;if(!e.naturalDimensions)continue;const r=e.naturalDimensions.height,n=e.naturalDimensions.width;if(!n||!r)continue;const o=UsesResponsiveImages$1.computeWaste({...e,naturalHeight:r,naturalWidth:n},a,t);if(!o)continue;const l=i.get(o.url);(!l||l.wastedBytes>o.wastedBytes)&&i.set(o.url,o)}return{items:Array.from(i.values()).filter((e=>e.wastedBytes>IGNORE_THRESHOLD_IN_BYTES$1)),headings:[{key:"node",valueType:"node",label:""},{key:"url",valueType:"url",label:str_$1B(i18n$1C.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1B(i18n$1C.UIStrings.columnResourceSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1B(i18n$1C.UIStrings.columnWastedBytes)}]}}}
795
- usesResponsiveImages.exports=UsesResponsiveImages$1,usesResponsiveImages.exports.UIStrings=UIStrings$1B,usesResponsiveImages.exports.str_=str_$1B;const Audit$1z=audit,UsesResponsiveImages=usesResponsiveImages.exports,URL$v=urlShim,i18n$1B=i18n$2H,UIStrings$1A={title:"Images were appropriate for their displayed size",failureTitle:"Images were larger than their displayed size",columnDisplayedDimensions:"Displayed dimensions",columnActualDimensions:"Actual dimensions"},str_$1A=i18n$1B.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js",UIStrings$1A),IGNORE_THRESHOLD_IN_PIXELS=1365;class UsesResponsiveImagesSnapshot extends Audit$1z{static get meta(){return{id:"uses-responsive-images-snapshot",title:str_$1A(UIStrings$1A.title),failureTitle:str_$1A(UIStrings$1A.failureTitle),description:UsesResponsiveImages.str_(UsesResponsiveImages.UIStrings.description),supportedModes:["snapshot"],requiredArtifacts:["ImageElements","ViewportDimensions"]}}
796
- static async audit(e){let t=1;const r=[];for(const n of e.ImageElements){if(!n.naturalDimensions)continue;const a=n.naturalDimensions,i=UsesResponsiveImages.getDisplayedDimensions({...n,naturalWidth:a.width,naturalHeight:a.height},e.ViewportDimensions),o=a.width*a.height,l=i.width*i.height;o<=l||(o-l>IGNORE_THRESHOLD_IN_PIXELS&&(t=0),r.push({node:Audit$1z.makeNodeItem(n.node),url:URL$v.elideDataURI(n.src),displayedDimensions:`${i.width}x${i.height}`,actualDimensions:`${a.width}x${a.height}`}))}const n=[{key:"node",itemType:"node",text:""},{key:"url",itemType:"url",text:str_$1A(i18n$1B.UIStrings.columnURL)},{key:"displayedDimensions",itemType:"text",text:str_$1A(UIStrings$1A.columnDisplayedDimensions)},{key:"actualDimensions",itemType:"text",text:str_$1A(UIStrings$1A.columnActualDimensions)}];return{score:t,details:Audit$1z.makeTableDetails(n,r)}}}usesResponsiveImagesSnapshot.exports=UsesResponsiveImagesSnapshot,usesResponsiveImagesSnapshot.exports.UIStrings=UIStrings$1A
797
- ;var usesTextCompression={exports:{}};const ByteEfficiencyAudit$1=byteEfficiencyAudit,URL$u=urlShim,i18n$1A=i18n$2H,UIStrings$1z={title:"Enable text compression",description:"Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. [Learn more](https://web.dev/uses-text-compression/)."},str_$1z=i18n$1A.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/uses-text-compression.js",UIStrings$1z),IGNORE_THRESHOLD_IN_BYTES=1400,IGNORE_THRESHOLD_IN_PERCENT=.1;class ResponsesAreCompressed extends ByteEfficiencyAudit$1{static get meta(){return{id:"uses-text-compression",title:str_$1z(UIStrings$1z.title),description:str_$1z(UIStrings$1z.description),scoreDisplayMode:ByteEfficiencyAudit$1.SCORING_MODES.NUMERIC,requiredArtifacts:["ResponseCompression","GatherContext","devtoolsLogs","traces"]}}static audit_(e){const t=e.ResponseCompression,r=[];t.forEach((e=>{if(!e.gzipSize||e.gzipSize<0)return
798
- ;const t=e.resourceSize,n=e.gzipSize,a=t-n;if(1-n/t<IGNORE_THRESHOLD_IN_PERCENT||a<IGNORE_THRESHOLD_IN_BYTES||e.transferSize<n)return;const i=URL$u.elideDataURI(e.url);r.find((t=>t.url===i&&t.totalBytes===e.resourceSize))||r.push({url:i,totalBytes:t,wastedBytes:a})}));const n=[{key:"url",valueType:"url",label:str_$1z(i18n$1A.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1z(i18n$1A.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1z(i18n$1A.UIStrings.columnWastedBytes)}];return{items:r,headings:n}}}usesTextCompression.exports=ResponsesAreCompressed,usesTextCompression.exports.UIStrings=UIStrings$1z;var contentWidth={exports:{}};const Audit$1y=audit,i18n$1z=i18n$2H,UIStrings$1y={title:"Content is sized correctly for the viewport",failureTitle:"Content is not sized correctly for the viewport",
799
- description:"If the width of your app's content doesn't match the width of the viewport, your app might not be optimized for mobile screens. [Learn more](https://web.dev/content-width/).",explanation:"The viewport size of {innerWidth}px does not match the window size of {outerWidth}px."},str_$1y=i18n$1z.createMessageInstanceIdFn("lighthouse-core/audits/content-width.js",UIStrings$1y);class ContentWidth extends Audit$1y{static get meta(){return{id:"content-width",title:str_$1y(UIStrings$1y.title),failureTitle:str_$1y(UIStrings$1y.failureTitle),description:str_$1y(UIStrings$1y.description),requiredArtifacts:["ViewportDimensions"]}}static audit(e,t){const r=e.ViewportDimensions.innerWidth===e.ViewportDimensions.outerWidth;if("desktop"===t.settings.formFactor)return{score:1,notApplicable:!0};let n;return r||(n=str_$1y(UIStrings$1y.explanation,{innerWidth:e.ViewportDimensions.innerWidth,outerWidth:e.ViewportDimensions.outerWidth})),{score:Number(r),explanation:n}}}
800
- contentWidth.exports=ContentWidth,contentWidth.exports.UIStrings=UIStrings$1y;var criticalRequestChains$1={exports:{}};const makeComputedArtifact$q=computedArtifact,NetworkAnalyzer$3=networkAnalyzer,NetworkRecords$u=networkRecords;class MainResource$g{static async compute_(e,t){const r=e.URL.finalUrl,n=await NetworkRecords$u.request(e.devtoolsLog,t),a=NetworkAnalyzer$3.findMainDocument(n,r);if(!a)throw new Error("Unable to identify the main resource");return a}}var mainResource=makeComputedArtifact$q(MainResource$g);const makeComputedArtifact$p=computedArtifact,NetworkRequest$6=networkRequest,MainResource$f=mainResource,PageDependencyGraph$7=pageDependencyGraph;class CriticalRequestChains$2{static isCritical(e,t){if(!t)throw new Error("mainResource not provided");if(e.requestId===t.requestId)return!0;if(e.isLinkPreload)return!1;for(;e.redirectDestination;)e=e.redirectDestination;const r=e.resourceType===NetworkRequest$6.TYPES.Document&&e.frameId!==t.frameId
801
- ;return!([NetworkRequest$6.TYPES.Image,NetworkRequest$6.TYPES.XHR,NetworkRequest$6.TYPES.Fetch,NetworkRequest$6.TYPES.EventSource].includes(e.resourceType||"Other")||r||e.mimeType&&e.mimeType.startsWith("image/"))&&(!!e.initiatorRequest&&["VeryHigh","High","Medium"].includes(e.priority))}static extractChainsFromGraph(e,t){const r={};const n=new Set;return t.traverse(((t,a)=>{if(n.add(t),"network"!==t.type)return;if(!CriticalRequestChains$2.isCritical(t.record,e))return;const i=a.filter((e=>"network"===e.type)).reverse().map((e=>e.record));i.some((t=>!CriticalRequestChains$2.isCritical(t,e)))||function addChain(e){let t=r;for(const r of e)t[r.requestId]||(t[r.requestId]={request:r,children:{}}),t=t[r.requestId].children}(i)}),(function getNextNodes(e){return e.getDependents().filter((e=>e.getDependencies().every((e=>n.has(e)))))})),r}static async compute_(e,t){const r=await MainResource$f.request({URL:e.URL,devtoolsLog:e.devtoolsLog},t),n=await PageDependencyGraph$7.request({
802
- trace:e.trace,devtoolsLog:e.devtoolsLog},t);return CriticalRequestChains$2.extractChainsFromGraph(r,n)}}var criticalRequestChains=makeComputedArtifact$p(CriticalRequestChains$2);const Audit$1x=audit,i18n$1y=i18n$2H,ComputedChains=criticalRequestChains,UIStrings$1x={title:"Avoid chaining critical requests",description:"The Critical Request Chains below show you what resources are loaded with a high priority. Consider reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load. [Learn more](https://web.dev/critical-request-chains/).",displayValue:"{itemCount, plural,\n =1 {1 chain found}\n other {# chains found}\n }"},str_$1x=i18n$1y.createMessageInstanceIdFn("lighthouse-core/audits/critical-request-chains.js",UIStrings$1x);class CriticalRequestChains$1 extends Audit$1x{static get meta(){return{id:"critical-request-chains",title:str_$1x(UIStrings$1x.title),
803
- description:str_$1x(UIStrings$1x.description),scoreDisplayMode:Audit$1x.SCORING_MODES.INFORMATIVE,supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","URL"]}}static _traverse(e,t){!function walk(e,r,n,a=0){const i=Object.keys(e);0!==i.length&&i.forEach((i=>{const o=e[i];n||(n=o.request.startTime),t({depth:r,id:i,node:o,chainDuration:1e3*(o.request.endTime-n),chainTransferSize:a+o.request.transferSize}),o.children&&walk(o.children,r+1,n)}),"")}(e,0)}static _getLongestChain(e){const t={duration:0,length:0,transferSize:0};return CriticalRequestChains$1._traverse(e,(e=>{const r=e.chainDuration;r>t.duration&&(t.duration=r,t.transferSize=e.chainTransferSize,t.length=e.depth)})),t.length++,t}static flattenRequests(e){const t={},r=new Map;return CriticalRequestChains$1._traverse(e,(function flatten(e){const n=e.node.request,a={url:n.url,startTime:n.startTime,endTime:n.endTime,responseReceivedTime:n.responseReceivedTime,transferSize:n.transferSize};let i=r.get(e.id)
804
- ;if(i?i.request=a:(i={request:a},t[e.id]=i),e.node.children)for(const t of Object.keys(e.node.children)){const e={request:{}};r.set(t,e),i.children||(i.children={}),i.children[t]=e}r.set(e.id,i)})),t}static audit(e,t){const r=e.traces[Audit$1x.DEFAULT_PASS],n=e.devtoolsLogs[Audit$1x.DEFAULT_PASS],a=e.URL;return ComputedChains.request({devtoolsLog:n,trace:r,URL:a},t).then((e=>{let t=0;const r=CriticalRequestChains$1.flattenRequests(e),n=Object.keys(r)[0],a=n&&r[n].children;a&&Object.keys(a).length>0&&function walk(e,r){Object.keys(e).forEach((r=>{const n=e[r];n.children?walk(n.children):t++}),"")}(a);const i=CriticalRequestChains$1._getLongestChain(r);return{score:Number(0===t),notApplicable:0===t,displayValue:t?str_$1x(UIStrings$1x.displayValue,{itemCount:t}):"",details:{type:"criticalrequestchain",chains:r,longestChain:i}}}))}}criticalRequestChains$1.exports=CriticalRequestChains$1,criticalRequestChains$1.exports.UIStrings=UIStrings$1x;var cspXss={exports:{}
805
- },lighthouse_checks={},parser_checks={},csp$3={},finding={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Type=e.Severity=e.Finding=void 0;class Finding{constructor(e,t,r,n,a){this.type=e,this.description=t,this.severity=r,this.directive=n,this.value=a}static getHighestSeverity(e){if(0===e.length)return t.NONE;return e.map((e=>e.severity)).reduce(((e,t)=>e<t?e:t),t.NONE)}equals(e){return e instanceof Finding&&(e.type===this.type&&e.description===this.description&&e.severity===this.severity&&e.directive===this.directive&&e.value===this.value)}}var t;e.Finding=Finding,function(e){e[e.HIGH=10]="HIGH",e[e.SYNTAX=20]="SYNTAX",e[e.MEDIUM=30]="MEDIUM",e[e.HIGH_MAYBE=40]="HIGH_MAYBE",e[e.STRICT_CSP=45]="STRICT_CSP",e[e.MEDIUM_MAYBE=50]="MEDIUM_MAYBE",e[e.INFO=60]="INFO",e[e.NONE=100]="NONE"}(t=e.Severity||(e.Severity={})),function(e){e[e.MISSING_SEMICOLON=100]="MISSING_SEMICOLON",e[e.UNKNOWN_DIRECTIVE=101]="UNKNOWN_DIRECTIVE",e[e.INVALID_KEYWORD=102]="INVALID_KEYWORD",
806
- e[e.NONCE_CHARSET=106]="NONCE_CHARSET",e[e.MISSING_DIRECTIVES=300]="MISSING_DIRECTIVES",e[e.SCRIPT_UNSAFE_INLINE=301]="SCRIPT_UNSAFE_INLINE",e[e.SCRIPT_UNSAFE_EVAL=302]="SCRIPT_UNSAFE_EVAL",e[e.PLAIN_URL_SCHEMES=303]="PLAIN_URL_SCHEMES",e[e.PLAIN_WILDCARD=304]="PLAIN_WILDCARD",e[e.SCRIPT_ALLOWLIST_BYPASS=305]="SCRIPT_ALLOWLIST_BYPASS",e[e.OBJECT_ALLOWLIST_BYPASS=306]="OBJECT_ALLOWLIST_BYPASS",e[e.NONCE_LENGTH=307]="NONCE_LENGTH",e[e.IP_SOURCE=308]="IP_SOURCE",e[e.DEPRECATED_DIRECTIVE=309]="DEPRECATED_DIRECTIVE",e[e.SRC_HTTP=310]="SRC_HTTP",e[e.STRICT_DYNAMIC=400]="STRICT_DYNAMIC",e[e.STRICT_DYNAMIC_NOT_STANDALONE=401]="STRICT_DYNAMIC_NOT_STANDALONE",e[e.NONCE_HASH=402]="NONCE_HASH",e[e.UNSAFE_INLINE_FALLBACK=403]="UNSAFE_INLINE_FALLBACK",e[e.ALLOWLIST_FALLBACK=404]="ALLOWLIST_FALLBACK",e[e.IGNORED=405]="IGNORED",e[e.REQUIRE_TRUSTED_TYPES_FOR_SCRIPTS=500]="REQUIRE_TRUSTED_TYPES_FOR_SCRIPTS",e[e.REPORTING_DESTINATION_MISSING=600]="REPORTING_DESTINATION_MISSING",
807
- e[e.REPORT_TO_ONLY=601]="REPORT_TO_ONLY"}(e.Type||(e.Type={}))}(finding),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CspError=e.isHash=e.HASH_PATTERN=e.STRICT_HASH_PATTERN=e.isNonce=e.NONCE_PATTERN=e.STRICT_NONCE_PATTERN=e.isUrlScheme=e.isKeyword=e.isDirective=e.Version=e.FETCH_DIRECTIVES=e.Directive=e.TrustedTypesSink=e.Keyword=e.Csp=void 0;const t=finding;class Csp{constructor(){this.directives={}}clone(){const e=new Csp;for(const[t,r]of Object.entries(this.directives))r&&(e.directives[t]=[...r]);return e}convertToString(){let e="";for(const[t,r]of Object.entries(this.directives)){if(e+=t,void 0!==r)for(let t,n=0;t=r[n];n++)e+=" ",e+=t;e+="; "}return e}getEffectiveCsp(e,i){const o=i||[],l=this.clone(),c=l.getEffectiveDirective(n.SCRIPT_SRC),u=this.directives[c]||[],p=l.directives[c];if(p&&(l.policyHasScriptNonces()||l.policyHasScriptHashes()))if(e>=a.CSP2)u.includes(r.UNSAFE_INLINE)&&(arrayRemove(p,r.UNSAFE_INLINE),
808
- o.push(new t.Finding(t.Type.IGNORED,"unsafe-inline is ignored if a nonce or a hash is present. (CSP2 and above)",t.Severity.NONE,c,r.UNSAFE_INLINE)));else for(const e of u)(e.startsWith("'nonce-")||e.startsWith("'sha"))&&arrayRemove(p,e);if(p&&this.policyHasStrictDynamic())if(e>=a.CSP3)for(const e of u)e.startsWith("'")&&e!==r.SELF&&e!==r.UNSAFE_INLINE||(arrayRemove(p,e),o.push(new t.Finding(t.Type.IGNORED,"Because of strict-dynamic this entry is ignored in CSP3 and above",t.Severity.NONE,c,e)));else arrayRemove(p,r.STRICT_DYNAMIC);return e<a.CSP3&&(delete l.directives[n.REPORT_TO],delete l.directives[n.WORKER_SRC],delete l.directives[n.MANIFEST_SRC],delete l.directives[n.TRUSTED_TYPES],delete l.directives[n.REQUIRE_TRUSTED_TYPES_FOR]),l}getEffectiveDirective(t){return!(t in this.directives)&&e.FETCH_DIRECTIVES.includes(t)?n.DEFAULT_SRC:t}getEffectiveDirectives(e){return[...new Set(e.map((e=>this.getEffectiveDirective(e))))]}policyHasScriptNonces(){
809
- const e=this.getEffectiveDirective(n.SCRIPT_SRC);return(this.directives[e]||[]).some((e=>isNonce(e)))}policyHasScriptHashes(){const e=this.getEffectiveDirective(n.SCRIPT_SRC);return(this.directives[e]||[]).some((e=>isHash(e)))}policyHasStrictDynamic(){const e=this.getEffectiveDirective(n.SCRIPT_SRC);return(this.directives[e]||[]).includes(r.STRICT_DYNAMIC)}}var r,n,a;function isNonce(t,r){return(r?e.STRICT_NONCE_PATTERN:e.NONCE_PATTERN).test(t)}function isHash(t,r){return(r?e.STRICT_HASH_PATTERN:e.HASH_PATTERN).test(t)}e.Csp=Csp,function(e){e.SELF="'self'",e.NONE="'none'",e.UNSAFE_INLINE="'unsafe-inline'",e.UNSAFE_EVAL="'unsafe-eval'",e.WASM_EVAL="'wasm-eval'",e.WASM_UNSAFE_EVAL="'wasm-unsafe-eval'",e.STRICT_DYNAMIC="'strict-dynamic'",e.UNSAFE_HASHED_ATTRIBUTES="'unsafe-hashed-attributes'",e.UNSAFE_HASHES="'unsafe-hashes'",e.REPORT_SAMPLE="'report-sample'"}(r=e.Keyword||(e.Keyword={})),(e.TrustedTypesSink||(e.TrustedTypesSink={})).SCRIPT="'script'",function(e){e.CHILD_SRC="child-src",
810
- e.CONNECT_SRC="connect-src",e.DEFAULT_SRC="default-src",e.FONT_SRC="font-src",e.FRAME_SRC="frame-src",e.IMG_SRC="img-src",e.MEDIA_SRC="media-src",e.OBJECT_SRC="object-src",e.SCRIPT_SRC="script-src",e.SCRIPT_SRC_ATTR="script-src-attr",e.SCRIPT_SRC_ELEM="script-src-elem",e.STYLE_SRC="style-src",e.STYLE_SRC_ATTR="style-src-attr",e.STYLE_SRC_ELEM="style-src-elem",e.PREFETCH_SRC="prefetch-src",e.MANIFEST_SRC="manifest-src",e.WORKER_SRC="worker-src",e.BASE_URI="base-uri",e.PLUGIN_TYPES="plugin-types",e.SANDBOX="sandbox",e.DISOWN_OPENER="disown-opener",e.FORM_ACTION="form-action",e.FRAME_ANCESTORS="frame-ancestors",e.REPORT_TO="report-to",e.REPORT_URI="report-uri",e.BLOCK_ALL_MIXED_CONTENT="block-all-mixed-content",e.UPGRADE_INSECURE_REQUESTS="upgrade-insecure-requests",e.REFLECTED_XSS="reflected-xss",e.REFERRER="referrer",e.REQUIRE_SRI_FOR="require-sri-for",e.TRUSTED_TYPES="trusted-types",e.REQUIRE_TRUSTED_TYPES_FOR="require-trusted-types-for"}(n=e.Directive||(e.Directive={})),
811
- e.FETCH_DIRECTIVES=[n.CHILD_SRC,n.CONNECT_SRC,n.DEFAULT_SRC,n.FONT_SRC,n.FRAME_SRC,n.IMG_SRC,n.MANIFEST_SRC,n.MEDIA_SRC,n.OBJECT_SRC,n.SCRIPT_SRC,n.SCRIPT_SRC_ATTR,n.SCRIPT_SRC_ELEM,n.STYLE_SRC,n.STYLE_SRC_ATTR,n.STYLE_SRC_ELEM,n.WORKER_SRC],function(e){e[e.CSP1=1]="CSP1",e[e.CSP2=2]="CSP2",e[e.CSP3=3]="CSP3"}(a=e.Version||(e.Version={})),e.isDirective=function isDirective(e){return Object.values(n).includes(e)},e.isKeyword=function isKeyword(e){return Object.values(r).includes(e)},e.isUrlScheme=function isUrlScheme(e){return new RegExp("^[a-zA-Z][+a-zA-Z0-9.-]*:$").test(e)},e.STRICT_NONCE_PATTERN=new RegExp("^'nonce-[a-zA-Z0-9+/_-]+[=]{0,2}'$"),e.NONCE_PATTERN=new RegExp("^'nonce-(.+)'$"),e.isNonce=isNonce,e.STRICT_HASH_PATTERN=new RegExp("^'(sha256|sha384|sha512)-[a-zA-Z0-9+/]+[=]{0,2}'$"),e.HASH_PATTERN=new RegExp("^'(sha256|sha384|sha512)-(.+)'$"),e.isHash=isHash;class CspError extends Error{constructor(e){super(e)}}function arrayRemove(e,t){if(e.includes(t)){
812
- const r=e.findIndex((e=>t===e));e.splice(r,1)}}e.CspError=CspError}(csp$3);var __createBinding$2=globalThis&&globalThis.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),__setModuleDefault$2=globalThis&&globalThis.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar$2=globalThis&&globalThis.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&__createBinding$2(t,e,r);return __setModuleDefault$2(t,e),t};Object.defineProperty(parser_checks,"__esModule",{value:!0}),parser_checks.checkInvalidKeyword=parser_checks.checkMissingSemicolon=parser_checks.checkUnknownDirective=void 0;const csp$2=__importStar$2(csp$3),csp_1$2=csp$3,finding_1$1=finding
813
- ;function checkUnknownDirective(e){const t=[];for(const r of Object.keys(e.directives))csp$2.isDirective(r)||(r.endsWith(":")?t.push(new finding_1$1.Finding(finding_1$1.Type.UNKNOWN_DIRECTIVE,"CSP directives don't end with a colon.",finding_1$1.Severity.SYNTAX,r)):t.push(new finding_1$1.Finding(finding_1$1.Type.UNKNOWN_DIRECTIVE,'Directive "'+r+'" is not a known CSP directive.',finding_1$1.Severity.SYNTAX,r)));return t}function checkMissingSemicolon(e){const t=[];for(const[r,n]of Object.entries(e.directives))if(void 0!==n)for(const e of n)csp$2.isDirective(e)&&t.push(new finding_1$1.Finding(finding_1$1.Type.MISSING_SEMICOLON,'Did you forget the semicolon? "'+e+'" seems to be a directive, not a value.',finding_1$1.Severity.SYNTAX,r,e));return t}function checkInvalidKeyword(e){const t=[],r=Object.values(csp_1$2.Keyword).map((e=>e.replace(/'/g,"")))
814
- ;for(const[n,a]of Object.entries(e.directives))if(void 0!==a)for(const e of a)if(r.some((t=>t===e))||e.startsWith("nonce-")||e.match(/^(sha256|sha384|sha512)-/))t.push(new finding_1$1.Finding(finding_1$1.Type.INVALID_KEYWORD,'Did you forget to surround "'+e+'" with single-ticks?',finding_1$1.Severity.SYNTAX,n,e));else if(e.startsWith("'")){if(n===csp$2.Directive.REQUIRE_TRUSTED_TYPES_FOR){if(e===csp$2.TrustedTypesSink.SCRIPT)continue}else if(n===csp$2.Directive.TRUSTED_TYPES){if("'allow-duplicates'"===e||"'none'"===e)continue}else if(csp$2.isKeyword(e)||csp$2.isHash(e)||csp$2.isNonce(e))continue;t.push(new finding_1$1.Finding(finding_1$1.Type.INVALID_KEYWORD,e+" seems to be an invalid CSP keyword.",finding_1$1.Severity.SYNTAX,n,e))}return t}parser_checks.checkUnknownDirective=checkUnknownDirective,parser_checks.checkMissingSemicolon=checkMissingSemicolon,parser_checks.checkInvalidKeyword=checkInvalidKeyword;var security_checks={},angular={};Object.defineProperty(angular,"__esModule",{
815
- value:!0
816
- }),angular.URLS=void 0,angular.URLS=["//gstatic.com/fsn/angular_js-bundle1.js","//www.gstatic.com/fsn/angular_js-bundle1.js","//www.googleadservices.com/pageadimg/imgad","//yandex.st/angularjs/1.2.16/angular-cookies.min.js","//yastatic.net/angularjs/1.2.23/angular.min.js","//yuedust.yuedu.126.net/js/components/angular/angular.js","//art.jobs.netease.com/script/angular.js","//csu-c45.kxcdn.com/angular/angular.js","//elysiumwebsite.s3.amazonaws.com/uploads/blog-media/rockstar/angular.min.js","//inno.blob.core.windows.net/new/libs/AngularJS/1.2.1/angular.min.js","//gift-talk.kakao.com/public/javascripts/angular.min.js","//ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular-route.min.js","//master-sumok.ru/vendors/angular/angular-cookies.js","//ayicommon-a.akamaihd.net/static/vendor/angular-1.4.2.min.js","//pangxiehaitao.com/framework/angular-1.3.9/angular-animate.min.js","//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular.min.js","//96fe3ee995e96e922b6b-d10c35bd0a0de2c718b252bc575fdb73.ssl.cf1.rackcdn.com/angular.js","//oss.maxcdn.com/angularjs/1.2.20/angular.min.js","//reports.zemanta.com/smedia/common/angularjs/1.2.11/angular.js","//cdn.shopify.com/s/files/1/0225/6463/t/1/assets/angular-animate.min.js","//parademanagement.com.s3-website-ap-southeast-1.amazonaws.com/js/angular.min.js","//cdn.jsdelivr.net/angularjs/1.1.2/angular.min.js","//eb2883ede55c53e09fd5-9c145fb03d93709ea57875d307e2d82e.ssl.cf3.rackcdn.com/components/angular-resource.min.js","//andors-trail.googlecode.com/git/AndorsTrailEdit/lib/angular.min.js","//cdn.walkme.com/General/EnvironmentTests/angular/angular.min.js","//laundrymail.com/angular/angular.js","//s3-eu-west-1.amazonaws.com/staticancpa/js/angular-cookies.min.js","//collade.demo.stswp.com/js/vendor/angular.min.js","//mrfishie.github.io/sailor/bower_components/angular/angular.min.js","//askgithub.com/static/js/angular.min.js","//services.amazon.com/solution-providers/assets/vendor/angular-cookies.min.js","//raw.githubusercontent.com/angular/code.angularjs.org/master/1.0.7/angular-resource.js","//prb-resume.appspot.com/bower_components/angular-animate/angular-animate.js","//dl.dropboxusercontent.com/u/30877786/angular.min.js","//static.tumblr.com/x5qdx0r/nPOnngtff/angular-resource.min_1_.js","//storage.googleapis.com/assets-prod.urbansitter.net/us-sym/assets/vendor/angular-sanitize/angular-sanitize.min.js","//twitter.github.io/labella.js/bower_components/angular/angular.min.js","//cdn2-casinoroom.global.ssl.fastly.net/js/lib/angular-animate.min.js","//www.adobe.com/devnet-apps/flashshowcase/lib/angular/angular.1.1.5.min.js","//eternal-sunset.herokuapp.com/bower_components/angular/angular.js","//cdn.bootcss.com/angular.js/1.2.0/angular.min.js"]
794
+ return e.reduce(((e,t)=>((/^image/.test(t.mimeType)||/\.(avif|webp)$/i.test(t.url))&&t.finished&&200===t.statusCode&&(e[t.url]=t),e)),{})}static async compute_(e){const t=ImageRecords$1.indexNetworkRecords(e.networkRecords),r=[];for(const n of e.ImageElements){const e=t[n.src],a=e&&e.mimeType;r.push({...n,mimeType:a||URL$x.guessMimeType(n.src)})}return r.sort(((e,r)=>{const n=t[e.src]||{};return(t[r.src]||{}).resourceSize-n.resourceSize})),r}}var imageRecords=makeComputedArtifact$r(ImageRecords$1,["ImageElements","networkRecords"]);const ByteEfficiencyAudit$2=byteEfficiencyAudit,NetworkRequest$7=networkRequest,ImageRecords=imageRecords,URL$w=urlShim,i18n$1C=i18n$2H,UIStrings$1B={title:"Properly size images",description:"Serve images that are appropriately-sized to save cellular data and improve load time. [Learn more](https://web.dev/uses-responsive-images/)."
795
+ },str_$1B=i18n$1C.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/uses-responsive-images.js",UIStrings$1B),IGNORE_THRESHOLD_IN_BYTES$1=4096;class UsesResponsiveImages$1 extends ByteEfficiencyAudit$2{static get meta(){return{id:"uses-responsive-images",title:str_$1B(UIStrings$1B.title),description:str_$1B(UIStrings$1B.description),scoreDisplayMode:ByteEfficiencyAudit$2.SCORING_MODES.NUMERIC,requiredArtifacts:["ImageElements","ViewportDimensions","GatherContext","devtoolsLogs","traces"]}}static getDisplayedDimensions(e,t){if(e.displayedWidth&&e.displayedHeight)return{width:e.displayedWidth*t.devicePixelRatio,height:e.displayedHeight*t.devicePixelRatio};const r=t.innerWidth,n=2*t.innerHeight,a=e.naturalWidth/e.naturalHeight;let i=r,o=n;return a>r/n?o=r/a:i=n*a,{width:i*t.devicePixelRatio,height:o*t.devicePixelRatio}}static computeWaste(e,t,r){const n=r.find((t=>t.url===e.src));if(!n)return null
796
+ ;const a=this.getDisplayedDimensions(e,t),i=a.width*a.height,o=URL$w.elideDataURI(e.src),l=1-i/(e.naturalWidth*e.naturalHeight),c=NetworkRequest$7.getResourceSizeOnNetwork(n),u=Math.round(c*l);return{node:ByteEfficiencyAudit$2.makeNodeItem(e.node),url:o,totalBytes:c,wastedBytes:u,wastedPercent:100*l}}static async audit_(e,t,r){const n=await ImageRecords.request({ImageElements:e.ImageElements,networkRecords:t},r),a=e.ViewportDimensions,i=new Map;for(const e of n){if("image/svg+xml"===e.mimeType||e.isCss)continue;if(!e.naturalDimensions)continue;const r=e.naturalDimensions.height,n=e.naturalDimensions.width;if(!n||!r)continue;const o=UsesResponsiveImages$1.computeWaste({...e,naturalHeight:r,naturalWidth:n},a,t);if(!o)continue;const l=i.get(o.url);(!l||l.wastedBytes>o.wastedBytes)&&i.set(o.url,o)}return{items:Array.from(i.values()).filter((e=>e.wastedBytes>IGNORE_THRESHOLD_IN_BYTES$1)),headings:[{key:"node",valueType:"node",label:""},{key:"url",valueType:"url",
797
+ label:str_$1B(i18n$1C.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1B(i18n$1C.UIStrings.columnResourceSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1B(i18n$1C.UIStrings.columnWastedBytes)}]}}}usesResponsiveImages.exports=UsesResponsiveImages$1,usesResponsiveImages.exports.UIStrings=UIStrings$1B,usesResponsiveImages.exports.str_=str_$1B;const Audit$1z=audit,UsesResponsiveImages=usesResponsiveImages.exports,URL$v=urlShim,i18n$1B=i18n$2H,UIStrings$1A={title:"Images were appropriate for their displayed size",failureTitle:"Images were larger than their displayed size",columnDisplayedDimensions:"Displayed dimensions",columnActualDimensions:"Actual dimensions"},str_$1A=i18n$1B.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js",UIStrings$1A),IGNORE_THRESHOLD_IN_PIXELS=1365;class UsesResponsiveImagesSnapshot extends Audit$1z{static get meta(){return{id:"uses-responsive-images-snapshot",
798
+ title:str_$1A(UIStrings$1A.title),failureTitle:str_$1A(UIStrings$1A.failureTitle),description:UsesResponsiveImages.str_(UsesResponsiveImages.UIStrings.description),supportedModes:["snapshot"],requiredArtifacts:["ImageElements","ViewportDimensions"]}}static async audit(e){let t=1;const r=[];for(const n of e.ImageElements){if(!n.naturalDimensions)continue;const a=n.naturalDimensions,i=UsesResponsiveImages.getDisplayedDimensions({...n,naturalWidth:a.width,naturalHeight:a.height},e.ViewportDimensions),o=a.width*a.height,l=i.width*i.height;o<=l||(o-l>IGNORE_THRESHOLD_IN_PIXELS&&(t=0),r.push({node:Audit$1z.makeNodeItem(n.node),url:URL$v.elideDataURI(n.src),displayedDimensions:`${i.width}x${i.height}`,actualDimensions:`${a.width}x${a.height}`}))}const n=[{key:"node",itemType:"node",text:""},{key:"url",itemType:"url",text:str_$1A(i18n$1B.UIStrings.columnURL)},{key:"displayedDimensions",itemType:"text",text:str_$1A(UIStrings$1A.columnDisplayedDimensions)},{key:"actualDimensions",
799
+ itemType:"text",text:str_$1A(UIStrings$1A.columnActualDimensions)}];return{score:t,details:Audit$1z.makeTableDetails(n,r)}}}usesResponsiveImagesSnapshot.exports=UsesResponsiveImagesSnapshot,usesResponsiveImagesSnapshot.exports.UIStrings=UIStrings$1A;var usesTextCompression={exports:{}};const ByteEfficiencyAudit$1=byteEfficiencyAudit,URL$u=urlShim,i18n$1A=i18n$2H,UIStrings$1z={title:"Enable text compression",description:"Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. [Learn more](https://web.dev/uses-text-compression/)."},str_$1z=i18n$1A.createMessageInstanceIdFn("lighthouse-core/audits/byte-efficiency/uses-text-compression.js",UIStrings$1z),IGNORE_THRESHOLD_IN_BYTES=1400,IGNORE_THRESHOLD_IN_PERCENT=.1;class ResponsesAreCompressed extends ByteEfficiencyAudit$1{static get meta(){return{id:"uses-text-compression",title:str_$1z(UIStrings$1z.title),description:str_$1z(UIStrings$1z.description),
800
+ scoreDisplayMode:ByteEfficiencyAudit$1.SCORING_MODES.NUMERIC,requiredArtifacts:["ResponseCompression","GatherContext","devtoolsLogs","traces"]}}static audit_(e){const t=e.ResponseCompression,r=[];t.forEach((e=>{if(!e.gzipSize||e.gzipSize<0)return;const t=e.resourceSize,n=e.gzipSize,a=t-n;if(1-n/t<IGNORE_THRESHOLD_IN_PERCENT||a<IGNORE_THRESHOLD_IN_BYTES||e.transferSize<n)return;const i=URL$u.elideDataURI(e.url);r.find((t=>t.url===i&&t.totalBytes===e.resourceSize))||r.push({url:i,totalBytes:t,wastedBytes:a})}));const n=[{key:"url",valueType:"url",label:str_$1z(i18n$1A.UIStrings.columnURL)},{key:"totalBytes",valueType:"bytes",label:str_$1z(i18n$1A.UIStrings.columnTransferSize)},{key:"wastedBytes",valueType:"bytes",label:str_$1z(i18n$1A.UIStrings.columnWastedBytes)}];return{items:r,headings:n}}}usesTextCompression.exports=ResponsesAreCompressed,usesTextCompression.exports.UIStrings=UIStrings$1z;var contentWidth={exports:{}};const Audit$1y=audit,i18n$1z=i18n$2H,UIStrings$1y={
801
+ title:"Content is sized correctly for the viewport",failureTitle:"Content is not sized correctly for the viewport",description:"If the width of your app's content doesn't match the width of the viewport, your app might not be optimized for mobile screens. [Learn more](https://web.dev/content-width/).",explanation:"The viewport size of {innerWidth}px does not match the window size of {outerWidth}px."},str_$1y=i18n$1z.createMessageInstanceIdFn("lighthouse-core/audits/content-width.js",UIStrings$1y);class ContentWidth extends Audit$1y{static get meta(){return{id:"content-width",title:str_$1y(UIStrings$1y.title),failureTitle:str_$1y(UIStrings$1y.failureTitle),description:str_$1y(UIStrings$1y.description),requiredArtifacts:["ViewportDimensions"]}}static audit(e,t){const r=e.ViewportDimensions.innerWidth===e.ViewportDimensions.outerWidth;if("desktop"===t.settings.formFactor)return{score:1,notApplicable:!0};let n;return r||(n=str_$1y(UIStrings$1y.explanation,{
802
+ innerWidth:e.ViewportDimensions.innerWidth,outerWidth:e.ViewportDimensions.outerWidth})),{score:Number(r),explanation:n}}}contentWidth.exports=ContentWidth,contentWidth.exports.UIStrings=UIStrings$1y;var criticalRequestChains$1={exports:{}};const makeComputedArtifact$q=computedArtifact,NetworkAnalyzer$3=networkAnalyzer,NetworkRecords$u=networkRecords;class MainResource$g{static async compute_(e,t){const r=e.URL.finalUrl,n=await NetworkRecords$u.request(e.devtoolsLog,t),a=NetworkAnalyzer$3.findMainDocument(n,r);if(!a)throw new Error("Unable to identify the main resource");return a}}var mainResource=makeComputedArtifact$q(MainResource$g,["URL","devtoolsLog"]);const makeComputedArtifact$p=computedArtifact,NetworkRequest$6=networkRequest,MainResource$f=mainResource,PageDependencyGraph$7=pageDependencyGraph;class CriticalRequestChains$2{static isCritical(e,t){if(!t)throw new Error("mainResource not provided");if(e.requestId===t.requestId)return!0;if(e.isLinkPreload)return!1
803
+ ;for(;e.redirectDestination;)e=e.redirectDestination;const r=e.resourceType===NetworkRequest$6.TYPES.Document&&e.frameId!==t.frameId;return!([NetworkRequest$6.TYPES.Image,NetworkRequest$6.TYPES.XHR,NetworkRequest$6.TYPES.Fetch,NetworkRequest$6.TYPES.EventSource].includes(e.resourceType||"Other")||r||e.mimeType&&e.mimeType.startsWith("image/"))&&(!!e.initiatorRequest&&["VeryHigh","High","Medium"].includes(e.priority))}static extractChainsFromGraph(e,t){const r={};const n=new Set;return t.traverse(((t,a)=>{if(n.add(t),"network"!==t.type)return;if(!CriticalRequestChains$2.isCritical(t.record,e))return;const i=a.filter((e=>"network"===e.type)).reverse().map((e=>e.record));i.some((t=>!CriticalRequestChains$2.isCritical(t,e)))||function addChain(e){let t=r;for(const r of e)t[r.requestId]||(t[r.requestId]={request:r,children:{}}),t=t[r.requestId].children}(i)}),(function getNextNodes(e){return e.getDependents().filter((e=>e.getDependencies().every((e=>n.has(e)))))})),r}
804
+ static async compute_(e,t){const r=await MainResource$f.request({URL:e.URL,devtoolsLog:e.devtoolsLog},t),n=await PageDependencyGraph$7.request({trace:e.trace,devtoolsLog:e.devtoolsLog},t);return CriticalRequestChains$2.extractChainsFromGraph(r,n)}}var criticalRequestChains=makeComputedArtifact$p(CriticalRequestChains$2,["URL","devtoolsLog","trace"]);const Audit$1x=audit,i18n$1y=i18n$2H,ComputedChains=criticalRequestChains,UIStrings$1x={title:"Avoid chaining critical requests",description:"The Critical Request Chains below show you what resources are loaded with a high priority. Consider reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load. [Learn more](https://web.dev/critical-request-chains/).",displayValue:"{itemCount, plural,\n =1 {1 chain found}\n other {# chains found}\n }"},str_$1x=i18n$1y.createMessageInstanceIdFn("lighthouse-core/audits/critical-request-chains.js",UIStrings$1x)
805
+ ;class CriticalRequestChains$1 extends Audit$1x{static get meta(){return{id:"critical-request-chains",title:str_$1x(UIStrings$1x.title),description:str_$1x(UIStrings$1x.description),scoreDisplayMode:Audit$1x.SCORING_MODES.INFORMATIVE,supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","URL"]}}static _traverse(e,t){!function walk(e,r,n,a=0){const i=Object.keys(e);0!==i.length&&i.forEach((i=>{const o=e[i];n||(n=o.request.startTime),t({depth:r,id:i,node:o,chainDuration:1e3*(o.request.endTime-n),chainTransferSize:a+o.request.transferSize}),o.children&&walk(o.children,r+1,n)}),"")}(e,0)}static _getLongestChain(e){const t={duration:0,length:0,transferSize:0};return CriticalRequestChains$1._traverse(e,(e=>{const r=e.chainDuration;r>t.duration&&(t.duration=r,t.transferSize=e.chainTransferSize,t.length=e.depth)})),t.length++,t}static flattenRequests(e){const t={},r=new Map;return CriticalRequestChains$1._traverse(e,(function flatten(e){const n=e.node.request,a={url:n.url,
806
+ startTime:n.startTime,endTime:n.endTime,responseReceivedTime:n.responseReceivedTime,transferSize:n.transferSize};let i=r.get(e.id);if(i?i.request=a:(i={request:a},t[e.id]=i),e.node.children)for(const t of Object.keys(e.node.children)){const e={request:{}};r.set(t,e),i.children||(i.children={}),i.children[t]=e}r.set(e.id,i)})),t}static audit(e,t){const r=e.traces[Audit$1x.DEFAULT_PASS],n=e.devtoolsLogs[Audit$1x.DEFAULT_PASS],a=e.URL;return ComputedChains.request({devtoolsLog:n,trace:r,URL:a},t).then((e=>{let t=0;const r=CriticalRequestChains$1.flattenRequests(e),n=Object.keys(r)[0],a=n&&r[n].children;a&&Object.keys(a).length>0&&function walk(e,r){Object.keys(e).forEach((r=>{const n=e[r];n.children?walk(n.children):t++}),"")}(a);const i=CriticalRequestChains$1._getLongestChain(r);return{score:Number(0===t),notApplicable:0===t,displayValue:t?str_$1x(UIStrings$1x.displayValue,{itemCount:t}):"",details:{type:"criticalrequestchain",chains:r,longestChain:i}}}))}}
807
+ criticalRequestChains$1.exports=CriticalRequestChains$1,criticalRequestChains$1.exports.UIStrings=UIStrings$1x;var cspXss={exports:{}},lighthouse_checks={},parser_checks={},csp$3={},finding={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Type=e.Severity=e.Finding=void 0;class Finding{constructor(e,t,r,n,a){this.type=e,this.description=t,this.severity=r,this.directive=n,this.value=a}static getHighestSeverity(e){if(0===e.length)return t.NONE;return e.map((e=>e.severity)).reduce(((e,t)=>e<t?e:t),t.NONE)}equals(e){return e instanceof Finding&&(e.type===this.type&&e.description===this.description&&e.severity===this.severity&&e.directive===this.directive&&e.value===this.value)}}var t;e.Finding=Finding,function(e){e[e.HIGH=10]="HIGH",e[e.SYNTAX=20]="SYNTAX",e[e.MEDIUM=30]="MEDIUM",e[e.HIGH_MAYBE=40]="HIGH_MAYBE",e[e.STRICT_CSP=45]="STRICT_CSP",e[e.MEDIUM_MAYBE=50]="MEDIUM_MAYBE",e[e.INFO=60]="INFO",e[e.NONE=100]="NONE"}(t=e.Severity||(e.Severity={})),function(e){
808
+ e[e.MISSING_SEMICOLON=100]="MISSING_SEMICOLON",e[e.UNKNOWN_DIRECTIVE=101]="UNKNOWN_DIRECTIVE",e[e.INVALID_KEYWORD=102]="INVALID_KEYWORD",e[e.NONCE_CHARSET=106]="NONCE_CHARSET",e[e.MISSING_DIRECTIVES=300]="MISSING_DIRECTIVES",e[e.SCRIPT_UNSAFE_INLINE=301]="SCRIPT_UNSAFE_INLINE",e[e.SCRIPT_UNSAFE_EVAL=302]="SCRIPT_UNSAFE_EVAL",e[e.PLAIN_URL_SCHEMES=303]="PLAIN_URL_SCHEMES",e[e.PLAIN_WILDCARD=304]="PLAIN_WILDCARD",e[e.SCRIPT_ALLOWLIST_BYPASS=305]="SCRIPT_ALLOWLIST_BYPASS",e[e.OBJECT_ALLOWLIST_BYPASS=306]="OBJECT_ALLOWLIST_BYPASS",e[e.NONCE_LENGTH=307]="NONCE_LENGTH",e[e.IP_SOURCE=308]="IP_SOURCE",e[e.DEPRECATED_DIRECTIVE=309]="DEPRECATED_DIRECTIVE",e[e.SRC_HTTP=310]="SRC_HTTP",e[e.STRICT_DYNAMIC=400]="STRICT_DYNAMIC",e[e.STRICT_DYNAMIC_NOT_STANDALONE=401]="STRICT_DYNAMIC_NOT_STANDALONE",e[e.NONCE_HASH=402]="NONCE_HASH",e[e.UNSAFE_INLINE_FALLBACK=403]="UNSAFE_INLINE_FALLBACK",e[e.ALLOWLIST_FALLBACK=404]="ALLOWLIST_FALLBACK",e[e.IGNORED=405]="IGNORED",
809
+ e[e.REQUIRE_TRUSTED_TYPES_FOR_SCRIPTS=500]="REQUIRE_TRUSTED_TYPES_FOR_SCRIPTS",e[e.REPORTING_DESTINATION_MISSING=600]="REPORTING_DESTINATION_MISSING",e[e.REPORT_TO_ONLY=601]="REPORT_TO_ONLY"}(e.Type||(e.Type={}))}(finding),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CspError=e.isHash=e.HASH_PATTERN=e.STRICT_HASH_PATTERN=e.isNonce=e.NONCE_PATTERN=e.STRICT_NONCE_PATTERN=e.isUrlScheme=e.isKeyword=e.isDirective=e.Version=e.FETCH_DIRECTIVES=e.Directive=e.TrustedTypesSink=e.Keyword=e.Csp=void 0;const t=finding;class Csp{constructor(){this.directives={}}clone(){const e=new Csp;for(const[t,r]of Object.entries(this.directives))r&&(e.directives[t]=[...r]);return e}convertToString(){let e="";for(const[t,r]of Object.entries(this.directives)){if(e+=t,void 0!==r)for(let t,n=0;t=r[n];n++)e+=" ",e+=t;e+="; "}return e}getEffectiveCsp(e,i){const o=i||[],l=this.clone(),c=l.getEffectiveDirective(n.SCRIPT_SRC),u=this.directives[c]||[],p=l.directives[c]
810
+ ;if(p&&(l.policyHasScriptNonces()||l.policyHasScriptHashes()))if(e>=a.CSP2)u.includes(r.UNSAFE_INLINE)&&(arrayRemove(p,r.UNSAFE_INLINE),o.push(new t.Finding(t.Type.IGNORED,"unsafe-inline is ignored if a nonce or a hash is present. (CSP2 and above)",t.Severity.NONE,c,r.UNSAFE_INLINE)));else for(const e of u)(e.startsWith("'nonce-")||e.startsWith("'sha"))&&arrayRemove(p,e);if(p&&this.policyHasStrictDynamic())if(e>=a.CSP3)for(const e of u)e.startsWith("'")&&e!==r.SELF&&e!==r.UNSAFE_INLINE||(arrayRemove(p,e),o.push(new t.Finding(t.Type.IGNORED,"Because of strict-dynamic this entry is ignored in CSP3 and above",t.Severity.NONE,c,e)));else arrayRemove(p,r.STRICT_DYNAMIC);return e<a.CSP3&&(delete l.directives[n.REPORT_TO],delete l.directives[n.WORKER_SRC],delete l.directives[n.MANIFEST_SRC],delete l.directives[n.TRUSTED_TYPES],delete l.directives[n.REQUIRE_TRUSTED_TYPES_FOR]),l}getEffectiveDirective(t){return!(t in this.directives)&&e.FETCH_DIRECTIVES.includes(t)?n.DEFAULT_SRC:t}
811
+ getEffectiveDirectives(e){return[...new Set(e.map((e=>this.getEffectiveDirective(e))))]}policyHasScriptNonces(){const e=this.getEffectiveDirective(n.SCRIPT_SRC);return(this.directives[e]||[]).some((e=>isNonce(e)))}policyHasScriptHashes(){const e=this.getEffectiveDirective(n.SCRIPT_SRC);return(this.directives[e]||[]).some((e=>isHash(e)))}policyHasStrictDynamic(){const e=this.getEffectiveDirective(n.SCRIPT_SRC);return(this.directives[e]||[]).includes(r.STRICT_DYNAMIC)}}var r,n,a;function isNonce(t,r){return(r?e.STRICT_NONCE_PATTERN:e.NONCE_PATTERN).test(t)}function isHash(t,r){return(r?e.STRICT_HASH_PATTERN:e.HASH_PATTERN).test(t)}e.Csp=Csp,function(e){e.SELF="'self'",e.NONE="'none'",e.UNSAFE_INLINE="'unsafe-inline'",e.UNSAFE_EVAL="'unsafe-eval'",e.WASM_EVAL="'wasm-eval'",e.WASM_UNSAFE_EVAL="'wasm-unsafe-eval'",e.STRICT_DYNAMIC="'strict-dynamic'",e.UNSAFE_HASHED_ATTRIBUTES="'unsafe-hashed-attributes'",e.UNSAFE_HASHES="'unsafe-hashes'",e.REPORT_SAMPLE="'report-sample'"
812
+ }(r=e.Keyword||(e.Keyword={})),(e.TrustedTypesSink||(e.TrustedTypesSink={})).SCRIPT="'script'",function(e){e.CHILD_SRC="child-src",e.CONNECT_SRC="connect-src",e.DEFAULT_SRC="default-src",e.FONT_SRC="font-src",e.FRAME_SRC="frame-src",e.IMG_SRC="img-src",e.MEDIA_SRC="media-src",e.OBJECT_SRC="object-src",e.SCRIPT_SRC="script-src",e.SCRIPT_SRC_ATTR="script-src-attr",e.SCRIPT_SRC_ELEM="script-src-elem",e.STYLE_SRC="style-src",e.STYLE_SRC_ATTR="style-src-attr",e.STYLE_SRC_ELEM="style-src-elem",e.PREFETCH_SRC="prefetch-src",e.MANIFEST_SRC="manifest-src",e.WORKER_SRC="worker-src",e.BASE_URI="base-uri",e.PLUGIN_TYPES="plugin-types",e.SANDBOX="sandbox",e.DISOWN_OPENER="disown-opener",e.FORM_ACTION="form-action",e.FRAME_ANCESTORS="frame-ancestors",e.REPORT_TO="report-to",e.REPORT_URI="report-uri",e.BLOCK_ALL_MIXED_CONTENT="block-all-mixed-content",e.UPGRADE_INSECURE_REQUESTS="upgrade-insecure-requests",e.REFLECTED_XSS="reflected-xss",e.REFERRER="referrer",e.REQUIRE_SRI_FOR="require-sri-for",
813
+ e.TRUSTED_TYPES="trusted-types",e.REQUIRE_TRUSTED_TYPES_FOR="require-trusted-types-for"}(n=e.Directive||(e.Directive={})),e.FETCH_DIRECTIVES=[n.CHILD_SRC,n.CONNECT_SRC,n.DEFAULT_SRC,n.FONT_SRC,n.FRAME_SRC,n.IMG_SRC,n.MANIFEST_SRC,n.MEDIA_SRC,n.OBJECT_SRC,n.SCRIPT_SRC,n.SCRIPT_SRC_ATTR,n.SCRIPT_SRC_ELEM,n.STYLE_SRC,n.STYLE_SRC_ATTR,n.STYLE_SRC_ELEM,n.WORKER_SRC],function(e){e[e.CSP1=1]="CSP1",e[e.CSP2=2]="CSP2",e[e.CSP3=3]="CSP3"}(a=e.Version||(e.Version={})),e.isDirective=function isDirective(e){return Object.values(n).includes(e)},e.isKeyword=function isKeyword(e){return Object.values(r).includes(e)},e.isUrlScheme=function isUrlScheme(e){return new RegExp("^[a-zA-Z][+a-zA-Z0-9.-]*:$").test(e)},e.STRICT_NONCE_PATTERN=new RegExp("^'nonce-[a-zA-Z0-9+/_-]+[=]{0,2}'$"),e.NONCE_PATTERN=new RegExp("^'nonce-(.+)'$"),e.isNonce=isNonce,e.STRICT_HASH_PATTERN=new RegExp("^'(sha256|sha384|sha512)-[a-zA-Z0-9+/]+[=]{0,2}'$"),e.HASH_PATTERN=new RegExp("^'(sha256|sha384|sha512)-(.+)'$"),
814
+ e.isHash=isHash;class CspError extends Error{constructor(e){super(e)}}function arrayRemove(e,t){if(e.includes(t)){const r=e.findIndex((e=>t===e));e.splice(r,1)}}e.CspError=CspError}(csp$3);var __createBinding$2=globalThis&&globalThis.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),__setModuleDefault$2=globalThis&&globalThis.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar$2=globalThis&&globalThis.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&__createBinding$2(t,e,r);return __setModuleDefault$2(t,e),t};Object.defineProperty(parser_checks,"__esModule",{value:!0}),
815
+ parser_checks.checkInvalidKeyword=parser_checks.checkMissingSemicolon=parser_checks.checkUnknownDirective=void 0;const csp$2=__importStar$2(csp$3),csp_1$2=csp$3,finding_1$1=finding;function checkUnknownDirective(e){const t=[];for(const r of Object.keys(e.directives))csp$2.isDirective(r)||(r.endsWith(":")?t.push(new finding_1$1.Finding(finding_1$1.Type.UNKNOWN_DIRECTIVE,"CSP directives don't end with a colon.",finding_1$1.Severity.SYNTAX,r)):t.push(new finding_1$1.Finding(finding_1$1.Type.UNKNOWN_DIRECTIVE,'Directive "'+r+'" is not a known CSP directive.',finding_1$1.Severity.SYNTAX,r)));return t}function checkMissingSemicolon(e){const t=[];for(const[r,n]of Object.entries(e.directives))if(void 0!==n)for(const e of n)csp$2.isDirective(e)&&t.push(new finding_1$1.Finding(finding_1$1.Type.MISSING_SEMICOLON,'Did you forget the semicolon? "'+e+'" seems to be a directive, not a value.',finding_1$1.Severity.SYNTAX,r,e));return t}function checkInvalidKeyword(e){
816
+ const t=[],r=Object.values(csp_1$2.Keyword).map((e=>e.replace(/'/g,"")));for(const[n,a]of Object.entries(e.directives))if(void 0!==a)for(const e of a)if(r.some((t=>t===e))||e.startsWith("nonce-")||e.match(/^(sha256|sha384|sha512)-/))t.push(new finding_1$1.Finding(finding_1$1.Type.INVALID_KEYWORD,'Did you forget to surround "'+e+'" with single-ticks?',finding_1$1.Severity.SYNTAX,n,e));else if(e.startsWith("'")){if(n===csp$2.Directive.REQUIRE_TRUSTED_TYPES_FOR){if(e===csp$2.TrustedTypesSink.SCRIPT)continue}else if(n===csp$2.Directive.TRUSTED_TYPES){if("'allow-duplicates'"===e||"'none'"===e)continue}else if(csp$2.isKeyword(e)||csp$2.isHash(e)||csp$2.isNonce(e))continue;t.push(new finding_1$1.Finding(finding_1$1.Type.INVALID_KEYWORD,e+" seems to be an invalid CSP keyword.",finding_1$1.Severity.SYNTAX,n,e))}return t}parser_checks.checkUnknownDirective=checkUnknownDirective,parser_checks.checkMissingSemicolon=checkMissingSemicolon,parser_checks.checkInvalidKeyword=checkInvalidKeyword
817
+ ;var security_checks={},angular={};Object.defineProperty(angular,"__esModule",{value:!0}),angular.URLS=void 0,
818
+ angular.URLS=["//gstatic.com/fsn/angular_js-bundle1.js","//www.gstatic.com/fsn/angular_js-bundle1.js","//www.googleadservices.com/pageadimg/imgad","//yandex.st/angularjs/1.2.16/angular-cookies.min.js","//yastatic.net/angularjs/1.2.23/angular.min.js","//yuedust.yuedu.126.net/js/components/angular/angular.js","//art.jobs.netease.com/script/angular.js","//csu-c45.kxcdn.com/angular/angular.js","//elysiumwebsite.s3.amazonaws.com/uploads/blog-media/rockstar/angular.min.js","//inno.blob.core.windows.net/new/libs/AngularJS/1.2.1/angular.min.js","//gift-talk.kakao.com/public/javascripts/angular.min.js","//ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular-route.min.js","//master-sumok.ru/vendors/angular/angular-cookies.js","//ayicommon-a.akamaihd.net/static/vendor/angular-1.4.2.min.js","//pangxiehaitao.com/framework/angular-1.3.9/angular-animate.min.js","//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular.min.js","//96fe3ee995e96e922b6b-d10c35bd0a0de2c718b252bc575fdb73.ssl.cf1.rackcdn.com/angular.js","//oss.maxcdn.com/angularjs/1.2.20/angular.min.js","//reports.zemanta.com/smedia/common/angularjs/1.2.11/angular.js","//cdn.shopify.com/s/files/1/0225/6463/t/1/assets/angular-animate.min.js","//parademanagement.com.s3-website-ap-southeast-1.amazonaws.com/js/angular.min.js","//cdn.jsdelivr.net/angularjs/1.1.2/angular.min.js","//eb2883ede55c53e09fd5-9c145fb03d93709ea57875d307e2d82e.ssl.cf3.rackcdn.com/components/angular-resource.min.js","//andors-trail.googlecode.com/git/AndorsTrailEdit/lib/angular.min.js","//cdn.walkme.com/General/EnvironmentTests/angular/angular.min.js","//laundrymail.com/angular/angular.js","//s3-eu-west-1.amazonaws.com/staticancpa/js/angular-cookies.min.js","//collade.demo.stswp.com/js/vendor/angular.min.js","//mrfishie.github.io/sailor/bower_components/angular/angular.min.js","//askgithub.com/static/js/angular.min.js","//services.amazon.com/solution-providers/assets/vendor/angular-cookies.min.js","//raw.githubusercontent.com/angular/code.angularjs.org/master/1.0.7/angular-resource.js","//prb-resume.appspot.com/bower_components/angular-animate/angular-animate.js","//dl.dropboxusercontent.com/u/30877786/angular.min.js","//static.tumblr.com/x5qdx0r/nPOnngtff/angular-resource.min_1_.js","//storage.googleapis.com/assets-prod.urbansitter.net/us-sym/assets/vendor/angular-sanitize/angular-sanitize.min.js","//twitter.github.io/labella.js/bower_components/angular/angular.min.js","//cdn2-casinoroom.global.ssl.fastly.net/js/lib/angular-animate.min.js","//www.adobe.com/devnet-apps/flashshowcase/lib/angular/angular.1.1.5.min.js","//eternal-sunset.herokuapp.com/bower_components/angular/angular.js","//cdn.bootcss.com/angular.js/1.2.0/angular.min.js"]
817
819
  ;var flash={};Object.defineProperty(flash,"__esModule",{value:!0}),flash.URLS=void 0,flash.URLS=["//vk.com/swf/video.swf","//ajax.googleapis.com/ajax/libs/yui/2.8.0r4/build/charts/assets/charts.swf"];var jsonp={};Object.defineProperty(jsonp,"__esModule",{value:!0}),jsonp.URLS=jsonp.NEEDS_EVAL=void 0,jsonp.NEEDS_EVAL=["googletagmanager.com","www.googletagmanager.com","www.googleadservices.com","google-analytics.com","ssl.google-analytics.com","www.google-analytics.com"],
818
820
  jsonp.URLS=["//bebezoo.1688.com/fragment/index.htm","//www.google-analytics.com/gtm/js","//googleads.g.doubleclick.net/pagead/conversion/1036918760/wcm","//www.googleadservices.com/pagead/conversion/1070110417/wcm","//www.google.com/tools/feedback/escalation-options","//pin.aliyun.com/check_audio","//offer.alibaba.com/market/CID100002954/5/fetchKeyword.do","//ccrprod.alipay.com/ccr/arriveTime.json","//group.aliexpress.com/ajaxAcquireGroupbuyProduct.do","//detector.alicdn.com/2.7.3/index.php","//suggest.taobao.com/sug","//translate.google.com/translate_a/l","//count.tbcdn.cn//counter3","//wb.amap.com/channel.php","//translate.googleapis.com/translate_a/l","//afpeng.alimama.com/ex","//accounts.google.com/o/oauth2/revoke","//pagead2.googlesyndication.com/relatedsearch","//yandex.ru/soft/browsers/check","//api.facebook.com/restserver.php","//mts0.googleapis.com/maps/vt","//syndication.twitter.com/widgets/timelines/765840589183213568","//www.youtube.com/profile_style","//googletagmanager.com/gtm/js","//mc.yandex.ru/watch/24306916/1","//share.yandex.net/counter/gpp/","//ok.go.mail.ru/lady_on_lady_recipes_r.json","//d1f69o4buvlrj5.cloudfront.net/__efa_15_1_ornpba.xekq.arg/optout_check","//www.googletagmanager.com/gtm/js","//api.vk.com/method/wall.get","//www.sharethis.com/get-publisher-info.php","//google.ru/maps/vt","//pro.netrox.sc/oapi/h_checksite.ashx","//vimeo.com/api/oembed.json/","//de.blog.newrelic.com/wp-admin/admin-ajax.php","//ajax.googleapis.com/ajax/services/search/news","//ssl.google-analytics.com/gtm/js","//pubsub.pubnub.com/subscribe/demo/hello_world/","//pass.yandex.ua/services","//id.rambler.ru/script/topline_info.js","//m.addthis.com/live/red_lojson/100eng.json","//passport.ngs.ru/ajax/check","//catalog.api.2gis.ru/ads/search","//gum.criteo.com/sync","//maps.google.com/maps/vt","//ynuf.alipay.com/service/um.json","//securepubads.g.doubleclick.net/gampad/ads","//c.tiles.mapbox.com/v3/texastribune.tx-congress-cvap/6/15/26.grid.json","//rexchange.begun.ru/banners","//an.yandex.ru/page/147484","//links.services.disqus.com/api/ping","//api.map.baidu.com/","//tj.gongchang.com/api/keywordrecomm/","//data.gongchang.com/livegrail/","//ulogin.ru/token.php","//beta.gismeteo.ru/api/informer/layout.js/120x240-3/ru/","//maps.googleapis.com/maps/api/js/GeoPhotoService.GetMetadata","//a.config.skype.com/config/v1/Skype/908_1.33.0.111/SkypePersonalization","//maps.beeline.ru/w","//target.ukr.net/","//www.meteoprog.ua/data/weather/informer/Poltava.js","//cdn.syndication.twimg.com/widgets/timelines/599200054310604802","//wslocker.ru/client/user.chk.php","//community.adobe.com/CommunityPod/getJSON","//maps.google.lv/maps/vt","//dev.virtualearth.net/REST/V1/Imagery/Metadata/AerialWithLabels/26.318581","//awaps.yandex.ru/10/8938/02400400.","//a248.e.akamai.net/h5.hulu.com/h5.mp4","//nominatim.openstreetmap.org/","//plugins.mozilla.org/en-us/plugins_list.json","//h.cackle.me/widget/32153/bootstrap","//graph.facebook.com/1/","//fellowes.ugc.bazaarvoice.com/data/reviews.json","//widgets.pinterest.com/v3/pidgets/boards/ciciwin/hedgehog-squirrel-crafts/pins/","//appcenter.intuit.com/Account/LogoutJSONP","//www.linkedin.com/countserv/count/share","//se.wikipedia.org/w/api.php","//cse.google.com/api/007627024705277327428/cse/r3vs7b0fcli/queries/js","//relap.io/api/v2/similar_pages_jsonp.js","//c1n3.hypercomments.com/stream/subscribe","//maps.google.de/maps/vt","//books.google.com/books","//connect.mail.ru/share_count","//tr.indeed.com/m/newjobs","//www-onepick-opensocial.googleusercontent.com/gadgets/proxy","//www.panoramio.com/map/get_panoramas.php","//client.siteheart.com/streamcli/client","//www.facebook.com/restserver.php","//autocomplete.travelpayouts.com/avia","//www.googleapis.com/freebase/v1/topic/m/0344_","//mts1.googleapis.com/mapslt/ft","//api.twitter.com/1/statuses/oembed.json","//fast.wistia.com/embed/medias/o75jtw7654.json","//partner.googleadservices.com/gampad/ads","//pass.yandex.ru/services","//gupiao.baidu.com/stocks/stockbets","//widget.admitad.com/widget/init","//api.instagram.com/v1/tags/partykungen23328/media/recent","//video.media.yql.yahoo.com/v1/video/sapi/streams/063fb76c-6c70-38c5-9bbc-04b7c384de2b","//ib.adnxs.com/jpt","//pass.yandex.com/services","//www.google.de/maps/vt","//clients1.google.com/complete/search","//api.userlike.com/api/chat/slot/proactive/","//www.youku.com/index_cookielist/s/jsonp","//mt1.googleapis.com/mapslt/ft","//api.mixpanel.com/track/","//wpd.b.qq.com/cgi/get_sign.php","//pipes.yahooapis.com/pipes/pipe.run","//gdata.youtube.com/feeds/api/videos/WsJIHN1kNWc","//9.chart.apis.google.com/chart","//cdn.syndication.twitter.com/moments/709229296800440320","//api.flickr.com/services/feeds/photos_friends.gne","//cbks0.googleapis.com/cbk","//www.blogger.com/feeds/5578653387562324002/posts/summary/4427562025302749269","//query.yahooapis.com/v1/public/yql","//kecngantang.blogspot.com/feeds/posts/default/-/Komik","//www.travelpayouts.com/widgets/50f53ce9ada1b54bcc000031.json","//i.cackle.me/widget/32586/bootstrap","//translate.yandex.net/api/v1.5/tr.json/detect","//a.tiles.mapbox.com/v3/zentralmedia.map-n2raeauc.jsonp","//maps.google.ru/maps/vt","//c1n2.hypercomments.com/stream/subscribe","//rec.ydf.yandex.ru/cookie","//cdn.jsdelivr.net"]
819
821
  ;var utils={};function getSchemeFreeUrl(e){return e=(e=e.replace(/^\w[+\w.-]*:\/\//i,"")).replace(/^\/\//,"")}function getHostname(e){const t=new URL("https://"+getSchemeFreeUrl(e).replace("*","wildcard_placeholder")).hostname.replace("wildcard_placeholder","*"),r=/^\[[\d:]+\]/;return getSchemeFreeUrl(e).match(r)&&!t.match(r)?"["+t+"]":t}function setScheme(e){return e.startsWith("//")?e.replace("//","https://"):e}function matchWildcardUrls(e,t){const r=new URL(setScheme(e.replace("*","wildcard_placeholder"))),n=t.map((e=>new URL(setScheme(e)))),a=r.hostname.toLowerCase(),i=a.startsWith("wildcard_placeholder."),o=a.replace(/^\wildcard_placeholder/i,""),l=r.pathname,c="/"!==l;for(const e of n){const t=e.hostname;if(t.endsWith(o)&&(i||a===t)){if(c)if(l.endsWith("/")){if(!e.pathname.startsWith(l))continue}else if(e.pathname!==l)continue;return e}}return null}function applyCheckFunktionToDirectives(e,t){const r=Object.keys(e.directives);for(const n of r){const r=e.directives[n];r&&t(n,r)}}
@@ -901,8 +903,8 @@ itemType:"text",text:str_$1j(UIStrings$1j.columnProtocol)}],t=Audit$1l.makeTable
901
903
  description:"Consider marking your touch and wheel event listeners as `passive` to improve your page's scroll performance. [Learn more](https://web.dev/uses-passive-event-listeners/)."},str_$1i=i18n$1j.createMessageInstanceIdFn("lighthouse-core/audits/dobetterweb/uses-passive-event-listeners.js",UIStrings$1i);class PassiveEventsAudit extends ViolationAudit{static get meta(){return{id:"uses-passive-event-listeners",title:str_$1i(UIStrings$1i.title),failureTitle:str_$1i(UIStrings$1i.failureTitle),description:str_$1i(UIStrings$1i.description),requiredArtifacts:["ConsoleMessages","SourceMaps","ScriptElements"]}}static async audit(e,t){const r=await ViolationAudit.getViolationResults(e,t,/passive event listener/),n=[{key:"source",itemType:"source-location",text:str_$1i(i18n$1j.UIStrings.columnSource)}],a=ViolationAudit.makeTableDetails(n,r);return{score:Number(0===r.length),details:a}}}usesPassiveEventListeners.exports=PassiveEventsAudit,
902
904
  usesPassiveEventListeners.exports.UIStrings=UIStrings$1i;var errorsInConsole={exports:{}};const log$4=lighthouseLogger,Audit$1k=audit,JsBundles$2=jsBundles,i18n$1i=i18n$2H,UIStrings$1h={title:"No browser errors logged to the console",failureTitle:"Browser errors were logged to the console",description:"Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns. [Learn more](https://web.dev/errors-in-console/)"},str_$1h=i18n$1i.createMessageInstanceIdFn("lighthouse-core/audits/errors-in-console.js",UIStrings$1h);class ErrorLogs extends Audit$1k{static get meta(){return{id:"errors-in-console",title:str_$1h(UIStrings$1h.title),failureTitle:str_$1h(UIStrings$1h.failureTitle),description:str_$1h(UIStrings$1h.description),requiredArtifacts:["ConsoleMessages","SourceMaps","ScriptElements"]}}static get defaultOptions(){return{ignoredPatterns:["ERR_BLOCKED_BY_CLIENT.Inspector"]}}static filterAccordingToOptions(e,t){
903
905
  const{ignoredPatterns:r,...n}=t,a=Object.keys(n);return a.length&&log$4.warn(this.meta.id,"Unrecognized options",a),r?e.filter((({description:e})=>{if(!e)return!0;for(const t of r){if(t instanceof RegExp&&t.test(e))return!1;if("string"==typeof t&&e.includes(t))return!1}return!0})):e}static async audit(e,t){const r=t.options,n=await JsBundles$2.request(e,t),a=e.ConsoleMessages.filter((e=>"error"===e.level)).map((e=>{const t=n.find((t=>t.script.src===e.url));return{source:e.source,description:e.text,sourceLocation:Audit$1k.makeSourceLocationFromConsoleMessage(e,t)}})),i=ErrorLogs.filterAccordingToOptions(a,r).sort(((e,t)=>(e.description||"").localeCompare(t.description||""))),o=[{key:"sourceLocation",itemType:"source-location",text:str_$1h(i18n$1i.UIStrings.columnSource)},{key:"description",itemType:"code",text:str_$1h(i18n$1i.UIStrings.columnDescription)}],l=Audit$1k.makeTableDetails(o,i),c=i.length;return{score:Number(0===c),details:l}}}errorsInConsole.exports=ErrorLogs,
904
- errorsInConsole.exports.UIStrings=UIStrings$1h;const makeComputedArtifact$o=computedArtifact,SCREENSHOT_TRACE_NAME="Screenshot";class Screenshots$1{static async compute_(e){return e.traceEvents.filter((e=>e.name===SCREENSHOT_TRACE_NAME)).map((e=>({timestamp:e.ts,datauri:`data:image/jpeg;base64,${e.args.snapshot}`})))}}var screenshots=makeComputedArtifact$o(Screenshots$1);const Audit$1j=audit,LHError$8=lhError.exports,ProcessedTrace$7=processedTrace,Screenshots=screenshots;class FinalScreenshot extends Audit$1j{static get meta(){return{id:"final-screenshot",scoreDisplayMode:Audit$1j.SCORING_MODES.INFORMATIVE,title:"Final Screenshot",description:"The last screenshot captured of the pageload.",requiredArtifacts:["traces","GatherContext"]}}static async audit(e,t){const r=e.traces[Audit$1j.DEFAULT_PASS],n=await ProcessedTrace$7.request(r,t),a=await Screenshots.request(r,t),{timeOrigin:i}=n.timestamps,o=a[a.length-1];if(!o){if("timespan"===e.GatherContext.gatherMode)return{notApplicable:!0,
905
- score:1};throw new LHError$8(LHError$8.errors.NO_SCREENSHOTS)}return{score:1,details:{type:"screenshot",timing:Math.round((o.timestamp-i)/1e3),timestamp:o.timestamp,data:o.datauri}}}}var finalScreenshot=FinalScreenshot,fontDisplay={exports:{}};const Audit$1i=audit,URL$s=urlShim,PASSING_FONT_DISPLAY_REGEX$1=/^(block|fallback|optional|swap)$/,CSS_URL_REGEX=/url\((.*?)\)/,CSS_URL_GLOBAL_REGEX=new RegExp(CSS_URL_REGEX,"g"),i18n$1h=i18n$2H,Sentry=sentry,NetworkRecords$s=networkRecords,UIStrings$1g={title:"All text remains visible during webfont loads",failureTitle:"Ensure text remains visible during webfont load",description:"Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. [Learn more](https://web.dev/font-display/).",
906
+ errorsInConsole.exports.UIStrings=UIStrings$1h;const makeComputedArtifact$o=computedArtifact,SCREENSHOT_TRACE_NAME="Screenshot";class Screenshots$1{static async compute_(e){return e.traceEvents.filter((e=>e.name===SCREENSHOT_TRACE_NAME)).map((e=>({timestamp:e.ts,datauri:`data:image/jpeg;base64,${e.args.snapshot}`})))}}var screenshots=makeComputedArtifact$o(Screenshots$1,null);const Audit$1j=audit,LHError$8=lhError.exports,ProcessedTrace$7=processedTrace,Screenshots=screenshots;class FinalScreenshot extends Audit$1j{static get meta(){return{id:"final-screenshot",scoreDisplayMode:Audit$1j.SCORING_MODES.INFORMATIVE,title:"Final Screenshot",description:"The last screenshot captured of the pageload.",requiredArtifacts:["traces","GatherContext"]}}static async audit(e,t){const r=e.traces[Audit$1j.DEFAULT_PASS],n=await ProcessedTrace$7.request(r,t),a=await Screenshots.request(r,t),{timeOrigin:i}=n.timestamps,o=a[a.length-1];if(!o){if("timespan"===e.GatherContext.gatherMode)return{
907
+ notApplicable:!0,score:1};throw new LHError$8(LHError$8.errors.NO_SCREENSHOTS)}return{score:1,details:{type:"screenshot",timing:Math.round((o.timestamp-i)/1e3),timestamp:o.timestamp,data:o.datauri}}}}var finalScreenshot=FinalScreenshot,fontDisplay={exports:{}};const Audit$1i=audit,URL$s=urlShim,PASSING_FONT_DISPLAY_REGEX$1=/^(block|fallback|optional|swap)$/,CSS_URL_REGEX=/url\((.*?)\)/,CSS_URL_GLOBAL_REGEX=new RegExp(CSS_URL_REGEX,"g"),i18n$1h=i18n$2H,Sentry=sentry,NetworkRecords$s=networkRecords,UIStrings$1g={title:"All text remains visible during webfont loads",failureTitle:"Ensure text remains visible during webfont load",description:"Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. [Learn more](https://web.dev/font-display/).",
906
908
  undeclaredFontOriginWarning:"{fontCountForOrigin, plural, =1 {Lighthouse was unable to automatically check the `font-display` value for the origin {fontOrigin}.} other {Lighthouse was unable to automatically check the `font-display` values for the origin {fontOrigin}.}}"},str_$1g=i18n$1h.createMessageInstanceIdFn("lighthouse-core/audits/font-display.js",UIStrings$1g);class FontDisplay$1 extends Audit$1i{static get meta(){return{id:"font-display",title:str_$1g(UIStrings$1g.title),failureTitle:str_$1g(UIStrings$1g.failureTitle),description:str_$1g(UIStrings$1g.description),supportedModes:["navigation"],requiredArtifacts:["devtoolsLogs","CSSUsage","URL"]}}static findFontDisplayDeclarations(e,t){const r=new Set,n=new Set;for(const a of e.CSSUsage.stylesheets){const i=a.content.replace(/(\r|\n)+/g," ").match(/@font-face\s*{(.*?)}/g)||[];for(const o of i){const i=o.match(CSS_URL_GLOBAL_REGEX);if(!i)continue
907
909
  ;const l=o.match(/font-display\s*:\s*(\w+)\s*(;|\})/),c=l&&l[1]||"",u=t.test(c)?r:n,p=i.map((e=>e.match(CSS_URL_REGEX)[1].trim())).map((e=>/^('|").*\1$/.test(e)?e.substr(1,e.length-2):e));for(const t of p)try{const r=URL$s.isValid(a.header.sourceURL)?a.header.sourceURL:e.URL.finalUrl,n=new URL$s(t,r);u.add(n.href)}catch(e){Sentry.captureException(e,{tags:{audit:this.meta.id}})}}}return{passingURLs:r,failingURLs:n}}static getWarningsForFontUrls(e){const t=new Map;for(const r of e){const e=URL$s.getOrigin(r);if(!e)continue;const n=t.get(e)||0;t.set(e,n+1)}return[...t].map((([e,t])=>str_$1g(UIStrings$1g.undeclaredFontOriginWarning,{fontCountForOrigin:t,fontOrigin:e})))}static async audit(e,t){
908
910
  const r=e.devtoolsLogs[this.DEFAULT_PASS],n=await NetworkRecords$s.request(r,t),{passingURLs:a,failingURLs:i}=FontDisplay$1.findFontDisplayDeclarations(e,PASSING_FONT_DISPLAY_REGEX$1),o=[],l=n.filter((e=>"Font"===e.resourceType)).filter((e=>!/^data:/.test(e.url))).filter((e=>!/^blob:/.test(e.url))).filter((e=>!!i.has(e.url)||(a.has(e.url)||o.push(e.url),!1))).map((e=>{const t=Math.min(1e3*(e.endTime-e.startTime),3e3);return{url:e.url,wastedMs:t}})),c=[{key:"url",itemType:"url",text:str_$1g(i18n$1h.UIStrings.columnURL)},{key:"wastedMs",itemType:"ms",text:str_$1g(i18n$1h.UIStrings.columnWastedMs)}],u=Audit$1i.makeTableDetails(c,l);return{score:Number(0===l.length),details:u,warnings:FontDisplay$1.getWarningsForFontUrls(o)}}}fontDisplay.exports=FontDisplay$1,fontDisplay.exports.UIStrings=UIStrings$1g;
@@ -921,8 +923,8 @@ const t=e.ViewportDimensions.devicePixelRatio,r=Array.from(e.ImageElements).filt
921
923
  ;function doExist(e){return!(!e||!e.icons)&&0!==e.icons.value.length}function pngSizedAtLeast(e,t){const r=t.icons.value,n=[];return r.filter((e=>{const t=e.value.type.value;if(t)return"image/png"===t;const r=e.value.src.value;return r&&new URL$p(r).pathname.endsWith(".png")})).forEach((e=>{e.value.sizes.value&&n.push(...e.value.sizes.value)})),n.filter((e=>/\d+x\d+/.test(e))).filter((t=>{const r=t.split(/x/i),n=[parseFloat(r[0]),parseFloat(r[1])];return n[0]>=e&&n[1]>=e&&n[0]===n[1]}))}function containsMaskableIcon(e){return e.icons.value.some((e=>e.value.purpose&&e.value.purpose.value&&e.value.purpose.value.includes("maskable")))}var icons$1={doExist,pngSizedAtLeast,containsMaskableIcon};const makeComputedArtifact$n=computedArtifact,icons=icons$1,PWA_DISPLAY_VALUES=["minimal-ui","fullscreen","standalone"],SUGGESTED_SHORTNAME_LENGTH=12;class ManifestValues$4{static get manifestChecks(){return[{id:"hasStartUrl",failureText:"Manifest does not contain a `start_url`",
922
924
  validate:e=>!!e.start_url.value},{id:"hasIconsAtLeast144px",failureText:"Manifest does not have a PNG icon of at least 144px",validate:e=>icons.doExist(e)&&icons.pngSizedAtLeast(144,e).length>0},{id:"hasIconsAtLeast512px",failureText:"Manifest does not have a PNG icon of at least 512px",validate:e=>icons.doExist(e)&&icons.pngSizedAtLeast(512,e).length>0},{id:"fetchesIcon",failureText:"Manifest icon failed to be fetched",validate:(e,t)=>{const r=["cannot-download-icon","no-icon-available"];return icons.doExist(e)&&!t.some((e=>r.includes(e.errorId)))}},{id:"hasPWADisplayValue",failureText:"Manifest's `display` value is not one of: "+PWA_DISPLAY_VALUES.join(" | "),validate:e=>PWA_DISPLAY_VALUES.includes(e.display.value)},{id:"hasBackgroundColor",failureText:"Manifest does not have `background_color`",validate:e=>!!e.background_color.value},{id:"hasThemeColor",failureText:"Manifest does not have `theme_color`",validate:e=>!!e.theme_color.value},{id:"hasShortName",
923
925
  failureText:"Manifest does not have `short_name`",validate:e=>!!e.short_name.value},{id:"shortNameLength",failureText:`Manifest's \`short_name\` is too long (>${SUGGESTED_SHORTNAME_LENGTH} characters) to be displayed on a homescreen without truncation`,validate:e=>!!e.short_name.value&&e.short_name.value.length<=SUGGESTED_SHORTNAME_LENGTH},{id:"hasName",failureText:"Manifest does not have `name`",validate:e=>!!e.name.value},{id:"hasMaskableIcon",failureText:"Manifest does not have at least one icon that is maskable",validate:e=>icons.doExist(e)&&icons.containsMaskableIcon(e)}]}static async compute_({WebAppManifest:e,InstallabilityErrors:t}){if(null===e)return{isParseFailure:!0,parseFailureReason:"No manifest was fetched",allChecks:[]};const r=e.value;if(void 0===r)return{isParseFailure:!0,parseFailureReason:"Manifest failed to parse as valid JSON",allChecks:[]};return{isParseFailure:!1,allChecks:ManifestValues$4.manifestChecks.map((e=>({id:e.id,failureText:e.failureText,
924
- passing:e.validate(r,t.errors)})))}}}var manifestValues=makeComputedArtifact$n(ManifestValues$4);const Audit$1e=audit,i18n$1e=i18n$2H,ManifestValues$3=manifestValues,UIStrings$1d={title:"Web app manifest and service worker meet the installability requirements",failureTitle:"Web app manifest or service worker do not meet the installability requirements",description:"Service worker is the technology that enables your app to use many Progressive Web App features, such as offline, add to homescreen, and push notifications. With proper service worker and manifest implementations, browsers can proactively prompt users to add your app to their homescreen, which can lead to higher engagement. [Learn more](https://web.dev/installable-manifest/).",columnValue:"Failure reason",displayValue:"{itemCount, plural,\n =1 {1 reason}\n other {# reasons}\n }",noErrorId:"Installability error id '{errorId}' is not recognized","not-in-main-frame":"Page is not loaded in the main frame",
925
- "not-from-secure-origin":"Page is not served from a secure origin","no-manifest":"Page has no manifest <link> URL","start-url-not-valid":"Manifest start URL is not valid","manifest-missing-name-or-short-name":"Manifest does not contain a 'name' or 'short_name' field","manifest-display-not-supported":"Manifest 'display' property must be one of 'standalone', 'fullscreen', or 'minimal-ui'","manifest-empty":"Manifest could not be fetched, is empty, or could not be parsed","no-matching-service-worker":"No matching service worker detected. You may need to reload the page, or check that the scope of the service worker for the current page encloses the scope and start URL from the manifest.","manifest-missing-suitable-icon":'Manifest does not contain a suitable icon - PNG, SVG or WebP format of at least {value0} px is required, the sizes attribute must be set, and the purpose attribute, if set, must include "any".',
926
+ passing:e.validate(r,t.errors)})))}}}var manifestValues=makeComputedArtifact$n(ManifestValues$4,["InstallabilityErrors","WebAppManifest"]);const Audit$1e=audit,i18n$1e=i18n$2H,ManifestValues$3=manifestValues,UIStrings$1d={title:"Web app manifest and service worker meet the installability requirements",failureTitle:"Web app manifest or service worker do not meet the installability requirements",description:"Service worker is the technology that enables your app to use many Progressive Web App features, such as offline, add to homescreen, and push notifications. With proper service worker and manifest implementations, browsers can proactively prompt users to add your app to their homescreen, which can lead to higher engagement. [Learn more](https://web.dev/installable-manifest/).",columnValue:"Failure reason",displayValue:"{itemCount, plural,\n =1 {1 reason}\n other {# reasons}\n }",noErrorId:"Installability error id '{errorId}' is not recognized",
927
+ "not-in-main-frame":"Page is not loaded in the main frame","not-from-secure-origin":"Page is not served from a secure origin","no-manifest":"Page has no manifest <link> URL","start-url-not-valid":"Manifest start URL is not valid","manifest-missing-name-or-short-name":"Manifest does not contain a 'name' or 'short_name' field","manifest-display-not-supported":"Manifest 'display' property must be one of 'standalone', 'fullscreen', or 'minimal-ui'","manifest-empty":"Manifest could not be fetched, is empty, or could not be parsed","no-matching-service-worker":"No matching service worker detected. You may need to reload the page, or check that the scope of the service worker for the current page encloses the scope and start URL from the manifest.","manifest-missing-suitable-icon":'Manifest does not contain a suitable icon - PNG, SVG or WebP format of at least {value0} px is required, the sizes attribute must be set, and the purpose attribute, if set, must include "any".',
926
928
  "no-acceptable-icon":'No supplied icon is at least {value0} px square in PNG, SVG or WebP format, with the purpose attribute unset or set to "any"',"cannot-download-icon":"Could not download a required icon from the manifest","no-icon-available":"Downloaded icon was empty or corrupted","platform-not-supported-on-android":"The specified application platform is not supported on Android","no-id-specified":"No Play store ID provided","ids-do-not-match":"The Play Store app URL and Play Store ID do not match","already-installed":"The app is already installed","url-not-supported-for-webapk":"A URL in the manifest contains a username, password, or port","in-incognito":"Page is loaded in an incognito window","not-offline-capable":"Page does not work offline","no-url-for-service-worker":"Could not check service worker without a 'start_url' field in the manifest","prefer-related-applications":"Manifest specifies prefer_related_applications: true",
927
929
  "prefer-related-applications-only-beta-stable":"prefer_related_applications is only supported on Chrome Beta and Stable channels on Android.","manifest-display-override-not-supported":"Manifest contains 'display_override' field, and the first supported display mode must be one of 'standalone', 'fullscreen', or 'minimal-ui'","manifest-location-changed":"Manifest URL changed while the manifest was being fetched.","warn-not-offline-capable":"Page does not work offline. The page will not be regarded as installable after Chrome 93, stable release August 2021.","protocol-timeout":"Lighthouse could not determine if there was a service worker. Please try with a newer version of Chrome.","pipeline-restarted":"PWA has been uninstalled and installability checks resetting."},str_$1d=i18n$1e.createMessageInstanceIdFn("lighthouse-core/audits/installable-manifest.js",UIStrings$1d);class InstallableManifest extends Audit$1e{static get meta(){return{id:"installable-manifest",
928
930
  title:str_$1d(UIStrings$1d.title),failureTitle:str_$1d(UIStrings$1d.failureTitle),description:str_$1d(UIStrings$1d.description),supportedModes:["navigation"],requiredArtifacts:["URL","WebAppManifest","InstallabilityErrors"]}}static getInstallabilityErrors(e){const t=e.InstallabilityErrors.errors,r=[],n=[],a=/{([^}]+)}/g;for(const e of t){if("in-incognito"===e.errorId)continue;if("warn-not-offline-capable"===e.errorId){n.push(str_$1d(UIStrings$1d[e.errorId]));continue}if("pipeline-restarted"===e.errorId)continue;const t=UIStrings$1d[e.errorId];if(void 0===t){r.push(str_$1d(UIStrings$1d.noErrorId,{errorId:e.errorId}));continue}const i=t.match(a)||[],o=e.errorArguments&&e.errorArguments.length&&e.errorArguments[0].value;if(t&&e.errorArguments.length!==i.length){const t=JSON.stringify(e.errorArguments),n=e.errorArguments.length>i.length?`${e.errorId} has unexpected arguments ${t}`:`${e.errorId} does not have the expected number of arguments.`;r.push(n)}else t&&o?r.push(str_$1d(t,{value0:o
@@ -982,26 +984,27 @@ for(;b<S;)l[c++]=o[b++];break;case 2:for(;b<S;)l[c++]=o[b++]*(o[b++]/255);break;
982
984
  Math.abs(u-p)<calculateFastModeAllowableChange(c))for(let n=t+1;n<r;n++)i(e[n],u,!0);else if(r-t>1){const o=Math.floor((t+r)/2);calculateProgressBetweenFrames(e,t,o,n,a,i),calculateProgressBetweenFrames(e,o,r,n,a,i)}}function calculateVisualProgress(e,t){const r=e[0],n=e[e.length-1];return calculateProgressBetweenFrames(e,0,e.length-1,t&&t.fastMode,(function getProgress(e){return"number"==typeof e.getProgress()?e.getProgress():calculateFrameProgress(e,r,n)}),(function setProgress(e,t,r){return e.setProgress(t,r)})),e}function calculateFrameSimilarity(e,t){const r={channels:4},n=Object.assign(e.getParsedImage(),r),a=Object.assign(t.getParsedImage(),r);return imageSSIM.compare(n,a).ssim}function calculatePerceptualProgress(e,t){const r=e[0],n=e[e.length-1],a=calculateFrameSimilarity(r,n);return calculateProgressBetweenFrames(e,0,e.length-1,t&&t.fastMode,(function getProgress(e){if("number"==typeof e.getPerceptualProgress())return e.getPerceptualProgress()
983
985
  ;const t=calculateFrameSimilarity(e,n);return Math.max(100*(t-a)/(1-a),0)}),(function setProgress(e,t,r){return e.setPerceptualProgress(t,r)})),e}function calculateSpeedIndexes(e,t){const r="number"==typeof e[0].getProgress(),n="number"==typeof e[0].getPerceptualProgress(),a=r?"getProgress":"getPerceptualProgress",i=t.startTs;let o,l;for(let t=0;t<e.length&&!l;t++)e[t][a]()>0&&(l=e[t].getTimeStamp());for(let t=0;t<e.length&&!o;t++)e[t][a]()>=100&&(o=e[t].getTimeStamp());let c=e[0].getTimeStamp(),u=e[0].getProgress(),p=e[0].getPerceptualProgress(),f=l-i,b=l-i;return e.forEach((function(e){if(e.getTimeStamp()>l){const t=e.getTimeStamp()-c;f+=t*(1-u),b+=t*(1-p)}c=e.getTimeStamp(),u=e.getProgress()/100,p=e.getPerceptualProgress()/100})),f=r?f:void 0,b=n?b:void 0,{firstPaintTs:l,visuallyCompleteTs:o,speedIndex:f,perceptualSpeedIndex:b}}var speedIndex$3={calculateFastModeAllowableChange,calculateFrameSimilarity,calculateVisualProgress,calculatePerceptualProgress,calculateSpeedIndexes}
984
986
  ;const frame=frame_1,speedIndex$2=speedIndex$3;function calculateValues(e,t){const r=speedIndex$2.calculateSpeedIndexes(e,t),n=Math.floor(t.endTs-t.startTs),a=Math.floor(r.firstPaintTs-t.startTs),i=Math.floor(r.visuallyCompleteTs-t.startTs);return{beginning:t.startTs,end:t.endTs,frames:e,first:a,complete:i,duration:n,speedIndex:r.speedIndex,perceptualSpeedIndex:r.perceptualSpeedIndex}}const Include={All:"all",pSI:"perceptualSpeedIndex",SI:"speedIndex"};var lib=function(e,t){const r=t&&t.include||Include.All;if(!Object.keys(Include).some((e=>Include[e]===r)))throw new Error(`Unrecognized include option: ${r}`);return frame.extractFramesFromTimeline(e,t).then((function(e){const n=e.frames;return r!==Include.All&&r!==Include.SI||speedIndex$2.calculateVisualProgress(n,t),r!==Include.All&&r!==Include.pSI||speedIndex$2.calculatePerceptualProgress(n,t),calculateValues(n,e)}))};const makeComputedArtifact$m=computedArtifact,speedline=lib,LHError$7=lhError.exports,ProcessedTrace$6=processedTrace
985
- ;class Speedline$4{static async compute_(e,t){return ProcessedTrace$6.request(e,t).then((t=>{const r=e.traceEvents.slice(),n=t.timestamps.timeOrigin;return speedline(r,{timeOrigin:n,fastMode:!0,include:"speedIndex"})})).catch((e=>{if(/No screenshots found in trace/.test(e.message))throw new LHError$7(LHError$7.errors.NO_SCREENSHOTS);throw e})).then((e=>{if(0===e.frames.length)throw new LHError$7(LHError$7.errors.NO_SPEEDLINE_FRAMES);if(0===e.speedIndex)throw new LHError$7(LHError$7.errors.SPEEDINDEX_OF_ZERO);return e}))}}var speedline_1=makeComputedArtifact$m(Speedline$4);const makeComputedArtifact$l=computedArtifact,NavigationMetric$5=navigationMetric;class FirstContentfulPaintAllFrames$1 extends NavigationMetric$5{static computeSimulatedMetric(){throw new Error("FCP All Frames not implemented in lantern")}static async computeObservedMetric(e){const{processedNavigation:t}=e;return{timing:t.timings.firstContentfulPaintAllFrames,timestamp:t.timestamps.firstContentfulPaintAllFrames}}}
986
- var firstContentfulPaintAllFrames=makeComputedArtifact$l(FirstContentfulPaintAllFrames$1);const makeComputedArtifact$k=computedArtifact,NavigationMetric$4=navigationMetric,LHError$6=lhError.exports,LanternFirstMeaningfulPaint=lanternFirstMeaningfulPaint;class FirstMeaningfulPaint$2 extends NavigationMetric$4{static computeSimulatedMetric(e,t){const r=NavigationMetric$4.getMetricComputationInput(e);return LanternFirstMeaningfulPaint.request(r,t)}static async computeObservedMetric(e){const{processedNavigation:t}=e;if(void 0===t.timings.firstMeaningfulPaint)throw new LHError$6(LHError$6.errors.NO_FMP);return{timing:t.timings.firstMeaningfulPaint,timestamp:t.timestamps.firstMeaningfulPaint}}}var firstMeaningfulPaint$1=makeComputedArtifact$k(FirstMeaningfulPaint$2);const makeComputedArtifact$j=computedArtifact,LanternMetric$3=lanternMetric,LHError$5=lhError.exports,LanternFirstContentfulPaint$3=lanternFirstContentfulPaint;class LanternLargestContentfulPaint$1 extends LanternMetric$3{
987
- static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static isNotLowPriorityImageNode(e){if("network"!==e.type)return!0;const t="Image"===e.record.resourceType,r="Low"===e.record.priority||"VeryLow"===e.record.priority;return!t||!r}static getOptimisticGraph(e,t){const r=t.timestamps.largestContentfulPaint;if(!r)throw new LHError$5(LHError$5.errors.NO_LCP);return LanternFirstContentfulPaint$3.getFirstPaintBasedGraph(e,r,LanternLargestContentfulPaint$1.isNotLowPriorityImageNode)}static getPessimisticGraph(e,t){const r=t.timestamps.largestContentfulPaint;if(!r)throw new LHError$5(LHError$5.errors.NO_LCP);return LanternFirstContentfulPaint$3.getFirstPaintBasedGraph(e,r,(e=>!0),(e=>e.didPerformLayout()))}static getEstimateFromSimulation(e){const t=Array.from(e.nodeTimings.entries()).filter((e=>LanternLargestContentfulPaint$1.isNotLowPriorityImageNode(e[0]))).map((e=>e[1].endTime));return{timeInMs:Math.max(...t),nodeTimings:e.nodeTimings}}static async compute_(e,t){
988
- const r=await LanternFirstContentfulPaint$3.request(e,t),n=await this.computeMetricWithGraphs(e,t);return n.timing=Math.max(n.timing,r.timing),n}}var lanternLargestContentfulPaint=makeComputedArtifact$j(LanternLargestContentfulPaint$1);const makeComputedArtifact$i=computedArtifact,NavigationMetric$3=navigationMetric,LHError$4=lhError.exports,LanternLargestContentfulPaint=lanternLargestContentfulPaint;class LargestContentfulPaint$2 extends NavigationMetric$3{static computeSimulatedMetric(e,t){const r=NavigationMetric$3.getMetricComputationInput(e);return LanternLargestContentfulPaint.request(r,t)}static async computeObservedMetric(e){const{processedNavigation:t}=e;if(void 0===t.timings.largestContentfulPaint)throw new LHError$4(LHError$4.errors.NO_LCP);return{timing:t.timings.largestContentfulPaint,timestamp:t.timestamps.largestContentfulPaint}}}var largestContentfulPaint$1=makeComputedArtifact$i(LargestContentfulPaint$2)
989
- ;const makeComputedArtifact$h=computedArtifact,NavigationMetric$2=navigationMetric,LHError$3=lhError.exports;class LargestContentfulPaintAllFrames$1 extends NavigationMetric$2{static async computeSimulatedMetric(){throw new Error("LCP All Frames not implemented in lantern")}static async computeObservedMetric(e){const{processedNavigation:t}=e;if(void 0===t.timings.largestContentfulPaintAllFrames)throw new LHError$3(LHError$3.errors.NO_LCP_ALL_FRAMES);return{timing:t.timings.largestContentfulPaintAllFrames,timestamp:t.timestamps.largestContentfulPaintAllFrames}}}var largestContentfulPaintAllFrames=makeComputedArtifact$h(LargestContentfulPaintAllFrames$1);const makeComputedArtifact$g=computedArtifact,ProcessedTrace$5=processedTrace,LHError$2=lhError.exports;class CumulativeLayoutShift$2{static getLayoutShiftEvents(e){const t=[];let r=!0;for(const n of e)if("LayoutShift"===n.name&&n.args.data&&void 0!==n.args.data.is_main_frame){
990
- if(void 0===n.args.data.weighted_score_delta)throw new LHError$2(LHError$2.errors.UNSUPPORTED_OLD_CHROME,{featureName:"Cumulative Layout Shift"});if(n.args.data.had_recent_input){if(!r)continue}else r=!1;t.push({ts:n.ts,isMainFrame:n.args.data.is_main_frame,weightedScore:n.args.data.weighted_score_delta})}return t}static calculate(e){let t=0,r=0,n=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY;for(const i of e)(i.ts-n>5e6||i.ts-a>1e6)&&(n=i.ts,r=0),a=i.ts,r+=i.weightedScore,t=Math.max(t,r);return t}static calculateTotalCumulativeLayoutShift(e){return e.reduce(((e,t)=>e+t.weightedScore),0)}static async compute_(e,t){const r=await ProcessedTrace$5.request(e,t),n=CumulativeLayoutShift$2.getLayoutShiftEvents(r.frameTreeEvents),a=n.filter((e=>e.isMainFrame)),i=CumulativeLayoutShift$2.calculateTotalCumulativeLayoutShift(a);return{cumulativeLayoutShift:CumulativeLayoutShift$2.calculate(n),cumulativeLayoutShiftMainFrame:CumulativeLayoutShift$2.calculate(a),totalCumulativeLayoutShift:i}}}
991
- var cumulativeLayoutShift$1=makeComputedArtifact$g(CumulativeLayoutShift$2);const makeComputedArtifact$f=computedArtifact,LanternMetric$2=lanternMetric,BaseNode$5=baseNode,Speedline$3=speedline_1,LanternFirstContentfulPaint$2=lanternFirstContentfulPaint,defaultThrottling=constants$7.throttling;class LanternSpeedIndex$2 extends LanternMetric$2{static get COEFFICIENTS(){return{intercept:-250,optimistic:1.4,pessimistic:.65}}static getScaledCoefficients(e){const t=this.COEFFICIENTS,r=defaultThrottling.mobileSlow4G.rttMs-30,n=Math.max((e-30)/r,0);return{intercept:t.intercept*n,optimistic:.5+(t.optimistic-.5)*n,pessimistic:.5+(t.pessimistic-.5)*n}}static getOptimisticGraph(e){return e}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fcpResult)throw new Error("missing fcpResult");if(!t.speedline)throw new Error("missing speedline");const r=t.fcpResult.pessimisticEstimate.timeInMs;return{
992
- timeInMs:t.optimistic?t.speedline.speedIndex:LanternSpeedIndex$2.computeLayoutBasedSpeedIndex(e.nodeTimings,r),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await Speedline$3.request(e.trace,t),n=await LanternFirstContentfulPaint$2.request(e,t),a=await this.computeMetricWithGraphs(e,t,{speedline:r,fcpResult:n});return a.timing=Math.max(a.timing,n.timing),a}static computeLayoutBasedSpeedIndex(e,t){const r=[];for(const[t,n]of e.entries())if(t.type===BaseNode$5.TYPES.CPU&&t.childEvents.some((e=>"Layout"===e.name))){const e=Math.max(Math.log2(n.endTime-n.startTime),0);r.push({time:n.endTime,weight:e})}const n=r.map((e=>e.weight*Math.max(e.time,t))).reduce(((e,t)=>e+t),0),a=r.map((e=>e.weight)).reduce(((e,t)=>e+t),0);return a?n/a:t}}var lanternSpeedIndex=makeComputedArtifact$f(LanternSpeedIndex$2);const makeComputedArtifact$e=computedArtifact,NavigationMetric$1=navigationMetric,LanternSpeedIndex$1=lanternSpeedIndex,Speedline$2=speedline_1
993
- ;class SpeedIndex$2 extends NavigationMetric$1{static computeSimulatedMetric(e,t){const r=NavigationMetric$1.getMetricComputationInput(e);return LanternSpeedIndex$1.request(r,t)}static async computeObservedMetric(e,t){const r=await Speedline$2.request(e.trace,t),n=Math.round(r.speedIndex),a=1e3*(n+r.beginning);return Promise.resolve({timing:n,timestamp:a})}}var speedIndex$1=makeComputedArtifact$e(SpeedIndex$2);const makeComputedArtifact$d=computedArtifact,LanternMetricArtifact=lanternMetric,BaseNode$4=baseNode,LanternFirstContentfulPaint$1=lanternFirstContentfulPaint;class LanternMaxPotentialFID$1 extends LanternMetricArtifact{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e){return e}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fcpResult)throw new Error("missing fcpResult")
994
- ;const r=t.optimistic?t.fcpResult.pessimisticEstimate.timeInMs:t.fcpResult.optimisticEstimate.timeInMs,n=LanternMaxPotentialFID$1.getTimingsAfterFCP(e.nodeTimings,r);return{timeInMs:Math.max(...n.map((e=>e.duration)),16),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await LanternFirstContentfulPaint$1.request(e,t);return super.computeMetricWithGraphs(e,t,{fcpResult:r})}static getTimingsAfterFCP(e,t){return Array.from(e.entries()).filter((([e,r])=>e.type===BaseNode$4.TYPES.CPU&&r.endTime>t)).map((([e,t])=>t))}}var lanternMaxPotentialFid=makeComputedArtifact$d(LanternMaxPotentialFID$1);const makeComputedArtifact$c=computedArtifact,NavigationMetric=navigationMetric,LanternMaxPotentialFID=lanternMaxPotentialFid,TracingProcessor=traceProcessor;class MaxPotentialFID$2 extends NavigationMetric{static computeSimulatedMetric(e,t){const r=NavigationMetric.getMetricComputationInput(e);return LanternMaxPotentialFID.request(r,t)}static computeObservedMetric(e){
995
- const{firstContentfulPaint:t}=e.processedNavigation.timings,r=TracingProcessor.getMainThreadTopLevelEvents(e.processedTrace,t).filter((e=>e.duration>=1));return Promise.resolve({timing:Math.max(...r.map((e=>e.duration)),16)})}}var maxPotentialFid$1=makeComputedArtifact$c(MaxPotentialFID$2);const BLOCKING_TIME_THRESHOLD$1=50;function calculateSumOfBlockingTime$2(e,t,r){if(r<=t)return 0;const n=BLOCKING_TIME_THRESHOLD$1;let a=0;for(const i of e){if(i.duration<n)continue;if(i.end<t)continue;if(i.start>r)continue;const e=Math.max(i.start,t),o=Math.min(i.end,r)-e;o<n||(a+=o-n)}return a}var tbtUtils={BLOCKING_TIME_THRESHOLD:BLOCKING_TIME_THRESHOLD$1,calculateSumOfBlockingTime:calculateSumOfBlockingTime$2};const makeComputedArtifact$b=computedArtifact,LanternMetric$1=lanternMetric,BaseNode$3=baseNode,LanternFirstContentfulPaint=lanternFirstContentfulPaint,LanternInteractive$2=lanternInteractive,{BLOCKING_TIME_THRESHOLD,calculateSumOfBlockingTime:calculateSumOfBlockingTime$1}=tbtUtils
996
- ;class LanternTotalBlockingTime$1 extends LanternMetric$1{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e){return e}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fcpResult)throw new Error("missing fcpResult");if(!t.interactiveResult)throw new Error("missing interactiveResult");const r=t.optimistic?t.fcpResult.pessimisticEstimate.timeInMs:t.fcpResult.optimisticEstimate.timeInMs,n=t.optimistic?t.interactiveResult.optimisticEstimate.timeInMs:t.interactiveResult.pessimisticEstimate.timeInMs,a=BLOCKING_TIME_THRESHOLD,i=LanternTotalBlockingTime$1.getTopLevelEvents(e.nodeTimings,a);return{timeInMs:calculateSumOfBlockingTime$1(i,r,n),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await LanternFirstContentfulPaint.request(e,t),n=await LanternInteractive$2.request(e,t);return this.computeMetricWithGraphs(e,t,{fcpResult:r,interactiveResult:n})}static getTopLevelEvents(e,t){const r=[]
997
- ;for(const[n,a]of e.entries())n.type===BaseNode$3.TYPES.CPU&&(a.duration<t||r.push({start:a.startTime,end:a.endTime,duration:a.duration}));return r}}var lanternTotalBlockingTime=makeComputedArtifact$b(LanternTotalBlockingTime$1);const makeComputedArtifact$a=computedArtifact,ComputedMetric$5=metric,TraceProcessor=traceProcessor,LanternTotalBlockingTime=lanternTotalBlockingTime,TimetoInteractive=interactive$1,{calculateSumOfBlockingTime}=tbtUtils;class TotalBlockingTime$2 extends ComputedMetric$5{static computeSimulatedMetric(e,t){const r=ComputedMetric$5.getMetricComputationInput(e);return LanternTotalBlockingTime.request(r,t)}static async computeObservedMetric(e,t){const r=TraceProcessor.getMainThreadTopLevelEvents(e.processedTrace);if(e.processedNavigation){const{firstContentfulPaint:n}=e.processedNavigation.timings,a=ComputedMetric$5.getMetricComputationInput(e),i=(await TimetoInteractive.request(a,t)).timing;return{timing:calculateSumOfBlockingTime(r,n,i)}}return{
998
- timing:calculateSumOfBlockingTime(r,0,e.processedTrace.timestamps.traceEnd)}}}var totalBlockingTime$1=makeComputedArtifact$a(TotalBlockingTime$2);const ProcessedTrace$4=processedTrace,ProcessedNavigation$2=processedNavigation,Speedline$1=speedline_1,FirstContentfulPaint$1=firstContentfulPaint$1,FirstContentfulPaintAllFrames=firstContentfulPaintAllFrames,FirstMeaningfulPaint$1=firstMeaningfulPaint$1,LargestContentfulPaint$1=largestContentfulPaint$1,LargestContentfulPaintAllFrames=largestContentfulPaintAllFrames,Interactive$1=interactive$1,CumulativeLayoutShift$1=cumulativeLayoutShift$1,SpeedIndex$1=speedIndex$1,MaxPotentialFID$1=maxPotentialFid$1,TotalBlockingTime$1=totalBlockingTime$1,makeComputedArtifact$9=computedArtifact;class TimingSummary$1{static async summarize(e,t,r,n,a){const i={trace:e,devtoolsLog:t,gatherContext:r,settings:n
987
+ ;class Speedline$4{static async compute_(e,t){return ProcessedTrace$6.request(e,t).then((t=>{const r=e.traceEvents.slice(),n=t.timestamps.timeOrigin;return speedline(r,{timeOrigin:n,fastMode:!0,include:"speedIndex"})})).catch((e=>{if(/No screenshots found in trace/.test(e.message))throw new LHError$7(LHError$7.errors.NO_SCREENSHOTS);throw e})).then((e=>{if(0===e.frames.length)throw new LHError$7(LHError$7.errors.NO_SPEEDLINE_FRAMES);if(0===e.speedIndex)throw new LHError$7(LHError$7.errors.SPEEDINDEX_OF_ZERO);return e}))}}var speedline_1=makeComputedArtifact$m(Speedline$4,null);const makeComputedArtifact$l=computedArtifact,NavigationMetric$5=navigationMetric;class FirstContentfulPaintAllFrames$1 extends NavigationMetric$5{static computeSimulatedMetric(){throw new Error("FCP All Frames not implemented in lantern")}static async computeObservedMetric(e){const{processedNavigation:t}=e;return{timing:t.timings.firstContentfulPaintAllFrames,timestamp:t.timestamps.firstContentfulPaintAllFrames}
988
+ }}var firstContentfulPaintAllFrames=makeComputedArtifact$l(FirstContentfulPaintAllFrames$1,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$k=computedArtifact,NavigationMetric$4=navigationMetric,LHError$6=lhError.exports,LanternFirstMeaningfulPaint=lanternFirstMeaningfulPaint;class FirstMeaningfulPaint$2 extends NavigationMetric$4{static computeSimulatedMetric(e,t){const r=NavigationMetric$4.getMetricComputationInput(e);return LanternFirstMeaningfulPaint.request(r,t)}static async computeObservedMetric(e){const{processedNavigation:t}=e;if(void 0===t.timings.firstMeaningfulPaint)throw new LHError$6(LHError$6.errors.NO_FMP);return{timing:t.timings.firstMeaningfulPaint,timestamp:t.timestamps.firstMeaningfulPaint}}}var firstMeaningfulPaint$1=makeComputedArtifact$k(FirstMeaningfulPaint$2,["devtoolsLog","gatherContext","settings","simulator","trace"])
989
+ ;const makeComputedArtifact$j=computedArtifact,LanternMetric$3=lanternMetric,LHError$5=lhError.exports,LanternFirstContentfulPaint$3=lanternFirstContentfulPaint;class LanternLargestContentfulPaint$1 extends LanternMetric$3{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static isNotLowPriorityImageNode(e){if("network"!==e.type)return!0;const t="Image"===e.record.resourceType,r="Low"===e.record.priority||"VeryLow"===e.record.priority;return!t||!r}static getOptimisticGraph(e,t){const r=t.timestamps.largestContentfulPaint;if(!r)throw new LHError$5(LHError$5.errors.NO_LCP);return LanternFirstContentfulPaint$3.getFirstPaintBasedGraph(e,r,LanternLargestContentfulPaint$1.isNotLowPriorityImageNode)}static getPessimisticGraph(e,t){const r=t.timestamps.largestContentfulPaint;if(!r)throw new LHError$5(LHError$5.errors.NO_LCP);return LanternFirstContentfulPaint$3.getFirstPaintBasedGraph(e,r,(e=>!0),(e=>e.didPerformLayout()))}static getEstimateFromSimulation(e){
990
+ const t=Array.from(e.nodeTimings.entries()).filter((e=>LanternLargestContentfulPaint$1.isNotLowPriorityImageNode(e[0]))).map((e=>e[1].endTime));return{timeInMs:Math.max(...t),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await LanternFirstContentfulPaint$3.request(e,t),n=await this.computeMetricWithGraphs(e,t);return n.timing=Math.max(n.timing,r.timing),n}}var lanternLargestContentfulPaint=makeComputedArtifact$j(LanternLargestContentfulPaint$1,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$i=computedArtifact,NavigationMetric$3=navigationMetric,LHError$4=lhError.exports,LanternLargestContentfulPaint=lanternLargestContentfulPaint;class LargestContentfulPaint$2 extends NavigationMetric$3{static computeSimulatedMetric(e,t){const r=NavigationMetric$3.getMetricComputationInput(e);return LanternLargestContentfulPaint.request(r,t)}static async computeObservedMetric(e){const{processedNavigation:t}=e
991
+ ;if(void 0===t.timings.largestContentfulPaint)throw new LHError$4(LHError$4.errors.NO_LCP);return{timing:t.timings.largestContentfulPaint,timestamp:t.timestamps.largestContentfulPaint}}}var largestContentfulPaint$1=makeComputedArtifact$i(LargestContentfulPaint$2,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$h=computedArtifact,NavigationMetric$2=navigationMetric,LHError$3=lhError.exports;class LargestContentfulPaintAllFrames$1 extends NavigationMetric$2{static async computeSimulatedMetric(){throw new Error("LCP All Frames not implemented in lantern")}static async computeObservedMetric(e){const{processedNavigation:t}=e;if(void 0===t.timings.largestContentfulPaintAllFrames)throw new LHError$3(LHError$3.errors.NO_LCP_ALL_FRAMES);return{timing:t.timings.largestContentfulPaintAllFrames,timestamp:t.timestamps.largestContentfulPaintAllFrames}}}
992
+ var largestContentfulPaintAllFrames=makeComputedArtifact$h(LargestContentfulPaintAllFrames$1,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$g=computedArtifact,ProcessedTrace$5=processedTrace,LHError$2=lhError.exports;class CumulativeLayoutShift$2{static getLayoutShiftEvents(e){const t=[];let r=!0;for(const n of e)if("LayoutShift"===n.name&&n.args.data&&void 0!==n.args.data.is_main_frame){if(void 0===n.args.data.weighted_score_delta)throw new LHError$2(LHError$2.errors.UNSUPPORTED_OLD_CHROME,{featureName:"Cumulative Layout Shift"});if(n.args.data.had_recent_input){if(!r)continue}else r=!1;t.push({ts:n.ts,isMainFrame:n.args.data.is_main_frame,weightedScore:n.args.data.weighted_score_delta})}return t}static calculate(e){let t=0,r=0,n=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY;for(const i of e)(i.ts-n>5e6||i.ts-a>1e6)&&(n=i.ts,r=0),a=i.ts,r+=i.weightedScore,t=Math.max(t,r);return t}static calculateTotalCumulativeLayoutShift(e){
993
+ return e.reduce(((e,t)=>e+t.weightedScore),0)}static async compute_(e,t){const r=await ProcessedTrace$5.request(e,t),n=CumulativeLayoutShift$2.getLayoutShiftEvents(r.frameTreeEvents),a=n.filter((e=>e.isMainFrame)),i=CumulativeLayoutShift$2.calculateTotalCumulativeLayoutShift(a);return{cumulativeLayoutShift:CumulativeLayoutShift$2.calculate(n),cumulativeLayoutShiftMainFrame:CumulativeLayoutShift$2.calculate(a),totalCumulativeLayoutShift:i}}}var cumulativeLayoutShift$1=makeComputedArtifact$g(CumulativeLayoutShift$2,null);const makeComputedArtifact$f=computedArtifact,LanternMetric$2=lanternMetric,BaseNode$5=baseNode,Speedline$3=speedline_1,LanternFirstContentfulPaint$2=lanternFirstContentfulPaint,defaultThrottling=constants$7.throttling;class LanternSpeedIndex$2 extends LanternMetric$2{static get COEFFICIENTS(){return{intercept:-250,optimistic:1.4,pessimistic:.65}}static getScaledCoefficients(e){const t=this.COEFFICIENTS,r=defaultThrottling.mobileSlow4G.rttMs-30,n=Math.max((e-30)/r,0)
994
+ ;return{intercept:t.intercept*n,optimistic:.5+(t.optimistic-.5)*n,pessimistic:.5+(t.pessimistic-.5)*n}}static getOptimisticGraph(e){return e}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fcpResult)throw new Error("missing fcpResult");if(!t.speedline)throw new Error("missing speedline");const r=t.fcpResult.pessimisticEstimate.timeInMs;return{timeInMs:t.optimistic?t.speedline.speedIndex:LanternSpeedIndex$2.computeLayoutBasedSpeedIndex(e.nodeTimings,r),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await Speedline$3.request(e.trace,t),n=await LanternFirstContentfulPaint$2.request(e,t),a=await this.computeMetricWithGraphs(e,t,{speedline:r,fcpResult:n});return a.timing=Math.max(a.timing,n.timing),a}static computeLayoutBasedSpeedIndex(e,t){const r=[];for(const[t,n]of e.entries())if(t.type===BaseNode$5.TYPES.CPU&&t.childEvents.some((e=>"Layout"===e.name))){const e=Math.max(Math.log2(n.endTime-n.startTime),0);r.push({time:n.endTime,weight:e})
995
+ }const n=r.map((e=>e.weight*Math.max(e.time,t))).reduce(((e,t)=>e+t),0),a=r.map((e=>e.weight)).reduce(((e,t)=>e+t),0);return a?n/a:t}}var lanternSpeedIndex=makeComputedArtifact$f(LanternSpeedIndex$2,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$e=computedArtifact,NavigationMetric$1=navigationMetric,LanternSpeedIndex$1=lanternSpeedIndex,Speedline$2=speedline_1;class SpeedIndex$2 extends NavigationMetric$1{static computeSimulatedMetric(e,t){const r=NavigationMetric$1.getMetricComputationInput(e);return LanternSpeedIndex$1.request(r,t)}static async computeObservedMetric(e,t){const r=await Speedline$2.request(e.trace,t),n=Math.round(r.speedIndex),a=1e3*(n+r.beginning);return Promise.resolve({timing:n,timestamp:a})}}var speedIndex$1=makeComputedArtifact$e(SpeedIndex$2,["devtoolsLog","gatherContext","settings","simulator","trace"])
996
+ ;const makeComputedArtifact$d=computedArtifact,LanternMetricArtifact=lanternMetric,BaseNode$4=baseNode,LanternFirstContentfulPaint$1=lanternFirstContentfulPaint;class LanternMaxPotentialFID$1 extends LanternMetricArtifact{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e){return e}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fcpResult)throw new Error("missing fcpResult");const r=t.optimistic?t.fcpResult.pessimisticEstimate.timeInMs:t.fcpResult.optimisticEstimate.timeInMs,n=LanternMaxPotentialFID$1.getTimingsAfterFCP(e.nodeTimings,r);return{timeInMs:Math.max(...n.map((e=>e.duration)),16),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await LanternFirstContentfulPaint$1.request(e,t);return super.computeMetricWithGraphs(e,t,{fcpResult:r})}static getTimingsAfterFCP(e,t){return Array.from(e.entries()).filter((([e,r])=>e.type===BaseNode$4.TYPES.CPU&&r.endTime>t)).map((([e,t])=>t))}}
997
+ var lanternMaxPotentialFid=makeComputedArtifact$d(LanternMaxPotentialFID$1,["devtoolsLog","gatherContext","settings","simulator","trace"]);const makeComputedArtifact$c=computedArtifact,NavigationMetric=navigationMetric,LanternMaxPotentialFID=lanternMaxPotentialFid,TracingProcessor=traceProcessor;class MaxPotentialFID$2 extends NavigationMetric{static computeSimulatedMetric(e,t){const r=NavigationMetric.getMetricComputationInput(e);return LanternMaxPotentialFID.request(r,t)}static computeObservedMetric(e){const{firstContentfulPaint:t}=e.processedNavigation.timings,r=TracingProcessor.getMainThreadTopLevelEvents(e.processedTrace,t).filter((e=>e.duration>=1));return Promise.resolve({timing:Math.max(...r.map((e=>e.duration)),16)})}}var maxPotentialFid$1=makeComputedArtifact$c(MaxPotentialFID$2,["devtoolsLog","gatherContext","settings","simulator","trace"]);const BLOCKING_TIME_THRESHOLD$1=50;function calculateSumOfBlockingTime$2(e,t,r){if(r<=t)return 0;const n=BLOCKING_TIME_THRESHOLD$1
998
+ ;let a=0;for(const i of e){if(i.duration<n)continue;if(i.end<t)continue;if(i.start>r)continue;const e=Math.max(i.start,t),o=Math.min(i.end,r)-e;o<n||(a+=o-n)}return a}var tbtUtils={BLOCKING_TIME_THRESHOLD:BLOCKING_TIME_THRESHOLD$1,calculateSumOfBlockingTime:calculateSumOfBlockingTime$2};const makeComputedArtifact$b=computedArtifact,LanternMetric$1=lanternMetric,BaseNode$3=baseNode,LanternFirstContentfulPaint=lanternFirstContentfulPaint,LanternInteractive$2=lanternInteractive,{BLOCKING_TIME_THRESHOLD,calculateSumOfBlockingTime:calculateSumOfBlockingTime$1}=tbtUtils;class LanternTotalBlockingTime$1 extends LanternMetric$1{static get COEFFICIENTS(){return{intercept:0,optimistic:.5,pessimistic:.5}}static getOptimisticGraph(e){return e}static getPessimisticGraph(e){return e}static getEstimateFromSimulation(e,t){if(!t.fcpResult)throw new Error("missing fcpResult");if(!t.interactiveResult)throw new Error("missing interactiveResult")
999
+ ;const r=t.optimistic?t.fcpResult.pessimisticEstimate.timeInMs:t.fcpResult.optimisticEstimate.timeInMs,n=t.optimistic?t.interactiveResult.optimisticEstimate.timeInMs:t.interactiveResult.pessimisticEstimate.timeInMs,a=BLOCKING_TIME_THRESHOLD,i=LanternTotalBlockingTime$1.getTopLevelEvents(e.nodeTimings,a);return{timeInMs:calculateSumOfBlockingTime$1(i,r,n),nodeTimings:e.nodeTimings}}static async compute_(e,t){const r=await LanternFirstContentfulPaint.request(e,t),n=await LanternInteractive$2.request(e,t);return this.computeMetricWithGraphs(e,t,{fcpResult:r,interactiveResult:n})}static getTopLevelEvents(e,t){const r=[];for(const[n,a]of e.entries())n.type===BaseNode$3.TYPES.CPU&&(a.duration<t||r.push({start:a.startTime,end:a.endTime,duration:a.duration}));return r}}var lanternTotalBlockingTime=makeComputedArtifact$b(LanternTotalBlockingTime$1,["devtoolsLog","gatherContext","settings","simulator","trace"])
1000
+ ;const makeComputedArtifact$a=computedArtifact,ComputedMetric$5=metric,TraceProcessor=traceProcessor,LanternTotalBlockingTime=lanternTotalBlockingTime,TimetoInteractive=interactive$1,{calculateSumOfBlockingTime}=tbtUtils;class TotalBlockingTime$2 extends ComputedMetric$5{static computeSimulatedMetric(e,t){const r=ComputedMetric$5.getMetricComputationInput(e);return LanternTotalBlockingTime.request(r,t)}static async computeObservedMetric(e,t){const r=TraceProcessor.getMainThreadTopLevelEvents(e.processedTrace);if(e.processedNavigation){const{firstContentfulPaint:n}=e.processedNavigation.timings,a=ComputedMetric$5.getMetricComputationInput(e),i=(await TimetoInteractive.request(a,t)).timing;return{timing:calculateSumOfBlockingTime(r,n,i)}}return{timing:calculateSumOfBlockingTime(r,0,e.processedTrace.timestamps.traceEnd)}}}var totalBlockingTime$1=makeComputedArtifact$a(TotalBlockingTime$2,["devtoolsLog","gatherContext","settings","simulator","trace"])
1001
+ ;const ProcessedTrace$4=processedTrace,ProcessedNavigation$2=processedNavigation,Speedline$1=speedline_1,FirstContentfulPaint$1=firstContentfulPaint$1,FirstContentfulPaintAllFrames=firstContentfulPaintAllFrames,FirstMeaningfulPaint$1=firstMeaningfulPaint$1,LargestContentfulPaint$1=largestContentfulPaint$1,LargestContentfulPaintAllFrames=largestContentfulPaintAllFrames,Interactive$1=interactive$1,CumulativeLayoutShift$1=cumulativeLayoutShift$1,SpeedIndex$1=speedIndex$1,MaxPotentialFID$1=maxPotentialFid$1,TotalBlockingTime$1=totalBlockingTime$1,makeComputedArtifact$9=computedArtifact;class TimingSummary$1{static async summarize(e,t,r,n,a){const i={trace:e,devtoolsLog:t,gatherContext:r,settings:n
999
1002
  },requestOrUndefined=(e,t)=>e.request(t,a).catch((e=>{})),o=await ProcessedTrace$4.request(e,a),l=await requestOrUndefined(ProcessedNavigation$2,o),c=await Speedline$1.request(e,a),u=await requestOrUndefined(FirstContentfulPaint$1,i),p=await requestOrUndefined(FirstContentfulPaintAllFrames,i),f=await requestOrUndefined(FirstMeaningfulPaint$1,i),b=await requestOrUndefined(LargestContentfulPaint$1,i),S=await requestOrUndefined(LargestContentfulPaintAllFrames,i),_=await requestOrUndefined(Interactive$1,i),T=await requestOrUndefined(CumulativeLayoutShift$1,e),E=await requestOrUndefined(MaxPotentialFID$1,i),$=await requestOrUndefined(SpeedIndex$1,i),A=await requestOrUndefined(TotalBlockingTime$1,i),{cumulativeLayoutShift:I,cumulativeLayoutShiftMainFrame:R,totalCumulativeLayoutShift:x}=T||{};return{metrics:{firstContentfulPaint:u&&u.timing,firstContentfulPaintTs:u&&u.timestamp,firstContentfulPaintAllFrames:p&&p.timing,firstContentfulPaintAllFramesTs:p&&p.timestamp,
1000
1003
  firstMeaningfulPaint:f&&f.timing,firstMeaningfulPaintTs:f&&f.timestamp,largestContentfulPaint:b&&b.timing,largestContentfulPaintTs:b&&b.timestamp,largestContentfulPaintAllFrames:S&&S.timing,largestContentfulPaintAllFramesTs:S&&S.timestamp,interactive:_&&_.timing,interactiveTs:_&&_.timestamp,speedIndex:$&&$.timing,speedIndexTs:$&&$.timestamp,totalBlockingTime:A&&A.timing,maxPotentialFID:E&&E.timing,cumulativeLayoutShift:I,cumulativeLayoutShiftMainFrame:R,totalCumulativeLayoutShift:x,observedTimeOrigin:o.timings.timeOrigin,observedTimeOriginTs:o.timestamps.timeOrigin,observedNavigationStart:l&&l.timings.timeOrigin,observedNavigationStartTs:l&&l.timestamps.timeOrigin,observedFirstPaint:l&&l.timings.firstPaint,observedFirstPaintTs:l&&l.timestamps.firstPaint,observedFirstContentfulPaint:l&&l.timings.firstContentfulPaint,observedFirstContentfulPaintTs:l&&l.timestamps.firstContentfulPaint,observedFirstContentfulPaintAllFrames:l&&l.timings.firstContentfulPaintAllFrames,
1001
1004
  observedFirstContentfulPaintAllFramesTs:l&&l.timestamps.firstContentfulPaintAllFrames,observedFirstMeaningfulPaint:l&&l.timings.firstMeaningfulPaint,observedFirstMeaningfulPaintTs:l&&l.timestamps.firstMeaningfulPaint,observedLargestContentfulPaint:l&&l.timings.largestContentfulPaint,observedLargestContentfulPaintTs:l&&l.timestamps.largestContentfulPaint,observedLargestContentfulPaintAllFrames:l&&l.timings.largestContentfulPaintAllFrames,observedLargestContentfulPaintAllFramesTs:l&&l.timestamps.largestContentfulPaintAllFrames,observedTraceEnd:o.timings.traceEnd,observedTraceEndTs:o.timestamps.traceEnd,observedLoad:l&&l.timings.load,observedLoadTs:l&&l.timestamps.load,observedDomContentLoaded:l&&l.timings.domContentLoaded,observedDomContentLoadedTs:l&&l.timestamps.domContentLoaded,observedCumulativeLayoutShift:I,observedCumulativeLayoutShiftMainFrame:R,observedTotalCumulativeLayoutShift:x,observedFirstVisualChange:c.first,observedFirstVisualChangeTs:1e3*(c.first+c.beginning),
1002
- observedLastVisualChange:c.complete,observedLastVisualChangeTs:1e3*(c.complete+c.beginning),observedSpeedIndex:c.speedIndex,observedSpeedIndexTs:1e3*(c.speedIndex+c.beginning)},debugInfo:{lcpInvalidated:!(!l||!l.lcpInvalidated)}}}static async compute_(e,t){return TimingSummary$1.summarize(e.trace,e.devtoolsLog,e.gatherContext,e.settings,t)}}var timingSummary=makeComputedArtifact$9(TimingSummary$1);const Audit$15=audit,ComputedTimingSummary=timingSummary,DECIMAL_METRIC_KEYS=new Set(["cumulativeLayoutShift","cumulativeLayoutShiftMainFrame","totalCumulativeLayoutShift","observedCumulativeLayoutShift","observedCumulativeLayoutShiftMainFrame","observedTotalCumulativeLayoutShift"]);class Metrics extends Audit$15{static get meta(){return{id:"metrics",scoreDisplayMode:Audit$15.SCORING_MODES.INFORMATIVE,title:"Metrics",description:"Collects all available metrics.",supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","GatherContext"]}}static async audit(e,t){
1003
- const r=e.GatherContext,n=e.traces[Audit$15.DEFAULT_PASS],a=e.devtoolsLogs[Audit$15.DEFAULT_PASS],i=await ComputedTimingSummary.request({trace:n,devtoolsLog:a,gatherContext:r,settings:t.settings},t),o=i.metrics,l=i.debugInfo;for(const[e,t]of Object.entries(o)){const r=e;"number"!=typeof t||DECIMAL_METRIC_KEYS.has(r)||(o[r]=Math.round(t))}const c={type:"debugdata",items:[o,l]};return{score:1,numericValue:o.interactive||0,numericUnit:"millisecond",details:c}}}var metrics=Metrics,cumulativeLayoutShift={exports:{}};const Audit$14=audit,ComputedCLS=cumulativeLayoutShift$1,i18n$13=i18n$2H,UIStrings$12={description:"Cumulative Layout Shift measures the movement of visible elements within the viewport. [Learn more](https://web.dev/cls/)."},str_$12=i18n$13.createMessageInstanceIdFn("lighthouse-core/audits/metrics/cumulative-layout-shift.js",UIStrings$12);class CumulativeLayoutShift extends Audit$14{static get meta(){return{id:"cumulative-layout-shift",
1004
- title:str_$12(i18n$13.UIStrings.cumulativeLayoutShiftMetric),description:str_$12(UIStrings$12.description),scoreDisplayMode:Audit$14.SCORING_MODES.NUMERIC,requiredArtifacts:["traces"]}}static get defaultOptions(){return{p10:.1,median:.25}}static async audit(e,t){const r=e.traces[Audit$14.DEFAULT_PASS],{cumulativeLayoutShift:n,...a}=await ComputedCLS.request(r,t),i={type:"debugdata",items:[a]};return{score:Audit$14.computeLogNormalScore({p10:t.options.p10,median:t.options.median},n),numericValue:n,numericUnit:"unitless",displayValue:n.toLocaleString(t.settings.locale),details:i}}}cumulativeLayoutShift.exports=CumulativeLayoutShift,cumulativeLayoutShift.exports.UIStrings=UIStrings$12;const Audit$13=audit,regular3G=constants$7.throttling.mobileRegular3G,ComputedFcp$1=firstContentfulPaint$1;class FirstContentfulPaint3G extends Audit$13{static get meta(){return{id:"first-contentful-paint-3g",title:"First Contentful Paint (3G)",
1005
+ observedLastVisualChange:c.complete,observedLastVisualChangeTs:1e3*(c.complete+c.beginning),observedSpeedIndex:c.speedIndex,observedSpeedIndexTs:1e3*(c.speedIndex+c.beginning)},debugInfo:{lcpInvalidated:!(!l||!l.lcpInvalidated)}}}static async compute_(e,t){return TimingSummary$1.summarize(e.trace,e.devtoolsLog,e.gatherContext,e.settings,t)}}var timingSummary=makeComputedArtifact$9(TimingSummary$1,["devtoolsLog","gatherContext","settings","trace"]);const Audit$15=audit,ComputedTimingSummary=timingSummary,DECIMAL_METRIC_KEYS=new Set(["cumulativeLayoutShift","cumulativeLayoutShiftMainFrame","totalCumulativeLayoutShift","observedCumulativeLayoutShift","observedCumulativeLayoutShiftMainFrame","observedTotalCumulativeLayoutShift"]);class Metrics extends Audit$15{static get meta(){return{id:"metrics",scoreDisplayMode:Audit$15.SCORING_MODES.INFORMATIVE,title:"Metrics",description:"Collects all available metrics.",supportedModes:["navigation"],
1006
+ requiredArtifacts:["traces","devtoolsLogs","GatherContext"]}}static async audit(e,t){const r=e.GatherContext,n=e.traces[Audit$15.DEFAULT_PASS],a=e.devtoolsLogs[Audit$15.DEFAULT_PASS],i=await ComputedTimingSummary.request({trace:n,devtoolsLog:a,gatherContext:r,settings:t.settings},t),o=i.metrics,l=i.debugInfo;for(const[e,t]of Object.entries(o)){const r=e;"number"!=typeof t||DECIMAL_METRIC_KEYS.has(r)||(o[r]=Math.round(t))}const c={type:"debugdata",items:[o,l]};return{score:1,numericValue:o.interactive||0,numericUnit:"millisecond",details:c}}}var metrics=Metrics,cumulativeLayoutShift={exports:{}};const Audit$14=audit,ComputedCLS=cumulativeLayoutShift$1,i18n$13=i18n$2H,UIStrings$12={description:"Cumulative Layout Shift measures the movement of visible elements within the viewport. [Learn more](https://web.dev/cls/)."},str_$12=i18n$13.createMessageInstanceIdFn("lighthouse-core/audits/metrics/cumulative-layout-shift.js",UIStrings$12);class CumulativeLayoutShift extends Audit$14{
1007
+ static get meta(){return{id:"cumulative-layout-shift",title:str_$12(i18n$13.UIStrings.cumulativeLayoutShiftMetric),description:str_$12(UIStrings$12.description),scoreDisplayMode:Audit$14.SCORING_MODES.NUMERIC,requiredArtifacts:["traces"]}}static get defaultOptions(){return{p10:.1,median:.25}}static async audit(e,t){const r=e.traces[Audit$14.DEFAULT_PASS],{cumulativeLayoutShift:n,...a}=await ComputedCLS.request(r,t),i={type:"debugdata",items:[a]};return{score:Audit$14.computeLogNormalScore({p10:t.options.p10,median:t.options.median},n),numericValue:n,numericUnit:"unitless",displayValue:n.toLocaleString(t.settings.locale),details:i}}}cumulativeLayoutShift.exports=CumulativeLayoutShift,cumulativeLayoutShift.exports.UIStrings=UIStrings$12;const Audit$13=audit,regular3G=constants$7.throttling.mobileRegular3G,ComputedFcp$1=firstContentfulPaint$1;class FirstContentfulPaint3G extends Audit$13{static get meta(){return{id:"first-contentful-paint-3g",title:"First Contentful Paint (3G)",
1005
1008
  description:"First Contentful Paint 3G marks the time at which the first text or image is painted while on a 3G network. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/first-contentful-paint).",scoreDisplayMode:Audit$13.SCORING_MODES.NUMERIC,supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","GatherContext"]}}static get defaultOptions(){return{p10:2700,median:4500}}static async audit(e,t){const r=e.GatherContext,n={trace:e.traces[Audit$13.DEFAULT_PASS],devtoolsLog:e.devtoolsLogs[Audit$13.DEFAULT_PASS],gatherContext:r,settings:{...t.settings,throttlingMethod:"simulate",throttling:regular3G}},a=await ComputedFcp$1.request(n,t);return{score:Audit$13.computeLogNormalScore({p10:t.options.p10,median:t.options.median},a.timing),numericValue:a.timing,numericUnit:"millisecond",displayValue:`${a.timing} ms`}}}var firstContentfulPaint3g=FirstContentfulPaint3G,firstContentfulPaint={exports:{}}
1006
1009
  ;const Audit$12=audit,i18n$12=i18n$2H,ComputedFcp=firstContentfulPaint$1,UIStrings$11={description:"First Contentful Paint marks the time at which the first text or image is painted. [Learn more](https://web.dev/first-contentful-paint/)."},str_$11=i18n$12.createMessageInstanceIdFn("lighthouse-core/audits/metrics/first-contentful-paint.js",UIStrings$11);class FirstContentfulPaint extends Audit$12{static get meta(){return{id:"first-contentful-paint",title:str_$11(i18n$12.UIStrings.firstContentfulPaintMetric),description:str_$11(UIStrings$11.description),scoreDisplayMode:Audit$12.SCORING_MODES.NUMERIC,supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","GatherContext"]}}static get defaultOptions(){return{mobile:{scoring:{p10:1800,median:3e3}},desktop:{scoring:{p10:934,median:1600}}}}static async audit(e,t){const r={trace:e.traces[Audit$12.DEFAULT_PASS],devtoolsLog:e.devtoolsLogs[Audit$12.DEFAULT_PASS],gatherContext:e.GatherContext,settings:t.settings
1007
1010
  },n=await ComputedFcp.request(r,t),a=t.options[t.settings.formFactor];return{score:Audit$12.computeLogNormalScore(a.scoring,n.timing),numericValue:n.timing,numericUnit:"millisecond",displayValue:str_$11(i18n$12.UIStrings.seconds,{timeInMs:n.timing})}}}firstContentfulPaint.exports=FirstContentfulPaint,firstContentfulPaint.exports.UIStrings=UIStrings$11;var firstMeaningfulPaint={exports:{}};const Audit$11=audit,i18n$11=i18n$2H,ComputedFmp=firstMeaningfulPaint$1,UIStrings$10={description:"First Meaningful Paint measures when the primary content of a page is visible. [Learn more](https://web.dev/first-meaningful-paint/)."},str_$10=i18n$11.createMessageInstanceIdFn("lighthouse-core/audits/metrics/first-meaningful-paint.js",UIStrings$10);class FirstMeaningfulPaint extends Audit$11{static get meta(){return{id:"first-meaningful-paint",title:str_$10(i18n$11.UIStrings.firstMeaningfulPaintMetric),description:str_$10(UIStrings$10.description),scoreDisplayMode:Audit$11.SCORING_MODES.NUMERIC,
@@ -1018,15 +1021,15 @@ resourceType:e.resourceType,lrEndTimeDeltaMs:t,lrTCPMs:r,lrRequestMs:n,lrRespons
1018
1021
  description:"Network round trip times (RTT) have a large impact on performance. If the RTT to an origin is high, it's an indication that servers closer to the user could improve performance. [Learn more](https://hpbn.co/primer-on-latency-and-bandwidth/)."},str_$W=i18n$X.createMessageInstanceIdFn("lighthouse-core/audits/network-rtt.js",UIStrings$W);class NetworkRTT extends Audit$W{static get meta(){return{id:"network-rtt",scoreDisplayMode:Audit$W.SCORING_MODES.INFORMATIVE,title:str_$W(UIStrings$W.title),description:str_$W(UIStrings$W.description),requiredArtifacts:["devtoolsLogs"]}}static async audit(e,t){const r=e.devtoolsLogs[Audit$W.DEFAULT_PASS];if(!(await NetworkRecords$o.request(r,t)).length)return{score:1,notApplicable:!0};const n=await NetworkAnalysisComputed$1.request(r,t);let a=0;const i=n.rtt,o=[];for(const[e,t]of n.additionalRttByOrigin.entries()){if(!e.startsWith("http"))continue;const r=t+i;o.push({origin:e,rtt:r}),a=Number.isFinite(r)?Math.max(r,a):a}
1019
1022
  o.sort(((e,t)=>t.rtt-e.rtt));const l=[{key:"origin",itemType:"text",text:str_$W(i18n$X.UIStrings.columnURL)},{key:"rtt",itemType:"ms",granularity:1,text:str_$W(i18n$X.UIStrings.columnTimeSpent)}],c=Audit$W.makeTableDetails(l,o);return{score:1,numericValue:a,numericUnit:"millisecond",displayValue:str_$W(i18n$X.UIStrings.ms,{timeInMs:a}),details:c}}}networkRtt.exports=NetworkRTT,networkRtt.exports.UIStrings=UIStrings$W;var networkServerLatency={exports:{}};const Audit$V=audit,i18n$W=i18n$2H,NetworkRecords$n=networkRecords,NetworkAnalysisComputed=networkAnalysis,UIStrings$V={title:"Server Backend Latencies",description:"Server latencies can impact web performance. If the server latency of an origin is high, it's an indication the server is overloaded or has poor backend performance. [Learn more](https://hpbn.co/primer-on-web-performance/#analyzing-the-resource-waterfall)."},str_$V=i18n$W.createMessageInstanceIdFn("lighthouse-core/audits/network-server-latency.js",UIStrings$V)
1020
1023
  ;class NetworkServerLatency extends Audit$V{static get meta(){return{id:"network-server-latency",scoreDisplayMode:Audit$V.SCORING_MODES.INFORMATIVE,title:str_$V(UIStrings$V.title),description:str_$V(UIStrings$V.description),requiredArtifacts:["devtoolsLogs"]}}static async audit(e,t){const r=e.devtoolsLogs[Audit$V.DEFAULT_PASS];if(!(await NetworkRecords$n.request(r,t)).length)return{score:1,notApplicable:!0};const n=await NetworkAnalysisComputed.request(r,t);let a=0;const i=[];for(const[e,t]of n.serverResponseTimeByOrigin.entries())e.startsWith("http")&&(a=Math.max(t,a),i.push({origin:e,serverResponseTime:t}));i.sort(((e,t)=>t.serverResponseTime-e.serverResponseTime));const o=[{key:"origin",itemType:"text",text:str_$V(i18n$W.UIStrings.columnURL)},{key:"serverResponseTime",itemType:"ms",granularity:1,text:str_$V(i18n$W.UIStrings.columnTimeSpent)}],l=Audit$V.makeTableDetails(o,i);return{score:Math.max(1-a/500,0),numericValue:a,numericUnit:"millisecond",
1021
- displayValue:str_$V(i18n$W.UIStrings.ms,{timeInMs:a}),details:l}}}networkServerLatency.exports=NetworkServerLatency,networkServerLatency.exports.UIStrings=UIStrings$V;var noUnloadListeners={exports:{}};const Audit$U=audit,JsBundles$1=jsBundles,i18n$V=i18n$2H,UIStrings$U={title:"Avoids `unload` event listeners",failureTitle:"Registers an `unload` listener",description:"The `unload` event does not fire reliably and listening for it can prevent browser optimizations like the Back-Forward Cache. Consider using the `pagehide` or `visibilitychange` events instead. [Learn more](https://developers.google.com/web/updates/2018/07/page-lifecycle-api#the-unload-event)"},str_$U=i18n$V.createMessageInstanceIdFn("lighthouse-core/audits/no-unload-listeners.js",UIStrings$U);class NoUnloadListeners extends Audit$U{static get meta(){return{id:"no-unload-listeners",title:str_$U(UIStrings$U.title),failureTitle:str_$U(UIStrings$U.failureTitle),description:str_$U(UIStrings$U.description),
1024
+ displayValue:str_$V(i18n$W.UIStrings.ms,{timeInMs:a}),details:l}}}networkServerLatency.exports=NetworkServerLatency,networkServerLatency.exports.UIStrings=UIStrings$V;var noUnloadListeners={exports:{}};const Audit$U=audit,JsBundles$1=jsBundles,i18n$V=i18n$2H,UIStrings$U={title:"Avoids `unload` event listeners",failureTitle:"Registers an `unload` listener",description:"The `unload` event does not fire reliably and listening for it can prevent browser optimizations like the Back-Forward Cache. Use `pagehide` or `visibilitychange` events instead. [Learn more](https://web.dev/bfcache/#never-use-the-unload-event)"},str_$U=i18n$V.createMessageInstanceIdFn("lighthouse-core/audits/no-unload-listeners.js",UIStrings$U);class NoUnloadListeners extends Audit$U{static get meta(){return{id:"no-unload-listeners",title:str_$U(UIStrings$U.title),failureTitle:str_$U(UIStrings$U.failureTitle),description:str_$U(UIStrings$U.description),
1022
1025
  requiredArtifacts:["GlobalListeners","JsUsage","SourceMaps","ScriptElements"]}}static async audit(e,t){const r=e.GlobalListeners.filter((e=>"unload"===e.type));if(!r.length)return{score:1};const n=await JsBundles$1.request(e,t),a=[{key:"source",itemType:"source-location",text:str_$U(i18n$V.UIStrings.columnSource)}],i=new Map;for(const[t,r]of Object.entries(e.JsUsage))for(const e of r)i.set(e.scriptId,t);const o=r.map((e=>{const t=i.get(e.scriptId);if(!t)return{source:{type:"url",value:"(unknown)"}};const r=n.find((e=>e.script.src===t));return{source:Audit$U.makeSourceLocation(t,e.lineNumber,e.columnNumber,r)}}));return{score:0,details:Audit$U.makeTableDetails(a,o)}}}noUnloadListeners.exports=NoUnloadListeners,noUnloadListeners.exports.UIStrings=UIStrings$U;var nonCompositedAnimations={exports:{}};const Audit$T=audit,i18n$U=i18n$2H,UIStrings$T={title:"Avoid non-composited animations",
1023
1026
  description:"Animations which are not composited can be janky and increase CLS. [Learn more](https://web.dev/non-composited-animations)",displayValue:"{itemCount, plural,\n =1 {# animated element found}\n other {# animated elements found}\n }",unsupportedCSSProperty:"{propertyCount, plural,\n =1 {Unsupported CSS Property: {properties}}\n other {Unsupported CSS Properties: {properties}}\n }",transformDependsBoxSize:"Transform-related property depends on box size",filterMayMovePixels:"Filter-related property may move pixels",nonReplaceCompositeMode:'Effect has composite mode other than "replace"',incompatibleAnimations:"Target has another animation which is incompatible",unsupportedTimingParameters:"Effect has unsupported timing parameters"},str_$T=i18n$U.createMessageInstanceIdFn("lighthouse-core/audits/non-composited-animations.js",UIStrings$T),ACTIONABLE_FAILURE_REASONS=[{flag:8192,text:UIStrings$T.unsupportedCSSProperty},{flag:2048,text:UIStrings$T.transformDependsBoxSize
1024
1027
  },{flag:4096,text:UIStrings$T.filterMayMovePixels},{flag:16,text:UIStrings$T.nonReplaceCompositeMode},{flag:64,text:UIStrings$T.incompatibleAnimations},{flag:8,text:UIStrings$T.unsupportedTimingParameters}];function getActionableFailureReasons(e,t){return ACTIONABLE_FAILURE_REASONS.filter((t=>e&t.flag)).map((e=>e.text===UIStrings$T.unsupportedCSSProperty?str_$T(e.text,{propertyCount:t.length,properties:t.join(", ")}):str_$T(e.text)))}class NonCompositedAnimations extends Audit$T{static get meta(){return{id:"non-composited-animations",scoreDisplayMode:Audit$T.SCORING_MODES.INFORMATIVE,title:str_$T(UIStrings$T.title),description:str_$T(UIStrings$T.description),requiredArtifacts:["TraceElements","HostUserAgent"]}}static async audit(e){const t=e.HostUserAgent.match(/Chrome\/(\d+)/);if(!t||Number(t[1])<86)return{score:1,notApplicable:!0};const r=[];let n=!1;e.TraceElements.forEach((e=>{if("animation"!==e.traceEventType)return;const t=e.animations||[],a=new Map
1025
1028
  ;for(const{name:e,failureReasonsMask:r,unsupportedProperties:i}of t){if(!r)continue;const t=getActionableFailureReasons(r,i||[]);for(const r of t){e&&(n=!0);const t=a.get(e)||new Set;t.add(r),a.set(e,t)}}if(!a.size)return;const i=[];for(const[e,t]of a)for(const r of t)i.push({failureReason:r,animation:e});r.push({node:Audit$T.makeNodeItem(e.node),subItems:{type:"subitems",items:i}})}));const a=[{key:"node",itemType:"node",subItemsHeading:{key:"failureReason",itemType:"text"},text:str_$T(i18n$U.UIStrings.columnElement)}];n&&a.push({key:null,itemType:"text",subItemsHeading:{key:"animation",itemType:"text"},text:str_$T(i18n$U.UIStrings.columnName)});const i=Audit$T.makeTableDetails(a,r);let o;return r.length>0&&(o=str_$T(UIStrings$T.displayValue,{itemCount:r.length})),{score:0===r.length?1:0,notApplicable:0===r.length,details:i,displayValue:o}}}nonCompositedAnimations.exports=NonCompositedAnimations,nonCompositedAnimations.exports.UIStrings=UIStrings$T;var oopifIframeTestAudit={meta:{
1026
1029
  id:"oopif-iframe-test-audit",title:"IFrame Elements",failureTitle:"IFrame Elements",description:"Audit to force the inclusion of IFrameElements artifact",requiredArtifacts:["IFrameElements"]},audit:()=>({score:1})},performanceBudget={exports:{}};const makeComputedArtifact$8=computedArtifact,NetworkRecords$m=networkRecords,URL$m=urlShim,NetworkRequest$3=networkRequest,Budget$3=budget,{Util}=utilCommonjs;class ResourceSummary$2{static determineResourceType(e){if(!e.resourceType)return"other";return{Stylesheet:"stylesheet",Image:"image",Media:"media",Font:"font",Script:"script",Document:"document"}[e.resourceType]||"other"}static summarize(e,t,r){const n={stylesheet:{count:0,resourceSize:0,transferSize:0},image:{count:0,resourceSize:0,transferSize:0},media:{count:0,resourceSize:0,transferSize:0},font:{count:0,resourceSize:0,transferSize:0},script:{count:0,resourceSize:0,transferSize:0},document:{count:0,resourceSize:0,transferSize:0},other:{count:0,resourceSize:0,transferSize:0},total:{
1027
1030
  count:0,resourceSize:0,transferSize:0},"third-party":{count:0,resourceSize:0,transferSize:0}},a=Budget$3.getMatchingBudget(r,t);let i=[];if(a&&a.options&&a.options.firstPartyHostnames)i=a.options.firstPartyHostnames;else{const e=Util.getRootDomain(t);i=[`*.${e}`]}return e.filter((e=>("other"!==this.determineResourceType(e)||!e.url.endsWith("/favicon.ico"))&&!NetworkRequest$3.isNonNetworkRequest(e))).forEach((e=>{const t=this.determineResourceType(e);n[t].count++,n[t].resourceSize+=e.resourceSize,n[t].transferSize+=e.transferSize,n.total.count++,n.total.resourceSize+=e.resourceSize,n.total.transferSize+=e.transferSize;i.some((t=>{const r=new URL$m(e.url);return t.startsWith("*.")?r.hostname.endsWith(t.slice(2)):r.hostname===t}))||(n["third-party"].count++,n["third-party"].resourceSize+=e.resourceSize,n["third-party"].transferSize+=e.transferSize)})),n}static async compute_(e,t){const r=await NetworkRecords$m.request(e.devtoolsLog,t)
1028
- ;return ResourceSummary$2.summarize(r,e.URL.finalUrl,e.budgets)}}var resourceSummary$1=makeComputedArtifact$8(ResourceSummary$2);const Audit$S=audit,ResourceSummary$1=resourceSummary$1,MainResource$c=mainResource,Budget$2=budget,i18n$T=i18n$2H,UIStrings$S={title:"Performance budget",description:"Keep the quantity and size of network requests under the targets set by the provided performance budget. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/budgets).",requestCountOverBudget:"{count, plural,\n =1 {1 request}\n other {# requests}\n }"},str_$S=i18n$T.createMessageInstanceIdFn("lighthouse-core/audits/performance-budget.js",UIStrings$S);class ResourceBudget extends Audit$S{static get meta(){return{id:"performance-budget",title:str_$S(UIStrings$S.title),description:str_$S(UIStrings$S.description),scoreDisplayMode:Audit$S.SCORING_MODES.INFORMATIVE,supportedModes:["navigation"],requiredArtifacts:["devtoolsLogs","URL"]}}static getRowLabel(e){return{
1029
- total:i18n$T.UIStrings.totalResourceType,document:i18n$T.UIStrings.documentResourceType,script:i18n$T.UIStrings.scriptResourceType,stylesheet:i18n$T.UIStrings.stylesheetResourceType,image:i18n$T.UIStrings.imageResourceType,media:i18n$T.UIStrings.mediaResourceType,font:i18n$T.UIStrings.fontResourceType,other:i18n$T.UIStrings.otherResourceType,"third-party":i18n$T.UIStrings.thirdPartyResourceType}[e]}static tableItems(e,t){return Object.keys(t).map((r=>{const n=str_$S(this.getRowLabel(r)),a=t[r].count,i=t[r].transferSize;let o,l;if(e.resourceSizes){const t=e.resourceSizes.find((e=>e.resourceType===r));t&&i>1024*t.budget&&(o=i-1024*t.budget)}if(e.resourceCounts){const t=e.resourceCounts.find((e=>e.resourceType===r));if(t&&a>t.budget){const e=a-t.budget;l=str_$S(UIStrings$S.requestCountOverBudget,{count:e})}}return{resourceType:r,label:n,requestCount:a,transferSize:i,countOverBudget:l,sizeOverBudget:o}
1031
+ ;return ResourceSummary$2.summarize(r,e.URL.finalUrl,e.budgets)}}var resourceSummary$1=makeComputedArtifact$8(ResourceSummary$2,["URL","devtoolsLog","budgets"]);const Audit$S=audit,ResourceSummary$1=resourceSummary$1,MainResource$c=mainResource,Budget$2=budget,i18n$T=i18n$2H,UIStrings$S={title:"Performance budget",description:"Keep the quantity and size of network requests under the targets set by the provided performance budget. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/budgets).",requestCountOverBudget:"{count, plural,\n =1 {1 request}\n other {# requests}\n }"},str_$S=i18n$T.createMessageInstanceIdFn("lighthouse-core/audits/performance-budget.js",UIStrings$S);class ResourceBudget extends Audit$S{static get meta(){return{id:"performance-budget",title:str_$S(UIStrings$S.title),description:str_$S(UIStrings$S.description),scoreDisplayMode:Audit$S.SCORING_MODES.INFORMATIVE,supportedModes:["navigation"],requiredArtifacts:["devtoolsLogs","URL"]}}
1032
+ static getRowLabel(e){return{total:i18n$T.UIStrings.totalResourceType,document:i18n$T.UIStrings.documentResourceType,script:i18n$T.UIStrings.scriptResourceType,stylesheet:i18n$T.UIStrings.stylesheetResourceType,image:i18n$T.UIStrings.imageResourceType,media:i18n$T.UIStrings.mediaResourceType,font:i18n$T.UIStrings.fontResourceType,other:i18n$T.UIStrings.otherResourceType,"third-party":i18n$T.UIStrings.thirdPartyResourceType}[e]}static tableItems(e,t){return Object.keys(t).map((r=>{const n=str_$S(this.getRowLabel(r)),a=t[r].count,i=t[r].transferSize;let o,l;if(e.resourceSizes){const t=e.resourceSizes.find((e=>e.resourceType===r));t&&i>1024*t.budget&&(o=i-1024*t.budget)}if(e.resourceCounts){const t=e.resourceCounts.find((e=>e.resourceType===r));if(t&&a>t.budget){const e=a-t.budget;l=str_$S(UIStrings$S.requestCountOverBudget,{count:e})}}return{resourceType:r,label:n,requestCount:a,transferSize:i,countOverBudget:l,sizeOverBudget:o}
1030
1033
  })).filter((t=>!(!e.resourceSizes||!e.resourceSizes.some((e=>e.resourceType===t.resourceType)))||!(!e.resourceCounts||!e.resourceCounts.some((e=>e.resourceType===t.resourceType))))).sort(((e,t)=>(t.sizeOverBudget||0)-(e.sizeOverBudget||0)))}static async audit(e,t){const r=e.devtoolsLogs[Audit$S.DEFAULT_PASS],n={devtoolsLog:r,URL:e.URL,budgets:t.settings.budgets},a=await ResourceSummary$1.request(n,t),i=await MainResource$c.request({URL:e.URL,devtoolsLog:r},t),o=Budget$2.getMatchingBudget(t.settings.budgets,i.url);if(!o)return{score:0,notApplicable:!0};const l=[{key:"label",itemType:"text",text:str_$S(i18n$T.UIStrings.columnResourceType)},{key:"requestCount",itemType:"numeric",text:str_$S(i18n$T.UIStrings.columnRequests)},{key:"transferSize",itemType:"bytes",text:str_$S(i18n$T.UIStrings.columnTransferSize)},{key:"countOverBudget",itemType:"text",text:""},{key:"sizeOverBudget",itemType:"bytes",text:str_$S(i18n$T.UIStrings.columnOverBudget)}];return{
1031
1034
  details:Audit$S.makeTableDetails(l,this.tableItems(o,a)),score:1}}}performanceBudget.exports=ResourceBudget,performanceBudget.exports.UIStrings=UIStrings$S;const Audit$R=audit,i18n$S=i18n$2H,LanternFcp=lanternFirstContentfulPaint,LanternFmp=lanternFirstMeaningfulPaint,LanternInteractive$1=lanternInteractive,LanternSpeedIndex=lanternSpeedIndex,LanternLcp=lanternLargestContentfulPaint,SCORING_P10=3651,SCORING_MEDIAN=1e4,str_$R=i18n$S.createMessageInstanceIdFn("lighthouse-core/audits/predictive-perf.js",{});class PredictivePerf extends Audit$R{static get meta(){return{id:"predictive-perf",title:"Predicted Performance (beta)",description:"Predicted performance evaluates how your site will perform under a cellular connection on a mobile device.",scoreDisplayMode:Audit$R.SCORING_MODES.NUMERIC,supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","GatherContext"]}}static async audit(e,t){const r=e.GatherContext,n={trace:e.traces[Audit$R.DEFAULT_PASS],
1032
1035
  devtoolsLog:e.devtoolsLogs[Audit$R.DEFAULT_PASS],gatherContext:r,settings:{}},a=await LanternFcp.request(n,t),i=await LanternFmp.request(n,t),o=await LanternInteractive$1.request(n,t),l=await LanternSpeedIndex.request(n,t),c=await LanternLcp.request(n,t),u={roughEstimateOfFCP:a.timing,optimisticFCP:a.optimisticEstimate.timeInMs,pessimisticFCP:a.pessimisticEstimate.timeInMs,roughEstimateOfFMP:i.timing,optimisticFMP:i.optimisticEstimate.timeInMs,pessimisticFMP:i.pessimisticEstimate.timeInMs,roughEstimateOfTTI:o.timing,optimisticTTI:o.optimisticEstimate.timeInMs,pessimisticTTI:o.pessimisticEstimate.timeInMs,roughEstimateOfSI:l.timing,optimisticSI:l.optimisticEstimate.timeInMs,pessimisticSI:l.pessimisticEstimate.timeInMs,roughEstimateOfLCP:c.timing,optimisticLCP:c.optimisticEstimate.timeInMs,pessimisticLCP:c.pessimisticEstimate.timeInMs};return{score:Audit$R.computeLogNormalScore({p10:SCORING_P10,median:SCORING_MEDIAN},u.roughEstimateOfTTI),numericValue:u.roughEstimateOfTTI,
@@ -1054,7 +1057,7 @@ crawlableAnchors.exports.UIStrings=UIStrings$M;var fontSize={exports:{}},metavie
1054
1057
  null!==c&&null===l&&(c=min(n,translateZoomProperty(e["minimum-scale"]))),void 0!==e.width&&(p="extend-to-zoom",b=translateLengthProperty(e.width,i,o)),void 0!==e.height&&(f="extend-to-zoom",S=translateLengthProperty(e.height,i,o)),void 0!==e["user-scalable"])if("number"==typeof(A=e["user-scalable"]))A=A>=1||A<=-1?"zoom":"fixed";else switch(A){case"yes":case"device-width":case"device-height":A="zoom";break;case"no":default:A="fixed"}null===u||void 0!==e.width&&void 0!==_||(void 0!==e.height?(p=null,b=null):(p="extend-to-zoom",b="extend-to-zoom")),null!==c&&null!==l&&(l=max(c,l)),null!==u&&(u=clamp(u,c,l));var I,R,x=null===u&&null===l?null:min(u,l);return null===x?("extend-to-zoom"===b&&(b=null),"extend-to-zoom"===S&&(S=null),"extend-to-zoom"===p&&(p=b),"extend-to-zoom"===f&&(f=S)):(I=E/x,R=$/x,"extend-to-zoom"===b&&(b=I),"extend-to-zoom"===S&&(S=R),"extend-to-zoom"===p&&(p=max(I,b)),"extend-to-zoom"===f&&(f=max(R,S))),null===p&&null===b||(_=max(p,min(b,E))),
1055
1058
  null===f&&null===S||(T=max(f,min(S,$))),null===_&&(_=null===T?E:0!==$?Math.round(T*(E/$)):E),null===T&&(T=0!==E?Math.round(_*($/E)):$),{zoom:u,width:_,height:T,userZoom:A}},metaviewportParser.parseMetaViewPortContent=function(e){for(var t={validProperties:{},unknownProperties:{},invalidValues:{}},r=1;r<=e.length;){for(;r<=e.length&&RegExp(" |\n|\t|\0d|,|;|=").test(e[r-1]);)r++;r<=e.length&&(r=parseProperty(t,e,r))}return t};var propertyNames=["width","height","initial-scale","minimum-scale","maximum-scale","user-scalable","shrink-to-fit","viewport-fit"];function parseProperty(e,t,r){for(var n=r;r<=t.length&&!RegExp(" |\n|\t|\0d|,|;|=").test(t[r-1]);)r++;if(r>t.length||RegExp(",|;").test(t[r-1]))return r;for(var a=t.slice(n-1,r-1);r<=t.length&&!RegExp(",|;|=").test(t[r-1]);)r++;if(r>t.length||RegExp(",|;").test(t[r-1]))return r;for(;r<=t.length&&RegExp(" |\n|\t|\0d|=").test(t[r-1]);)r++;if(r>t.length||RegExp(",|;").test(t[r-1]))return r
1056
1059
  ;for(n=r;r<=t.length&&!RegExp(" |\n|\t|\0d|,|;|=").test(t[r-1]);)r++;return setProperty(e,a,t.slice(n-1,r-1)),r}function setProperty(e,t,r){if(propertyNames.indexOf(t)>=0){var n=parseFloat(r);if(!isNaN(n))return void(e.validProperties[t]=n);var a=r.toLowerCase();if("yes"===a||"no"===a||"device-width"===a||"device-height"===a||"viewport-fit"===t.toLowerCase()&&("auto"===a||"cover"===a))return void(e.validProperties[t]=a);e.validProperties[t]=null,e.invalidValues[t]=r}else e.unknownProperties[t]=r}metaviewportParser.expectedValues={width:["device-width","device-height","a positive number"],height:["device-width","device-height","a positive number"],"initial-scale":["a positive number"],"minimum-scale":["a positive number"],"maximum-scale":["a positive number"],"user-scalable":["yes","no","0","1"],"shrink-to-fit":["yes","no"],"viewport-fit":["auto","cover"]};const Parser=metaviewportParser,makeComputedArtifact$7=computedArtifact;class ViewportMeta{static async compute_(e){
1057
- const t=e.find((e=>"viewport"===e.name));if(!t)return{hasViewportTag:!1,isMobileOptimized:!1,parserWarnings:[]};const r=[],n=Parser.parseMetaViewPortContent(t.content||"");Object.keys(n.unknownProperties).length&&r.push(`Invalid properties found: ${JSON.stringify(n.unknownProperties)}`),Object.keys(n.invalidValues).length&&r.push(`Invalid values found: ${JSON.stringify(n.invalidValues)}`);const a=n.validProperties;return{hasViewportTag:!0,isMobileOptimized:Boolean(a.width||a["initial-scale"]),parserWarnings:r}}}var viewportMeta=makeComputedArtifact$7(ViewportMeta);const i18n$L=i18n$2H,Audit$I=audit,ComputedViewportMeta$2=viewportMeta,MINIMAL_PERCENTAGE_OF_LEGIBLE_TEXT=60,UIStrings$L={title:"Document uses legible font sizes",failureTitle:"Document doesn't use legible font sizes",
1060
+ const t=e.find((e=>"viewport"===e.name));if(!t)return{hasViewportTag:!1,isMobileOptimized:!1,parserWarnings:[]};const r=[],n=Parser.parseMetaViewPortContent(t.content||"");Object.keys(n.unknownProperties).length&&r.push(`Invalid properties found: ${JSON.stringify(n.unknownProperties)}`),Object.keys(n.invalidValues).length&&r.push(`Invalid values found: ${JSON.stringify(n.invalidValues)}`);const a=n.validProperties;return{hasViewportTag:!0,isMobileOptimized:Boolean(a.width||a["initial-scale"]),parserWarnings:r}}}var viewportMeta=makeComputedArtifact$7(ViewportMeta,null);const i18n$L=i18n$2H,Audit$I=audit,ComputedViewportMeta$2=viewportMeta,MINIMAL_PERCENTAGE_OF_LEGIBLE_TEXT=60,UIStrings$L={title:"Document uses legible font sizes",failureTitle:"Document doesn't use legible font sizes",
1058
1061
  description:"Font sizes less than 12px are too small to be legible and require mobile visitors to “pinch to zoom” in order to read. Strive to have >60% of page text ≥12px. [Learn more](https://web.dev/font-size/).",displayValue:"{decimalProportion, number, extendedPercent} legible text",explanationViewport:"Text is illegible because there's no viewport meta tag optimized for mobile screens.",additionalIllegibleText:"Add'l illegible text",legibleText:"Legible text",columnSelector:"Selector",columnPercentPageText:"% of Page Text",columnFontSize:"Font Size"},str_$K=i18n$L.createMessageInstanceIdFn("lighthouse-core/audits/seo/font-size.js",UIStrings$L);function getUniqueFailingRules(e){const t=new Map;return e.forEach((e=>{const{nodeId:r,cssRule:n,fontSize:a,textLength:i,parentNode:o}=e,l=getFontArtifactId(n,r),c=t.get(l);c?c.textLength+=i:t.set(l,{nodeId:r,parentNode:o,cssRule:n,fontSize:a,textLength:i})})),[...t.values()]}function getAttributeMap(e=[]){const t=new Map
1059
1062
  ;for(let r=0;r<e.length;r+=2){const n=e[r],a=e[r+1];if(!n||!a)continue;const i=a.trim();i&&t.set(n.toLowerCase(),i)}return t}function getSelector(e){const t=getAttributeMap(e.attributes);if(t.has("id"))return"#"+t.get("id");{const e=t.get("class");if(e)return"."+e.split(/\s+/).join(".")}return e.nodeName.toLowerCase()}function nodeToTableNode(e){const t=(e.attributes||[]).map(((e,t)=>t%2==0?` ${e}`:`="${e}"`)).join("");return{type:"node",selector:e.parentNode?getSelector(e.parentNode):"",snippet:`<${e.nodeName.toLowerCase()}${t}>`}}function findStyleRuleSource(e,t,r){if(!t||"Attributes"===t.type||"Inline"===t.type)return{source:{type:"url",value:e},selector:nodeToTableNode(r)};if(t.parentRule&&"user-agent"===t.parentRule.origin)return{source:{type:"code",value:"User Agent Stylesheet"},selector:t.parentRule.selectors.map((e=>e.text)).join(", ")};let n="";if(t.parentRule){n=t.parentRule.selectors.map((e=>e.text)).join(", ")}if(t.stylesheet&&!t.stylesheet.sourceURL)return{source:{
1060
1063
  type:"code",value:"dynamic"},selector:n};if(t.stylesheet&&t.range){const{range:e,stylesheet:r}=t,a=r.hasSourceURL?"comment":"network";let i=e.startLine,o=e.startColumn;r.isInline&&"comment"!==a&&(i+=r.startLine,0===e.startLine&&(o+=r.startColumn));const l=Audit$I.makeSourceLocation(r.sourceURL,i,o);return l.urlProvider=a,{source:l,selector:n}}return{selector:n,source:{type:"code",value:"Unknown"}}}function getFontArtifactId(e,t){if(e&&"Regular"===e.type){const t=e.range?e.range.startLine:0,r=e.range?e.range.startColumn:0;return`${e.styleSheetId}@${t}:${r}`}return`node_${t}`}class FontSize extends Audit$I{static get meta(){return{id:"font-size",title:str_$K(UIStrings$L.title),failureTitle:str_$K(UIStrings$L.failureTitle),description:str_$K(UIStrings$L.description),requiredArtifacts:["FontSize","URL","MetaElements"]}}static async audit(e,t){if("desktop"===t.settings.formFactor)return{score:1,notApplicable:!0}
@@ -1107,11 +1110,11 @@ description:"Set a timing budget to help you keep an eye on the performance of y
1107
1110
  timingBudget.exports.UIStrings=UIStrings$v;var unsizedImages={exports:{}};const Audit$t=audit,i18n$u=i18n$2H,URL$e=urlShim,UIStrings$u={title:"Image elements have explicit `width` and `height`",failureTitle:"Image elements do not have explicit `width` and `height`",description:"Set an explicit width and height on image elements to reduce layout shifts and improve CLS. [Learn more](https://web.dev/optimize-cls/#images-without-dimensions)"},str_$t=i18n$u.createMessageInstanceIdFn("lighthouse-core/audits/unsized-images.js",UIStrings$u);class UnsizedImages extends Audit$t{static get meta(){return{id:"unsized-images",title:str_$t(UIStrings$u.title),failureTitle:str_$t(UIStrings$u.failureTitle),description:str_$t(UIStrings$u.description),requiredArtifacts:["ImageElements"]}}static doesHtmlAttrProvideExplicitSize(e){if(!e)return!1;if(e.startsWith("+"))return!1;return parseInt(e,10)>=0}static isCssPropExplicitlySet(e){return!!e&&!["auto","initial","unset","inherit"].includes(e)}
1108
1111
  static isSizedImage(e){if(void 0===e.cssEffectiveRules)return!0;const t=e.attributeWidth,r=e.attributeHeight,n=e.cssEffectiveRules.width,a=e.cssEffectiveRules.height,i=e.cssEffectiveRules.aspectRatio,o=UnsizedImages.doesHtmlAttrProvideExplicitSize(t),l=UnsizedImages.isCssPropExplicitlySet(n),c=UnsizedImages.doesHtmlAttrProvideExplicitSize(r),u=UnsizedImages.isCssPropExplicitlySet(a),p=UnsizedImages.isCssPropExplicitlySet(i),f=o||l,b=c||u;return f&&b||f&&p||b&&p}static isNonNetworkSvg(e){const t="image/svg+xml"===URL$e.guessMimeType(e.src),r=e.src.slice(0,e.src.indexOf(":")),n=URL$e.isNonNetworkProtocol(r);return t&&n}static async audit(e){const t=e.ImageElements.filter((e=>!e.isCss&&!e.isInShadowDOM)),r=[];for(const e of t){if("fixed"===e.computedStyles.position||"absolute"===e.computedStyles.position)continue;if(UnsizedImages.isNonNetworkSvg(e))continue;if(UnsizedImages.isSizedImage(e))continue;const t=e.node.boundingRect;0===t.width&&0===t.height||r.push({
1109
1112
  url:URL$e.elideDataURI(e.src),node:Audit$t.makeNodeItem(e.node)})}const n=[{key:"node",itemType:"node",text:""},{key:"url",itemType:"url",text:str_$t(i18n$u.UIStrings.columnURL)}];return{score:r.length>0?0:1,notApplicable:0===t.length,details:Audit$t.makeTableDetails(n,r)}}}unsizedImages.exports=UnsizedImages,unsizedImages.exports.UIStrings=UIStrings$u;var userTimings$1={exports:{}};const makeComputedArtifact$6=computedArtifact,ProcessedTrace$2=processedTrace;class UserTimings$1{static async compute_(e,t){const r=await ProcessedTrace$2.request(e,t),n=[],a={};return r.processEvents.filter((e=>!!e.cat.includes("blink.user_timing")&&("requestStart"!==e.name&&"navigationStart"!==e.name&&"paintNonDefaultBackgroundColor"!==e.name&&void 0===e.args.frame))).forEach((e=>{"R"===e.ph||"I"===e.ph.toUpperCase()?n.push({name:e.name,isMark:!0,args:e.args,startTime:e.ts}):"b"===e.ph.toLowerCase()?a[e.name]=e.ts:"e"===e.ph.toLowerCase()&&n.push({name:e.name,isMark:!1,args:e.args,startTime:a[e.name],
1110
- endTime:e.ts,duration:e.ts-a[e.name]})})),n.forEach((e=>{e.startTime=(e.startTime-r.timeOriginEvt.ts)/1e3,e.isMark||(e.endTime=(e.endTime-r.timeOriginEvt.ts)/1e3,e.duration=e.duration/1e3)})),n}}var userTimings=makeComputedArtifact$6(UserTimings$1);const Audit$s=audit,i18n$t=i18n$2H,ComputedUserTimings=userTimings,UIStrings$t={title:"User Timing marks and measures",description:"Consider instrumenting your app with the User Timing API to measure your app's real-world performance during key user experiences. [Learn more](https://web.dev/user-timings/).",displayValue:"{itemCount, plural,\n =1 {1 user timing}\n other {# user timings}\n }",columnType:"Type"},str_$s=i18n$t.createMessageInstanceIdFn("lighthouse-core/audits/user-timings.js",UIStrings$t);class UserTimings extends Audit$s{static get meta(){return{id:"user-timings",title:str_$s(UIStrings$t.title),description:str_$s(UIStrings$t.description),scoreDisplayMode:Audit$s.SCORING_MODES.INFORMATIVE,requiredArtifacts:["traces"]}}
1111
- static get excludedPrefixes(){return["goog_"]}static excludeEvent(e){return UserTimings.excludedPrefixes.every((t=>!e.name.startsWith(t)))}static audit(e,t){const r=e.traces[Audit$s.DEFAULT_PASS];return ComputedUserTimings.request(r,t).then((e=>{const t=e.filter(UserTimings.excludeEvent),r=t.map((e=>({name:e.name,startTime:e.startTime,duration:e.isMark?void 0:e.duration,timingType:e.isMark?"Mark":"Measure"}))).sort(((e,t)=>e.timingType===t.timingType?e.startTime-t.startTime:"Measure"===e.timingType?-1:1)),n=[{key:"name",itemType:"text",text:str_$s(i18n$t.UIStrings.columnName)},{key:"timingType",itemType:"text",text:str_$s(UIStrings$t.columnType)},{key:"startTime",itemType:"ms",granularity:.01,text:str_$s(i18n$t.UIStrings.columnStartTime)},{key:"duration",itemType:"ms",granularity:.01,text:str_$s(i18n$t.UIStrings.columnDuration)}],a=Audit$s.makeTableDetails(n,r);let i;return t.length&&(i=str_$s(UIStrings$t.displayValue,{itemCount:t.length})),{score:Number(0===t.length),
1112
- notApplicable:0===t.length,displayValue:i,details:a}}))}}userTimings$1.exports=UserTimings,userTimings$1.exports.UIStrings=UIStrings$t;var usesRelPreconnect={exports:{}};const Audit$r=audit,UnusedBytes$1=byteEfficiencyAudit,URL$d=urlShim,i18n$s=i18n$2H,NetworkRecords$f=networkRecords,MainResource$4=mainResource,LoadSimulator$3=loadSimulator,ProcessedTrace$1=processedTrace,ProcessedNavigation$1=processedNavigation,PageDependencyGraph$4=pageDependencyGraph,LanternLCP=lanternLargestContentfulPaint,PRECONNECT_SOCKET_MAX_IDLE=15,IGNORE_THRESHOLD_IN_MS=50,UIStrings$s={title:"Preconnect to required origins",description:"Consider adding `preconnect` or `dns-prefetch` resource hints to establish early connections to important third-party origins. [Learn more](https://web.dev/uses-rel-preconnect/).",unusedWarning:'A `<link rel=preconnect>` was found for "{securityOrigin}" but was not used by the browser. Only use `preconnect` for important origins that the page will certainly request.',
1113
- crossoriginWarning:'A `<link rel=preconnect>` was found for "{securityOrigin}" but was not used by the browser. Check that you are using the `crossorigin` attribute properly.',tooManyPreconnectLinksWarning:"More than 2 `<link rel=preconnect>` connections were found. These should be used sparingly and only to the most important origins."},str_$r=i18n$s.createMessageInstanceIdFn("lighthouse-core/audits/uses-rel-preconnect.js",UIStrings$s);class UsesRelPreconnectAudit extends Audit$r{static get meta(){return{id:"uses-rel-preconnect",title:str_$r(UIStrings$s.title),description:str_$r(UIStrings$s.description),supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","URL","LinkElements"],scoreDisplayMode:Audit$r.SCORING_MODES.NUMERIC}}static hasValidTiming(e){return!!e.timing&&e.timing.connectEnd>0&&e.timing.connectStart>0}static hasAlreadyConnectedToOrigin(e){return!!e.timing&&e.timing.dnsEnd-e.timing.dnsStart==0&&e.timing.connectEnd-e.timing.connectStart==0}
1114
- static socketStartTimeIsBelowThreshold(e,t){return Math.max(0,e.startTime-t.endTime)<PRECONNECT_SOCKET_MAX_IDLE}static async audit(e,t){const r=e.traces[UsesRelPreconnectAudit.DEFAULT_PASS],n=e.devtoolsLogs[UsesRelPreconnectAudit.DEFAULT_PASS],a=t.settings;let i=0;const o=[],l=await ProcessedTrace$1.request(r,t),[c,u,p,f,b]=await Promise.all([NetworkRecords$f.request(n,t),MainResource$4.request({devtoolsLog:n,URL:e.URL},t),LoadSimulator$3.request({devtoolsLog:n,settings:a},t),ProcessedNavigation$1.request(l,t),PageDependencyGraph$4.request({trace:r,devtoolsLog:n},t)]),{rtt:S,additionalRttByOrigin:_}=p.getOptions(),T=await LanternLCP.getPessimisticGraph(b,f),E=new Set;T.traverse((e=>{"network"===e.type&&E.add(e.record.url)}));const $=new Map;c.forEach((e=>{
1113
+ endTime:e.ts,duration:e.ts-a[e.name]})})),n.forEach((e=>{e.startTime=(e.startTime-r.timeOriginEvt.ts)/1e3,e.isMark||(e.endTime=(e.endTime-r.timeOriginEvt.ts)/1e3,e.duration=e.duration/1e3)})),n}}var userTimings=makeComputedArtifact$6(UserTimings$1,null);const Audit$s=audit,i18n$t=i18n$2H,ComputedUserTimings=userTimings,UIStrings$t={title:"User Timing marks and measures",description:"Consider instrumenting your app with the User Timing API to measure your app's real-world performance during key user experiences. [Learn more](https://web.dev/user-timings/).",displayValue:"{itemCount, plural,\n =1 {1 user timing}\n other {# user timings}\n }",columnType:"Type"},str_$s=i18n$t.createMessageInstanceIdFn("lighthouse-core/audits/user-timings.js",UIStrings$t);class UserTimings extends Audit$s{static get meta(){return{id:"user-timings",title:str_$s(UIStrings$t.title),description:str_$s(UIStrings$t.description),scoreDisplayMode:Audit$s.SCORING_MODES.INFORMATIVE,
1114
+ requiredArtifacts:["traces"]}}static get excludedPrefixes(){return["goog_"]}static excludeEvent(e){return UserTimings.excludedPrefixes.every((t=>!e.name.startsWith(t)))}static audit(e,t){const r=e.traces[Audit$s.DEFAULT_PASS];return ComputedUserTimings.request(r,t).then((e=>{const t=e.filter(UserTimings.excludeEvent),r=t.map((e=>({name:e.name,startTime:e.startTime,duration:e.isMark?void 0:e.duration,timingType:e.isMark?"Mark":"Measure"}))).sort(((e,t)=>e.timingType===t.timingType?e.startTime-t.startTime:"Measure"===e.timingType?-1:1)),n=[{key:"name",itemType:"text",text:str_$s(i18n$t.UIStrings.columnName)},{key:"timingType",itemType:"text",text:str_$s(UIStrings$t.columnType)},{key:"startTime",itemType:"ms",granularity:.01,text:str_$s(i18n$t.UIStrings.columnStartTime)},{key:"duration",itemType:"ms",granularity:.01,text:str_$s(i18n$t.UIStrings.columnDuration)}],a=Audit$s.makeTableDetails(n,r);let i;return t.length&&(i=str_$s(UIStrings$t.displayValue,{itemCount:t.length})),{
1115
+ score:Number(0===t.length),notApplicable:0===t.length,displayValue:i,details:a}}))}}userTimings$1.exports=UserTimings,userTimings$1.exports.UIStrings=UIStrings$t;var usesRelPreconnect={exports:{}};const Audit$r=audit,UnusedBytes$1=byteEfficiencyAudit,URL$d=urlShim,i18n$s=i18n$2H,NetworkRecords$f=networkRecords,MainResource$4=mainResource,LoadSimulator$3=loadSimulator,ProcessedTrace$1=processedTrace,ProcessedNavigation$1=processedNavigation,PageDependencyGraph$4=pageDependencyGraph,LanternLCP=lanternLargestContentfulPaint,PRECONNECT_SOCKET_MAX_IDLE=15,IGNORE_THRESHOLD_IN_MS=50,UIStrings$s={title:"Preconnect to required origins",description:"Consider adding `preconnect` or `dns-prefetch` resource hints to establish early connections to important third-party origins. [Learn more](https://web.dev/uses-rel-preconnect/).",
1116
+ unusedWarning:'A `<link rel=preconnect>` was found for "{securityOrigin}" but was not used by the browser. Only use `preconnect` for important origins that the page will certainly request.',crossoriginWarning:'A `<link rel=preconnect>` was found for "{securityOrigin}" but was not used by the browser. Check that you are using the `crossorigin` attribute properly.',tooManyPreconnectLinksWarning:"More than 2 `<link rel=preconnect>` connections were found. These should be used sparingly and only to the most important origins."},str_$r=i18n$s.createMessageInstanceIdFn("lighthouse-core/audits/uses-rel-preconnect.js",UIStrings$s);class UsesRelPreconnectAudit extends Audit$r{static get meta(){return{id:"uses-rel-preconnect",title:str_$r(UIStrings$s.title),description:str_$r(UIStrings$s.description),supportedModes:["navigation"],requiredArtifacts:["traces","devtoolsLogs","URL","LinkElements"],scoreDisplayMode:Audit$r.SCORING_MODES.NUMERIC}}static hasValidTiming(e){
1117
+ return!!e.timing&&e.timing.connectEnd>0&&e.timing.connectStart>0}static hasAlreadyConnectedToOrigin(e){return!!e.timing&&e.timing.dnsEnd-e.timing.dnsStart==0&&e.timing.connectEnd-e.timing.connectStart==0}static socketStartTimeIsBelowThreshold(e,t){return Math.max(0,e.startTime-t.endTime)<PRECONNECT_SOCKET_MAX_IDLE}static async audit(e,t){const r=e.traces[UsesRelPreconnectAudit.DEFAULT_PASS],n=e.devtoolsLogs[UsesRelPreconnectAudit.DEFAULT_PASS],a=t.settings;let i=0;const o=[],l=await ProcessedTrace$1.request(r,t),[c,u,p,f,b]=await Promise.all([NetworkRecords$f.request(n,t),MainResource$4.request({devtoolsLog:n,URL:e.URL},t),LoadSimulator$3.request({devtoolsLog:n,settings:a},t),ProcessedNavigation$1.request(l,t),PageDependencyGraph$4.request({trace:r,devtoolsLog:n},t)]),{rtt:S,additionalRttByOrigin:_}=p.getOptions(),T=await LanternLCP.getPessimisticGraph(b,f),E=new Set;T.traverse((e=>{"network"===e.type&&E.add(e.record.url)}));const $=new Map;c.forEach((e=>{
1115
1118
  if(!UsesRelPreconnectAudit.hasValidTiming(e)||e.initiator.url===u.url||!e.parsedURL||!e.parsedURL.securityOrigin||u.parsedURL.securityOrigin===e.parsedURL.securityOrigin||!E.has(e.url)||UsesRelPreconnectAudit.hasAlreadyConnectedToOrigin(e)||!UsesRelPreconnectAudit.socketStartTimeIsBelowThreshold(e,u))return;const t=e.parsedURL.securityOrigin,r=$.get(t)||[];r.push(e),$.set(t,r)}));const A=e.LinkElements.filter((e=>"preconnect"===e.rel)),I=new Set(A.map((e=>URL$d.getOrigin(e.href||""))));let R=[];$.forEach((e=>{const t=e.reduce(((e,t)=>t.startTime<e.startTime?t:e));if(!t.timing)return;const r=t.parsedURL.securityOrigin,n=_.get(r)||0;let a=S+n;"https"===t.parsedURL.scheme&&(a*=2);const l=1e3*t.startTime-1e3*u.endTime+t.timing.dnsStart,c=Math.min(a,l);c<IGNORE_THRESHOLD_IN_MS||(I.has(r)?o.push(str_$r(UIStrings$s.crossoriginWarning,{securityOrigin:r})):(i=Math.max(c,i),R.push({url:r,wastedMs:c})))})),R=R.sort(((e,t)=>t.wastedMs-e.wastedMs))
1116
1119
  ;for(const e of I)e&&(c.some((t=>e===t.parsedURL.securityOrigin))||o.push(str_$r(UIStrings$s.unusedWarning,{securityOrigin:e})));if(A.length>=2)return{score:1,warnings:A.length>=3?[...o,str_$r(UIStrings$s.tooManyPreconnectLinksWarning)]:o};const x=[{key:"url",valueType:"url",label:str_$r(i18n$s.UIStrings.columnURL)},{key:"wastedMs",valueType:"timespanMs",label:str_$r(i18n$s.UIStrings.columnWastedMs)}],D=Audit$r.makeOpportunityDetails(x,R,i);return{score:UnusedBytes$1.scoreForWastedMs(i),numericValue:i,numericUnit:"millisecond",displayValue:i?str_$r(i18n$s.UIStrings.displayValueMsSavings,{wastedMs:i}):"",warnings:o,details:D}}}usesRelPreconnect.exports=UsesRelPreconnectAudit,usesRelPreconnect.exports.UIStrings=UIStrings$s;var usesRelPreload={exports:{}}
1117
1120
  ;const URL$c=urlShim,NetworkRequest$1=networkRequest,Audit$q=audit,UnusedBytes=byteEfficiencyAudit,CriticalRequestChains=criticalRequestChains,i18n$r=i18n$2H,MainResource$3=mainResource,PageDependencyGraph$3=pageDependencyGraph,LoadSimulator$2=loadSimulator,UIStrings$r={title:"Preload key requests",description:"Consider using `<link rel=preload>` to prioritize fetching resources that are currently requested later in page load. [Learn more](https://web.dev/uses-rel-preload/).",crossoriginWarning:'A preload `<link>` was found for "{preloadURL}" but was not used by the browser. Check that you are using the `crossorigin` attribute properly.'},str_$q=i18n$r.createMessageInstanceIdFn("lighthouse-core/audits/uses-rel-preload.js",UIStrings$r),THRESHOLD_IN_MS=100;class UsesRelPreloadAudit extends Audit$q{static get meta(){return{id:"uses-rel-preload",title:str_$q(UIStrings$r.title),description:str_$q(UIStrings$r.description),supportedModes:["navigation"],
@@ -1184,7 +1187,7 @@ description:"Too many ads loaded outside the viewport lowers viewability rates a
1184
1187
  static audit(e){const t=e.ViewportDimensions,r=e.IFrameElements.filter((e=>isGptIframe(e)&&e.clientRect.height*e.clientRect.width>1));if(!r.length)return auditNotApplicable$h.NoVisibleSlots;const n=r.filter((e=>!isBoxInViewport(e.clientRect,t))).map((e=>({slot:e.id}))).sort(((e,t)=>e.slot.localeCompare(t.slot)));return{numericValue:(r.length-n.length)/r.length,numericUnit:"unitless",score:n.length>3?0:1,displayValue:n.length?str_$g(UIStrings$h.failureDisplayValue,{hiddenAds:n.length}):"",details:AdsInViewport.makeTableDetails(HEADINGS$7,n)}}}adsInViewport.exports=AdsInViewport,adsInViewport.exports.UIStrings=UIStrings$h;var asyncAdTags={exports:{}};function count(e,t){let r=0;for(const n of e)t(n)&&r++;return r}function bucket$1(e,t){const r=new Map;for(const n of e){const e=t(n);if(null!=e){const t=r.get(e)||[];t.push(n),r.set(e,t)}}return r}function flatten(e){const t=[];for(const r of e)t.push(...r);return t}var array$2={count,bucket:bucket$1,flatten}
1185
1188
  ;const array$1=array$2,i18n$g=i18n$2H,MainResource$2=mainResource,NetworkRecords$a=networkRecords,{auditNotApplicable:auditNotApplicable$g}=commonStrings.exports,{Audit:Audit$g}=require$$4,{isAdTag:isAdTag$1,isStaticRequest}=resourceClassification,{URL:URL$7}=urlShim,UIStrings$g={title:"Ad tag is loaded asynchronously",failureTitle:"Load ad tag asynchronously",description:"Loading the ad tag synchronously blocks content rendering until the tag is fetched and loaded. Consider using the `async` attribute to load gpt.js and/or adsbygoogle.js asynchronously. [Learn more](https://developers.google.com/publisher-ads-audits/reference/audits/async-ad-tags)."},str_$f=i18n$g.createMessageInstanceIdFn("node_modules/lighthouse-plugin-publisher-ads/audits/async-ad-tags.js",UIStrings$g);function isAsync(e){return"Low"==e.priority||isStaticRequest(e)}class AsyncAdTags extends Audit$g{static get meta(){return{id:"async-ad-tags",title:str_$f(UIStrings$g.title),
1186
1189
  failureTitle:str_$f(UIStrings$g.failureTitle),description:str_$f(UIStrings$g.description),requiredArtifacts:["devtoolsLogs","URL"]}}static async audit(e,t){const r=e.devtoolsLogs[Audit$g.DEFAULT_PASS],n=await NetworkRecords$a.request(r,t),a=await MainResource$2.request({URL:e.URL,devtoolsLog:r},t),i=n.filter((e=>isAdTag$1(new URL$7(e.url)))).filter((e=>e.frameId===a.frameId));if(!i.length)return auditNotApplicable$g.NoTag;const o=array$1.count(i,isAsync)-i.length;return{score:Number(0===o),numericValue:o,numericUnit:"unitless"}}}asyncAdTags.exports=AsyncAdTags,asyncAdTags.exports.UIStrings=UIStrings$g;var blockingLoadEvents={exports:{}};const log$3=lighthouseLogger,makeComputedArtifact$2=computedArtifact,ProcessedTrace=processedTrace,ProcessedNavigation=processedNavigation;class TraceOfTab$1{static async compute_(e,t){const r=await ProcessedTrace.request(e,t),n=await ProcessedNavigation.request(r,t);return{...r,...n}}}
1187
- log$3.warn("trace-of-tab","trace-of-tab is deprecated, use processed-trace / processed-navigation instead");var traceOfTab=makeComputedArtifact$2(TraceOfTab$1);const i18n$f=i18n$2H,NetworkRecords$9=networkRecords,TraceOfTab=traceOfTab,{auditNotApplicable:auditNotApplicable$f}=commonStrings.exports,{Audit:Audit$f}=require$$4,{computeAdRequestWaterfall:computeAdRequestWaterfall$2}=graph,{getTimingsByRecord:getTimingsByRecord$2}=networkTiming,UIStrings$f={title:"Ads not blocked by load events",failureTitle:"Avoid waiting on load events",description:"Waiting on load events increases ad latency. To speed up ads, eliminate the following load event handlers. [Learn More](https://developers.google.com/publisher-ads-audits/reference/audits/blocking-load-events).",displayValue:"{timeInMs, number, seconds} s blocked",columnEvent:"Event Name",columnTime:"Event Time",columnScript:"Script",columnBlockedUrl:"Blocked URL",columnFunctionName:"Function"
1190
+ log$3.warn("trace-of-tab","trace-of-tab is deprecated, use processed-trace / processed-navigation instead");var traceOfTab=makeComputedArtifact$2(TraceOfTab$1,null);const i18n$f=i18n$2H,NetworkRecords$9=networkRecords,TraceOfTab=traceOfTab,{auditNotApplicable:auditNotApplicable$f}=commonStrings.exports,{Audit:Audit$f}=require$$4,{computeAdRequestWaterfall:computeAdRequestWaterfall$2}=graph,{getTimingsByRecord:getTimingsByRecord$2}=networkTiming,UIStrings$f={title:"Ads not blocked by load events",failureTitle:"Avoid waiting on load events",description:"Waiting on load events increases ad latency. To speed up ads, eliminate the following load event handlers. [Learn More](https://developers.google.com/publisher-ads-audits/reference/audits/blocking-load-events).",displayValue:"{timeInMs, number, seconds} s blocked",columnEvent:"Event Name",columnTime:"Event Time",columnScript:"Script",columnBlockedUrl:"Blocked URL",columnFunctionName:"Function"
1188
1191
  },str_$e=i18n$f.createMessageInstanceIdFn("node_modules/lighthouse-plugin-publisher-ads/audits/blocking-load-events.js",UIStrings$f),HEADINGS$6=[{key:"eventName",itemType:"text",text:str_$e(UIStrings$f.columnEvent)},{key:"time",itemType:"ms",text:str_$e(UIStrings$f.columnTime),granularity:1},{key:"url",itemType:"url",text:str_$e(UIStrings$f.columnScript)},{key:"functionName",itemType:"text",text:str_$e(UIStrings$f.columnFunctionName)}];function findOriginalCallFrame(e){const{record:t}=e;let r=t&&t.initiator&&t.initiator.stack;if(r){for(;r.parent;)r=r.parent;return r.callFrames[r.callFrames.length-1]}}function findTraceEventOfCallFrame(e,t){return t.find((t=>"FunctionCall"==t.name&&t.args.data&&t.args.data.functionName==e.functionName&&t.args.data.scriptId==e.scriptId&&t.args.data.url==e.url&&Math.abs(t.args.data.lineNumber==e.lineNumber)<2&&Math.abs(t.args.data.columnNumber==e.columnNumber)<2))}function findEventIntervals(e,t){let r={};const n=[]
1189
1192
  ;for(const a of t)a.name==`${e}EventStart`?r={start:a.ts,end:1/0,eventName:e}:a.name==`${e}EventEnd`&&(r.end=a.ts,n.push(r));return n}function quantifyBlockedTime(e,t,r){const n=t.find((t=>t.url==e.url)),a=t.find((t=>t.url==e.blockedUrl));if(!n||!a)return 0;const i=r.get(n),o=r.get(a);return i&&o?o.startTime-i.endTime:0}class BlockingLoadEvents extends Audit$f{static get meta(){return{id:"blocking-load-events",title:str_$e(UIStrings$f.title),failureTitle:str_$e(UIStrings$f.failureTitle),description:str_$e(UIStrings$f.description),requiredArtifacts:["devtoolsLogs","traces"]}}static async audit(e,t){const r=e.traces[Audit$f.DEFAULT_PASS],n=e.devtoolsLogs[Audit$f.DEFAULT_PASS],a=await NetworkRecords$9.request(n,t),{timings:i,processEvents:o}=await TraceOfTab.request(r,t),l=await getTimingsByRecord$2(r,n,t),c=(await computeAdRequestWaterfall$2(r,n,t)).sort(((e,t)=>e.startTime-t.startTime));if(!c.length)return auditNotApplicable$f.NoAdRelatedReq
1190
1193
  ;const u=[...findEventIntervals("domContentLoaded",o),...findEventIntervals("load",o)],p=[],f=new Set;for(const e of c){const t=findOriginalCallFrame(e);if(!t)continue;const r=JSON.stringify(t);if(f.has(r))continue;f.add(r);const n=findTraceEventOfCallFrame(t,o);if(!n)continue;const c=u.find((e=>e.start<=n.ts&&n.ts<=e.end));if(c){const r=Object.assign({eventName:c.eventName,blockedUrl:e.url,time:i[c.eventName],blockedTime:1/0},t);r.blockedTime=quantifyBlockedTime(r,a,l),p.push(r)}}const b=p.length>0;let S=0;return b&&(S=Math.min(...p.map((e=>e.blockedTime)))),{numericValue:p.length,numericUnit:"unitless",score:b?0:1,displayValue:b&&S?str_$e(UIStrings$f.displayValue,{timeInMs:S}):"",details:BlockingLoadEvents.makeTableDetails(HEADINGS$6,p)}}}blockingLoadEvents.exports=BlockingLoadEvents,blockingLoadEvents.exports.UIStrings=UIStrings$f;var bottleneckRequests={exports:{}}