@lmvz-ds/components 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/cjs/{aria-loader-BRo2FTGh.js → aria-loader-DWUVcapD.js} +1 -1
  3. package/cjs/{aria-validation-controller-Z4TtOp2l.js → aria-validation-controller-BC0Eaiv4.js} +1 -1
  4. package/cjs/async.util-BQ60l-WC.js +20 -0
  5. package/cjs/{ds.constants-CKeXfK-s.js → ds.constants-C6eKRAEu.js} +5 -1
  6. package/cjs/{element.util-Cq4y-_iX.js → element.util-Dbyc8yUG.js} +35 -0
  7. package/cjs/{icons-BQASWgk-.js → icons-snv0hyf1.js} +1 -1
  8. package/cjs/{index-3g9Z9sfF.js → index-Bn3k5SiE.js} +1044 -508
  9. package/cjs/index.cjs.js +7 -5
  10. package/cjs/{list-keyboard-controller-StN6Yn8W.js → list-keyboard-controller-Dm5S_l0D.js} +1 -1
  11. package/cjs/lmvz-action-list.cjs.entry.js +13 -6
  12. package/cjs/lmvz-button-group.cjs.entry.js +4 -4
  13. package/cjs/lmvz-button_2.cjs.entry.js +7 -7
  14. package/cjs/lmvz-card.cjs.entry.js +1 -1
  15. package/cjs/lmvz-checkbox.cjs.entry.js +5 -5
  16. package/cjs/lmvz-chip.cjs.entry.js +3 -3
  17. package/cjs/lmvz-components.cjs.js +1 -1
  18. package/cjs/lmvz-header_2.cjs.entry.js +4 -4
  19. package/cjs/lmvz-input.cjs.entry.js +4 -3
  20. package/cjs/lmvz-link.cjs.entry.js +4 -4
  21. package/cjs/lmvz-menuitem.cjs.entry.js +3 -3
  22. package/cjs/lmvz-message.cjs.entry.js +3 -3
  23. package/cjs/lmvz-modal.cjs.entry.js +6 -6
  24. package/cjs/lmvz-popover.cjs.entry.js +1570 -0
  25. package/cjs/lmvz-radio.cjs.entry.js +4 -4
  26. package/cjs/lmvz-select.cjs.entry.js +3 -3
  27. package/cjs/lmvz-snackbar.cjs.entry.js +1 -1
  28. package/cjs/lmvz-spinner.cjs.entry.js +1 -1
  29. package/cjs/lmvz-tab.cjs.entry.js +1 -1
  30. package/cjs/lmvz-tabs.cjs.entry.js +3 -3
  31. package/cjs/lmvz-toggle.cjs.entry.js +6 -5
  32. package/cjs/loader.cjs.js +1 -1
  33. package/cjs/{logger-DsM6xg6V.js → logger-NBdKPSou.js} +1 -1
  34. package/cjs/{stencil.util-DzvzXSwk.js → stencil.util-DxdYjVoH.js} +2 -10
  35. package/cjs/{svg-BMBduILB.js → svg-CysxzZw7.js} +1 -1
  36. package/collection/api/ds.constants.js +3 -1
  37. package/collection/collection-manifest.json +1 -0
  38. package/collection/components/lmvz-action-list/lmvz-action-list.css +150 -38
  39. package/collection/components/lmvz-action-list/lmvz-action-list.js +9 -1
  40. package/collection/components/lmvz-button/lmvz-button.css +14 -18
  41. package/collection/components/lmvz-button/lmvz-button.js +1 -1
  42. package/collection/components/lmvz-button-group/lmvz-button-group.css +1 -2
  43. package/collection/components/lmvz-card/lmvz-card.css +16 -19
  44. package/collection/components/lmvz-checkbox/lmvz-checkbox.css +3 -6
  45. package/collection/components/lmvz-link/lmvz-link.css +1 -1
  46. package/collection/components/lmvz-menuitem/lmvz-menuitem.css +1 -2
  47. package/collection/components/lmvz-modal/lmvz-modal.css +1 -2
  48. package/collection/components/lmvz-popover/lmvz-popover.css +46 -0
  49. package/collection/components/lmvz-popover/lmvz-popover.js +470 -0
  50. package/collection/components/lmvz-radio/lmvz-radio.css +2 -4
  51. package/collection/components/lmvz-radio/lmvz-radio.js +1 -1
  52. package/collection/components/lmvz-select/lmvz-select.js +1 -1
  53. package/collection/components/lmvz-snackbar/lmvz-snackbar.js +1 -1
  54. package/collection/components/lmvz-spinner/lmvz-spinner.js +1 -1
  55. package/collection/components/lmvz-tab/lmvz-tab.js +1 -1
  56. package/collection/components/lmvz-tabs/lmvz-tabs.js +1 -1
  57. package/collection/components/lmvz-toggle/lmvz-toggle.css +1 -2
  58. package/collection/components/lmvz-toggle/lmvz-toggle.js +1 -1
  59. package/collection/integration/header-integration/header-integration.js +1 -1
  60. package/collection/utils/async/async.util.js +6 -0
  61. package/collection/utils/element/element.util.js +33 -0
  62. package/components/index.d.ts +2 -0
  63. package/components/index.d.ts.bak +2 -0
  64. package/components/index.js +1 -1
  65. package/components/lmvz-action-list.js +1 -1
  66. package/components/lmvz-button-group.js +1 -1
  67. package/components/lmvz-button.js +1 -1
  68. package/components/lmvz-card.js +1 -1
  69. package/components/lmvz-checkbox.js +1 -1
  70. package/components/lmvz-chip.js +1 -1
  71. package/components/lmvz-header.js +1 -1
  72. package/components/lmvz-icon.js +1 -1
  73. package/components/lmvz-input.js +1 -1
  74. package/components/lmvz-link.js +1 -1
  75. package/components/lmvz-menuitem.js +1 -1
  76. package/components/lmvz-message.js +1 -1
  77. package/components/lmvz-modal.js +1 -1
  78. package/components/lmvz-popover.d.ts +11 -0
  79. package/components/lmvz-popover.d.ts.bak +11 -0
  80. package/components/lmvz-popover.js +1 -0
  81. package/components/lmvz-radio.js +1 -1
  82. package/components/lmvz-select.js +1 -1
  83. package/components/lmvz-snackbar.js +1 -1
  84. package/components/lmvz-spinner.js +1 -1
  85. package/components/lmvz-tab.js +1 -1
  86. package/components/lmvz-tabs.js +1 -1
  87. package/components/lmvz-toggle.js +1 -1
  88. package/components/p-0ctLESas.js +1 -0
  89. package/components/{p-CdDO7mQa.js → p-BDonpCG8.js} +1 -1
  90. package/components/p-BhSTYZC6.js +1 -0
  91. package/components/p-CE-QR3Tp.js +1 -0
  92. package/components/{p-C8znmF2h.js → p-CFTmV4XZ.js} +1 -1
  93. package/components/{p-CxfT9IA1.js → p-CK3Ixl1K.js} +1 -1
  94. package/components/p-Cghfdblf.js +12 -0
  95. package/components/{p-B4m1n4et.js → p-D-2gj6LP.js} +1 -1
  96. package/components/{p-CGmJG63p.js → p-D06Ds9Dh.js} +1 -1
  97. package/components/{p-DeO5Vbxh.js → p-D7S1WiEC.js} +1 -1
  98. package/components/p-D9nUtvTm.js +1 -0
  99. package/components/{p-DJ90327O.js → p-De-xQqdU.js} +1 -1
  100. package/components/{p-CcxjkCOx.js → p-DjvtQE7c.js} +1 -1
  101. package/esm/{aria-loader-GfsGHZHY.js → aria-loader-BfH06m7H.js} +1 -1
  102. package/esm/{aria-validation-controller-BnyUKeJ6.js → aria-validation-controller-BvOU1BO8.js} +1 -1
  103. package/esm/async.util-D9nUtvTm.js +17 -0
  104. package/esm/{ds.constants-DuEtnKRj.js → ds.constants-0ctLESas.js} +4 -2
  105. package/esm/{element.util-CxfT9IA1.js → element.util-B0eCxdyI.js} +34 -1
  106. package/esm/{icons-CmuFKDRz.js → icons-DQOFaux5.js} +1 -1
  107. package/esm/{index-Dh_9sN0q.js → index-7ULiPTL_.js} +1044 -508
  108. package/esm/index.js +5 -5
  109. package/esm/{list-keyboard-controller-BKa9Kd2t.js → list-keyboard-controller-tle6IRkv.js} +1 -1
  110. package/esm/lmvz-action-list.entry.js +13 -6
  111. package/esm/lmvz-button-group.entry.js +4 -4
  112. package/esm/lmvz-button_2.entry.js +7 -7
  113. package/esm/lmvz-card.entry.js +1 -1
  114. package/esm/lmvz-checkbox.entry.js +5 -5
  115. package/esm/lmvz-chip.entry.js +3 -3
  116. package/esm/lmvz-components.js +1 -1
  117. package/esm/lmvz-header_2.entry.js +4 -4
  118. package/esm/lmvz-input.entry.js +4 -3
  119. package/esm/lmvz-link.entry.js +4 -4
  120. package/esm/lmvz-menuitem.entry.js +3 -3
  121. package/esm/lmvz-message.entry.js +3 -3
  122. package/esm/lmvz-modal.entry.js +6 -6
  123. package/esm/lmvz-popover.entry.js +1568 -0
  124. package/esm/lmvz-radio.entry.js +4 -4
  125. package/esm/lmvz-select.entry.js +3 -3
  126. package/esm/lmvz-snackbar.entry.js +1 -1
  127. package/esm/lmvz-spinner.entry.js +1 -1
  128. package/esm/lmvz-tab.entry.js +1 -1
  129. package/esm/lmvz-tabs.entry.js +3 -3
  130. package/esm/lmvz-toggle.entry.js +6 -5
  131. package/esm/loader.js +1 -1
  132. package/esm/{logger-CGmJG63p.js → logger-D06Ds9Dh.js} +1 -1
  133. package/esm/{stencil.util-CJRqhXjK.js → stencil.util-wGFRYLwZ.js} +1 -9
  134. package/esm/{svg-B2YoIRuh.js → svg-Dz3GD0LB.js} +1 -1
  135. package/hydrate/index.js +1652 -25
  136. package/hydrate/index.mjs +1652 -25
  137. package/lmvz-components/index.esm.js +1 -1
  138. package/lmvz-components/lmvz-components.esm.js +1 -1
  139. package/lmvz-components/p-03c38ff2.entry.js +1 -0
  140. package/lmvz-components/{p-582f44ff.entry.js → p-08613ba2.entry.js} +1 -1
  141. package/lmvz-components/p-0ctLESas.js +1 -0
  142. package/lmvz-components/{p-ed3c2b13.entry.js → p-11de5905.entry.js} +1 -1
  143. package/lmvz-components/{p-b79af711.entry.js → p-2036044c.entry.js} +1 -1
  144. package/lmvz-components/{p-c0d05a97.entry.js → p-4254aa38.entry.js} +1 -1
  145. package/lmvz-components/{p-8e1f66dd.entry.js → p-49e98627.entry.js} +1 -1
  146. package/lmvz-components/p-4f005b23.entry.js +1 -0
  147. package/lmvz-components/p-50063516.entry.js +1 -0
  148. package/lmvz-components/{p-48109e1d.entry.js → p-585470ef.entry.js} +1 -1
  149. package/lmvz-components/{p-24125bcf.entry.js → p-5bbbcfc0.entry.js} +1 -1
  150. package/lmvz-components/{p-c3e8092e.entry.js → p-6140866f.entry.js} +1 -1
  151. package/lmvz-components/p-9b7ce515.entry.js +1 -0
  152. package/lmvz-components/p-9f8fd077.entry.js +1 -0
  153. package/lmvz-components/{p-CxfT9IA1.js → p-B0eCxdyI.js} +1 -1
  154. package/lmvz-components/{p-CdDO7mQa.js → p-BDonpCG8.js} +1 -1
  155. package/lmvz-components/p-BhSTYZC6.js +1 -0
  156. package/lmvz-components/p-Cghfdblf.js +12 -0
  157. package/lmvz-components/p-CyDgnpOB.js +1 -0
  158. package/lmvz-components/{p-CGmJG63p.js → p-D06Ds9Dh.js} +1 -1
  159. package/lmvz-components/{p-CPOia2kT.js → p-D9PQIBzA.js} +1 -1
  160. package/lmvz-components/p-D9nUtvTm.js +1 -0
  161. package/lmvz-components/{p-CcxjkCOx.js → p-DjvtQE7c.js} +1 -1
  162. package/lmvz-components/{p-B4m1n4et.js → p-DuLiExhX.js} +1 -1
  163. package/lmvz-components/{p-1ce90ea7.entry.js → p-b0626234.entry.js} +1 -1
  164. package/lmvz-components/{p-fa2cd315.entry.js → p-b67ff2d1.entry.js} +1 -1
  165. package/lmvz-components/p-bfde444e.entry.js +1 -0
  166. package/lmvz-components/{p-703b10b5.entry.js → p-cc2734e9.entry.js} +1 -1
  167. package/lmvz-components/{p-25a78ead.entry.js → p-ce1a9f39.entry.js} +1 -1
  168. package/lmvz-components/{p-80a26307.entry.js → p-ddc28256.entry.js} +1 -1
  169. package/lmvz-components/p-fd455288.entry.js +1 -0
  170. package/manifest.json +386 -3
  171. package/package.json +7 -3
  172. package/types/api/ds.constants.d.ts +3 -1
  173. package/types/api/ds.types.d.ts +7 -0
  174. package/types/components/lmvz-popover/lmvz-popover.d.ts +37 -0
  175. package/types/components.d.ts +108 -1
  176. package/types/utils/async/async.util.d.ts +3 -0
  177. package/types/utils/element/element.util.d.ts +2 -0
  178. package/components/p-0s99QfRy.js +0 -12
  179. package/components/p-B0H9qIwE.js +0 -1
  180. package/components/p-CJRqhXjK.js +0 -1
  181. package/components/p-DuEtnKRj.js +0 -1
  182. package/lmvz-components/p-0s99QfRy.js +0 -12
  183. package/lmvz-components/p-4072b2fb.entry.js +0 -1
  184. package/lmvz-components/p-592d509b.entry.js +0 -1
  185. package/lmvz-components/p-6f61c24d.entry.js +0 -1
  186. package/lmvz-components/p-74c7521c.entry.js +0 -1
  187. package/lmvz-components/p-947e1fe6.entry.js +0 -1
  188. package/lmvz-components/p-CFsC37ww.js +0 -1
  189. package/lmvz-components/p-CJRqhXjK.js +0 -1
  190. package/lmvz-components/p-DuEtnKRj.js +0 -1
  191. package/lmvz-components/p-c00f0d96.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { d as dual, h as hasProperty, e as isNumber, f as isBigInt, j as isString, p as pipeArguments, N as NodeInspectSymbol, s as symbol, k as symbol$1, n as cached, o as structure, q as of$1, u as reduce, v as empty$9, w as appendAll, x as isNil, y as reverse, z as empty$a, A as cons, B as reduce$1, C as set$2, m as match$6, D as get$4, E as appendAll$1, F as isEmpty$4, G as equals$1, H as modifyAt, I as orElseSome, J as map$6, K as append$1, L as of$2, M as map$7, O as keys, P as empty$b, Q as deferredMake, R as deferredAwait, S as deferredSucceed, U as deferredFailCause, V as deferredIsDone, W as exitIsFailure, X as exitIsSuccess, Y as exitMatch, Z as exitFailCause, _ as exitSucceed, $ as exitFail, a0 as exitZipRight, a1 as exitCollectAll, a2 as exitVoid, a3 as exitDie, a4 as exitMap, a5 as exitZip, a6 as isEqual, a7 as some, a8 as none$1, a9 as isSome, aa as toJSON, ab as format$1, ac as prepend, ad as reverse$1, ae as GenericTag, af as sync$2, ag as succeed$4, ah as async_, ai as constFalse, aj as void_$2, ak as asVoid$1, al as pipe, am as join$2, an as isCons, ao as contains, ap as head, aq as tailNonEmpty, l as left, ar as prepend$1, as as map$8, r as right, at as flatMap$3, au as fail$4, av as suspend$3, aw as either, ax as isLeft, a as isRight, ay as zip$3, az as forEachSequential, aA as zip$4, aB as map$9, aC as of$3, aD as fromIterable$1, aE as fromIterable$2, aF as append$2, aG as flatten$4, aH as empty$c, aI as last, aJ as getOrElse, aK as mapError$1, aL as catchAll$1, aM as unfold$1, aN as merge$1, aO as mapBoth, aP as sort, aQ as flatMap$4, aR as unsafeGet, aS as fromIterable$3, aT as hash, aU as PCGRandom, aV as forEachSequentialDiscard, aW as as$1, aX as fromIterable$4, aY as Reference, aZ as globalValue, a_ as fiberRefUnsafeMakeContext, a$ as add, b0 as empty$d, b1 as withFiberRuntime$1, b2 as headNonEmpty, b3 as isNonEmptyReadonlyArray, b4 as logLevelWarning, b5 as logLevelNone, b6 as logLevelTrace, b7 as logLevelInfo, b8 as logLevelFatal, b9 as logLevelError, ba as logLevelDebug, bb as logLevelAll, bc as make$n, bd as Class, be as get$5, bf as set$3, bg as string, bh as matchEffect, bi as matchCauseEffect$1, bj as zipRight$3, bk as failCause$6, bl as constVoid, bm as contextWithEffect, bn as provideContext, bo as get$6, bp as failCauseSync$1, bq as yieldNow$1, br as combine$2, bs as fiberRefUnsafeMake, bt as currentMaxOpsBeforeYield, bu as currentSchedulingPriority, bv as fiberRefGetWith, bw as currentConcurrency, bx as none$2, by as zipLeft$1, bz as flatten$5, bA as unsafeFromArray, bB as makeBy, bC as dedupe, bD as appendAll$2, bE as array, bF as fromNullable, bG as getEquivalence, bH as union, bI as allocate, bJ as lastNonEmpty, bK as span, bL as isNone, bM as getOrUndefined, bN as tap$1, bO as currentMetricLabels, bP as deferredUnsafeDone, bQ as isTagged, bR as make$o, bS as reduce$2, bT as difference, bU as empty$e, bV as union$1, bW as make$p, bX as isNonEmpty$2, bY as headNonEmpty$1, bZ as tailNonEmpty$1, b_ as onExit, b$ as uninterruptibleMask$1, c0 as transplant, c1 as CloseableScopeTypeId, c2 as ScopeTypeId, c3 as exitAsVoid, c4 as exit$1, c5 as sequential$2, c6 as isEffect$1, c7 as mapInputContext, c8 as merge$2, c9 as make$q, ca as OP_FAILURE, cb as OP_SUCCESS, i as identity, cc as combine$3, cd as currentRequestBatching, ce as isIterable, cf as unsafeMake$5, cg as currentContext, ch as currentForkScopeOverride, ci as compareAndSet, cj as runtimeMetrics, ck as currentInterruptedCause, cl as deferredUnsafeMake, cm as fiberRefUnsafeMakeRuntimeFlags, cn as exclude, co as WindDown, cp as Interruption, cq as diff$3, cr as updateRuntimeFlags, cs as interrupt$3, ct as fiberRefUnsafeMakePatch, cu as isEmpty$5, cv as whileLoop, cw as currentUnhandledErrorLogLevel, cx as isInterruptedOnly$1, cy as currentLogLevel, cz as currentLogSpan, cA as currentLogAnnotations, cB as size$2, cC as withRedactableContext, cD as interruptible$1, cE as OP_YIELD$1, cF as cooperativeYielding, cG as OP_ASYNC, cH as enable, cI as patch$4, cJ as die$2, cK as OP_ON_FAILURE, cL as OP_ON_SUCCESS, cM as OP_WHILE, cN as OP_ITERATOR, cO as OP_TAG, cP as unsafeGet$1, cQ as NoSuchElementException, cR as unsafeAsync, cS as runFork$1, cT as provideContext$1, cU as die$3, cV as OP_SYNC, cW as internalCall, cX as OP_REVERT_FLAGS, cY as stripFailures, cZ as OP_ON_SUCCESS_AND_FAILURE, c_ as OP_WITH_RUNTIME, c$ as blocked, d0 as runRequestBlock, d1 as OP_UPDATE_RUNTIME_FLAGS, d2 as RevertFlags, d3 as OP_COMMIT, d4 as OpSupervision, d5 as EffectTypeId, d6 as currentVersionMismatchErrorLogLevel, d7 as getCurrentVersion, d8 as empty$f, d9 as dieMessage$1, da as toStringUnknown, db as isInterruptedException, dc as fiberRefUnsafeMakeHashSet, dd as yieldWrapGet, de as exitIsExit, df as step$1, dg as uninterruptible$1, dh as getOption, di as scopeFork, dj as none$3, dk as makeLogger, dl as threadName, dm as pretty, dn as fiberIdWith$1, dp as exitMatchEffect, dq as interruptAsFiber, dr as parallel$2, ds as toReadonlyArray, dt as fiberRefLocally, du as stringLogger, dv as interruptible$2, dw as isInterrupted$1, dx as interruptFiber, dy as exitInterrupt, dz as fail$5, dA as failureOrCause$1, dB as flipCauseOption$1, dC as map$a, dD as isDieType$1, dE as interruptors$1, dF as head$1, dG as scopeClose, dH as scopeAddFinalizerExit, dI as scopeAddFinalizer, dJ as asyncInterrupt, dK as make$r, dL as RuntimeMetrics, dM as CooperativeYielding, dN as prettyErrors, dO as isContext, dP as provideSomeContext, dQ as whenEffect, dR as mergeAll$2, dS as gen$1, dT as zipWith$1, dU as fnUntraced, dV as catchAllCause$1, dW as find, dX as orDie, dY as failSync, dZ as interrupt$4, d_ as matchCause$1, d$ as acquireUseRelease$1, e0 as intoDeferred$1, e1 as splitAt, e2 as isEmpty$6, e3 as onInterrupt, e4 as filter, e5 as deferredInterruptWith, e6 as fiberId, e7 as match$7, e8 as combineAll, e9 as unsafeGet$2, ea as reduce$3, eb as map$b, ec as splitWhere, ed as filterMap } from './logger-CGmJG63p.js';
1
+ import { d as dual, h as hasProperty, e as isNumber, f as isBigInt, j as isString, p as pipeArguments, N as NodeInspectSymbol, s as symbol, k as symbol$1, n as cached, o as structure, q as of$1, u as reduce, v as empty$9, w as appendAll, x as isNil, y as reverse, z as empty$a, A as cons, B as reduce$1, C as set$2, m as match$6, D as get$4, E as appendAll$1, F as isEmpty$4, G as equals$1, H as modifyAt, I as orElseSome, J as map$6, K as append$1, L as of$2, M as map$7, O as keys, P as empty$b, Q as deferredMake, R as deferredAwait, S as deferredSucceed, U as deferredFailCause, V as deferredIsDone, W as exitIsFailure, X as exitIsSuccess, Y as exitMatch, Z as exitFailCause, _ as exitSucceed, $ as exitFail, a0 as exitZipRight, a1 as exitCollectAll, a2 as exitVoid, a3 as exitDie, a4 as exitMap, a5 as exitZip, a6 as isEqual, a7 as some, a8 as none$1, a9 as isSome, aa as toJSON, ab as format$1, ac as prepend, ad as reverse$1, ae as GenericTag, af as sync$2, ag as succeed$4, ah as async_, ai as constFalse, aj as void_$2, ak as asVoid$1, al as pipe, am as join$2, an as isCons, ao as contains, ap as head, aq as tailNonEmpty, l as left, ar as prepend$1, as as map$8, r as right, at as flatMap$3, au as fail$4, av as suspend$3, aw as either, ax as isLeft, a as isRight, ay as zip$3, az as forEachSequential, aA as zip$4, aB as map$9, aC as of$3, aD as fromIterable$1, aE as fromIterable$2, aF as append$2, aG as flatten$4, aH as empty$c, aI as last, aJ as getOrElse, aK as mapError$1, aL as catchAll$1, aM as unfold$1, aN as merge$1, aO as mapBoth, aP as sort, aQ as flatMap$4, aR as unsafeGet, aS as fromIterable$3, aT as hash, aU as PCGRandom, aV as forEachSequentialDiscard, aW as as$1, aX as fromIterable$4, aY as Reference, aZ as globalValue, a_ as fiberRefUnsafeMakeContext, a$ as add, b0 as empty$d, b1 as withFiberRuntime$1, b2 as headNonEmpty, b3 as isNonEmptyReadonlyArray, b4 as logLevelWarning, b5 as logLevelNone, b6 as logLevelTrace, b7 as logLevelInfo, b8 as logLevelFatal, b9 as logLevelError, ba as logLevelDebug, bb as logLevelAll, bc as make$n, bd as Class, be as get$5, bf as set$3, bg as string, bh as matchEffect, bi as matchCauseEffect$1, bj as zipRight$3, bk as failCause$6, bl as constVoid, bm as contextWithEffect, bn as provideContext, bo as get$6, bp as failCauseSync$1, bq as yieldNow$1, br as combine$2, bs as fiberRefUnsafeMake, bt as currentMaxOpsBeforeYield, bu as currentSchedulingPriority, bv as fiberRefGetWith, bw as currentConcurrency, bx as none$2, by as zipLeft$1, bz as flatten$5, bA as unsafeFromArray, bB as makeBy, bC as dedupe, bD as appendAll$2, bE as array, bF as fromNullable, bG as getEquivalence, bH as union, bI as allocate, bJ as lastNonEmpty, bK as span, bL as isNone, bM as getOrUndefined, bN as tap$1, bO as currentMetricLabels, bP as deferredUnsafeDone, bQ as isTagged, bR as make$o, bS as reduce$2, bT as difference, bU as empty$e, bV as union$1, bW as make$p, bX as isNonEmpty$2, bY as headNonEmpty$1, bZ as tailNonEmpty$1, b_ as onExit, b$ as uninterruptibleMask$1, c0 as transplant, c1 as CloseableScopeTypeId, c2 as ScopeTypeId, c3 as exitAsVoid, c4 as exit$1, c5 as sequential$2, c6 as isEffect$1, c7 as mapInputContext, c8 as merge$2, c9 as make$q, ca as OP_FAILURE, cb as OP_SUCCESS, i as identity, cc as combine$3, cd as currentRequestBatching, ce as isIterable, cf as unsafeMake$5, cg as currentContext, ch as currentForkScopeOverride, ci as compareAndSet, cj as runtimeMetrics, ck as currentInterruptedCause, cl as deferredUnsafeMake, cm as fiberRefUnsafeMakeRuntimeFlags, cn as exclude, co as WindDown, cp as Interruption, cq as diff$3, cr as updateRuntimeFlags, cs as interrupt$3, ct as fiberRefUnsafeMakePatch, cu as isEmpty$5, cv as whileLoop, cw as currentUnhandledErrorLogLevel, cx as isInterruptedOnly$1, cy as currentLogLevel, cz as currentLogSpan, cA as currentLogAnnotations, cB as size$2, cC as withRedactableContext, cD as interruptible$1, cE as OP_YIELD$1, cF as cooperativeYielding, cG as OP_ASYNC, cH as enable, cI as patch$4, cJ as die$2, cK as OP_ON_FAILURE, cL as OP_ON_SUCCESS, cM as OP_WHILE, cN as OP_ITERATOR, cO as OP_TAG, cP as unsafeGet$1, cQ as NoSuchElementException, cR as unsafeAsync, cS as runFork$1, cT as provideContext$1, cU as die$3, cV as OP_SYNC, cW as internalCall, cX as OP_REVERT_FLAGS, cY as stripFailures, cZ as OP_ON_SUCCESS_AND_FAILURE, c_ as OP_WITH_RUNTIME, c$ as blocked, d0 as runRequestBlock, d1 as OP_UPDATE_RUNTIME_FLAGS, d2 as RevertFlags, d3 as OP_COMMIT, d4 as OpSupervision, d5 as EffectTypeId, d6 as currentVersionMismatchErrorLogLevel, d7 as getCurrentVersion, d8 as empty$f, d9 as dieMessage$1, da as toStringUnknown, db as isInterruptedException, dc as fiberRefUnsafeMakeHashSet, dd as yieldWrapGet, de as exitIsExit, df as step$1, dg as uninterruptible$1, dh as getOption, di as scopeFork, dj as none$3, dk as makeLogger, dl as threadName, dm as pretty, dn as fiberIdWith$1, dp as exitMatchEffect, dq as interruptAsFiber, dr as parallel$2, ds as toReadonlyArray, dt as fiberRefLocally, du as stringLogger, dv as interruptible$2, dw as isInterrupted$1, dx as interruptFiber, dy as exitInterrupt, dz as fail$5, dA as failureOrCause$1, dB as flipCauseOption$1, dC as map$a, dD as isDieType$1, dE as interruptors$1, dF as head$1, dG as scopeClose, dH as scopeAddFinalizerExit, dI as scopeAddFinalizer, dJ as asyncInterrupt, dK as make$r, dL as RuntimeMetrics, dM as CooperativeYielding, dN as prettyErrors, dO as isContext, dP as provideSomeContext, dQ as whenEffect, dR as mergeAll$2, dS as gen$1, dT as zipWith$1, dU as fnUntraced, dV as catchAllCause$1, dW as find, dX as orDie, dY as failSync, dZ as interrupt$4, d_ as matchCause$1, d$ as acquireUseRelease$1, e0 as intoDeferred$1, e1 as splitAt, e2 as isEmpty$6, e3 as onInterrupt, e4 as filter, e5 as deferredInterruptWith, e6 as fiberId, e7 as match$7, e8 as combineAll, e9 as unsafeGet$2, ea as reduce$3, eb as map$b, ec as splitWhere, ed as filterMap } from './logger-D06Ds9Dh.js';
2
2
 
3
3
  /**
4
4
  * This module provides an implementation of the `Order` type class which is used to define a total ordering on some type `A`.
@@ -12367,7 +12367,7 @@ const runDrain = runDrain$1;
12367
12367
 
12368
12368
  var axe$1 = {exports: {}};
12369
12369
 
12370
- /*! axe v4.11.3
12370
+ /*! axe v4.12.1
12371
12371
  * Copyright (c) 2015 - 2026 Deque Systems, Inc.
12372
12372
  *
12373
12373
  * Your use of this Source Code Form is subject to the terms of the Mozilla Public
@@ -12398,7 +12398,7 @@ function requireAxe () {
12398
12398
  }, _typeof(o);
12399
12399
  }
12400
12400
  var axe = axe || {};
12401
- axe.version = '4.11.3';
12401
+ axe.version = '4.12.1';
12402
12402
  if ((_typeof(module)) === 'object' && module.exports && typeof axeFunction.toString === 'function') {
12403
12403
  axe.source = '(' + axeFunction.toString() + ')(typeof window === "object" ? window : this);';
12404
12404
  module.exports = axe;
@@ -12407,6 +12407,136 @@ function requireAxe () {
12407
12407
  window.axe = axe;
12408
12408
  }
12409
12409
  var _excluded = [ 'precision', 'format', 'inGamut' ], _excluded2 = [ 'space' ], _excluded3 = [ 'algorithm' ], _excluded4 = [ 'method' ], _excluded5 = [ 'maxDeltaE', 'deltaEMethod', 'steps', 'maxSteps' ], _excluded6 = [ 'node' ], _excluded7 = [ 'relatedNodes' ], _excluded8 = [ 'node' ], _excluded9 = [ 'variant' ], _excluded0 = [ 'matches' ], _excluded1 = [ 'chromium' ], _excluded10 = [ 'noImplicit' ], _excluded11 = [ 'noPresentational' ], _excluded12 = [ 'node' ], _excluded13 = [ 'environmentData' ], _excluded14 = [ 'environmentData' ], _excluded15 = [ 'environmentData' ], _excluded16 = [ 'environmentData' ], _excluded17 = [ 'environmentData' ];
12410
+ function _regenerator() {
12411
+ var e, t, r = 'function' == typeof Symbol ? Symbol : {}, n = r.iterator || '@@iterator', o = r.toStringTag || '@@toStringTag';
12412
+ function i(r, n, o, i) {
12413
+ var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype);
12414
+ return _regeneratorDefine2(u, '_invoke', function(r, n, o) {
12415
+ var i, c, u, f = 0, p = o || [], y = false, G = {
12416
+ p: 0,
12417
+ n: 0,
12418
+ v: e,
12419
+ a: d,
12420
+ f: d.bind(e, 4),
12421
+ d: function d(t, r) {
12422
+ return i = t, c = 0, u = e, G.n = r, a;
12423
+ }
12424
+ };
12425
+ function d(r, n) {
12426
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
12427
+ var o, i = p[t], d = G.p, l = i[2];
12428
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0,
12429
+ G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r,
12430
+ i[5] = n, G.n = l, c = 0));
12431
+ }
12432
+ if (o || r > 1) {
12433
+ return a;
12434
+ }
12435
+ throw y = true, n;
12436
+ }
12437
+ return function(o, p, l) {
12438
+ if (f > 1) {
12439
+ throw TypeError('Generator is already running');
12440
+ }
12441
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y; ) {
12442
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
12443
+ try {
12444
+ if (f = 2, i) {
12445
+ if (c || (o = 'next'), t = i[o]) {
12446
+ if (!(t = t.call(i, u))) {
12447
+ throw TypeError('iterator result is not an object');
12448
+ }
12449
+ if (!t.done) {
12450
+ return t;
12451
+ }
12452
+ u = t.value, c < 2 && (c = 0);
12453
+ } else {
12454
+ 1 === c && (t = i['return']) && t.call(i), c < 2 && (u = TypeError('The iterator does not provide a \'' + o + '\' method'),
12455
+ c = 1);
12456
+ }
12457
+ i = e;
12458
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) {
12459
+ break;
12460
+ }
12461
+ } catch (t) {
12462
+ i = e, c = 1, u = t;
12463
+ } finally {
12464
+ f = 1;
12465
+ }
12466
+ }
12467
+ return {
12468
+ value: t,
12469
+ done: y
12470
+ };
12471
+ };
12472
+ }(r, o, i), true), u;
12473
+ }
12474
+ var a = {};
12475
+ function Generator() {}
12476
+ function GeneratorFunction() {}
12477
+ function GeneratorFunctionPrototype() {}
12478
+ t = Object.getPrototypeOf;
12479
+ var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function() {
12480
+ return this;
12481
+ }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
12482
+ function f(e) {
12483
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype,
12484
+ _regeneratorDefine2(e, o, 'GeneratorFunction')), e.prototype = Object.create(u),
12485
+ e;
12486
+ }
12487
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, 'constructor', GeneratorFunctionPrototype),
12488
+ _regeneratorDefine2(GeneratorFunctionPrototype, 'constructor', GeneratorFunction),
12489
+ GeneratorFunction.displayName = 'GeneratorFunction', _regeneratorDefine2(GeneratorFunctionPrototype, o, 'GeneratorFunction'),
12490
+ _regeneratorDefine2(u), _regeneratorDefine2(u, o, 'Generator'), _regeneratorDefine2(u, n, function() {
12491
+ return this;
12492
+ }), _regeneratorDefine2(u, 'toString', function() {
12493
+ return '[object Generator]';
12494
+ }), (_regenerator = function _regenerator() {
12495
+ return {
12496
+ w: i,
12497
+ m: f
12498
+ };
12499
+ })();
12500
+ }
12501
+ function _regeneratorDefine2(e, r, n, t) {
12502
+ var i = Object.defineProperty;
12503
+ _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) {
12504
+ function o(r, n) {
12505
+ _regeneratorDefine2(e, r, function(e) {
12506
+ return this._invoke(r, n, e);
12507
+ });
12508
+ }
12509
+ r ? i ? i(e, r, {
12510
+ value: n,
12511
+ enumerable: !t,
12512
+ configurable: !t,
12513
+ writable: !t
12514
+ }) : e[r] = n : (o('next', 0), o('throw', 1), o('return', 2));
12515
+ }, _regeneratorDefine2(e, r, n, t);
12516
+ }
12517
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
12518
+ try {
12519
+ var i = n[a](c), u = i.value;
12520
+ } catch (n) {
12521
+ return void e(n);
12522
+ }
12523
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
12524
+ }
12525
+ function _asyncToGenerator(n) {
12526
+ return function() {
12527
+ var t = this, e = arguments;
12528
+ return new Promise(function(r, o) {
12529
+ var a = n.apply(t, e);
12530
+ function _next(n) {
12531
+ asyncGeneratorStep(a, r, o, _next, _throw, 'next', n);
12532
+ }
12533
+ function _throw(n) {
12534
+ asyncGeneratorStep(a, r, o, _next, _throw, 'throw', n);
12535
+ }
12536
+ _next(void 0);
12537
+ });
12538
+ };
12539
+ }
12410
12540
  function _toArray(r) {
12411
12541
  return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
12412
12542
  }
@@ -18912,12 +19042,18 @@ function requireAxe () {
18912
19042
  Object.freeze(constants.resultGroupMap);
18913
19043
  Object.freeze(constants);
18914
19044
  var constants_default = constants;
19045
+ var logger;
18915
19046
  function log() {
18916
- if ((typeof console === 'undefined' ? 'undefined' : _typeof(console)) === 'object' && console.log) {
18917
- Function.prototype.apply.call(console.log, console, arguments);
19047
+ if (logger) {
19048
+ logger.apply(void 0, arguments);
19049
+ } else if ((typeof console === 'undefined' ? 'undefined' : _typeof(console)) === 'object' && console.log) {
19050
+ var _console;
19051
+ (_console = console).log.apply(_console, arguments);
18918
19052
  }
18919
19053
  }
18920
- var log_default = log;
19054
+ function setLogger(fn) {
19055
+ logger = fn;
19056
+ }
18921
19057
  var whitespaceRegex = /[\t\r\n\f]/g;
18922
19058
  var AbstractVirtualNode = function() {
18923
19059
  function AbstractVirtualNode() {
@@ -19037,6 +19173,9 @@ function requireAxe () {
19037
19173
  getCheckOption: function getCheckOption() {
19038
19174
  return get_check_option_default;
19039
19175
  },
19176
+ getElementInternals: function getElementInternals() {
19177
+ return _getElementInternals;
19178
+ },
19040
19179
  getElementSource: function getElementSource() {
19041
19180
  return _getElementSource;
19042
19181
  },
@@ -19110,7 +19249,7 @@ function requireAxe () {
19110
19249
  return is_hidden_default;
19111
19250
  },
19112
19251
  isHtmlElement: function isHtmlElement() {
19113
- return is_html_element_default;
19252
+ return _isHtmlElement;
19114
19253
  },
19115
19254
  isLabelledFramesSelector: function isLabelledFramesSelector() {
19116
19255
  return _isLabelledFramesSelector;
@@ -19124,6 +19263,9 @@ function requireAxe () {
19124
19263
  isShadowRoot: function isShadowRoot() {
19125
19264
  return is_shadow_root_default;
19126
19265
  },
19266
+ isValidCustomElementName: function isValidCustomElementName() {
19267
+ return _isValidCustomElementName;
19268
+ },
19127
19269
  isValidLang: function isValidLang() {
19128
19270
  return valid_langs_default;
19129
19271
  },
@@ -19157,6 +19299,9 @@ function requireAxe () {
19157
19299
  nodeSorter: function nodeSorter() {
19158
19300
  return node_sorter_default;
19159
19301
  },
19302
+ normalizeRunOptions: function normalizeRunOptions() {
19303
+ return _normalizeRunOptions;
19304
+ },
19160
19305
  objectHasOwn: function objectHasOwn() {
19161
19306
  return _objectHasOwn;
19162
19307
  },
@@ -20306,8 +20451,8 @@ function requireAxe () {
20306
20451
  format.type || (format.type = 'function');
20307
20452
  format.name || (format.name = 'color');
20308
20453
  format.coordGrammar = parseCoordGrammar(format.coords);
20309
- var coordFormats = Object.entries(this.coords).map(function(_ref153, i) {
20310
- var _ref154 = _slicedToArray(_ref153, 2), coordMeta = _ref154[1];
20454
+ var coordFormats = Object.entries(this.coords).map(function(_ref154, i) {
20455
+ var _ref155 = _slicedToArray(_ref154, 2), coordMeta = _ref155[1];
20311
20456
  var outputType = format.coordGrammar[i][0];
20312
20457
  var fromRange = coordMeta.range || coordMeta.refRange;
20313
20458
  var toRange = outputType.range, suffix = '';
@@ -23148,7 +23293,7 @@ function requireAxe () {
23148
23293
  return Array.from(doc.querySelectorAll(selector));
23149
23294
  });
23150
23295
  function generateAncestry(node) {
23151
- var nodeName2 = node.nodeName.toLowerCase();
23296
+ var nodeName2 = escape_selector_default(node.nodeName.toLowerCase());
23152
23297
  var parentElement = node.parentElement;
23153
23298
  var parentNode = node.parentNode;
23154
23299
  var nthChild = '';
@@ -23719,7 +23864,7 @@ function requireAxe () {
23719
23864
  err2 = e;
23720
23865
  setTimeout(function() {
23721
23866
  if (err2 !== void 0 && err2 !== null) {
23722
- log_default('Uncaught error (of queue)', err2);
23867
+ log('Uncaught error (of queue)', err2);
23723
23868
  }
23724
23869
  }, 1);
23725
23870
  };
@@ -24206,7 +24351,7 @@ function requireAxe () {
24206
24351
  var win = node.contentWindow;
24207
24352
  var pingWaitTime = (_parameters$options$p = (_parameters$options = parameters.options) === null || _parameters$options === void 0 ? void 0 : _parameters$options.pingWaitTime) !== null && _parameters$options$p !== void 0 ? _parameters$options$p : 500;
24208
24353
  if (!win) {
24209
- log_default('Frame does not have a content window', node);
24354
+ log('Frame does not have a content window', node);
24210
24355
  resolve(null);
24211
24356
  return;
24212
24357
  }
@@ -24508,11 +24653,18 @@ function requireAxe () {
24508
24653
  });
24509
24654
  }
24510
24655
  var extend_meta_data_default = extendMetaData;
24656
+ var reservedNames = [ 'annotation-xml', 'color-profile', 'font-face', 'font-face-src', 'font-face-uri', 'font-face-format', 'font-face-name', 'missing-glyph' ];
24657
+ var validLocalNameRegex = /^(?:[A-Za-z](?:[\x01-\x08\x0B\x0E-\x1F!-\.0-=\?-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*|(?:[:_\x80-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF])(?:[\x2D\.0-:A-Z_a-z\x80-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF])*)$/;
24658
+ var alphaLowerRegex = /[a-z]/;
24659
+ var alphaUpperRegex = /[A-Z]/;
24660
+ function _isValidCustomElementName(nodeName2) {
24661
+ return !reservedNames.includes(nodeName2) && validLocalNameRegex.test(nodeName2) && alphaLowerRegex.test(nodeName2[0]) && !alphaUpperRegex.test(nodeName2) && nodeName2.includes('-');
24662
+ }
24511
24663
  var possibleShadowRoots = [ 'article', 'aside', 'blockquote', 'body', 'div', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'main', 'nav', 'p', 'section', 'span' ];
24512
24664
  function isShadowRoot(node) {
24513
24665
  if (node.shadowRoot) {
24514
24666
  var nodeName2 = node.nodeName.toLowerCase();
24515
- if (possibleShadowRoots.includes(nodeName2) || /^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(nodeName2)) {
24667
+ if (possibleShadowRoots.includes(nodeName2) || _isValidCustomElementName(nodeName2)) {
24516
24668
  return true;
24517
24669
  }
24518
24670
  }
@@ -28496,12 +28648,15 @@ function requireAxe () {
28496
28648
  }
28497
28649
  var get_element_spec_default = getElementSpec;
28498
28650
  function implicitRole2(node) {
28651
+ var _vNode$elementInterna;
28499
28652
  var _ref56 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, chromium = _ref56.chromium;
28500
- var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node);
28501
- node = vNode.actualNode;
28653
+ var _nodeLookup10 = _nodeLookup(node), vNode = _nodeLookup10.vNode;
28502
28654
  if (!vNode) {
28503
28655
  throw new ReferenceError('Cannot get implicit role of a node outside the current scope.');
28504
28656
  }
28657
+ if ((_vNode$elementInterna = vNode.elementInternals) !== null && _vNode$elementInterna !== void 0 && _vNode$elementInterna.role) {
28658
+ return vNode.elementInternals.role;
28659
+ }
28505
28660
  var nodeName2 = vNode.props.nodeName;
28506
28661
  var role = implicit_html_roles_default[nodeName2];
28507
28662
  if (!role && chromium) {
@@ -28572,7 +28727,7 @@ function requireAxe () {
28572
28727
  function resolveRole(node) {
28573
28728
  var _ref58 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
28574
28729
  var noImplicit = _ref58.noImplicit, roleOptions = _objectWithoutProperties(_ref58, _excluded10);
28575
- var _nodeLookup10 = _nodeLookup(node), vNode = _nodeLookup10.vNode;
28730
+ var _nodeLookup11 = _nodeLookup(node), vNode = _nodeLookup11.vNode;
28576
28731
  if (vNode.props.nodeType !== 1) {
28577
28732
  return null;
28578
28733
  }
@@ -28600,7 +28755,7 @@ function requireAxe () {
28600
28755
  var get_role_default = getRole;
28601
28756
  var alwaysTitleElements = [ 'iframe' ];
28602
28757
  function titleText(node) {
28603
- var _nodeLookup11 = _nodeLookup(node), vNode = _nodeLookup11.vNode;
28758
+ var _nodeLookup12 = _nodeLookup(node), vNode = _nodeLookup12.vNode;
28604
28759
  if (vNode.props.nodeType !== 1 || !node.hasAttr('title')) {
28605
28760
  return '';
28606
28761
  }
@@ -28677,18 +28832,143 @@ function requireAxe () {
28677
28832
  }
28678
28833
  return isVisibleToScreenReadersVirtual(vNode.parent, true);
28679
28834
  });
28835
+ function getUnicodeNonBmpRegExp() {
28836
+ return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g;
28837
+ }
28838
+ function getPunctuationRegExp() {
28839
+ return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g;
28840
+ }
28841
+ function getSupplementaryPrivateUseRegExp() {
28842
+ return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g;
28843
+ }
28844
+ function getCategoryFormatRegExp() {
28845
+ return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g;
28846
+ }
28847
+ function hasUnicode(str, options) {
28848
+ var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations;
28849
+ var value = false;
28850
+ if (emoji) {
28851
+ value || (value = emoji_regex_default().test(str));
28852
+ }
28853
+ if (nonBmp) {
28854
+ value || (value = getUnicodeNonBmpRegExp().test(str) || getSupplementaryPrivateUseRegExp().test(str) || getCategoryFormatRegExp().test(str));
28855
+ }
28856
+ if (punctuations) {
28857
+ value || (value = getPunctuationRegExp().test(str));
28858
+ }
28859
+ return value;
28860
+ }
28861
+ var has_unicode_default = hasUnicode;
28862
+ function _isIconLigature(textVNode) {
28863
+ var differenceThreshold = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .15;
28864
+ var occurrenceThreshold = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
28865
+ var nodeValue = textVNode.actualNode.nodeValue.trim();
28866
+ if (!sanitize_default(nodeValue) || has_unicode_default(nodeValue, {
28867
+ emoji: true,
28868
+ nonBmp: true
28869
+ })) {
28870
+ return false;
28871
+ }
28872
+ var canvasContext = cache_default.get('canvasContext', function() {
28873
+ return document.createElement('canvas').getContext('2d', {
28874
+ willReadFrequently: true
28875
+ });
28876
+ });
28877
+ var canvas = canvasContext.canvas;
28878
+ var fonts = cache_default.get('fonts', function() {
28879
+ return {};
28880
+ });
28881
+ var style = window.getComputedStyle(textVNode.parent.actualNode);
28882
+ var fontFamily = style.getPropertyValue('font-family');
28883
+ if (!fonts[fontFamily]) {
28884
+ fonts[fontFamily] = {
28885
+ occurrences: 0,
28886
+ numLigatures: 0
28887
+ };
28888
+ }
28889
+ var font = fonts[fontFamily];
28890
+ if (font.occurrences >= occurrenceThreshold) {
28891
+ if (font.numLigatures / font.occurrences === 1) {
28892
+ return true;
28893
+ } else if (font.numLigatures === 0) {
28894
+ return false;
28895
+ }
28896
+ }
28897
+ font.occurrences++;
28898
+ var fontSize = 30;
28899
+ var fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily);
28900
+ canvasContext.font = fontStyle;
28901
+ var firstChar = nodeValue.charAt(0);
28902
+ var width = canvasContext.measureText(firstChar).width;
28903
+ if (width === 0) {
28904
+ font.numLigatures++;
28905
+ return true;
28906
+ }
28907
+ if (width < 30) {
28908
+ var diff = 30 / width;
28909
+ width *= diff;
28910
+ fontSize *= diff;
28911
+ fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily);
28912
+ }
28913
+ canvas.width = width;
28914
+ canvas.height = fontSize;
28915
+ canvasContext.font = fontStyle;
28916
+ canvasContext.textAlign = 'left';
28917
+ canvasContext.textBaseline = 'top';
28918
+ canvasContext.fillText(firstChar, 0, 0);
28919
+ var compareData = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer);
28920
+ if (!compareData.some(function(pixel) {
28921
+ return pixel;
28922
+ })) {
28923
+ font.numLigatures++;
28924
+ return true;
28925
+ }
28926
+ canvasContext.clearRect(0, 0, width, fontSize);
28927
+ canvasContext.fillText(nodeValue, 0, 0);
28928
+ var compareWith = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer);
28929
+ var differences = compareData.reduce(function(diff, pixel, i) {
28930
+ if (pixel === 0 && compareWith[i] === 0) {
28931
+ return diff;
28932
+ }
28933
+ if (pixel !== 0 && compareWith[i] !== 0) {
28934
+ return diff;
28935
+ }
28936
+ return ++diff;
28937
+ }, 0);
28938
+ var expectedWidth = nodeValue.split('').reduce(function(totalWidth, _char2) {
28939
+ return totalWidth + canvasContext.measureText(_char2).width;
28940
+ }, 0);
28941
+ var actualWidth = canvasContext.measureText(nodeValue).width;
28942
+ var pixelDifference = differences / compareData.length;
28943
+ var sizeDifference = 1 - actualWidth / expectedWidth;
28944
+ if (pixelDifference >= differenceThreshold && sizeDifference >= differenceThreshold) {
28945
+ font.numLigatures++;
28946
+ return true;
28947
+ }
28948
+ return false;
28949
+ }
28680
28950
  function visibleVirtual(element, screenReader, noRecursing) {
28681
- var _nodeLookup12 = _nodeLookup(element), vNode = _nodeLookup12.vNode;
28951
+ var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
28952
+ var _nodeLookup13 = _nodeLookup(element), vNode = _nodeLookup13.vNode;
28682
28953
  var visibleMethod = screenReader ? _isVisibleToScreenReaders : _isVisibleOnScreen;
28683
28954
  var visible2 = !element.actualNode || element.actualNode && visibleMethod(element);
28955
+ var ignoreIconLigature = options.ignoreIconLigature, pixelThreshold = options.pixelThreshold, occurrenceThreshold = options.occurrenceThreshold;
28684
28956
  var result = vNode.children.map(function(child) {
28685
- var _child$props = child.props, nodeType = _child$props.nodeType, nodeValue = _child$props.nodeValue;
28957
+ var _child$props = child.props, nodeType = _child$props.nodeType, nodeValue = _child$props.nodeValue, nodeName2 = _child$props.nodeName;
28686
28958
  if (nodeType === 3) {
28687
- if (nodeValue && visible2) {
28688
- return nodeValue;
28959
+ if (!nodeValue || !visible2) {
28960
+ return '';
28961
+ }
28962
+ if (ignoreIconLigature && _isIconLigature(child, pixelThreshold, occurrenceThreshold)) {
28963
+ return '';
28689
28964
  }
28690
- } else if (!noRecursing) {
28691
- return visibleVirtual(child, screenReader);
28965
+ return nodeValue;
28966
+ }
28967
+ if (nodeName2 === 'br') {
28968
+ return ' ';
28969
+ }
28970
+ if (!noRecursing) {
28971
+ return visibleVirtual(child, screenReader, false, options);
28692
28972
  }
28693
28973
  }).join('');
28694
28974
  return sanitize_default(result);
@@ -28752,19 +29032,19 @@ function requireAxe () {
28752
29032
  return accName || step(virtualNode, context);
28753
29033
  }, '');
28754
29034
  if (context.debug) {
28755
- log_default(valueString || '{empty-value}', actualNode, context);
29035
+ log(valueString || '{empty-value}', actualNode, context);
28756
29036
  }
28757
29037
  return valueString;
28758
29038
  }
28759
29039
  function nativeTextboxValue(node) {
28760
- var _nodeLookup13 = _nodeLookup(node), vNode = _nodeLookup13.vNode;
29040
+ var _nodeLookup14 = _nodeLookup(node), vNode = _nodeLookup14.vNode;
28761
29041
  if (is_native_textbox_default(vNode)) {
28762
29042
  return vNode.props.value || '';
28763
29043
  }
28764
29044
  return '';
28765
29045
  }
28766
29046
  function nativeSelectValue(node) {
28767
- var _nodeLookup14 = _nodeLookup(node), vNode = _nodeLookup14.vNode;
29047
+ var _nodeLookup15 = _nodeLookup(node), vNode = _nodeLookup15.vNode;
28768
29048
  if (!is_native_select_default(vNode)) {
28769
29049
  return '';
28770
29050
  }
@@ -28780,7 +29060,7 @@ function requireAxe () {
28780
29060
  }).join(' ') || '';
28781
29061
  }
28782
29062
  function ariaTextboxValue(node) {
28783
- var _nodeLookup15 = _nodeLookup(node), vNode = _nodeLookup15.vNode, domNode = _nodeLookup15.domNode;
29063
+ var _nodeLookup16 = _nodeLookup(node), vNode = _nodeLookup16.vNode, domNode = _nodeLookup16.domNode;
28784
29064
  if (!is_aria_textbox_default(vNode)) {
28785
29065
  return '';
28786
29066
  }
@@ -28791,7 +29071,7 @@ function requireAxe () {
28791
29071
  }
28792
29072
  }
28793
29073
  function ariaListboxValue(node, context) {
28794
- var _nodeLookup16 = _nodeLookup(node), vNode = _nodeLookup16.vNode;
29074
+ var _nodeLookup17 = _nodeLookup(node), vNode = _nodeLookup17.vNode;
28795
29075
  if (!is_aria_listbox_default(vNode)) {
28796
29076
  return '';
28797
29077
  }
@@ -28804,7 +29084,7 @@ function requireAxe () {
28804
29084
  return _accessibleTextVirtual(selected[0], context);
28805
29085
  }
28806
29086
  function ariaComboboxValue(node, context) {
28807
- var _nodeLookup17 = _nodeLookup(node), vNode = _nodeLookup17.vNode;
29087
+ var _nodeLookup18 = _nodeLookup(node), vNode = _nodeLookup18.vNode;
28808
29088
  if (!is_aria_combobox_default(vNode)) {
28809
29089
  return '';
28810
29090
  }
@@ -28814,7 +29094,7 @@ function requireAxe () {
28814
29094
  return listbox ? ariaListboxValue(listbox, context) : '';
28815
29095
  }
28816
29096
  function ariaRangeValue(node) {
28817
- var _nodeLookup18 = _nodeLookup(node), vNode = _nodeLookup18.vNode;
29097
+ var _nodeLookup19 = _nodeLookup(node), vNode = _nodeLookup19.vNode;
28818
29098
  if (!is_aria_range_default(vNode) || !vNode.hasAttr('aria-valuenow')) {
28819
29099
  return '';
28820
29100
  }
@@ -28974,121 +29254,6 @@ function requireAxe () {
28974
29254
  return native_text_methods_default[methodName];
28975
29255
  });
28976
29256
  }
28977
- function getUnicodeNonBmpRegExp() {
28978
- return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g;
28979
- }
28980
- function getPunctuationRegExp() {
28981
- return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g;
28982
- }
28983
- function getSupplementaryPrivateUseRegExp() {
28984
- return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g;
28985
- }
28986
- function getCategoryFormatRegExp() {
28987
- return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g;
28988
- }
28989
- function hasUnicode(str, options) {
28990
- var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations;
28991
- var value = false;
28992
- if (emoji) {
28993
- value || (value = emoji_regex_default().test(str));
28994
- }
28995
- if (nonBmp) {
28996
- value || (value = getUnicodeNonBmpRegExp().test(str) || getSupplementaryPrivateUseRegExp().test(str) || getCategoryFormatRegExp().test(str));
28997
- }
28998
- if (punctuations) {
28999
- value || (value = getPunctuationRegExp().test(str));
29000
- }
29001
- return value;
29002
- }
29003
- var has_unicode_default = hasUnicode;
29004
- function _isIconLigature(textVNode) {
29005
- var differenceThreshold = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .15;
29006
- var occurrenceThreshold = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
29007
- var nodeValue = textVNode.actualNode.nodeValue.trim();
29008
- if (!sanitize_default(nodeValue) || has_unicode_default(nodeValue, {
29009
- emoji: true,
29010
- nonBmp: true
29011
- })) {
29012
- return false;
29013
- }
29014
- var canvasContext = cache_default.get('canvasContext', function() {
29015
- return document.createElement('canvas').getContext('2d', {
29016
- willReadFrequently: true
29017
- });
29018
- });
29019
- var canvas = canvasContext.canvas;
29020
- var fonts = cache_default.get('fonts', function() {
29021
- return {};
29022
- });
29023
- var style = window.getComputedStyle(textVNode.parent.actualNode);
29024
- var fontFamily = style.getPropertyValue('font-family');
29025
- if (!fonts[fontFamily]) {
29026
- fonts[fontFamily] = {
29027
- occurrences: 0,
29028
- numLigatures: 0
29029
- };
29030
- }
29031
- var font = fonts[fontFamily];
29032
- if (font.occurrences >= occurrenceThreshold) {
29033
- if (font.numLigatures / font.occurrences === 1) {
29034
- return true;
29035
- } else if (font.numLigatures === 0) {
29036
- return false;
29037
- }
29038
- }
29039
- font.occurrences++;
29040
- var fontSize = 30;
29041
- var fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily);
29042
- canvasContext.font = fontStyle;
29043
- var firstChar = nodeValue.charAt(0);
29044
- var width = canvasContext.measureText(firstChar).width;
29045
- if (width === 0) {
29046
- font.numLigatures++;
29047
- return true;
29048
- }
29049
- if (width < 30) {
29050
- var diff = 30 / width;
29051
- width *= diff;
29052
- fontSize *= diff;
29053
- fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily);
29054
- }
29055
- canvas.width = width;
29056
- canvas.height = fontSize;
29057
- canvasContext.font = fontStyle;
29058
- canvasContext.textAlign = 'left';
29059
- canvasContext.textBaseline = 'top';
29060
- canvasContext.fillText(firstChar, 0, 0);
29061
- var compareData = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer);
29062
- if (!compareData.some(function(pixel) {
29063
- return pixel;
29064
- })) {
29065
- font.numLigatures++;
29066
- return true;
29067
- }
29068
- canvasContext.clearRect(0, 0, width, fontSize);
29069
- canvasContext.fillText(nodeValue, 0, 0);
29070
- var compareWith = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer);
29071
- var differences = compareData.reduce(function(diff, pixel, i) {
29072
- if (pixel === 0 && compareWith[i] === 0) {
29073
- return diff;
29074
- }
29075
- if (pixel !== 0 && compareWith[i] !== 0) {
29076
- return diff;
29077
- }
29078
- return ++diff;
29079
- }, 0);
29080
- var expectedWidth = nodeValue.split('').reduce(function(totalWidth, _char2) {
29081
- return totalWidth + canvasContext.measureText(_char2).width;
29082
- }, 0);
29083
- var actualWidth = canvasContext.measureText(nodeValue).width;
29084
- var pixelDifference = differences / compareData.length;
29085
- var sizeDifference = 1 - actualWidth / expectedWidth;
29086
- if (pixelDifference >= differenceThreshold && sizeDifference >= differenceThreshold) {
29087
- font.numLigatures++;
29088
- return true;
29089
- }
29090
- return false;
29091
- }
29092
29257
  function _accessibleTextVirtual(virtualNode) {
29093
29258
  var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
29094
29259
  context = prepareContext(virtualNode, context);
@@ -29123,7 +29288,10 @@ function requireAxe () {
29123
29288
  if (!virtualNode) {
29124
29289
  return false;
29125
29290
  }
29126
- if (virtualNode.props.nodeType !== 1 || context.includeHidden) {
29291
+ if (context.includeHidden && !nativelyHidden(virtualNode)) {
29292
+ return false;
29293
+ }
29294
+ if (virtualNode.props.nodeType !== 1) {
29127
29295
  return false;
29128
29296
  }
29129
29297
  return !_isVisibleToScreenReaders(virtualNode);
@@ -29436,7 +29604,7 @@ function requireAxe () {
29436
29604
  var get_text_element_stack_default = getTextElementStack;
29437
29605
  var visualRoles = [ 'checkbox', 'img', 'meter', 'progressbar', 'scrollbar', 'radio', 'slider', 'spinbutton', 'textbox' ];
29438
29606
  function isVisualContent(el) {
29439
- var _nodeLookup19 = _nodeLookup(el), vNode = _nodeLookup19.vNode;
29607
+ var _nodeLookup20 = _nodeLookup(el), vNode = _nodeLookup20.vNode;
29440
29608
  var role = axe.commons.aria.getExplicitRole(vNode);
29441
29609
  if (role) {
29442
29610
  return visualRoles.indexOf(role) !== -1;
@@ -29504,7 +29672,7 @@ function requireAxe () {
29504
29672
  }
29505
29673
  var inserted_into_focus_order_default = insertedIntoFocusOrder;
29506
29674
  function isHiddenWithCSS(el, descendentVisibilityValue) {
29507
- var _nodeLookup20 = _nodeLookup(el), vNode = _nodeLookup20.vNode, domNode = _nodeLookup20.domNode;
29675
+ var _nodeLookup21 = _nodeLookup(el), vNode = _nodeLookup21.vNode, domNode = _nodeLookup21.domNode;
29508
29676
  if (!vNode) {
29509
29677
  return _isHiddenWithCSS(domNode, descendentVisibilityValue);
29510
29678
  }
@@ -29567,7 +29735,7 @@ function requireAxe () {
29567
29735
  var inlineBlockLike = [ 'inline-block', 'inline-flex', 'inline-grid' ];
29568
29736
  function isInTextBlock(node) {
29569
29737
  var _ref64 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, noLengthCompare = _ref64.noLengthCompare, _ref64$includeInlineB = _ref64.includeInlineBlock, includeInlineBlock = _ref64$includeInlineB === void 0 ? false : _ref64$includeInlineB;
29570
- var _nodeLookup21 = _nodeLookup(node), vNode = _nodeLookup21.vNode, domNode = _nodeLookup21.domNode;
29738
+ var _nodeLookup22 = _nodeLookup(node), vNode = _nodeLookup22.vNode, domNode = _nodeLookup22.domNode;
29571
29739
  if (isBlock(domNode) || !includeInlineBlock && isInlineBlockLike(vNode)) {
29572
29740
  return false;
29573
29741
  }
@@ -29617,7 +29785,7 @@ function requireAxe () {
29617
29785
  }
29618
29786
  var is_in_text_block_default = isInTextBlock;
29619
29787
  function isBlock(node) {
29620
- var _nodeLookup22 = _nodeLookup(node), vNode = _nodeLookup22.vNode;
29788
+ var _nodeLookup23 = _nodeLookup(node), vNode = _nodeLookup23.vNode;
29621
29789
  var display2 = vNode.getComputedStylePropertyValue('display');
29622
29790
  return blockLike.includes(display2) || display2.substr(0, 6) === 'table-';
29623
29791
  }
@@ -30485,6 +30653,20 @@ function requireAxe () {
30485
30653
  }
30486
30654
  return this._cache.boundingClientRect;
30487
30655
  }
30656
+ }, {
30657
+ key: 'elementInternals',
30658
+ get: function get() {
30659
+ if (!axe._enableElementInternals) {
30660
+ return;
30661
+ }
30662
+ if (!this._cache.hasOwnProperty('elementInternals')) {
30663
+ this._cache.elementInternals = _getElementInternals(this.actualNode);
30664
+ }
30665
+ return this._cache.elementInternals;
30666
+ },
30667
+ set: function set(value) {
30668
+ this._cache.elementInternals = value;
30669
+ }
30488
30670
  } ]);
30489
30671
  }(abstract_virtual_node_default);
30490
30672
  var virtual_node_default = VirtualNode;
@@ -31256,6 +31438,75 @@ function requireAxe () {
31256
31438
  };
31257
31439
  }
31258
31440
  var get_stylesheet_factory_default = getStyleSheetFactory;
31441
+ var propNames = [ '_internals', 'internals', 'internals_' ];
31442
+ var symbolNames = [ 'internals', 'privateInternals' ];
31443
+ function _getElementInternals(node) {
31444
+ var _globalThis$_elementI;
31445
+ if (!_isValidCustomElementName(node.nodeName.toLowerCase())) {
31446
+ return;
31447
+ }
31448
+ var mapInternals = (_globalThis$_elementI = globalThis._elementInternals) === null || _globalThis$_elementI === void 0 ? void 0 : _globalThis$_elementI.get(node);
31449
+ if (mapInternals) {
31450
+ return mapInternals;
31451
+ }
31452
+ if (!('ElementInternals' in window)) {
31453
+ return;
31454
+ }
31455
+ var _iterator11 = _createForOfIteratorHelper(propNames), _step11;
31456
+ try {
31457
+ for (_iterator11.s(); !(_step11 = _iterator11.n()).done; ) {
31458
+ var _Object$getOwnPropert;
31459
+ var propName = _step11.value;
31460
+ if ((_Object$getOwnPropert = Object.getOwnPropertyDescriptor(node, propName)) !== null && _Object$getOwnPropert !== void 0 && _Object$getOwnPropert.get) {
31461
+ continue;
31462
+ }
31463
+ if (node[propName] instanceof window.ElementInternals) {
31464
+ return node[propName];
31465
+ }
31466
+ }
31467
+ } catch (err) {
31468
+ _iterator11.e(err);
31469
+ } finally {
31470
+ _iterator11.f();
31471
+ }
31472
+ var ownSymbols = Object.getOwnPropertySymbols(node);
31473
+ if (!ownSymbols.length) {
31474
+ return;
31475
+ }
31476
+ var _iterator12 = _createForOfIteratorHelper(symbolNames), _step12;
31477
+ try {
31478
+ var _loop8 = function _loop8() {
31479
+ var symbolName = _step12.value;
31480
+ var symbol = ownSymbols.find(function(s) {
31481
+ return s.description === symbolName;
31482
+ });
31483
+ if (symbol) {
31484
+ var _Object$getOwnPropert2;
31485
+ if ((_Object$getOwnPropert2 = Object.getOwnPropertyDescriptor(node, symbol)) !== null && _Object$getOwnPropert2 !== void 0 && _Object$getOwnPropert2.get) {
31486
+ return 0;
31487
+ }
31488
+ if (node[symbol] instanceof window.ElementInternals) {
31489
+ return {
31490
+ v: node[symbol]
31491
+ };
31492
+ }
31493
+ }
31494
+ }, _ret4;
31495
+ for (_iterator12.s(); !(_step12 = _iterator12.n()).done; ) {
31496
+ _ret4 = _loop8();
31497
+ if (_ret4 === 0) {
31498
+ continue;
31499
+ }
31500
+ if (_ret4) {
31501
+ return _ret4.v;
31502
+ }
31503
+ }
31504
+ } catch (err) {
31505
+ _iterator12.e(err);
31506
+ } finally {
31507
+ _iterator12.f();
31508
+ }
31509
+ }
31259
31510
  var styleSheet;
31260
31511
  function injectStyle(style) {
31261
31512
  if (styleSheet && styleSheet.parentNode) {
@@ -31330,7 +31581,7 @@ function requireAxe () {
31330
31581
  return hidden;
31331
31582
  }
31332
31583
  var is_hidden_default = isHidden;
31333
- function isHtmlElement(node) {
31584
+ function _isHtmlElement(node) {
31334
31585
  var _node$props$nodeName, _node$props;
31335
31586
  var nodeName2 = (_node$props$nodeName = (_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.nodeName) !== null && _node$props$nodeName !== void 0 ? _node$props$nodeName : node.nodeName.toLowerCase();
31336
31587
  if (node.namespaceURI === 'http://www.w3.org/2000/svg') {
@@ -31338,7 +31589,6 @@ function requireAxe () {
31338
31589
  }
31339
31590
  return !!standards_default.htmlElms[nodeName2];
31340
31591
  }
31341
- var is_html_element_default = isHtmlElement;
31342
31592
  function _isNodeInContext(node, _ref74) {
31343
31593
  var _ref74$include = _ref74.include, include = _ref74$include === void 0 ? [] : _ref74$include, _ref74$exclude = _ref74.exclude, exclude = _ref74$exclude === void 0 ? [] : _ref74$exclude;
31344
31594
  var filterInclude = include.filter(function(candidate) {
@@ -31359,18 +31609,18 @@ function requireAxe () {
31359
31609
  }
31360
31610
  function getDeepest(collection) {
31361
31611
  var deepest;
31362
- var _iterator11 = _createForOfIteratorHelper(collection), _step11;
31612
+ var _iterator13 = _createForOfIteratorHelper(collection), _step13;
31363
31613
  try {
31364
- for (_iterator11.s(); !(_step11 = _iterator11.n()).done; ) {
31365
- var node = _step11.value;
31614
+ for (_iterator13.s(); !(_step13 = _iterator13.n()).done; ) {
31615
+ var node = _step13.value;
31366
31616
  if (!deepest || !_contains(node, deepest)) {
31367
31617
  deepest = node;
31368
31618
  }
31369
31619
  }
31370
31620
  } catch (err) {
31371
- _iterator11.e(err);
31621
+ _iterator13.e(err);
31372
31622
  } finally {
31373
- _iterator11.f();
31623
+ _iterator13.f();
31374
31624
  }
31375
31625
  return deepest;
31376
31626
  }
@@ -31485,6 +31735,9 @@ function requireAxe () {
31485
31735
  }
31486
31736
  var parse_stylesheet_default = parseStylesheet;
31487
31737
  function parseCrossOriginStylesheet(url, options, priority, importedUrls, isCrossOrigin) {
31738
+ if (url === null || url === void 0) {
31739
+ return Promise.resolve();
31740
+ }
31488
31741
  importedUrls.push(url);
31489
31742
  return new Promise(function(resolve, reject) {
31490
31743
  var request = new window.XMLHttpRequest();
@@ -31626,7 +31879,7 @@ function requireAxe () {
31626
31879
  axeStartTime = now();
31627
31880
  },
31628
31881
  _log: function _log(message) {
31629
- log_default(message);
31882
+ log(message);
31630
31883
  }
31631
31884
  };
31632
31885
  }();
@@ -32192,18 +32445,18 @@ function requireAxe () {
32192
32445
  };
32193
32446
  }
32194
32447
  var serial = {};
32195
- var _iterator12 = _createForOfIteratorHelper(constants_default.serializableErrorProps), _step12;
32448
+ var _iterator14 = _createForOfIteratorHelper(constants_default.serializableErrorProps), _step14;
32196
32449
  try {
32197
- for (_iterator12.s(); !(_step12 = _iterator12.n()).done; ) {
32198
- var prop = _step12.value;
32450
+ for (_iterator14.s(); !(_step14 = _iterator14.n()).done; ) {
32451
+ var prop = _step14.value;
32199
32452
  if ([ 'string', 'number', 'boolean' ].includes(_typeof(err2[prop]))) {
32200
32453
  serial[prop] = err2[prop];
32201
32454
  }
32202
32455
  }
32203
32456
  } catch (err) {
32204
- _iterator12.e(err);
32457
+ _iterator14.e(err);
32205
32458
  } finally {
32206
- _iterator12.f();
32459
+ _iterator14.f();
32207
32460
  }
32208
32461
  if (err2.cause) {
32209
32462
  serial.cause = iteration < 10 ? _serializeError(err2.cause, iteration + 1) : '...';
@@ -32284,18 +32537,18 @@ function requireAxe () {
32284
32537
  return Array.from(elms);
32285
32538
  }
32286
32539
  var selected = [];
32287
- var _iterator13 = _createForOfIteratorHelper(elms), _step13;
32540
+ var _iterator15 = _createForOfIteratorHelper(elms), _step15;
32288
32541
  try {
32289
- for (_iterator13.s(); !(_step13 = _iterator13.n()).done; ) {
32290
- var elm = _step13.value;
32542
+ for (_iterator15.s(); !(_step15 = _iterator15.n()).done; ) {
32543
+ var elm = _step15.value;
32291
32544
  if (elm !== null && elm !== void 0 && elm.shadowRoot) {
32292
32545
  selected.push.apply(selected, _toConsumableArray(selectAllRecursive(restSelector, elm.shadowRoot)));
32293
32546
  }
32294
32547
  }
32295
32548
  } catch (err) {
32296
- _iterator13.e(err);
32549
+ _iterator15.e(err);
32297
32550
  } finally {
32298
- _iterator13.f();
32551
+ _iterator15.f();
32299
32552
  }
32300
32553
  return selected;
32301
32554
  }
@@ -32334,6 +32587,80 @@ function requireAxe () {
32334
32587
  return codes;
32335
32588
  }
32336
32589
  var valid_langs_default = isValidLang;
32590
+ function _normalizeRunOptions() {
32591
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
32592
+ var tags = [];
32593
+ var ruleIds = [];
32594
+ axe._audit.rules.forEach(function(rule) {
32595
+ ruleIds.push(rule.id);
32596
+ rule.tags.forEach(function(tag) {
32597
+ if (!tags.includes(tag)) {
32598
+ tags.push(tag);
32599
+ }
32600
+ });
32601
+ });
32602
+ if ([ 'object', 'string' ].includes(_typeof(options.runOnly))) {
32603
+ if (typeof options.runOnly === 'string') {
32604
+ options.runOnly = [ options.runOnly ];
32605
+ }
32606
+ if (Array.isArray(options.runOnly)) {
32607
+ var hasTag = options.runOnly.find(function(value) {
32608
+ return tags.includes(value);
32609
+ });
32610
+ var hasRule = options.runOnly.find(function(value) {
32611
+ return ruleIds.includes(value);
32612
+ });
32613
+ if (hasTag && hasRule) {
32614
+ throw new Error('runOnly cannot be both rules and tags');
32615
+ }
32616
+ if (hasRule) {
32617
+ options.runOnly = {
32618
+ type: 'rule',
32619
+ values: options.runOnly
32620
+ };
32621
+ } else {
32622
+ options.runOnly = {
32623
+ type: 'tag',
32624
+ values: options.runOnly
32625
+ };
32626
+ }
32627
+ }
32628
+ var only = options.runOnly;
32629
+ if (only.value && !only.values) {
32630
+ only.values = only.value;
32631
+ delete only.value;
32632
+ }
32633
+ if (!Array.isArray(only.values) || only.values.length === 0) {
32634
+ throw new Error('runOnly.values must be a non-empty array');
32635
+ }
32636
+ if ([ 'rule', 'rules' ].includes(only.type)) {
32637
+ only.type = 'rule';
32638
+ only.values.forEach(function(ruleId) {
32639
+ if (!ruleIds.includes(ruleId)) {
32640
+ throw new Error('unknown rule `' + ruleId + '` in options.runOnly');
32641
+ }
32642
+ });
32643
+ } else if ([ 'tag', 'tags', void 0 ].includes(only.type)) {
32644
+ only.type = 'tag';
32645
+ var unmatchedTags = only.values.filter(function(tag) {
32646
+ return !tags.includes(tag) && !/wcag2[1-3]a{1,3}/.test(tag);
32647
+ });
32648
+ if (unmatchedTags.length !== 0) {
32649
+ axe.log('Could not find tags `' + unmatchedTags.join('`, `') + '`');
32650
+ }
32651
+ } else {
32652
+ throw new Error('Unknown runOnly type \''.concat(only.type, '\''));
32653
+ }
32654
+ }
32655
+ if (_typeof(options.rules) === 'object') {
32656
+ Object.keys(options.rules).forEach(function(ruleId) {
32657
+ if (!ruleIds.includes(ruleId)) {
32658
+ throw new Error('unknown rule `' + ruleId + '` in options.rules');
32659
+ }
32660
+ });
32661
+ }
32662
+ return options;
32663
+ }
32337
32664
  var SerialVirtualNode = function(_abstract_virtual_nod2) {
32338
32665
  function SerialVirtualNode(serialNode) {
32339
32666
  var _this8;
@@ -32530,10 +32857,13 @@ function requireAxe () {
32530
32857
  }
32531
32858
  });
32532
32859
  }
32860
+ var previousHelpUrlSettings = {
32861
+ brand: audit.brand,
32862
+ application: audit.application,
32863
+ lang: audit.lang
32864
+ };
32533
32865
  if (typeof spec.branding !== 'undefined') {
32534
32866
  audit.setBranding(spec.branding);
32535
- } else {
32536
- audit._constructHelpUrls();
32537
32867
  }
32538
32868
  if (spec.tagExclude) {
32539
32869
  audit.tagExclude = spec.tagExclude;
@@ -32541,6 +32871,7 @@ function requireAxe () {
32541
32871
  if (spec.locale) {
32542
32872
  audit.applyLocale(spec.locale);
32543
32873
  }
32874
+ audit._constructHelpUrls(previousHelpUrlSettings);
32544
32875
  if (spec.standards) {
32545
32876
  configureStandards(spec.standards);
32546
32877
  }
@@ -32558,17 +32889,227 @@ function requireAxe () {
32558
32889
  }
32559
32890
  }
32560
32891
  var configure_default = configure;
32892
+ var ELEMENT_INTERNALS_DEFAULT_TIMEOUT = 1e3;
32893
+ var getElementInternals2;
32894
+ var elementInternalsTimeout;
32895
+ function externalAPIs() {
32896
+ var _ref87 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, internalsTimeout = _ref87.elementInternalsTimeout, getInternals = _ref87.getElementInternals;
32897
+ if (isNotNullOrUndefined(internalsTimeout)) {
32898
+ assert_default(typeof internalsTimeout === 'number', 'elementInternalsTimeout must be a number');
32899
+ elementInternalsTimeout = internalsTimeout;
32900
+ } else if (internalsTimeout === null) {
32901
+ elementInternalsTimeout = ELEMENT_INTERNALS_DEFAULT_TIMEOUT;
32902
+ }
32903
+ if (isNotNullOrUndefined(getInternals)) {
32904
+ assert_default(typeof getInternals === 'function', 'getElementInternals must be a function that returns a Promise');
32905
+ getElementInternals2 = getInternals;
32906
+ } else if (getInternals === null) {
32907
+ getElementInternals2 = null;
32908
+ }
32909
+ }
32910
+ function isNotNullOrUndefined(val) {
32911
+ return val !== void 0 && val !== null;
32912
+ }
32913
+ function asyncTimeout(_x) {
32914
+ return _asyncTimeout.apply(this, arguments);
32915
+ }
32916
+ function _asyncTimeout() {
32917
+ _asyncTimeout = _asyncToGenerator(_regenerator().m(function _callee(ms) {
32918
+ return _regenerator().w(function(_context2) {
32919
+ while (1) {
32920
+ switch (_context2.n) {
32921
+ case 0:
32922
+ return _context2.a(2, new Promise(function(res) {
32923
+ return setTimeout(res, ms, 'timeout');
32924
+ }));
32925
+ }
32926
+ }
32927
+ }, _callee);
32928
+ }));
32929
+ return _asyncTimeout.apply(this, arguments);
32930
+ }
32931
+ function loadElementInternals() {
32932
+ return _loadElementInternals.apply(this, arguments);
32933
+ }
32934
+ function _loadElementInternals() {
32935
+ _loadElementInternals = _asyncToGenerator(_regenerator().m(function _callee2() {
32936
+ var logger2, promiseValue, internalsMap, _i43, _internalsMap$_i, internals, ancestry, node, vNode, _i44, _Object$entries, _Object$entries$_i, _key12, val, type2, value, _args2 = arguments;
32937
+ return _regenerator().w(function(_context3) {
32938
+ while (1) {
32939
+ switch (_context3.n) {
32940
+ case 0:
32941
+ logger2 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : log;
32942
+ if (getElementInternals2) {
32943
+ _context3.n = 1;
32944
+ break;
32945
+ }
32946
+ return _context3.a(2);
32947
+
32948
+ case 1:
32949
+ _context3.n = 2;
32950
+ return Promise.race([ asyncTimeout(elementInternalsTimeout), getElementInternals2() ]);
32951
+
32952
+ case 2:
32953
+ promiseValue = _context3.v;
32954
+ assert_default(promiseValue !== 'timeout', 'Timeout called for elementInternals');
32955
+ internalsMap = clone2(promiseValue);
32956
+ if (!(!internalsMap || !Array.isArray(internalsMap))) {
32957
+ _context3.n = 3;
32958
+ break;
32959
+ }
32960
+ logger2('externalAPIs.getElementInternals() did not return an array');
32961
+ return _context3.a(2);
32962
+
32963
+ case 3:
32964
+ _i43 = 0;
32965
+
32966
+ case 4:
32967
+ if (!(_i43 < internalsMap.length)) {
32968
+ _context3.n = 14;
32969
+ break;
32970
+ }
32971
+ if (!(!internalsMap[_i43] || _typeof(internalsMap[_i43]) !== 'object')) {
32972
+ _context3.n = 5;
32973
+ break;
32974
+ }
32975
+ logger2('externalAPIs.getElementInternals()['.concat(_i43, '] is not an object'));
32976
+ return _context3.a(3, 13);
32977
+
32978
+ case 5:
32979
+ _internalsMap$_i = internalsMap[_i43], internals = _internalsMap$_i.internals,
32980
+ ancestry = _internalsMap$_i.ancestry;
32981
+ if (!(!internals || _typeof(internals) !== 'object')) {
32982
+ _context3.n = 6;
32983
+ break;
32984
+ }
32985
+ logger2('externalAPIs.getElementInternals()['.concat(_i43, '].internals is not an object'));
32986
+ return _context3.a(3, 13);
32987
+
32988
+ case 6:
32989
+ if (!(!ancestry || !(Array.isArray(ancestry) || typeof ancestry === 'string'))) {
32990
+ _context3.n = 7;
32991
+ break;
32992
+ }
32993
+ logger2('externalAPIs.getElementInternals()['.concat(_i43, '].ancestry is not a string or an array of strings'));
32994
+ return _context3.a(3, 13);
32995
+
32996
+ case 7:
32997
+ node = _shadowSelect(ancestry);
32998
+ vNode = get_node_from_tree_default(node);
32999
+ if (vNode) {
33000
+ _context3.n = 8;
33001
+ break;
33002
+ }
33003
+ logger2('Unable to locate node using selector '.concat(ancestry, ' from externalAPIs.getElementInternals()[').concat(_i43, ']'));
33004
+ return _context3.a(3, 13);
33005
+
33006
+ case 8:
33007
+ _i44 = 0, _Object$entries = Object.entries(internals);
33008
+
33009
+ case 9:
33010
+ if (!(_i44 < _Object$entries.length)) {
33011
+ _context3.n = 12;
33012
+ break;
33013
+ }
33014
+ _Object$entries$_i = _slicedToArray(_Object$entries[_i44], 2), _key12 = _Object$entries$_i[0],
33015
+ val = _Object$entries$_i[1];
33016
+ if (!(typeof val === 'string')) {
33017
+ _context3.n = 10;
33018
+ break;
33019
+ }
33020
+ return _context3.a(3, 11);
33021
+
33022
+ case 10:
33023
+ type2 = val.type, value = val.value;
33024
+ if (!type2) {
33025
+ logger2('externalAPIs.getElementInternals()['.concat(_i43, '].internals.').concat(_key12, ' is an object but has no "type" property'));
33026
+ }
33027
+ if (!value) {
33028
+ logger2('externalAPIs.getElementInternals()['.concat(_i43, '].internals.').concat(_key12, ' is an object but has no "value" property'));
33029
+ }
33030
+ if (type2 === 'HTMLElement') {
33031
+ setHTMLElement(internals, _key12, value);
33032
+ } else if (type2 === 'NodeList') {
33033
+ setNodeList(internals, _key12, value);
33034
+ }
33035
+
33036
+ case 11:
33037
+ _i44++;
33038
+ _context3.n = 9;
33039
+ break;
33040
+
33041
+ case 12:
33042
+ vNode.elementInternals = internals;
33043
+
33044
+ case 13:
33045
+ _i43++;
33046
+ _context3.n = 4;
33047
+ break;
33048
+
33049
+ case 14:
33050
+ return _context3.a(2);
33051
+ }
33052
+ }
33053
+ }, _callee2);
33054
+ }));
33055
+ return _loadElementInternals.apply(this, arguments);
33056
+ }
33057
+ var external = {
33058
+ loadElementInternals: loadElementInternals
33059
+ };
33060
+ function setHTMLElement(internals, key, value) {
33061
+ var node = _shadowSelect(value);
33062
+ if (node) {
33063
+ internals[key] = node;
33064
+ } else {
33065
+ Object.defineProperty(internals, key, {
33066
+ get: function get() {
33067
+ throw new Error('Unable to locate node using selector: '.concat(value));
33068
+ }
33069
+ });
33070
+ }
33071
+ }
33072
+ function setNodeList(internals, key, value) {
33073
+ var nodes = [];
33074
+ var errorSelectors = [];
33075
+ var _iterator16 = _createForOfIteratorHelper(value), _step16;
33076
+ try {
33077
+ for (_iterator16.s(); !(_step16 = _iterator16.n()).done; ) {
33078
+ var selector = _step16.value;
33079
+ var node = _shadowSelect(selector);
33080
+ if (node) {
33081
+ nodes.push(node);
33082
+ } else {
33083
+ errorSelectors.push(selector);
33084
+ }
33085
+ }
33086
+ } catch (err) {
33087
+ _iterator16.e(err);
33088
+ } finally {
33089
+ _iterator16.f();
33090
+ }
33091
+ if (errorSelectors.length === 0) {
33092
+ internals[key] = nodes;
33093
+ } else {
33094
+ Object.defineProperty(internals, key, {
33095
+ get: function get() {
33096
+ throw new Error('Unable to locate nodes using selectors: '.concat(errorSelectors.join(',')));
33097
+ }
33098
+ });
33099
+ }
33100
+ }
32561
33101
  function frameMessenger2(frameHandler) {
32562
33102
  _respondable.updateMessenger(frameHandler);
32563
33103
  }
32564
33104
  function getRules(tags) {
32565
33105
  tags = tags || [];
32566
- var matchingRules = !tags.length ? axe._audit.rules : axe._audit.rules.filter(function(item) {
33106
+ var _axe$_audit = axe._audit, rules = _axe$_audit.rules, data = _axe$_audit.data, tagExclude = _axe$_audit.tagExclude;
33107
+ var matchingRules = !tags.length ? rules : rules.filter(function(item) {
32567
33108
  return !!tags.filter(function(tag) {
32568
33109
  return item.tags.indexOf(tag) !== -1;
32569
33110
  }).length;
32570
33111
  });
32571
- var ruleData = axe._audit.data.rules || {};
33112
+ var ruleData = data.rules || {};
32572
33113
  return matchingRules.map(function(matchingRule) {
32573
33114
  var rd = ruleData[matchingRule.id] || {};
32574
33115
  return {
@@ -32577,7 +33118,10 @@ function requireAxe () {
32577
33118
  help: rd.help,
32578
33119
  helpUrl: rd.helpUrl,
32579
33120
  tags: matchingRule.tags,
32580
- actIds: matchingRule.actIds
33121
+ actIds: matchingRule.actIds,
33122
+ enabled: matchingRule.enabled && !matchingRule.tags.some(function(tag) {
33123
+ return tagExclude.includes(tag);
33124
+ })
32581
33125
  };
32582
33126
  });
32583
33127
  }
@@ -33008,10 +33552,10 @@ function requireAxe () {
33008
33552
  if (!attrValue) {
33009
33553
  continue;
33010
33554
  }
33011
- var _iterator14 = _createForOfIteratorHelper(token_list_default(attrValue)), _step14;
33555
+ var _iterator17 = _createForOfIteratorHelper(token_list_default(attrValue)), _step17;
33012
33556
  try {
33013
- for (_iterator14.s(); !(_step14 = _iterator14.n()).done; ) {
33014
- var token = _step14.value;
33557
+ for (_iterator17.s(); !(_step17 = _iterator17.n()).done; ) {
33558
+ var token = _step17.value;
33015
33559
  if (!idRefs.has(token)) {
33016
33560
  idRefs.set(token, [ node ]);
33017
33561
  } else {
@@ -33019,9 +33563,9 @@ function requireAxe () {
33019
33563
  }
33020
33564
  }
33021
33565
  } catch (err) {
33022
- _iterator14.e(err);
33566
+ _iterator17.e(err);
33023
33567
  } finally {
33024
- _iterator14.f();
33568
+ _iterator17.f();
33025
33569
  }
33026
33570
  }
33027
33571
  }
@@ -33085,8 +33629,8 @@ function requireAxe () {
33085
33629
  }
33086
33630
  function getElementUnallowedRoles(node) {
33087
33631
  var allowImplicit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
33088
- var _nodeLookup23 = _nodeLookup(node), vNode = _nodeLookup23.vNode;
33089
- if (!is_html_element_default(vNode)) {
33632
+ var _nodeLookup24 = _nodeLookup(node), vNode = _nodeLookup24.vNode;
33633
+ if (!_isHtmlElement(vNode)) {
33090
33634
  return [];
33091
33635
  }
33092
33636
  var nodeName2 = vNode.props.nodeName;
@@ -34875,8 +35419,8 @@ function requireAxe () {
34875
35419
  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' ]
34876
35420
  } ];
34877
35421
  lookupTable.evaluateRoleForElement = {
34878
- A: function A(_ref87) {
34879
- var node = _ref87.node, out = _ref87.out;
35422
+ A: function A(_ref88) {
35423
+ var node = _ref88.node, out = _ref88.out;
34880
35424
  if (node.namespaceURI === 'http://www.w3.org/2000/svg') {
34881
35425
  return true;
34882
35426
  }
@@ -34885,19 +35429,19 @@ function requireAxe () {
34885
35429
  }
34886
35430
  return true;
34887
35431
  },
34888
- AREA: function AREA(_ref88) {
34889
- var node = _ref88.node;
35432
+ AREA: function AREA(_ref89) {
35433
+ var node = _ref89.node;
34890
35434
  return !node.href;
34891
35435
  },
34892
- BUTTON: function BUTTON(_ref89) {
34893
- var node = _ref89.node, role = _ref89.role, out = _ref89.out;
35436
+ BUTTON: function BUTTON(_ref90) {
35437
+ var node = _ref90.node, role = _ref90.role, out = _ref90.out;
34894
35438
  if (node.getAttribute('type') === 'menu') {
34895
35439
  return role === 'menuitem';
34896
35440
  }
34897
35441
  return out;
34898
35442
  },
34899
- IMG: function IMG(_ref90) {
34900
- var node = _ref90.node, role = _ref90.role, out = _ref90.out;
35443
+ IMG: function IMG(_ref91) {
35444
+ var node = _ref91.node, role = _ref91.role, out = _ref91.out;
34901
35445
  switch (node.alt) {
34902
35446
  case null:
34903
35447
  return out;
@@ -34909,8 +35453,8 @@ function requireAxe () {
34909
35453
  return role !== 'presentation' && role !== 'none';
34910
35454
  }
34911
35455
  },
34912
- INPUT: function INPUT(_ref91) {
34913
- var node = _ref91.node, role = _ref91.role, out = _ref91.out;
35456
+ INPUT: function INPUT(_ref92) {
35457
+ var node = _ref92.node, role = _ref92.role, out = _ref92.out;
34914
35458
  switch (node.type) {
34915
35459
  case 'button':
34916
35460
  case 'image':
@@ -34940,32 +35484,32 @@ function requireAxe () {
34940
35484
  return false;
34941
35485
  }
34942
35486
  },
34943
- LI: function LI(_ref92) {
34944
- var node = _ref92.node, out = _ref92.out;
35487
+ LI: function LI(_ref93) {
35488
+ var node = _ref93.node, out = _ref93.out;
34945
35489
  var hasImplicitListitemRole = axe.utils.matchesSelector(node, 'ol li, ul li');
34946
35490
  if (hasImplicitListitemRole) {
34947
35491
  return out;
34948
35492
  }
34949
35493
  return true;
34950
35494
  },
34951
- MENU: function MENU(_ref93) {
34952
- var node = _ref93.node;
35495
+ MENU: function MENU(_ref94) {
35496
+ var node = _ref94.node;
34953
35497
  if (node.getAttribute('type') === 'context') {
34954
35498
  return false;
34955
35499
  }
34956
35500
  return true;
34957
35501
  },
34958
- OPTION: function OPTION(_ref94) {
34959
- var node = _ref94.node;
35502
+ OPTION: function OPTION(_ref95) {
35503
+ var node = _ref95.node;
34960
35504
  var withinOptionList = axe.utils.matchesSelector(node, 'select > option, datalist > option, optgroup > option');
34961
35505
  return !withinOptionList;
34962
35506
  },
34963
- SELECT: function SELECT(_ref95) {
34964
- var node = _ref95.node, role = _ref95.role;
35507
+ SELECT: function SELECT(_ref96) {
35508
+ var node = _ref96.node, role = _ref96.role;
34965
35509
  return !node.multiple && node.size <= 1 && role === 'menu';
34966
35510
  },
34967
- SVG: function SVG(_ref96) {
34968
- var node = _ref96.node, out = _ref96.out;
35511
+ SVG: function SVG(_ref97) {
35512
+ var node = _ref97.node, out = _ref97.out;
34969
35513
  if (node.parentNode && node.parentNode.namespaceURI === 'http://www.w3.org/2000/svg') {
34970
35514
  return true;
34971
35515
  }
@@ -34990,7 +35534,7 @@ function requireAxe () {
34990
35534
  }
34991
35535
  var is_accessible_ref_default = isAccessibleRef;
34992
35536
  function _isComboboxPopup(virtualNode) {
34993
- var _ref97 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, popupRoles = _ref97.popupRoles;
35537
+ var _ref98 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, popupRoles = _ref98.popupRoles;
34994
35538
  var role = get_role_default(virtualNode);
34995
35539
  popupRoles !== null && popupRoles !== void 0 ? popupRoles : popupRoles = aria_attrs_default['aria-haspopup'].values;
34996
35540
  if (!popupRoles.includes(role)) {
@@ -35193,10 +35737,10 @@ function requireAxe () {
35193
35737
  }
35194
35738
  });
35195
35739
  });
35196
- var _iterator15 = _createForOfIteratorHelper(messageKeys), _step15;
35740
+ var _iterator18 = _createForOfIteratorHelper(messageKeys), _step18;
35197
35741
  try {
35198
- for (_iterator15.s(); !(_step15 = _iterator15.n()).done; ) {
35199
- var messageKey = _step15.value;
35742
+ for (_iterator18.s(); !(_step18 = _iterator18.n()).done; ) {
35743
+ var messageKey = _step18.value;
35200
35744
  if (badCells[messageKey].size > 0) {
35201
35745
  this.relatedNodes(_toConsumableArray(badCells[messageKey]));
35202
35746
  if (messageKey === emptyHdrs) {
@@ -35209,9 +35753,9 @@ function requireAxe () {
35209
35753
  }
35210
35754
  }
35211
35755
  } catch (err) {
35212
- _iterator15.e(err);
35756
+ _iterator18.e(err);
35213
35757
  } finally {
35214
- _iterator15.f();
35758
+ _iterator18.f();
35215
35759
  }
35216
35760
  return true;
35217
35761
  }
@@ -35279,8 +35823,8 @@ function requireAxe () {
35279
35823
  if (!virtualNode.children) {
35280
35824
  return void 0;
35281
35825
  }
35282
- var titleNode = virtualNode.children.find(function(_ref98) {
35283
- var props = _ref98.props;
35826
+ var titleNode = virtualNode.children.find(function(_ref99) {
35827
+ var props = _ref99.props;
35284
35828
  return props.nodeName === 'title';
35285
35829
  });
35286
35830
  if (!titleNode) {
@@ -35417,8 +35961,8 @@ function requireAxe () {
35417
35961
  }
35418
35962
  return false;
35419
35963
  }
35420
- function getNumberValue(domNode, _ref99) {
35421
- var cssProperty = _ref99.cssProperty, absoluteValues = _ref99.absoluteValues, normalValue = _ref99.normalValue;
35964
+ function getNumberValue(domNode, _ref100) {
35965
+ var cssProperty = _ref100.cssProperty, absoluteValues = _ref100.absoluteValues, normalValue = _ref100.normalValue;
35422
35966
  var computedStyle = window.getComputedStyle(domNode);
35423
35967
  var cssPropValue = computedStyle.getPropertyValue(cssProperty);
35424
35968
  if (cssPropValue === 'normal') {
@@ -35565,8 +36109,8 @@ function requireAxe () {
35565
36109
  } else if (node !== document.body && has_content_default(node, true) && !isShallowlyHidden(virtualNode)) {
35566
36110
  return [ virtualNode ];
35567
36111
  } else {
35568
- return virtualNode.children.filter(function(_ref100) {
35569
- var actualNode = _ref100.actualNode;
36112
+ return virtualNode.children.filter(function(_ref101) {
36113
+ var actualNode = _ref101.actualNode;
35570
36114
  return actualNode.nodeType === 1;
35571
36115
  }).map(function(vNode) {
35572
36116
  return findRegionlessElms(vNode, options);
@@ -35603,19 +36147,19 @@ function requireAxe () {
35603
36147
  return;
35604
36148
  }
35605
36149
  var frameAncestry = r.node.ancestry.slice(0, -1);
35606
- var _iterator16 = _createForOfIteratorHelper(iframeResults), _step16;
36150
+ var _iterator19 = _createForOfIteratorHelper(iframeResults), _step19;
35607
36151
  try {
35608
- for (_iterator16.s(); !(_step16 = _iterator16.n()).done; ) {
35609
- var iframeResult = _step16.value;
36152
+ for (_iterator19.s(); !(_step19 = _iterator19.n()).done; ) {
36153
+ var iframeResult = _step19.value;
35610
36154
  if (_matchAncestry(frameAncestry, iframeResult.node.ancestry)) {
35611
36155
  r.result = iframeResult.result;
35612
36156
  break;
35613
36157
  }
35614
36158
  }
35615
36159
  } catch (err) {
35616
- _iterator16.e(err);
36160
+ _iterator19.e(err);
35617
36161
  } finally {
35618
- _iterator16.f();
36162
+ _iterator19.f();
35619
36163
  }
35620
36164
  });
35621
36165
  iframeResults.forEach(function(r) {
@@ -35714,7 +36258,7 @@ function requireAxe () {
35714
36258
  var separatorRegex = /[;,\s]/;
35715
36259
  var validRedirectNumRegex = /^[0-9.]+$/;
35716
36260
  function metaRefreshEvaluate(node, options, virtualNode) {
35717
- var _ref101 = options || {}, minDelay = _ref101.minDelay, maxDelay = _ref101.maxDelay;
36261
+ var _ref102 = options || {}, minDelay = _ref102.minDelay, maxDelay = _ref102.maxDelay;
35718
36262
  var content = (virtualNode.attr('content') || '').trim();
35719
36263
  var _content$split = content.split(separatorRegex), _content$split2 = _slicedToArray(_content$split, 1), redirectStr = _content$split2[0];
35720
36264
  if (!redirectStr.match(validRedirectNumRegex)) {
@@ -36077,10 +36621,10 @@ function requireAxe () {
36077
36621
  var OPAQUE_STROKE_OFFSET_MIN_PX = 1.5;
36078
36622
  var edges = [ 'top', 'right', 'bottom', 'left' ];
36079
36623
  function _getStrokeColorsFromShadows(parsedShadows) {
36080
- var _ref102 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref102$ignoreEdgeCou = _ref102.ignoreEdgeCount, ignoreEdgeCount = _ref102$ignoreEdgeCou === void 0 ? false : _ref102$ignoreEdgeCou;
36624
+ var _ref103 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref103$ignoreEdgeCou = _ref103.ignoreEdgeCount, ignoreEdgeCount = _ref103$ignoreEdgeCou === void 0 ? false : _ref103$ignoreEdgeCou;
36081
36625
  var shadowMap = getShadowColorsMap(parsedShadows);
36082
- var shadowsByColor = Object.entries(shadowMap).map(function(_ref103) {
36083
- var _ref104 = _slicedToArray(_ref103, 2), colorStr = _ref104[0], sides = _ref104[1];
36626
+ var shadowsByColor = Object.entries(shadowMap).map(function(_ref104) {
36627
+ var _ref105 = _slicedToArray(_ref104, 2), colorStr = _ref105[0], sides = _ref105[1];
36084
36628
  var edgeCount = edges.filter(function(side) {
36085
36629
  return sides[side].length !== 0;
36086
36630
  }).length;
@@ -36090,8 +36634,8 @@ function requireAxe () {
36090
36634
  edgeCount: edgeCount
36091
36635
  };
36092
36636
  });
36093
- if (!ignoreEdgeCount && shadowsByColor.some(function(_ref105) {
36094
- var edgeCount = _ref105.edgeCount;
36637
+ if (!ignoreEdgeCount && shadowsByColor.some(function(_ref106) {
36638
+ var edgeCount = _ref106.edgeCount;
36095
36639
  return edgeCount > 1 && edgeCount < 4;
36096
36640
  })) {
36097
36641
  return null;
@@ -36102,11 +36646,11 @@ function requireAxe () {
36102
36646
  }
36103
36647
  function getShadowColorsMap(parsedShadows) {
36104
36648
  var colorMap = {};
36105
- var _iterator17 = _createForOfIteratorHelper(parsedShadows), _step17;
36649
+ var _iterator20 = _createForOfIteratorHelper(parsedShadows), _step20;
36106
36650
  try {
36107
- for (_iterator17.s(); !(_step17 = _iterator17.n()).done; ) {
36651
+ for (_iterator20.s(); !(_step20 = _iterator20.n()).done; ) {
36108
36652
  var _colorMap$colorStr;
36109
- var _step17$value = _step17.value, colorStr = _step17$value.colorStr, pixels = _step17$value.pixels;
36653
+ var _step20$value = _step20.value, colorStr = _step20$value.colorStr, pixels = _step20$value.pixels;
36110
36654
  (_colorMap$colorStr = colorMap[colorStr]) !== null && _colorMap$colorStr !== void 0 ? _colorMap$colorStr : colorMap[colorStr] = {
36111
36655
  top: [],
36112
36656
  right: [],
@@ -36127,14 +36671,14 @@ function requireAxe () {
36127
36671
  }
36128
36672
  }
36129
36673
  } catch (err) {
36130
- _iterator17.e(err);
36674
+ _iterator20.e(err);
36131
36675
  } finally {
36132
- _iterator17.f();
36676
+ _iterator20.f();
36133
36677
  }
36134
36678
  return colorMap;
36135
36679
  }
36136
- function shadowGroupToColor(_ref106) {
36137
- var colorStr = _ref106.colorStr, sides = _ref106.sides, edgeCount = _ref106.edgeCount;
36680
+ function shadowGroupToColor(_ref107) {
36681
+ var colorStr = _ref107.colorStr, sides = _ref107.sides, edgeCount = _ref107.edgeCount;
36138
36682
  if (edgeCount !== 4) {
36139
36683
  return null;
36140
36684
  }
@@ -36185,8 +36729,8 @@ function requireAxe () {
36185
36729
  throw new Error('Unable to process text-shadows: '.concat(str));
36186
36730
  }
36187
36731
  }
36188
- shadows.forEach(function(_ref107) {
36189
- var pixels = _ref107.pixels;
36732
+ shadows.forEach(function(_ref108) {
36733
+ var pixels = _ref108.pixels;
36190
36734
  if (pixels.length === 2) {
36191
36735
  pixels.push(0);
36192
36736
  }
@@ -36194,7 +36738,7 @@ function requireAxe () {
36194
36738
  return shadows;
36195
36739
  }
36196
36740
  function _getTextShadowColors(node) {
36197
- var _ref108 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, minRatio = _ref108.minRatio, maxRatio = _ref108.maxRatio, ignoreEdgeCount = _ref108.ignoreEdgeCount;
36741
+ var _ref109 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, minRatio = _ref109.minRatio, maxRatio = _ref109.maxRatio, ignoreEdgeCount = _ref109.ignoreEdgeCount;
36198
36742
  var shadowColors = [];
36199
36743
  var style = window.getComputedStyle(node);
36200
36744
  var textShadow = style.getPropertyValue('text-shadow');
@@ -36206,10 +36750,10 @@ function requireAxe () {
36206
36750
  assert_default(isNaN(fontSize) === false, 'Unable to determine font-size value '.concat(fontSizeStr));
36207
36751
  var thinShadows = [];
36208
36752
  var shadows = _parseTextShadows(textShadow);
36209
- var _iterator18 = _createForOfIteratorHelper(shadows), _step18;
36753
+ var _iterator21 = _createForOfIteratorHelper(shadows), _step21;
36210
36754
  try {
36211
- for (_iterator18.s(); !(_step18 = _iterator18.n()).done; ) {
36212
- var shadow = _step18.value;
36755
+ for (_iterator21.s(); !(_step21 = _iterator21.n()).done; ) {
36756
+ var shadow = _step21.value;
36213
36757
  var colorStr = shadow.colorStr || style.getPropertyValue('color');
36214
36758
  var _shadow$pixels = _slicedToArray(shadow.pixels, 3), offsetX = _shadow$pixels[0], offsetY = _shadow$pixels[1], _shadow$pixels$ = _shadow$pixels[2], blurRadius = _shadow$pixels$ === void 0 ? 0 : _shadow$pixels$;
36215
36759
  if (maxRatio && blurRadius >= fontSize * maxRatio) {
@@ -36242,9 +36786,9 @@ function requireAxe () {
36242
36786
  shadowColors.push(_color3);
36243
36787
  }
36244
36788
  } catch (err) {
36245
- _iterator18.e(err);
36789
+ _iterator21.e(err);
36246
36790
  } finally {
36247
- _iterator18.f();
36791
+ _iterator21.f();
36248
36792
  }
36249
36793
  if (thinShadows.length > 0) {
36250
36794
  var strokeColors = _getStrokeColorsFromShadows(thinShadows, {
@@ -36257,8 +36801,8 @@ function requireAxe () {
36257
36801
  }
36258
36802
  return shadowColors;
36259
36803
  }
36260
- function textShadowColor(_ref109) {
36261
- var colorStr = _ref109.colorStr, offsetX = _ref109.offsetX, offsetY = _ref109.offsetY, blurRadius = _ref109.blurRadius, fontSize = _ref109.fontSize;
36804
+ function textShadowColor(_ref110) {
36805
+ var colorStr = _ref110.colorStr, offsetX = _ref110.offsetX, offsetY = _ref110.offsetY, blurRadius = _ref110.blurRadius, fontSize = _ref110.fontSize;
36262
36806
  if (offsetX > blurRadius || offsetY > blurRadius) {
36263
36807
  return new color_default(0, 0, 0, 0);
36264
36808
  }
@@ -36286,13 +36830,13 @@ function requireAxe () {
36286
36830
  var _stackingOrder2;
36287
36831
  var bgVNode = get_node_from_tree_default(bgElm);
36288
36832
  var bgColor = getOwnBackgroundColor2(bgVNode);
36289
- var stackingOrder = bgVNode._stackingOrder.filter(function(_ref110) {
36290
- var vNode = _ref110.vNode;
36833
+ var stackingOrder = bgVNode._stackingOrder.filter(function(_ref111) {
36834
+ var vNode = _ref111.vNode;
36291
36835
  return !!vNode;
36292
36836
  });
36293
- stackingOrder.forEach(function(_ref111, index) {
36837
+ stackingOrder.forEach(function(_ref112, index) {
36294
36838
  var _stackingOrder;
36295
- var vNode = _ref111.vNode;
36839
+ var vNode = _ref112.vNode;
36296
36840
  var ancestorVNode2 = (_stackingOrder = stackingOrder[index - 1]) === null || _stackingOrder === void 0 ? void 0 : _stackingOrder.vNode;
36297
36841
  var context2 = addToStackingContext(contextMap, vNode, ancestorVNode2);
36298
36842
  if (index === 0 && !contextMap.get(vNode)) {
@@ -36546,8 +37090,8 @@ function requireAxe () {
36546
37090
  function getTextColor(nodeStyle) {
36547
37091
  return new color_default().parseString(nodeStyle.getPropertyValue('-webkit-text-fill-color') || nodeStyle.getPropertyValue('color'));
36548
37092
  }
36549
- function getStrokeColor(nodeStyle, _ref112) {
36550
- var _ref112$textStrokeEmM = _ref112.textStrokeEmMin, textStrokeEmMin = _ref112$textStrokeEmM === void 0 ? 0 : _ref112$textStrokeEmM;
37093
+ function getStrokeColor(nodeStyle, _ref113) {
37094
+ var _ref113$textStrokeEmM = _ref113.textStrokeEmMin, textStrokeEmMin = _ref113$textStrokeEmM === void 0 ? 0 : _ref113$textStrokeEmM;
36551
37095
  var strokeWidth = parseFloat(nodeStyle.getPropertyValue('-webkit-text-stroke-width'));
36552
37096
  if (strokeWidth === 0) {
36553
37097
  return null;
@@ -36589,11 +37133,11 @@ function requireAxe () {
36589
37133
  return fgColor;
36590
37134
  }
36591
37135
  function findNodeInContexts(contexts, node) {
36592
- var _iterator19 = _createForOfIteratorHelper(contexts), _step19;
37136
+ var _iterator22 = _createForOfIteratorHelper(contexts), _step22;
36593
37137
  try {
36594
- for (_iterator19.s(); !(_step19 = _iterator19.n()).done; ) {
37138
+ for (_iterator22.s(); !(_step22 = _iterator22.n()).done; ) {
36595
37139
  var _context$vNode;
36596
- var context = _step19.value;
37140
+ var context = _step22.value;
36597
37141
  if (((_context$vNode = context.vNode) === null || _context$vNode === void 0 ? void 0 : _context$vNode.actualNode) === node) {
36598
37142
  return context;
36599
37143
  }
@@ -36603,9 +37147,9 @@ function requireAxe () {
36603
37147
  }
36604
37148
  }
36605
37149
  } catch (err) {
36606
- _iterator19.e(err);
37150
+ _iterator22.e(err);
36607
37151
  } finally {
36608
- _iterator19.f();
37152
+ _iterator22.f();
36609
37153
  }
36610
37154
  }
36611
37155
  function hasValidContrastRatio(bg, fg, fontSize, isBold) {
@@ -36709,25 +37253,25 @@ function requireAxe () {
36709
37253
  if (results.length < 2) {
36710
37254
  return results;
36711
37255
  }
36712
- var incompleteResults = results.filter(function(_ref113) {
36713
- var result = _ref113.result;
37256
+ var incompleteResults = results.filter(function(_ref114) {
37257
+ var result = _ref114.result;
36714
37258
  return result !== void 0;
36715
37259
  });
36716
37260
  var uniqueResults = [];
36717
37261
  var nameMap = {};
36718
- var _loop8 = function _loop8(index) {
37262
+ var _loop9 = function _loop9(index) {
36719
37263
  var _currentResult$relate;
36720
37264
  var currentResult = incompleteResults[index];
36721
37265
  var _currentResult$data = currentResult.data, name = _currentResult$data.name, urlProps = _currentResult$data.urlProps;
36722
37266
  if (nameMap[name]) {
36723
37267
  return 1;
36724
37268
  }
36725
- var sameNameResults = incompleteResults.filter(function(_ref114, resultNum) {
36726
- var data = _ref114.data;
37269
+ var sameNameResults = incompleteResults.filter(function(_ref115, resultNum) {
37270
+ var data = _ref115.data;
36727
37271
  return data.name === name && resultNum !== index;
36728
37272
  });
36729
- var isSameUrl = sameNameResults.every(function(_ref115) {
36730
- var data = _ref115.data;
37273
+ var isSameUrl = sameNameResults.every(function(_ref116) {
37274
+ var data = _ref116.data;
36731
37275
  return isIdenticalObject(data.urlProps, urlProps);
36732
37276
  });
36733
37277
  if (sameNameResults.length && !isSameUrl) {
@@ -36741,7 +37285,7 @@ function requireAxe () {
36741
37285
  uniqueResults.push(currentResult);
36742
37286
  };
36743
37287
  for (var index = 0; index < incompleteResults.length; index++) {
36744
- if (_loop8(index)) {
37288
+ if (_loop9(index)) {
36745
37289
  continue;
36746
37290
  }
36747
37291
  }
@@ -36753,7 +37297,7 @@ function requireAxe () {
36753
37297
  var headingRole = role && role.includes('heading');
36754
37298
  var ariaHeadingLevel = vNode.attr('aria-level');
36755
37299
  var ariaLevel = parseInt(ariaHeadingLevel, 10);
36756
- var _ref116 = vNode.props.nodeName.match(/h(\d)/) || [], _ref117 = _slicedToArray(_ref116, 2), headingLevel = _ref117[1];
37300
+ var _ref117 = vNode.props.nodeName.match(/h(\d)/) || [], _ref118 = _slicedToArray(_ref117, 2), headingLevel = _ref118[1];
36757
37301
  if (!headingRole) {
36758
37302
  return -1;
36759
37303
  }
@@ -36813,14 +37357,14 @@ function requireAxe () {
36813
37357
  }
36814
37358
  function getHeadingOrder(results) {
36815
37359
  results = _toConsumableArray(results);
36816
- results.sort(function(_ref118, _ref119) {
36817
- var nodeA = _ref118.node;
36818
- var nodeB = _ref119.node;
37360
+ results.sort(function(_ref119, _ref120) {
37361
+ var nodeA = _ref119.node;
37362
+ var nodeB = _ref120.node;
36819
37363
  return nodeA.ancestry.length - nodeB.ancestry.length;
36820
37364
  });
36821
37365
  var headingOrder = results.reduce(mergeHeadingOrder, []);
36822
- return headingOrder.filter(function(_ref120) {
36823
- var level = _ref120.level;
37366
+ return headingOrder.filter(function(_ref121) {
37367
+ var level = _ref121.level;
36824
37368
  return level !== -1;
36825
37369
  });
36826
37370
  }
@@ -36949,10 +37493,10 @@ function requireAxe () {
36949
37493
  function filterByElmsOverlap(vNode, nearbyElms) {
36950
37494
  var fullyObscuringElms = [];
36951
37495
  var partialObscuringElms = [];
36952
- var _iterator20 = _createForOfIteratorHelper(nearbyElms), _step20;
37496
+ var _iterator23 = _createForOfIteratorHelper(nearbyElms), _step23;
36953
37497
  try {
36954
- for (_iterator20.s(); !(_step20 = _iterator20.n()).done; ) {
36955
- var vNeighbor = _step20.value;
37498
+ for (_iterator23.s(); !(_step23 = _iterator23.n()).done; ) {
37499
+ var vNeighbor = _step23.value;
36956
37500
  if (!isDescendantNotInTabOrder2(vNode, vNeighbor) && _hasVisualOverlap(vNode, vNeighbor) && getCssPointerEvents(vNeighbor) !== 'none') {
36957
37501
  if (isEnclosedRect2(vNode, vNeighbor)) {
36958
37502
  fullyObscuringElms.push(vNeighbor);
@@ -36962,9 +37506,9 @@ function requireAxe () {
36962
37506
  }
36963
37507
  }
36964
37508
  } catch (err) {
36965
- _iterator20.e(err);
37509
+ _iterator23.e(err);
36966
37510
  } finally {
36967
- _iterator20.f();
37511
+ _iterator23.f();
36968
37512
  }
36969
37513
  return {
36970
37514
  fullyObscuringElms: fullyObscuringElms,
@@ -37020,8 +37564,8 @@ function requireAxe () {
37020
37564
  return _contains(vAncestor, vNode) && !_isInTabOrder(vNode);
37021
37565
  }
37022
37566
  function mapActualNodes(vNodes) {
37023
- return vNodes.map(function(_ref121) {
37024
- var actualNode = _ref121.actualNode;
37567
+ return vNodes.map(function(_ref122) {
37568
+ var actualNode = _ref122.actualNode;
37025
37569
  return actualNode;
37026
37570
  });
37027
37571
  }
@@ -37037,10 +37581,10 @@ function requireAxe () {
37037
37581
  }
37038
37582
  var closeNeighbors = [];
37039
37583
  var closestOffset = minOffset;
37040
- var _iterator21 = _createForOfIteratorHelper(_findNearbyElms(vNode, minOffset)), _step21;
37584
+ var _iterator24 = _createForOfIteratorHelper(_findNearbyElms(vNode, minOffset)), _step24;
37041
37585
  try {
37042
- for (_iterator21.s(); !(_step21 = _iterator21.n()).done; ) {
37043
- var vNeighbor = _step21.value;
37586
+ for (_iterator24.s(); !(_step24 = _iterator24.n()).done; ) {
37587
+ var vNeighbor = _step24.value;
37044
37588
  if (get_role_type_default(vNeighbor) !== 'widget' || !_isFocusable(vNeighbor)) {
37045
37589
  continue;
37046
37590
  }
@@ -37069,9 +37613,9 @@ function requireAxe () {
37069
37613
  closeNeighbors.push(vNeighbor);
37070
37614
  }
37071
37615
  } catch (err) {
37072
- _iterator21.e(err);
37616
+ _iterator24.e(err);
37073
37617
  } finally {
37074
- _iterator21.f();
37618
+ _iterator24.f();
37075
37619
  }
37076
37620
  if (closeNeighbors.length === 0) {
37077
37621
  this.data({
@@ -37080,8 +37624,8 @@ function requireAxe () {
37080
37624
  });
37081
37625
  return true;
37082
37626
  }
37083
- this.relatedNodes(closeNeighbors.map(function(_ref122) {
37084
- var actualNode = _ref122.actualNode;
37627
+ this.relatedNodes(closeNeighbors.map(function(_ref123) {
37628
+ var actualNode = _ref123.actualNode;
37085
37629
  return actualNode;
37086
37630
  }));
37087
37631
  if (!closeNeighbors.some(_isInTabOrder)) {
@@ -37102,7 +37646,7 @@ function requireAxe () {
37102
37646
  return Math.round(num * 10) / 10;
37103
37647
  }
37104
37648
  function metaViewportScaleEvaluate(node, options, virtualNode) {
37105
- var _ref123 = options || {}, _ref123$scaleMinimum = _ref123.scaleMinimum, scaleMinimum = _ref123$scaleMinimum === void 0 ? 2 : _ref123$scaleMinimum, _ref123$lowerBound = _ref123.lowerBound, lowerBound = _ref123$lowerBound === void 0 ? false : _ref123$lowerBound;
37649
+ var _ref124 = options || {}, _ref124$scaleMinimum = _ref124.scaleMinimum, scaleMinimum = _ref124$scaleMinimum === void 0 ? 2 : _ref124$scaleMinimum, _ref124$lowerBound = _ref124.lowerBound, lowerBound = _ref124$lowerBound === void 0 ? false : _ref124$lowerBound;
37106
37650
  var content = virtualNode.attr('content') || '';
37107
37651
  if (!content) {
37108
37652
  return true;
@@ -37147,23 +37691,23 @@ function requireAxe () {
37147
37691
  }
37148
37692
  var meta_viewport_scale_evaluate_default = metaViewportScaleEvaluate;
37149
37693
  function cssOrientationLockEvaluate(node, options, virtualNode, context) {
37150
- var _ref124 = context || {}, _ref124$cssom = _ref124.cssom, cssom = _ref124$cssom === void 0 ? void 0 : _ref124$cssom;
37151
- var _ref125 = options || {}, _ref125$degreeThresho = _ref125.degreeThreshold, degreeThreshold = _ref125$degreeThresho === void 0 ? 0 : _ref125$degreeThresho;
37694
+ var _ref125 = context || {}, _ref125$cssom = _ref125.cssom, cssom = _ref125$cssom === void 0 ? void 0 : _ref125$cssom;
37695
+ var _ref126 = options || {}, _ref126$degreeThresho = _ref126.degreeThreshold, degreeThreshold = _ref126$degreeThresho === void 0 ? 0 : _ref126$degreeThresho;
37152
37696
  if (!cssom || !cssom.length) {
37153
37697
  return void 0;
37154
37698
  }
37155
37699
  var isLocked = false;
37156
37700
  var relatedElements = [];
37157
37701
  var rulesGroupByDocumentFragment = groupCssomByDocument(cssom);
37158
- var _loop9 = function _loop9() {
37702
+ var _loop0 = function _loop0() {
37159
37703
  var key = _Object$keys3[_i31];
37160
37704
  var _rulesGroupByDocument = rulesGroupByDocumentFragment[key], root = _rulesGroupByDocument.root, rules = _rulesGroupByDocument.rules;
37161
37705
  var orientationRules = rules.filter(isMediaRuleWithOrientation);
37162
37706
  if (!orientationRules.length) {
37163
37707
  return 1;
37164
37708
  }
37165
- orientationRules.forEach(function(_ref126) {
37166
- var cssRules = _ref126.cssRules;
37709
+ orientationRules.forEach(function(_ref127) {
37710
+ var cssRules = _ref127.cssRules;
37167
37711
  Array.from(cssRules).forEach(function(cssRule) {
37168
37712
  var locked = getIsOrientationLocked(cssRule);
37169
37713
  if (locked && cssRule.selectorText.toUpperCase() !== 'HTML') {
@@ -37175,7 +37719,7 @@ function requireAxe () {
37175
37719
  });
37176
37720
  };
37177
37721
  for (var _i31 = 0, _Object$keys3 = Object.keys(rulesGroupByDocumentFragment); _i31 < _Object$keys3.length; _i31++) {
37178
- if (_loop9()) {
37722
+ if (_loop0()) {
37179
37723
  continue;
37180
37724
  }
37181
37725
  }
@@ -37187,8 +37731,8 @@ function requireAxe () {
37187
37731
  }
37188
37732
  return false;
37189
37733
  function groupCssomByDocument(cssObjectModel) {
37190
- return cssObjectModel.reduce(function(out, _ref127) {
37191
- var sheet = _ref127.sheet, root = _ref127.root, shadowId = _ref127.shadowId;
37734
+ return cssObjectModel.reduce(function(out, _ref128) {
37735
+ var sheet = _ref128.sheet, root = _ref128.root, shadowId = _ref128.shadowId;
37192
37736
  var key = shadowId ? shadowId : 'topDocument';
37193
37737
  if (!out[key]) {
37194
37738
  out[key] = {
@@ -37204,15 +37748,15 @@ function requireAxe () {
37204
37748
  return out;
37205
37749
  }, {});
37206
37750
  }
37207
- function isMediaRuleWithOrientation(_ref128) {
37208
- var type2 = _ref128.type, cssText = _ref128.cssText;
37751
+ function isMediaRuleWithOrientation(_ref129) {
37752
+ var type2 = _ref129.type, cssText = _ref129.cssText;
37209
37753
  if (type2 !== 4) {
37210
37754
  return false;
37211
37755
  }
37212
37756
  return /orientation:\s*landscape/i.test(cssText) || /orientation:\s*portrait/i.test(cssText);
37213
37757
  }
37214
- function getIsOrientationLocked(_ref129) {
37215
- var selectorText = _ref129.selectorText, style = _ref129.style;
37758
+ function getIsOrientationLocked(_ref130) {
37759
+ var selectorText = _ref130.selectorText, style = _ref130.style;
37216
37760
  if (!selectorText || style.length <= 0) {
37217
37761
  return false;
37218
37762
  }
@@ -37267,7 +37811,7 @@ function requireAxe () {
37267
37811
  }
37268
37812
  }
37269
37813
  function getAngleInDegrees(angleWithUnit) {
37270
- var _ref130 = angleWithUnit.match(/(deg|grad|rad|turn)/) || [], _ref131 = _slicedToArray(_ref130, 1), unit = _ref131[0];
37814
+ var _ref131 = angleWithUnit.match(/(deg|grad|rad|turn)/) || [], _ref132 = _slicedToArray(_ref131, 1), unit = _ref132[0];
37271
37815
  if (!unit) {
37272
37816
  return 0;
37273
37817
  }
@@ -37509,18 +38053,17 @@ function requireAxe () {
37509
38053
  if (!parent) {
37510
38054
  return void 0;
37511
38055
  }
37512
- var parentNodeName = parent.props.nodeName;
37513
- var parentRole = get_explicit_role_default(parent);
38056
+ var parentExplicitRole = get_explicit_role_default(parent);
38057
+ var parentRole = get_role_default(parent);
37514
38058
  if ([ 'presentation', 'none', 'list' ].includes(parentRole)) {
37515
38059
  return true;
37516
38060
  }
37517
- if (parentRole && is_valid_role_default(parentRole)) {
38061
+ if (parentExplicitRole && is_valid_role_default(parentExplicitRole)) {
37518
38062
  this.data({
37519
38063
  messageKey: 'roleNotValid'
37520
38064
  });
37521
- return false;
37522
38065
  }
37523
- return [ 'ul', 'ol', 'menu' ].includes(parentNodeName);
38066
+ return false;
37524
38067
  }
37525
38068
  function invalidChildrenEvaluate(node) {
37526
38069
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -37562,8 +38105,8 @@ function requireAxe () {
37562
38105
  this.relatedNodes(relatedNodes);
37563
38106
  return true;
37564
38107
  }
37565
- function getInvalidSelector(vChild, nested, _ref132) {
37566
- var _ref132$validRoles = _ref132.validRoles, validRoles = _ref132$validRoles === void 0 ? [] : _ref132$validRoles, _ref132$validNodeName = _ref132.validNodeNames, validNodeNames = _ref132$validNodeName === void 0 ? [] : _ref132$validNodeName;
38108
+ function getInvalidSelector(vChild, nested, _ref133) {
38109
+ var _ref133$validRoles = _ref133.validRoles, validRoles = _ref133$validRoles === void 0 ? [] : _ref133$validRoles, _ref133$validNodeName = _ref133.validNodeNames, validNodeNames = _ref133$validNodeName === void 0 ? [] : _ref133$validNodeName;
37567
38110
  var _vChild$props = vChild.props, nodeName2 = _vChild$props.nodeName, nodeType = _vChild$props.nodeType, nodeValue = _vChild$props.nodeValue;
37568
38111
  var selector = nested ? 'div > ' : '';
37569
38112
  if (nodeType === 3 && nodeValue.trim() !== '') {
@@ -37572,11 +38115,12 @@ function requireAxe () {
37572
38115
  if (nodeType !== 1 || !_isVisibleToScreenReaders(vChild)) {
37573
38116
  return false;
37574
38117
  }
37575
- var role = get_explicit_role_default(vChild);
37576
- if (role) {
37577
- return validRoles.includes(role) ? false : selector + '[role='.concat(role, ']');
38118
+ var explicitRole2 = get_explicit_role_default(vChild);
38119
+ var role = get_role_default(vChild);
38120
+ if (explicitRole2) {
38121
+ return validRoles.includes(explicitRole2) ? false : selector + '[role='.concat(role, ']');
37578
38122
  } else {
37579
- return validNodeNames.includes(nodeName2) ? false : selector + nodeName2;
38123
+ return validNodeNames.includes(nodeName2) || validRoles.includes(role) ? false : selector + nodeName2;
37580
38124
  }
37581
38125
  }
37582
38126
  function isDivGroup(vNode) {
@@ -37750,12 +38294,11 @@ function requireAxe () {
37750
38294
  var pixelThreshold = options === null || options === void 0 ? void 0 : options.pixelThreshold;
37751
38295
  var occurrenceThreshold = (_options$occurrenceTh = options === null || options === void 0 ? void 0 : options.occurrenceThreshold) !== null && _options$occurrenceTh !== void 0 ? _options$occurrenceTh : options === null || options === void 0 ? void 0 : options.occuranceThreshold;
37752
38296
  var accText = accessible_text_default(node).toLowerCase();
37753
- var visibleText = sanitize_default(subtree_text_default(virtualNode, {
37754
- subtreeDescendant: true,
38297
+ var visibleText = visible_virtual_default(virtualNode, false, false, {
37755
38298
  ignoreIconLigature: true,
37756
38299
  pixelThreshold: pixelThreshold,
37757
38300
  occurrenceThreshold: occurrenceThreshold
37758
- })).toLowerCase();
38301
+ }).toLowerCase();
37759
38302
  if (!visibleText) {
37760
38303
  return true;
37761
38304
  }
@@ -38013,8 +38556,8 @@ function requireAxe () {
38013
38556
  }
38014
38557
  var focusable_no_name_evaluate_default = focusableNoNameEvaluate;
38015
38558
  function focusableModalOpenEvaluate(node, options, virtualNode) {
38016
- var tabbableElements = virtualNode.tabbableElements.map(function(_ref133) {
38017
- var actualNode = _ref133.actualNode;
38559
+ var tabbableElements = virtualNode.tabbableElements.map(function(_ref134) {
38560
+ var actualNode = _ref134.actualNode;
38018
38561
  return actualNode;
38019
38562
  });
38020
38563
  if (!tabbableElements || !tabbableElements.length) {
@@ -38409,7 +38952,7 @@ function requireAxe () {
38409
38952
  var bold = parseFloat(fontWeight) >= boldValue || fontWeight === 'bold';
38410
38953
  var ptSize = Math.ceil(fontSize * 72) / 96;
38411
38954
  var isSmallFont = bold && ptSize < boldTextPt || !bold && ptSize < largeTextPt;
38412
- var _ref134 = isSmallFont ? contrastRatio.normal : contrastRatio.large, expected = _ref134.expected, minThreshold = _ref134.minThreshold, maxThreshold = _ref134.maxThreshold;
38955
+ var _ref135 = isSmallFont ? contrastRatio.normal : contrastRatio.large, expected = _ref135.expected, minThreshold = _ref135.minThreshold, maxThreshold = _ref135.maxThreshold;
38413
38956
  var pseudoElm = findPseudoElement(virtualNode, {
38414
38957
  ignorePseudo: ignorePseudo,
38415
38958
  pseudoSizeThreshold: pseudoSizeThreshold
@@ -38505,8 +39048,8 @@ function requireAxe () {
38505
39048
  }
38506
39049
  return isValid;
38507
39050
  }
38508
- function findPseudoElement(vNode, _ref135) {
38509
- var _ref135$pseudoSizeThr = _ref135.pseudoSizeThreshold, pseudoSizeThreshold = _ref135$pseudoSizeThr === void 0 ? .25 : _ref135$pseudoSizeThr, _ref135$ignorePseudo = _ref135.ignorePseudo, ignorePseudo = _ref135$ignorePseudo === void 0 ? false : _ref135$ignorePseudo;
39051
+ function findPseudoElement(vNode, _ref136) {
39052
+ var _ref136$pseudoSizeThr = _ref136.pseudoSizeThreshold, pseudoSizeThreshold = _ref136$pseudoSizeThr === void 0 ? .25 : _ref136$pseudoSizeThr, _ref136$ignorePseudo = _ref136.ignorePseudo, ignorePseudo = _ref136$ignorePseudo === void 0 ? false : _ref136$ignorePseudo;
38510
39053
  if (ignorePseudo) {
38511
39054
  return;
38512
39055
  }
@@ -38548,7 +39091,7 @@ function requireAxe () {
38548
39091
  }
38549
39092
  function parseUnit(str) {
38550
39093
  var unitRegex = /^([0-9.]+)([a-z]+)$/i;
38551
- var _ref136 = str.match(unitRegex) || [], _ref137 = _slicedToArray(_ref136, 3), _ref137$ = _ref137[1], value = _ref137$ === void 0 ? '' : _ref137$, _ref137$2 = _ref137[2], unit = _ref137$2 === void 0 ? '' : _ref137$2;
39094
+ var _ref137 = str.match(unitRegex) || [], _ref138 = _slicedToArray(_ref137, 3), _ref138$ = _ref138[1], value = _ref138$ === void 0 ? '' : _ref138$, _ref138$2 = _ref138[2], unit = _ref138$2 === void 0 ? '' : _ref138$2;
38552
39095
  return {
38553
39096
  value: parseFloat(value),
38554
39097
  unit: unit.toLowerCase()
@@ -38927,20 +39470,20 @@ function requireAxe () {
38927
39470
  return true;
38928
39471
  }
38929
39472
  var ownedRoles = getOwnedRoles(virtualNode, required);
38930
- var unallowed = ownedRoles.filter(function(_ref138) {
38931
- var role = _ref138.role, vNode = _ref138.vNode;
39473
+ var unallowed = ownedRoles.filter(function(_ref139) {
39474
+ var role = _ref139.role, vNode = _ref139.vNode;
38932
39475
  return vNode.props.nodeType === 1 && !required.includes(role);
38933
39476
  });
38934
39477
  if (unallowed.length) {
38935
- this.relatedNodes(unallowed.map(function(_ref139) {
38936
- var vNode = _ref139.vNode;
39478
+ this.relatedNodes(unallowed.map(function(_ref140) {
39479
+ var vNode = _ref140.vNode;
38937
39480
  return vNode;
38938
39481
  }));
38939
39482
  var messageKey = virtualNode.attr('aria-busy') === 'true' ? 'aria-busy-fail' : 'unallowed';
38940
39483
  this.data({
38941
39484
  messageKey: messageKey,
38942
- values: unallowed.map(function(_ref140) {
38943
- var vNode = _ref140.vNode, attr = _ref140.attr;
39485
+ values: unallowed.map(function(_ref141) {
39486
+ var vNode = _ref141.vNode, attr = _ref141.attr;
38944
39487
  return getUnallowedSelector(vNode, attr);
38945
39488
  }).filter(function(selector, index, array) {
38946
39489
  return array.indexOf(selector) === index;
@@ -38967,7 +39510,7 @@ function requireAxe () {
38967
39510
  var vNode;
38968
39511
  var ownedRoles = [];
38969
39512
  var ownedVirtual = get_owned_virtual_default(virtualNode);
38970
- var _loop0 = function _loop0() {
39513
+ var _loop1 = function _loop1() {
38971
39514
  if (vNode.props.nodeType === 3) {
38972
39515
  ownedRoles.push({
38973
39516
  vNode: vNode,
@@ -38987,7 +39530,7 @@ function requireAxe () {
38987
39530
  })) {
38988
39531
  ownedVirtual.push.apply(ownedVirtual, _toConsumableArray(vNode.children));
38989
39532
  } else if (role || hasGlobalAriaOrFocusable) {
38990
- var attr = globalAriaAttr || 'tabindex';
39533
+ var attr = globalAriaAttr || (vNode.hasAttr('tabindex') ? 'tabindex' : void 0);
38991
39534
  ownedRoles.push({
38992
39535
  role: role,
38993
39536
  attr: attr,
@@ -38996,15 +39539,15 @@ function requireAxe () {
38996
39539
  }
38997
39540
  };
38998
39541
  while (vNode = ownedVirtual.shift()) {
38999
- if (_loop0()) {
39542
+ if (_loop1()) {
39000
39543
  continue;
39001
39544
  }
39002
39545
  }
39003
39546
  return ownedRoles;
39004
39547
  }
39005
39548
  function hasRequiredChildren(required, ownedRoles) {
39006
- return ownedRoles.some(function(_ref141) {
39007
- var role = _ref141.role;
39549
+ return ownedRoles.some(function(_ref142) {
39550
+ var role = _ref142.role;
39008
39551
  return role && required.includes(role);
39009
39552
  });
39010
39553
  }
@@ -39029,8 +39572,8 @@ function requireAxe () {
39029
39572
  }
39030
39573
  return nodeName2;
39031
39574
  }
39032
- function isContent(_ref142) {
39033
- var vNode = _ref142.vNode;
39575
+ function isContent(_ref143) {
39576
+ var vNode = _ref143.vNode;
39034
39577
  if (vNode.props.nodeType === 3) {
39035
39578
  return vNode.props.nodeValue.trim().length > 0;
39036
39579
  }
@@ -39200,7 +39743,7 @@ function requireAxe () {
39200
39743
  }
39201
39744
  function ariaConditionalRowAttr(node) {
39202
39745
  var _invalidTableRowAttrs, _invalidTableRowAttrs2;
39203
- var _ref143 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, invalidTableRowAttrs = _ref143.invalidTableRowAttrs;
39746
+ var _ref144 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, invalidTableRowAttrs = _ref144.invalidTableRowAttrs;
39204
39747
  var virtualNode = arguments.length > 2 ? arguments[2] : undefined;
39205
39748
  var invalidAttrs = (_invalidTableRowAttrs = invalidTableRowAttrs === null || invalidTableRowAttrs === void 0 || (_invalidTableRowAttrs2 = invalidTableRowAttrs.filter) === null || _invalidTableRowAttrs2 === void 0 ? void 0 : _invalidTableRowAttrs2.call(invalidTableRowAttrs, function(invalidAttr) {
39206
39749
  return virtualNode.hasAttr(invalidAttr);
@@ -39228,10 +39771,10 @@ function requireAxe () {
39228
39771
  var rowOwnerQuery = 'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';
39229
39772
  return closest_default(virtualNode, rowOwnerQuery);
39230
39773
  }
39231
- function ariaConditionalCheckboxAttr(node, options, virtualNode) {
39774
+ function ariaConditionalRadioAttr(node, options, virtualNode) {
39232
39775
  var _virtualNode$props = virtualNode.props, nodeName2 = _virtualNode$props.nodeName, type2 = _virtualNode$props.type;
39233
39776
  var ariaChecked = normalizeAriaChecked(virtualNode.attr('aria-checked'));
39234
- if (nodeName2 !== 'input' || type2 !== 'checkbox' || !ariaChecked) {
39777
+ if (nodeName2 !== 'input' || type2 !== 'radio' || !ariaChecked) {
39235
39778
  return true;
39236
39779
  }
39237
39780
  var checkState = getCheckState(virtualNode);
@@ -39239,18 +39782,47 @@ function requireAxe () {
39239
39782
  return true;
39240
39783
  }
39241
39784
  this.data({
39242
- messageKey: 'checkbox',
39785
+ messageKey: 'radio',
39243
39786
  checkState: checkState
39244
39787
  });
39245
39788
  return false;
39246
39789
  }
39247
39790
  function getCheckState(vNode) {
39791
+ return vNode.props.checked ? 'true' : 'false';
39792
+ }
39793
+ function normalizeAriaChecked(ariaCheckedVal) {
39794
+ if (!ariaCheckedVal) {
39795
+ return '';
39796
+ }
39797
+ ariaCheckedVal = ariaCheckedVal.toLowerCase();
39798
+ if (ariaCheckedVal === 'true') {
39799
+ return ariaCheckedVal;
39800
+ }
39801
+ return 'false';
39802
+ }
39803
+ function ariaConditionalCheckboxAttr(node, options, virtualNode) {
39804
+ var _virtualNode$props2 = virtualNode.props, nodeName2 = _virtualNode$props2.nodeName, type2 = _virtualNode$props2.type;
39805
+ var ariaChecked = normalizeAriaChecked2(virtualNode.attr('aria-checked'));
39806
+ if (nodeName2 !== 'input' || type2 !== 'checkbox' || !ariaChecked) {
39807
+ return true;
39808
+ }
39809
+ var checkState = getCheckState2(virtualNode);
39810
+ if (ariaChecked === checkState) {
39811
+ return true;
39812
+ }
39813
+ this.data({
39814
+ messageKey: 'checkbox',
39815
+ checkState: checkState
39816
+ });
39817
+ return false;
39818
+ }
39819
+ function getCheckState2(vNode) {
39248
39820
  if (vNode.props.indeterminate) {
39249
39821
  return 'mixed';
39250
39822
  }
39251
39823
  return vNode.props.checked ? 'true' : 'false';
39252
39824
  }
39253
- function normalizeAriaChecked(ariaCheckedVal) {
39825
+ function normalizeAriaChecked2(ariaCheckedVal) {
39254
39826
  if (!ariaCheckedVal) {
39255
39827
  return '';
39256
39828
  }
@@ -39262,7 +39834,8 @@ function requireAxe () {
39262
39834
  }
39263
39835
  var conditionalRoleMap = {
39264
39836
  row: ariaConditionalRowAttr,
39265
- checkbox: ariaConditionalCheckboxAttr
39837
+ checkbox: ariaConditionalCheckboxAttr,
39838
+ radio: ariaConditionalRadioAttr
39266
39839
  };
39267
39840
  function ariaConditionalAttrEvaluate(node, options, virtualNode) {
39268
39841
  var role = get_role_default(virtualNode);
@@ -39302,18 +39875,18 @@ function requireAxe () {
39302
39875
  if (Array.isArray(options[role])) {
39303
39876
  allowed = unique_array_default(options[role].concat(allowed));
39304
39877
  }
39305
- var _iterator22 = _createForOfIteratorHelper(virtualNode.attrNames), _step22;
39878
+ var _iterator25 = _createForOfIteratorHelper(virtualNode.attrNames), _step25;
39306
39879
  try {
39307
- for (_iterator22.s(); !(_step22 = _iterator22.n()).done; ) {
39308
- var attrName = _step22.value;
39880
+ for (_iterator25.s(); !(_step25 = _iterator25.n()).done; ) {
39881
+ var attrName = _step25.value;
39309
39882
  if (validate_attr_default(attrName) && !allowed.includes(attrName) && !ignoredAttrs(attrName, virtualNode.attr(attrName), virtualNode)) {
39310
39883
  invalid.push(attrName);
39311
39884
  }
39312
39885
  }
39313
39886
  } catch (err) {
39314
- _iterator22.e(err);
39887
+ _iterator25.e(err);
39315
39888
  } finally {
39316
- _iterator22.f();
39889
+ _iterator25.f();
39317
39890
  }
39318
39891
  if (!invalid.length) {
39319
39892
  return true;
@@ -39321,7 +39894,7 @@ function requireAxe () {
39321
39894
  this.data(invalid.map(function(attrName) {
39322
39895
  return attrName + '="' + virtualNode.attr(attrName) + '"';
39323
39896
  }));
39324
- if (!role && !is_html_element_default(virtualNode) && !_isFocusable(virtualNode)) {
39897
+ if (!role && !_isHtmlElement(virtualNode) && !_isFocusable(virtualNode)) {
39325
39898
  return void 0;
39326
39899
  }
39327
39900
  return false;
@@ -39347,18 +39920,18 @@ function requireAxe () {
39347
39920
  var allowedAriaAttrs = elmSpec.allowedAriaAttrs;
39348
39921
  var globalAriaAttrs = get_global_aria_attrs_default();
39349
39922
  var invalid = [];
39350
- var _iterator23 = _createForOfIteratorHelper(virtualNode.attrNames), _step23;
39923
+ var _iterator26 = _createForOfIteratorHelper(virtualNode.attrNames), _step26;
39351
39924
  try {
39352
- for (_iterator23.s(); !(_step23 = _iterator23.n()).done; ) {
39353
- var attrName = _step23.value;
39925
+ for (_iterator26.s(); !(_step26 = _iterator26.n()).done; ) {
39926
+ var attrName = _step26.value;
39354
39927
  if (globalAriaAttrs.includes(attrName) && !allowedAriaAttrs.includes(attrName)) {
39355
39928
  invalid.push(attrName);
39356
39929
  }
39357
39930
  }
39358
39931
  } catch (err) {
39359
- _iterator23.e(err);
39932
+ _iterator26.e(err);
39360
39933
  } finally {
39361
- _iterator23.f();
39934
+ _iterator26.f();
39362
39935
  }
39363
39936
  if (!invalid.length) {
39364
39937
  return true;
@@ -39518,7 +40091,7 @@ function requireAxe () {
39518
40091
  if (!role || [ 'none', 'presentation' ].includes(role)) {
39519
40092
  return true;
39520
40093
  }
39521
- var _ref144 = aria_roles_default[role] || {}, accessibleNameRequired = _ref144.accessibleNameRequired;
40094
+ var _ref145 = aria_roles_default[role] || {}, accessibleNameRequired = _ref145.accessibleNameRequired;
39522
40095
  if (accessibleNameRequired || _isFocusable(virtualNode)) {
39523
40096
  return true;
39524
40097
  }
@@ -39750,7 +40323,7 @@ function requireAxe () {
39750
40323
  }
39751
40324
  var data_table_large_matches_default = dataTableLargeMatches;
39752
40325
  function colorContrastMatches(node, virtualNode) {
39753
- var _virtualNode$props2 = virtualNode.props, nodeName2 = _virtualNode$props2.nodeName, inputType = _virtualNode$props2.type;
40326
+ var _virtualNode$props3 = virtualNode.props, nodeName2 = _virtualNode$props3.nodeName, inputType = _virtualNode$props3.type;
39754
40327
  if (nodeName2 === 'option') {
39755
40328
  return false;
39756
40329
  }
@@ -39965,6 +40538,7 @@ function requireAxe () {
39965
40538
  'aria-busy-evaluate': ariaBusyEvaluate,
39966
40539
  'aria-conditional-attr-evaluate': ariaConditionalAttrEvaluate,
39967
40540
  'aria-conditional-checkbox-attr-evaluate': ariaConditionalCheckboxAttr,
40541
+ 'aria-conditional-radio-attr-evaluate': ariaConditionalRadioAttr,
39968
40542
  'aria-conditional-row-attr-evaluate': ariaConditionalRowAttr,
39969
40543
  'aria-errormessage-evaluate': ariaErrormessageEvaluate,
39970
40544
  'aria-has-attr-matches': aria_has_attr_matches_default,
@@ -40452,7 +41026,7 @@ function requireAxe () {
40452
41026
  this._markChecksEnd = 'mark_runchecks_end_' + this.id;
40453
41027
  };
40454
41028
  Rule.prototype._logGatherPerformance = function _logGatherPerformance(nodes) {
40455
- log_default('gather for '.concat(this.id, ' (').concat(nodes.length, ' nodes): ').concat(performance_timer_default.timeElapsed(), 'ms'));
41029
+ log('gather for '.concat(this.id, ' (').concat(nodes.length, ' nodes): ').concat(performance_timer_default.timeElapsed(), 'ms'));
40456
41030
  performance_timer_default.mark(this._markChecksStart);
40457
41031
  };
40458
41032
  Rule.prototype._logRulePerformance = function _logRulePerformance() {
@@ -40754,10 +41328,10 @@ function requireAxe () {
40754
41328
  value: function setAllowedOrigins(allowedOrigins) {
40755
41329
  var defaultOrigin = getDefaultOrigin();
40756
41330
  this.allowedOrigins = [];
40757
- var _iterator24 = _createForOfIteratorHelper(allowedOrigins), _step24;
41331
+ var _iterator27 = _createForOfIteratorHelper(allowedOrigins), _step27;
40758
41332
  try {
40759
- for (_iterator24.s(); !(_step24 = _iterator24.n()).done; ) {
40760
- var origin = _step24.value;
41333
+ for (_iterator27.s(); !(_step27 = _iterator27.n()).done; ) {
41334
+ var origin = _step27.value;
40761
41335
  if (origin === constants_default.allOrigins) {
40762
41336
  this.allowedOrigins = [ '*' ];
40763
41337
  return;
@@ -40768,9 +41342,9 @@ function requireAxe () {
40768
41342
  }
40769
41343
  }
40770
41344
  } catch (err) {
40771
- _iterator24.e(err);
41345
+ _iterator27.e(err);
40772
41346
  } finally {
40773
- _iterator24.f();
41347
+ _iterator27.f();
40774
41348
  }
40775
41349
  }
40776
41350
  }, {
@@ -40839,56 +41413,61 @@ function requireAxe () {
40839
41413
  }, {
40840
41414
  key: 'run',
40841
41415
  value: function run(context, options, resolve, reject) {
40842
- this.normalizeOptions(options);
41416
+ var _this13 = this;
41417
+ _normalizeRunOptions(options);
40843
41418
  dq_element_default.setRunOptions(options);
40844
- axe._selectCache = [];
40845
- var allRulesToRun = getRulesToRun(this.rules, context, options);
40846
- var runNowRules = allRulesToRun.now;
40847
- var runLaterRules = allRulesToRun.later;
40848
- var nowRulesQueue = queue_default();
40849
- runNowRules.forEach(function(rule) {
40850
- nowRulesQueue.defer(getDefferedRule(rule, context, options));
40851
- });
40852
- var preloaderQueue = queue_default();
40853
- if (runLaterRules.length) {
40854
- preloaderQueue.defer(function(res) {
40855
- _preload(options).then(function(assets) {
40856
- return res(assets);
40857
- })['catch'](function(err2) {
40858
- console.warn('Couldn\'t load preload assets: ', err2);
40859
- res(void 0);
40860
- });
41419
+ var internalsQueue = queue_default();
41420
+ internalsQueue.defer(external.loadElementInternals());
41421
+ internalsQueue.then(function() {
41422
+ axe._selectCache = [];
41423
+ var allRulesToRun = getRulesToRun(_this13.rules, context, options);
41424
+ var runNowRules = allRulesToRun.now;
41425
+ var runLaterRules = allRulesToRun.later;
41426
+ var nowRulesQueue = queue_default();
41427
+ runNowRules.forEach(function(rule) {
41428
+ nowRulesQueue.defer(getDefferedRule(rule, context, options));
40861
41429
  });
40862
- }
40863
- var queueForNowRulesAndPreloader = queue_default();
40864
- queueForNowRulesAndPreloader.defer(nowRulesQueue);
40865
- queueForNowRulesAndPreloader.defer(preloaderQueue);
40866
- queueForNowRulesAndPreloader.then(function(nowRulesAndPreloaderResults) {
40867
- var assetsFromQueue = nowRulesAndPreloaderResults.pop();
40868
- if (assetsFromQueue && assetsFromQueue.length) {
40869
- var assets = assetsFromQueue[0];
40870
- if (assets) {
40871
- context = _extends({}, context, assets);
40872
- }
40873
- }
40874
- var nowRulesResults = nowRulesAndPreloaderResults[0];
40875
- if (!runLaterRules.length) {
40876
- axe._selectCache = void 0;
40877
- resolve(nowRulesResults.filter(function(result) {
40878
- return !!result;
40879
- }));
40880
- return;
41430
+ var preloaderQueue = queue_default();
41431
+ if (runLaterRules.length) {
41432
+ preloaderQueue.defer(function(res) {
41433
+ _preload(options).then(function(assets) {
41434
+ return res(assets);
41435
+ })['catch'](function(err2) {
41436
+ console.warn('Couldn\'t load preload assets: ', err2);
41437
+ res(void 0);
41438
+ });
41439
+ });
40881
41440
  }
40882
- var laterRulesQueue = queue_default();
40883
- runLaterRules.forEach(function(rule) {
40884
- var deferredRule = getDefferedRule(rule, context, options);
40885
- laterRulesQueue.defer(deferredRule);
40886
- });
40887
- laterRulesQueue.then(function(laterRuleResults) {
40888
- axe._selectCache = void 0;
40889
- resolve(nowRulesResults.concat(laterRuleResults).filter(function(result) {
40890
- return !!result;
40891
- }));
41441
+ var queueForNowRulesAndPreloader = queue_default();
41442
+ queueForNowRulesAndPreloader.defer(nowRulesQueue);
41443
+ queueForNowRulesAndPreloader.defer(preloaderQueue);
41444
+ queueForNowRulesAndPreloader.then(function(nowRulesAndPreloaderResults) {
41445
+ var assetsFromQueue = nowRulesAndPreloaderResults.pop();
41446
+ if (assetsFromQueue && assetsFromQueue.length) {
41447
+ var assets = assetsFromQueue[0];
41448
+ if (assets) {
41449
+ context = _extends({}, context, assets);
41450
+ }
41451
+ }
41452
+ var nowRulesResults = nowRulesAndPreloaderResults[0];
41453
+ if (!runLaterRules.length) {
41454
+ axe._selectCache = void 0;
41455
+ resolve(nowRulesResults.filter(function(result) {
41456
+ return !!result;
41457
+ }));
41458
+ return;
41459
+ }
41460
+ var laterRulesQueue = queue_default();
41461
+ runLaterRules.forEach(function(rule) {
41462
+ var deferredRule = getDefferedRule(rule, context, options);
41463
+ laterRulesQueue.defer(deferredRule);
41464
+ });
41465
+ laterRulesQueue.then(function(laterRuleResults) {
41466
+ axe._selectCache = void 0;
41467
+ resolve(nowRulesResults.concat(laterRuleResults).filter(function(result) {
41468
+ return !!result;
41469
+ }));
41470
+ })['catch'](reject);
40892
41471
  })['catch'](reject);
40893
41472
  })['catch'](reject);
40894
41473
  }
@@ -40921,89 +41500,9 @@ function requireAxe () {
40921
41500
  return rule.id === ruleId;
40922
41501
  });
40923
41502
  }
40924
- }, {
40925
- key: 'normalizeOptions',
40926
- value: function normalizeOptions(options) {
40927
- var audit = this;
40928
- var tags = [];
40929
- var ruleIds = [];
40930
- audit.rules.forEach(function(rule) {
40931
- ruleIds.push(rule.id);
40932
- rule.tags.forEach(function(tag) {
40933
- if (!tags.includes(tag)) {
40934
- tags.push(tag);
40935
- }
40936
- });
40937
- });
40938
- if ([ 'object', 'string' ].includes(_typeof(options.runOnly))) {
40939
- if (typeof options.runOnly === 'string') {
40940
- options.runOnly = [ options.runOnly ];
40941
- }
40942
- if (Array.isArray(options.runOnly)) {
40943
- var hasTag = options.runOnly.find(function(value) {
40944
- return tags.includes(value);
40945
- });
40946
- var hasRule = options.runOnly.find(function(value) {
40947
- return ruleIds.includes(value);
40948
- });
40949
- if (hasTag && hasRule) {
40950
- throw new Error('runOnly cannot be both rules and tags');
40951
- }
40952
- if (hasRule) {
40953
- options.runOnly = {
40954
- type: 'rule',
40955
- values: options.runOnly
40956
- };
40957
- } else {
40958
- options.runOnly = {
40959
- type: 'tag',
40960
- values: options.runOnly
40961
- };
40962
- }
40963
- }
40964
- var only = options.runOnly;
40965
- if (only.value && !only.values) {
40966
- only.values = only.value;
40967
- delete only.value;
40968
- }
40969
- if (!Array.isArray(only.values) || only.values.length === 0) {
40970
- throw new Error('runOnly.values must be a non-empty array');
40971
- }
40972
- if ([ 'rule', 'rules' ].includes(only.type)) {
40973
- only.type = 'rule';
40974
- only.values.forEach(function(ruleId) {
40975
- if (!ruleIds.includes(ruleId)) {
40976
- throw new Error('unknown rule `' + ruleId + '` in options.runOnly');
40977
- }
40978
- });
40979
- } else if ([ 'tag', 'tags', void 0 ].includes(only.type)) {
40980
- only.type = 'tag';
40981
- var unmatchedTags = only.values.filter(function(tag) {
40982
- return !tags.includes(tag) && !/wcag2[1-3]a{1,3}/.test(tag);
40983
- });
40984
- if (unmatchedTags.length !== 0) {
40985
- axe.log('Could not find tags `' + unmatchedTags.join('`, `') + '`');
40986
- }
40987
- } else {
40988
- throw new Error('Unknown runOnly type \''.concat(only.type, '\''));
40989
- }
40990
- }
40991
- if (_typeof(options.rules) === 'object') {
40992
- Object.keys(options.rules).forEach(function(ruleId) {
40993
- if (!ruleIds.includes(ruleId)) {
40994
- throw new Error('unknown rule `' + ruleId + '` in options.rules');
40995
- }
40996
- });
40997
- }
40998
- return options;
40999
- }
41000
41503
  }, {
41001
41504
  key: 'setBranding',
41002
41505
  value: function setBranding(branding) {
41003
- var previous = {
41004
- brand: this.brand,
41005
- application: this.application
41006
- };
41007
41506
  if (typeof branding === 'string') {
41008
41507
  this.application = branding;
41009
41508
  }
@@ -41013,21 +41512,20 @@ function requireAxe () {
41013
41512
  if (branding && branding.hasOwnProperty('application') && branding.application && typeof branding.application === 'string') {
41014
41513
  this.application = branding.application;
41015
41514
  }
41016
- this._constructHelpUrls(previous);
41017
41515
  }
41018
41516
  }, {
41019
41517
  key: '_constructHelpUrls',
41020
41518
  value: function _constructHelpUrls() {
41021
- var _this13 = this;
41519
+ var _this14 = this;
41022
41520
  var previous = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
41023
41521
  var version = (axe.version.match(/^[1-9][0-9]*\.[0-9]+/) || [ 'x.y' ])[0];
41024
41522
  this.rules.forEach(function(rule) {
41025
- if (!_this13.data.rules[rule.id]) {
41026
- _this13.data.rules[rule.id] = {};
41523
+ if (!_this14.data.rules[rule.id]) {
41524
+ _this14.data.rules[rule.id] = {};
41027
41525
  }
41028
- var metaData = _this13.data.rules[rule.id];
41526
+ var metaData = _this14.data.rules[rule.id];
41029
41527
  if (typeof metaData.helpUrl !== 'string' || previous && metaData.helpUrl === getHelpUrl(previous, rule.id, version)) {
41030
- metaData.helpUrl = getHelpUrl(_this13, rule.id, version);
41528
+ metaData.helpUrl = getHelpUrl(_this14, rule.id, version);
41031
41529
  }
41032
41530
  });
41033
41531
  }
@@ -41175,8 +41673,8 @@ function requireAxe () {
41175
41673
  } ]
41176
41674
  });
41177
41675
  }
41178
- function getHelpUrl(_ref145, ruleId, version) {
41179
- var brand = _ref145.brand, application = _ref145.application, lang = _ref145.lang;
41676
+ function getHelpUrl(_ref146, ruleId, version) {
41677
+ var brand = _ref146.brand, application = _ref146.application, lang = _ref146.lang;
41180
41678
  return constants_default.helpUrlBase + brand + '/' + (version || axe.version.substring(0, axe.version.lastIndexOf('.'))) + '/' + ruleId + '?application=' + encodeURIComponent(application) + (lang && lang !== 'en' ? '&lang=' + encodeURIComponent(lang) : '');
41181
41679
  }
41182
41680
  function setupGlobals(context) {
@@ -41267,7 +41765,7 @@ function requireAxe () {
41267
41765
  resolve(results, teardown_default);
41268
41766
  } catch (e) {
41269
41767
  teardown_default();
41270
- log_default(e);
41768
+ log(e);
41271
41769
  }
41272
41770
  } catch (e) {
41273
41771
  teardown_default();
@@ -41359,6 +41857,14 @@ function requireAxe () {
41359
41857
  resetStandards();
41360
41858
  }
41361
41859
  var reset_default = reset;
41860
+ function resetLocale() {
41861
+ var audit = axe._audit;
41862
+ if (!audit) {
41863
+ throw new Error('No audit configured');
41864
+ }
41865
+ audit._resetLocale();
41866
+ }
41867
+ var reset_locale_default = resetLocale;
41362
41868
  function runVirtualRule(ruleId, vNode) {
41363
41869
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
41364
41870
  options.reporter = options.reporter || axe._audit.reporter || 'v1';
@@ -41398,9 +41904,9 @@ function requireAxe () {
41398
41904
  toolOptions: options
41399
41905
  });
41400
41906
  }
41401
- function normalizeRunParams(_ref146) {
41402
- var _ref148, _options$reporter, _axe$_audit;
41403
- var _ref147 = _slicedToArray(_ref146, 3), context = _ref147[0], options = _ref147[1], callback = _ref147[2];
41907
+ function normalizeRunParams(_ref147) {
41908
+ var _ref149, _options$reporter, _axe$_audit2;
41909
+ var _ref148 = _slicedToArray(_ref147, 3), context = _ref148[0], options = _ref148[1], callback = _ref148[2];
41404
41910
  var typeErr = new TypeError('axe.run arguments are invalid');
41405
41911
  if (!_isContextSpec(context)) {
41406
41912
  if (callback !== void 0) {
@@ -41421,7 +41927,7 @@ function requireAxe () {
41421
41927
  throw typeErr;
41422
41928
  }
41423
41929
  options = clone2(options);
41424
- options.reporter = (_ref148 = (_options$reporter = options.reporter) !== null && _options$reporter !== void 0 ? _options$reporter : (_axe$_audit = axe._audit) === null || _axe$_audit === void 0 ? void 0 : _axe$_audit.reporter) !== null && _ref148 !== void 0 ? _ref148 : 'v1';
41930
+ options.reporter = (_ref149 = (_options$reporter = options.reporter) !== null && _options$reporter !== void 0 ? _options$reporter : (_axe$_audit2 = axe._audit) === null || _axe$_audit2 === void 0 ? void 0 : _axe$_audit2.reporter) !== null && _ref149 !== void 0 ? _ref149 : 'v1';
41425
41931
  return {
41426
41932
  context: context,
41427
41933
  options: options,
@@ -41539,11 +42045,17 @@ function requireAxe () {
41539
42045
  axe._running = true;
41540
42046
  options.elementRef = false;
41541
42047
  return new Promise(function(res, rej) {
42048
+ if (options.performanceTimer) {
42049
+ performance_timer_default.auditStart();
42050
+ }
41542
42051
  axe._audit.run(contextObj, options, res, rej);
41543
42052
  }).then(function(results) {
42053
+ if (options.performanceTimer) {
42054
+ performance_timer_default.auditEnd();
42055
+ }
41544
42056
  results = node_serializer_default.mapRawResults(results);
41545
- var frames = contextObj.frames.map(function(_ref149) {
41546
- var node = _ref149.node;
42057
+ var frames = contextObj.frames.map(function(_ref150) {
42058
+ var node = _ref150.node;
41547
42059
  return node_serializer_default.toSpec(node);
41548
42060
  });
41549
42061
  var environmentData;
@@ -41564,14 +42076,14 @@ function requireAxe () {
41564
42076
  });
41565
42077
  }
41566
42078
  function finishRun(partialResults) {
41567
- var _ref151, _options$reporter2, _axe$_audit2;
42079
+ var _ref152, _options$reporter2, _axe$_audit3;
41568
42080
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
41569
42081
  options = clone2(options);
41570
- var _ref150 = partialResults.find(function(r) {
42082
+ var _ref151 = partialResults.find(function(r) {
41571
42083
  return r.environmentData;
41572
- }) || {}, environmentData = _ref150.environmentData;
41573
- axe._audit.normalizeOptions(options);
41574
- options.reporter = (_ref151 = (_options$reporter2 = options.reporter) !== null && _options$reporter2 !== void 0 ? _options$reporter2 : (_axe$_audit2 = axe._audit) === null || _axe$_audit2 === void 0 ? void 0 : _axe$_audit2.reporter) !== null && _ref151 !== void 0 ? _ref151 : 'v1';
42084
+ }) || {}, environmentData = _ref151.environmentData;
42085
+ _normalizeRunOptions(options);
42086
+ options.reporter = (_ref152 = (_options$reporter2 = options.reporter) !== null && _options$reporter2 !== void 0 ? _options$reporter2 : (_axe$_audit3 = axe._audit) === null || _axe$_audit3 === void 0 ? void 0 : _axe$_audit3.reporter) !== null && _ref152 !== void 0 ? _ref152 : 'v1';
41575
42087
  setFrameSpec(partialResults);
41576
42088
  var results = merge_results_default(partialResults);
41577
42089
  results = axe._audit.after(results, options);
@@ -41583,10 +42095,10 @@ function requireAxe () {
41583
42095
  }
41584
42096
  function setFrameSpec(partialResults) {
41585
42097
  var frameStack = [];
41586
- var _iterator25 = _createForOfIteratorHelper(partialResults), _step25;
42098
+ var _iterator28 = _createForOfIteratorHelper(partialResults), _step28;
41587
42099
  try {
41588
- for (_iterator25.s(); !(_step25 = _iterator25.n()).done; ) {
41589
- var partialResult = _step25.value;
42100
+ for (_iterator28.s(); !(_step28 = _iterator28.n()).done; ) {
42101
+ var partialResult = _step28.value;
41590
42102
  var frameSpec = frameStack.shift();
41591
42103
  if (!partialResult) {
41592
42104
  continue;
@@ -41596,13 +42108,13 @@ function requireAxe () {
41596
42108
  frameStack.unshift.apply(frameStack, _toConsumableArray(frameSpecs));
41597
42109
  }
41598
42110
  } catch (err) {
41599
- _iterator25.e(err);
42111
+ _iterator28.e(err);
41600
42112
  } finally {
41601
- _iterator25.f();
42113
+ _iterator28.f();
41602
42114
  }
41603
42115
  }
41604
- function getMergedFrameSpecs(_ref152) {
41605
- var childFrameSpecs = _ref152.frames, parentFrameSpec = _ref152.frameSpec;
42116
+ function getMergedFrameSpecs(_ref153) {
42117
+ var childFrameSpecs = _ref153.frames, parentFrameSpec = _ref153.frameSpec;
41606
42118
  if (!parentFrameSpec) {
41607
42119
  return childFrameSpecs;
41608
42120
  }
@@ -41732,7 +42244,8 @@ function requireAxe () {
41732
42244
  metadataFunctionMap: metadata_function_map_default
41733
42245
  },
41734
42246
  public: {
41735
- reporters: reporters
42247
+ reporters: reporters,
42248
+ external: external
41736
42249
  },
41737
42250
  helpers: {
41738
42251
  failureSummary: failure_summary_default,
@@ -41764,7 +42277,8 @@ function requireAxe () {
41764
42277
  var exposed_for_testing_default = _thisWillBeDeletedDoNotUse;
41765
42278
  axe._thisWillBeDeletedDoNotUse = exposed_for_testing_default;
41766
42279
  axe.constants = constants_default;
41767
- axe.log = log_default;
42280
+ axe.log = log;
42281
+ axe._setLogger = setLogger;
41768
42282
  axe.AbstractVirtualNode = abstract_virtual_node_default;
41769
42283
  axe.SerialVirtualNode = serial_virtual_node_default;
41770
42284
  axe.VirtualNode = virtual_node_default;
@@ -41772,6 +42286,7 @@ function requireAxe () {
41772
42286
  axe.imports = imports_exports;
41773
42287
  axe.cleanup = cleanup_default;
41774
42288
  axe.configure = configure_default;
42289
+ axe.externalAPIs = externalAPIs;
41775
42290
  axe.frameMessenger = frameMessenger2;
41776
42291
  axe.getRules = get_rules_default;
41777
42292
  axe._load = load;
@@ -41781,6 +42296,7 @@ function requireAxe () {
41781
42296
  axe.getReporter = getReporter;
41782
42297
  axe.addReporter = addReporter;
41783
42298
  axe.reset = reset_default;
42299
+ axe.resetLocale = reset_locale_default;
41784
42300
  axe._runRules = runRules;
41785
42301
  axe.runVirtualRule = runVirtualRule;
41786
42302
  axe.run = run4;
@@ -41881,6 +42397,10 @@ function requireAxe () {
41881
42397
  description: 'Ensure all elements with a role attribute use a valid value',
41882
42398
  help: 'ARIA roles used must conform to valid values'
41883
42399
  },
42400
+ 'aria-tab-name': {
42401
+ description: 'Ensure every ARIA tab node has an accessible name',
42402
+ help: 'ARIA tab nodes must have an accessible name'
42403
+ },
41884
42404
  'aria-text': {
41885
42405
  description: 'Ensure role="text" is used on elements with no focusable descendants',
41886
42406
  help: '"role=text" should have no focusable descendants'
@@ -42276,6 +42796,7 @@ function requireAxe () {
42276
42796
  pass: 'ARIA attribute is allowed',
42277
42797
  fail: {
42278
42798
  checkbox: 'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',
42799
+ radio: 'Remove aria-checked, or set it to "${data.checkState}" to match the real radio state',
42279
42800
  rowSingular: 'This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}',
42280
42801
  rowPlural: 'These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}'
42281
42802
  }
@@ -43582,6 +44103,20 @@ function requireAxe () {
43582
44103
  all: [],
43583
44104
  any: [],
43584
44105
  none: [ 'invalidrole', 'abstractrole', 'unsupportedrole' ]
44106
+ }, {
44107
+ id: 'aria-tab-name',
44108
+ impact: 'serious',
44109
+ selector: '[role="tab"]',
44110
+ matches: 'no-naming-method-matches',
44111
+ tags: [ 'cat.aria', 'wcag2a', 'wcag412', 'TTv5', 'TT5.c', 'EN-301-549', 'EN-9.4.1.2', 'ACT', 'RGAAv4', 'RGAA-7.1.1' ],
44112
+ all: [],
44113
+ any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', {
44114
+ options: {
44115
+ attribute: 'title'
44116
+ },
44117
+ id: 'non-empty-title'
44118
+ } ],
44119
+ none: []
43585
44120
  }, {
43586
44121
  id: 'aria-text',
43587
44122
  impact: 'serious',
@@ -44202,7 +44737,8 @@ function requireAxe () {
44202
44737
  id: 'landmark-complementary-is-top-level',
44203
44738
  impact: 'moderate',
44204
44739
  selector: 'aside:not([role]), [role=complementary]',
44205
- tags: [ 'cat.semantics', 'best-practice' ],
44740
+ tags: [ 'cat.semantics', 'best-practice', 'deprecated' ],
44741
+ enabled: false,
44206
44742
  all: [],
44207
44743
  any: [ 'landmark-is-top-level' ],
44208
44744
  none: []