@lmvz-ds/components 0.19.0 → 0.20.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 (103) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/assets/icons/checkmark.svg +4 -0
  3. package/cjs/{aria-loader-CfFuAbJn.js → aria-loader-Cec1zR2g.js} +1 -1
  4. package/cjs/icons-BQASWgk-.js +80 -0
  5. package/cjs/{index--7IqZZqn.js → index-3g9Z9sfF.js} +765 -2854
  6. package/cjs/index.cjs.js +4 -3
  7. package/cjs/lmvz-button.cjs.entry.js +3 -3
  8. package/cjs/lmvz-card.cjs.entry.js +1 -1
  9. package/cjs/lmvz-checkbox.cjs.entry.js +113 -0
  10. package/cjs/lmvz-chip.cjs.entry.js +3 -3
  11. package/cjs/lmvz-components.cjs.js +1 -1
  12. package/cjs/lmvz-header_2.cjs.entry.js +3 -3
  13. package/cjs/lmvz-icon.cjs.entry.js +9 -7
  14. package/cjs/lmvz-input.cjs.entry.js +4 -4
  15. package/cjs/lmvz-menuitem.cjs.entry.js +4 -4
  16. package/cjs/lmvz-select.cjs.entry.js +3 -3
  17. package/cjs/loader.cjs.js +1 -1
  18. package/cjs/{logger-Bn2yoZGP.js → logger-DsM6xg6V.js} +3063 -833
  19. package/cjs/{reactive-controller-host-Bi9eu2bV.js → reactive-controller-host-BA4ZhjKA.js} +1 -1
  20. package/cjs/{icons-Tg7ySOh-.js → svg-BMBduILB.js} +31 -85
  21. package/collection/assets/icons/checkmark.svg +4 -0
  22. package/collection/collection-manifest.json +1 -0
  23. package/collection/components/lmvz-button/lmvz-button.css +1 -2
  24. package/collection/components/lmvz-card/lmvz-card.css +1 -2
  25. package/collection/components/lmvz-checkbox/lmvz-checkbox.css +207 -0
  26. package/collection/components/lmvz-checkbox/lmvz-checkbox.js +424 -0
  27. package/collection/components/lmvz-chip/lmvz-chip.js +1 -1
  28. package/collection/components/lmvz-header/lmvz-header.js +1 -1
  29. package/collection/components/lmvz-icon/lmvz-icon.js +5 -5
  30. package/collection/components/lmvz-input/lmvz-input.js +2 -2
  31. package/collection/components/lmvz-menuitem/lmvz-menuitem.css +1 -1
  32. package/collection/components/lmvz-menuitem/lmvz-menuitem.js +1 -1
  33. package/collection/components/lmvz-select/lmvz-select.js +1 -1
  34. package/collection/integration/header-integration/header-integration.js +1 -1
  35. package/collection/utils/icons/icons.js +2 -13
  36. package/collection/utils/icons/icons.unit.js +3 -15
  37. package/components/index.d.ts +2 -0
  38. package/components/index.d.ts.bak +2 -0
  39. package/components/index.js +1 -1
  40. package/components/lmvz-button.js +1 -1
  41. package/components/lmvz-card.js +1 -1
  42. package/components/lmvz-checkbox.d.ts +11 -0
  43. package/components/lmvz-checkbox.d.ts.bak +11 -0
  44. package/components/lmvz-checkbox.js +1 -0
  45. package/components/lmvz-chip.js +1 -1
  46. package/components/lmvz-header.js +1 -1
  47. package/components/lmvz-icon.js +1 -1
  48. package/components/lmvz-input.js +1 -1
  49. package/components/lmvz-menuitem.js +1 -1
  50. package/components/lmvz-select.js +1 -1
  51. package/components/p-0s99QfRy.js +12 -0
  52. package/components/{p-DbeHBSOe.js → p-BuFx0tTm.js} +1 -1
  53. package/components/p-CGmJG63p.js +1 -0
  54. package/components/p-CcxjkCOx.js +1 -0
  55. package/esm/{aria-loader-CES8Ae1e.js → aria-loader-BVolm0lC.js} +1 -1
  56. package/esm/icons-CmuFKDRz.js +75 -0
  57. package/esm/{index-BvxaUA12.js → index-Dh_9sN0q.js} +389 -2478
  58. package/esm/index.js +4 -3
  59. package/esm/lmvz-button.entry.js +3 -3
  60. package/esm/lmvz-card.entry.js +1 -1
  61. package/esm/lmvz-checkbox.entry.js +111 -0
  62. package/esm/lmvz-chip.entry.js +3 -3
  63. package/esm/lmvz-components.js +1 -1
  64. package/esm/lmvz-header_2.entry.js +3 -3
  65. package/esm/lmvz-icon.entry.js +9 -7
  66. package/esm/lmvz-input.entry.js +4 -4
  67. package/esm/lmvz-menuitem.entry.js +4 -4
  68. package/esm/lmvz-select.entry.js +3 -3
  69. package/esm/loader.js +1 -1
  70. package/esm/{logger-0bL3pydp.js → logger-CGmJG63p.js} +2870 -765
  71. package/esm/{reactive-controller-host-J2thAxVH.js → reactive-controller-host-DHcPpJW7.js} +1 -1
  72. package/esm/{icons-Bj4dF1-I.js → svg-B2YoIRuh.js} +29 -80
  73. package/hydrate/index.js +2441 -165
  74. package/hydrate/index.mjs +2441 -165
  75. package/lmvz-components/index.esm.js +1 -1
  76. package/lmvz-components/lmvz-components.esm.js +1 -1
  77. package/lmvz-components/{p-ec96c6b6.entry.js → p-0f7a4236.entry.js} +1 -1
  78. package/lmvz-components/p-0s99QfRy.js +12 -0
  79. package/lmvz-components/p-2f83d7a2.entry.js +1 -0
  80. package/lmvz-components/{p-6e8acbd9.entry.js → p-32171f4f.entry.js} +1 -1
  81. package/lmvz-components/{p-9212bd23.entry.js → p-400b2318.entry.js} +1 -1
  82. package/lmvz-components/{p-9626e951.entry.js → p-851969bd.entry.js} +1 -1
  83. package/lmvz-components/p-9f9d845d.entry.js +1 -0
  84. package/lmvz-components/p-CFsC37ww.js +1 -0
  85. package/lmvz-components/p-CGmJG63p.js +1 -0
  86. package/lmvz-components/p-CcxjkCOx.js +1 -0
  87. package/lmvz-components/{p-BxHnZA0M.js → p-GdMr6Qlp.js} +1 -1
  88. package/lmvz-components/p-a12f95da.entry.js +1 -0
  89. package/lmvz-components/{p-e1b847d2.entry.js → p-ab4437dc.entry.js} +1 -1
  90. package/lmvz-components/{p-7a6bec13.entry.js → p-d0a0e206.entry.js} +1 -1
  91. package/lmvz-components/{p-DYaffOLo.js → p-dhVSUYqd.js} +1 -1
  92. package/manifest.json +410 -1
  93. package/package.json +5 -1
  94. package/types/components/lmvz-checkbox/lmvz-checkbox.d.ts +39 -0
  95. package/types/components.d.ts +151 -0
  96. package/types/utils/icons/icons.d.ts +0 -1
  97. package/components/p-DXOTa5VF.js +0 -12
  98. package/components/p-fiRXhuXK.js +0 -1
  99. package/lmvz-components/p-0bL3pydp.js +0 -1
  100. package/lmvz-components/p-40569208.entry.js +0 -1
  101. package/lmvz-components/p-49ab22bd.entry.js +0 -1
  102. package/lmvz-components/p-Bu4Z_PMf.js +0 -1
  103. package/lmvz-components/p-DHZwxmLb.js +0 -12
@@ -0,0 +1,12 @@
1
+ import{d as e,h as t,e as n,f as r,j as a,p as i,N as o,s as u,k as s,n as l,o as c,q as d,u as f,v as h,w as p,x as m,y as v,z as b,A as g,B as y,C as D,m as w,D as F,E,F as x,G as A,H as C,I as k,J as R,K as T,L as S,M,O,P as N,Q as B,R as I,S as j,U as _,V as q,W as P,X as $,Y as z,Z as G,_ as L,$ as H,a0 as U,a1 as V,a2 as K,a3 as W,a4 as Y,a5 as Z,a6 as X,a7 as J,a8 as Q,a9 as ee,aa as te,ab as ne,ac as re,ad as ae,ae as ie,af as oe,ag as ue,ah as se,ai as le,aj as ce,ak as de,al as fe,am as he,an as pe,ao as me,ap as ve,aq as be,l as ge,ar as ye,as as De,r as we,at as Fe,au as Ee,av as xe,aw as Ae,ax as Ce,a as ke,ay as Re,az as Te,aA as Se,aB as Me,aC as Oe,aD as Ne,aE as Be,aF as Ie,aG as je,aH as _e,aI as qe,aJ as Pe,aK as $e,aL as ze,aM as Ge,aN as Le,aO as He,aP as Ue,aQ as Ve,aR as Ke,aS as We,aT as Ye,aU as Ze,aV as Xe,aW as Je,aX as Qe,aY as et,aZ as tt,a_ as nt,a$ as rt,b0 as at,b1 as it,b2 as ot,b3 as ut,b4 as st,b5 as lt,b6 as ct,b7 as dt,b8 as ft,b9 as ht,ba as pt,bb as mt,bc as vt,bd as bt,be as gt,bf as yt,bg as Dt,bh as wt,bi as Ft,bj as Et,bk as xt,bl as At,bm as Ct,bn as kt,bo as Rt,bp as Tt,bq as St,br as Mt,bs as Ot,bt as Nt,bu as Bt,bv as It,bw as jt,bx as _t,by as qt,bz as Pt,bA as $t,bB as zt,bC as Gt,bD as Lt,bE as Ht,bF as Ut,bG as Vt,bH as Kt,bI as Wt,bJ as Yt,bK as Zt,bL as Xt,bM as Jt,bN as Qt,bO as en,bP as tn,bQ as nn,bR as rn,bS as an,bT as on,bU as un,bV as sn,bW as ln,bX as cn,bY as dn,bZ as fn,b_ as hn,b$ as pn,c0 as mn,c1 as vn,c2 as bn,c3 as gn,c4 as yn,c5 as Dn,c6 as wn,c7 as Fn,c8 as En,c9 as xn,ca as An,cb as Cn,i as kn,cc as Rn,cd as Tn,ce as Sn,cf as Mn,cg as On,ch as Nn,ci as Bn,cj as In,ck as jn,cl as _n,cm as qn,cn as Pn,co as $n,cp as zn,cq as Gn,cr as Ln,cs as Hn,ct as Un,cu as Vn,cv as Kn,cw as Wn,cx as Yn,cy as Zn,cz as Xn,cA as Jn,cB as Qn,cC as er,cD as tr,cE as nr,cF as rr,cG as ar,cH as ir,cI as or,cJ as ur,cK as sr,cL as lr,cM as cr,cN as dr,cO as fr,cP as hr,cQ as pr,cR as mr,cS as vr,cT as br,cU as gr,cV as yr,cW as Dr,cX as wr,cY as Fr,cZ as Er,c_ as xr,c$ as Ar,d0 as Cr,d1 as kr,d2 as Rr,d3 as Tr,d4 as Sr,d5 as Mr,d6 as Or,d7 as Nr,d8 as Br,d9 as Ir,da as jr,db as _r,dc as qr,dd as Pr,de as $r,df as zr,dg as Gr,dh as Lr,di as Hr,dj as Ur,dk as Vr,dl as Kr,dm as Wr,dn as Yr,dp as Zr,dq as Xr,dr as Jr,ds as Qr,dt as ea,du as ta,dv as na,dw as ra,dx as aa,dy as ia,dz as oa,dA as ua,dB as sa,dC as la,dD as ca,dE as da,dF as fa,dG as ha,dH as pa,dI as ma,dJ as va,dK as ba,dL as ga,dM as ya,dN as Da,dO as wa,dP as Fa,dQ as Ea,dR as xa,dS as Aa,dT as Ca,dU as ka,dV as Ra,dW as Ta,dX as Sa,dY as Ma,dZ as Oa,d_ as Na,d$ as Ba,e0 as Ia,e1 as ja,e2 as _a,e3 as qa,e4 as Pa,e5 as $a,e6 as za,e7 as Ga,e8 as La,e9 as Ha,ea as Ua,eb as Va,ec as Ka,ed as Wa}from"./p-CGmJG63p.js";const Ya=e=>(t,n)=>t===n?0:e(t,n),Za=Ya(((e,t)=>e<t?-1:1)),Xa=e(2,((e,t)=>Ya(((n,r)=>e(t(n),t(r)))))),Ja=t=>e(2,((e,n)=>1===t(e,n))),Qa=Za,ei=Symbol.for("effect/Duration"),ti=BigInt(0),ni=BigInt(24),ri=BigInt(60),ai=BigInt(1e3),ii=BigInt(1e6),oi=BigInt(1e9),ui=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,si=e=>{if(hi(e))return e;if(n(e))return gi(e);if(r(e))return vi(e);if(Array.isArray(e)&&2===e.length&&e.every(n))return e[0]===-1/0||e[1]===-1/0||Number.isNaN(e[0])||Number.isNaN(e[1])?pi:e[0]===1/0||e[1]===1/0?mi:vi(BigInt(Math.round(1e9*e[0]))+BigInt(Math.round(e[1])));if(a(e)){const t=ui.exec(e);if(t){const[e,n,r]=t,a=Number(n);switch(r){case"nano":case"nanos":return vi(BigInt(n));case"micro":case"micros":return bi(BigInt(n));case"milli":case"millis":return gi(a);case"second":case"seconds":return yi(a);case"minute":case"minutes":return Di(a);case"hour":case"hours":return wi(a);case"day":case"days":return Fi(a);case"week":case"weeks":return Ei(a)}}}throw new Error("Invalid DurationInput")},li={_tag:"Millis",millis:0},ci={_tag:"Infinity"},di={[ei]:ei,[s](){return l(this,c(this.value))},[u](e){return hi(e)&&Si(this,e)},toString(){return`Duration(${Mi(this)})`},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",hrtime:Ai(this)};case"Infinity":return{_id:"Duration",_tag:"Infinity"}}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},fi=e=>{const t=Object.create(di);return t.value=n(e)?isNaN(e)||e<=0?li:Number.isFinite(e)?Number.isInteger(e)?{_tag:"Millis",millis:e}:{_tag:"Nanos",nanos:BigInt(Math.round(1e6*e))}:ci:e<=ti?li:{_tag:"Nanos",nanos:e},t},hi=e=>t(e,ei),pi=fi(0),mi=fi(1/0),vi=e=>fi(e),bi=e=>fi(e*ai),gi=e=>fi(e),yi=e=>fi(1e3*e),Di=e=>fi(6e4*e),wi=e=>fi(36e5*e),Fi=e=>fi(864e5*e),Ei=e=>fi(6048e5*e),xi=e=>Ci(e,{onMillis:e=>e,onNanos:e=>Number(e)/1e6}),Ai=e=>{const t=si(e);switch(t.value._tag){case"Infinity":return[1/0,0];case"Nanos":return[Number(t.value.nanos/oi),Number(t.value.nanos%oi)];case"Millis":return[Math.floor(t.value.millis/1e3),Math.round(t.value.millis%1e3*1e6)]}},Ci=e(2,((e,t)=>{const n=si(e);switch(n.value._tag){case"Nanos":return t.onNanos(n.value.nanos);case"Infinity":return t.onMillis(1/0);case"Millis":return t.onMillis(n.value.millis)}})),ki=e(3,((e,t,n)=>{const r=si(e),a=si(t);if("Infinity"===r.value._tag||"Infinity"===a.value._tag)return n.onMillis(xi(r),xi(a));if("Nanos"===r.value._tag||"Nanos"===a.value._tag){const e="Nanos"===r.value._tag?r.value.nanos:BigInt(Math.round(1e6*r.value.millis)),t="Nanos"===a.value._tag?a.value.nanos:BigInt(Math.round(1e6*a.value.millis));return n.onNanos(e,t)}return n.onMillis(r.value.millis,a.value.millis)})),Ri=e(2,((e,t)=>ki(e,t,{onMillis:(e,t)=>e<=t,onNanos:(e,t)=>e<=t}))),Ti=e(2,((e,t)=>ki(e,t,{onMillis:(e,t)=>e>=t,onNanos:(e,t)=>e>=t}))),Si=e(2,((e,t)=>((e,t)=>ki(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t}))(si(e),si(t)))),Mi=e=>{const t=si(e);if("Infinity"===t.value._tag)return"Infinity";if((e=>{switch(e.value._tag){case"Millis":return 0===e.value.millis;case"Nanos":return e.value.nanos===ti;case"Infinity":return!1}})(t))return"0";const n=(e=>{const t=si(e);if("Infinity"===t.value._tag)return{days:1/0,hours:1/0,minutes:1/0,seconds:1/0,millis:1/0,nanos:1/0};const n=(e=>{const t=si(e);switch(t.value._tag){case"Infinity":throw new Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return BigInt(Math.round(1e6*t.value.millis))}})(t),r=n/ii,a=r/ai,i=a/ri,o=i/ri;return{days:Number(o/ni),hours:Number(o%ni),minutes:Number(i%ri),seconds:Number(a%ri),millis:Number(r%ai),nanos:Number(n%ii)}})(t),r=[];return 0!==n.days&&r.push(`${n.days}d`),0!==n.hours&&r.push(`${n.hours}h`),0!==n.minutes&&r.push(`${n.minutes}m`),0!==n.seconds&&r.push(`${n.seconds}s`),0!==n.millis&&r.push(`${n.millis}ms`),0!==n.nanos&&r.push(`${n.nanos}ns`),r.join(" ")},Oi=(e,t)=>({_tag:"Par",left:e,right:t}),Ni=(e,t)=>({_tag:"Seq",left:e,right:t}),Bi=e=>{let t=e,n=Pi(),r=h(),a=h();for(;;)switch(t._tag){case"Empty":if(m(r))return[n,a];t=r.head,r=r.tail;break;case"Par":r=g(t.right,r),t=t.left;break;case"Seq":{const e=t.left,n=t.right;switch(e._tag){case"Empty":t=n;break;case"Par":{const r=e.right;t=Oi(Ni(e.left,n),Ni(r,n));break}case"Seq":t=Ni(e.left,Ni(e.right,n));break;case"Single":t=e,a=g(n,a)}break}case"Single":if(n=$i(n,t),m(r))return[n,a];t=r.head,r=r.tail}throw new Error("BUG: BlockedRequests.step - please report an issue at https://github.com/Effect-TS/effect/issues")},Ii=(e,t)=>{if(m(e))return d(Hi(t));if(Gi(t))return e;const n=Zi(e.head),r=Li(t);return 1===n.length&&1===r.length&&A(n[0],r[0])?g(Yi(e.head,Hi(t)),e.tail):g(Hi(t),e)},ji=Symbol.for("effect/RequestBlock/RequestBlockParallel"),_i={_R:e=>e};class qi{map;[ji]=_i;constructor(e){this.map=e}}const Pi=()=>new qi(b()),$i=(e,t)=>new qi(C(e.map,t.dataSource,(e=>k(R(e,T(t.blockedRequest)),(()=>S(t.blockedRequest)))))),zi=(e,t)=>new qi(y(e.map,t.map,((e,t,n)=>D(e,n,w(F(e,n),{onNone:()=>t,onSome:e=>E(t,e)}))))),Gi=e=>x(e.map),Li=e=>Array.from(O(e.map)),Hi=e=>Wi(M(e.map,(e=>S(e)))),Ui=Symbol.for("effect/RequestBlock/RequestBlockSequential"),Vi={_R:e=>e};class Ki{map;[Ui]=Vi;constructor(e){this.map=e}}const Wi=e=>new Ki(e),Yi=(e,t)=>new Ki(y(t.map,e.map,((e,t,n)=>D(e,n,w(F(e,n),{onNone:()=>N(),onSome:e=>E(e,t)}))))),Zi=e=>Array.from(O(e.map)),Xi=B,Ji=I,Qi=_,eo=q,to=j,no=P,ro=$,ao=V,io=W,oo=H,uo=G,so=Y,lo=z,co=L,fo=K,ho=Z,po=U,mo=Symbol.for("effect/MutableHashMap"),vo={[mo]:mo,[Symbol.iterator](){return new bo(this)},toString(){return ne(this.toJSON())},toJSON(){return{_id:"MutableHashMap",values:Array.from(this).map(te)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}};class bo{self;referentialIterator;bucketIterator;constructor(e){this.self=e,this.referentialIterator=e.referential[Symbol.iterator]()}next(){if(void 0!==this.bucketIterator)return this.bucketIterator.next();const e=this.referentialIterator.next();return e.done?(this.bucketIterator=new go(this.self.buckets.values()),this.next()):e}[Symbol.iterator](){return new bo(this.self)}}class go{backing;constructor(e){this.backing=e}currentBucket;next(){if(void 0===this.currentBucket){const e=this.backing.next();if(e.done)return e;this.currentBucket=e.value[Symbol.iterator]()}const e=this.currentBucket.next();return e.done?(this.currentBucket=void 0,this.next()):e}}const yo=()=>{const e=Object.create(vo);return e.referential=new Map,e.buckets=new Map,e.bucketsSize=0,e},Do=e(2,((e,t)=>{if(!1===X(t))return e.referential.has(t)?J(e.referential.get(t)):Q();const n=t[s](),r=e.buckets.get(n);return void 0===r?Q():wo(e,r,t)})),wo=(e,t,n,r=!1)=>{for(let a=0,i=t.length;a<i;a++)if(n[u](t[a][0])){const n=t[a][1];return r&&(t.splice(a,1),e.bucketsSize--),J(n)}return Q()},Fo=e(2,((e,t)=>ee(Do(e,t)))),Eo=e(3,((e,t,n)=>{if(!1===X(t))return e.referential.set(t,n),e;const r=t[s](),a=e.buckets.get(r);return void 0===a?(e.buckets.set(r,[[t,n]]),e.bucketsSize++,e):(xo(e,a,t),a.push([t,n]),e.bucketsSize++,e)})),xo=(e,t,n)=>{for(let r=0,a=t.length;r<a;r++)if(n[u](t[r][0]))return t.splice(r,1),void e.bucketsSize--},Ao=Symbol.for("effect/MutableList"),Co={[Ao]:Ao,[Symbol.iterator](){let e=!1,t=this.head;return{next(){if(e)return this.return();if(null==t)return e=!0,this.return();const n=t.value;return t=t.next,{done:e,value:n}},return:t=>(e||(e=!0),{done:!0,value:t})}},toString(){return ne(this.toJSON())},toJSON(){return{_id:"MutableList",values:Array.from(this).map(te)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},ko=e=>0===Ro(e),Ro=e=>e._length,To=e(2,((e,t)=>{const n=(e=>({value:e,removed:!1,prev:void 0,next:void 0}))(t);return void 0===e.head&&(e.head=n),void 0===e.tail||(e.tail.next=n,n.prev=e.tail),e.tail=n,e._length+=1,e})),So=Symbol.for("effect/MutableQueue"),Mo=Symbol.for("effect/mutable/MutableQueue/Empty"),Oo={[So]:So,[Symbol.iterator](){return Array.from(this.queue)[Symbol.iterator]()},toString(){return ne(this.toJSON())},toJSON(){return{_id:"MutableQueue",values:Array.from(this).map(te)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},No=e=>{const t=Object.create(Oo);return t.queue=(()=>{const e=Object.create(Co);return e.head=void 0,e.tail=void 0,e._length=0,e})(),t.capacity=e,t},Bo=()=>No(void 0),Io=e=>Ro(e.queue),jo=e=>ko(e.queue),_o=e(2,((e,t)=>{const n=Ro(e.queue);return(void 0===e.capacity||n!==e.capacity)&&(To(t)(e.queue),!0)})),qo=e(2,((e,t)=>{const n=t[Symbol.iterator]();let r,a=N(),i=!0;for(;i&&(r=n.next())&&!r.done;)i=_o(r.value)(e);for(;null!=r&&!r.done;)a=re(r.value)(a),r=n.next();return ae(a)})),Po=e(2,((e,t)=>ko(e.queue)?t:(e=>{const t=e.head;if(void 0!==t)return((e,t)=>{t.removed||(t.removed=!0,void 0!==t.prev&&void 0!==t.next?(t.prev.next=t.next,t.next.prev=t.prev):void 0!==t.prev?(e.tail=t.prev,t.prev.next=void 0):void 0!==t.next?(e.head=t.next,t.next.prev=void 0):(e.tail=void 0,e.head=void 0),e._length>0&&(e._length-=1))})(e,t),t.value})(e.queue))),$o=e(2,((e,t)=>{let n=N(),r=0;for(;r<t;){const t=Po(Mo)(e);if(t===Mo)break;n=re(t)(n),r+=1}return ae(n)})),zo=Symbol.for("effect/Clock"),Go=ie("effect/Clock"),Lo={unsafeSchedule(e,t){const n=xi(t);if(n>2147483647)return le;let r=!1;const a=setTimeout((()=>{r=!0,e()}),n);return()=>(clearTimeout(a),!r)}},Ho=function(){const e=BigInt(1e6);if("undefined"==typeof performance||"function"!=typeof performance.now)return()=>BigInt(Date.now())*e;let t;return()=>(void 0===t&&(t=BigInt(Date.now())*e-BigInt(Math.round(1e6*performance.now()))),t+BigInt(Math.round(1e6*performance.now())))}(),Uo=function(){const e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return Ho;const t=Ho()-e.bigint();return()=>t+e.bigint()}();class Vo{[zo]=zo;unsafeCurrentTimeMillis(){return Date.now()}unsafeCurrentTimeNanos(){return Uo()}currentTimeMillis=oe((()=>this.unsafeCurrentTimeMillis()));currentTimeNanos=oe((()=>this.unsafeCurrentTimeNanos()));scheduler(){return ue(Lo)}sleep(e){return se((t=>{const n=Lo.unsafeSchedule((()=>t(ce)),e);return de(oe(n))}))}}const Ko=()=>new Vo,Wo="InvalidData",Yo="MissingData",Zo="SourceUnavailable",Xo="Unsupported",Jo=Symbol.for("effect/ConfigError"),Qo={_tag:"ConfigError",[Jo]:Jo},eu=(e,t)=>{const n=Object.create(Qo);return n._op="And",n.left=e,n.right=t,Object.defineProperty(n,"toString",{enumerable:!1,value(){return`${this.left} and ${this.right}`}}),Object.defineProperty(n,"message",{enumerable:!1,get(){return this.toString()}}),n},tu=(e,t)=>{const n=Object.create(Qo);return n._op="Or",n.left=e,n.right=t,Object.defineProperty(n,"toString",{enumerable:!1,value(){return`${this.left} or ${this.right}`}}),Object.defineProperty(n,"message",{enumerable:!1,get(){return this.toString()}}),n},nu=(e,t,n={pathDelim:"."})=>{const r=Object.create(Qo);return r._op=Wo,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Invalid data at ${fe(this.path,he(n.pathDelim))}: "${this.message}")`}}),r},ru=(e,t,n={pathDelim:"."})=>{const r=Object.create(Qo);return r._op=Yo,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Missing data at ${fe(this.path,he(n.pathDelim))}: "${this.message}")`}}),r},au=(e,t,n,r={pathDelim:"."})=>{const a=Object.create(Qo);return a._op=Zo,a.path=e,a.message=t,a.cause=n,Object.defineProperty(a,"toString",{enumerable:!1,value(){return`(Source unavailable at ${fe(this.path,he(r.pathDelim))}: "${this.message}")`}}),a},iu=(e,t,n={pathDelim:"."})=>{const r=Object.create(Qo);return r._op=Xo,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Unsupported operation at ${fe(this.path,he(n.pathDelim))}: "${this.message}")`}}),r},ou=e(2,((e,t)=>{switch(e._op){case"And":return eu(ou(e.left,t),ou(e.right,t));case"Or":return tu(ou(e.left,t),ou(e.right,t));case Wo:return nu([...t,...e.path],e.message);case Yo:return ru([...t,...e.path],e.message);case Zo:return au([...t,...e.path],e.message,e.cause);case Xo:return iu([...t,...e.path],e.message)}})),uu={_tag:"Empty"},su=e(2,((e,t)=>{let n=d(t),r=e;for(;pe(n);){const e=n.head;switch(e._tag){case"Empty":n=n.tail;break;case"AndThen":n=g(e.first,g(e.second,n.tail));break;case"MapName":r=De(r,e.f),n=n.tail;break;case"Nested":r=ye(r,e.name),n=n.tail;break;case"Unnested":if(!fe(ve(r),me(e.name)))return ge(ru(r,`Expected ${e.name} to be in path in ConfigProvider#unnested`));r=be(r),n=n.tail}}return we(r)})),lu=(e,t)=>[...e,...t],cu=Symbol.for("effect/ConfigProvider"),du=ie("effect/ConfigProvider"),fu=Symbol.for("effect/ConfigProviderFlat"),hu=e=>({[cu]:cu,pipe(){return i(this,arguments)},...e}),pu=e=>{const{pathDelim:t,seqDelim:n}=Object.assign({},{pathDelim:"_",seqDelim:","},e),r=()=>"undefined"!=typeof process&&"env"in process&&"object"==typeof process.env?process.env:{};return a=(e=>({[fu]:fu,patch:e.patch,load:(t,n,r=!0)=>e.load(t,n,r),enumerateChildren:e.enumerateChildren}))({load:(e,a,i=!0)=>{const o=(e=>fe(e,he(t)))(e),u=r(),s=o in u?J(u[o]):Q();return fe(s,$e((()=>ru(e,`Expected ${o} to exist in the process context`))),Fe((t=>bu(t,e,a,n,i))))},enumerateChildren:e=>oe((()=>{const n=r(),a=Object.keys(n).map((e=>e.toUpperCase().split(t))).filter((t=>{for(let n=0;n<e.length;n++){const r=fe(e,Ke(n)),a=t[n];if(void 0===a||r!==a)return!1}return!0})).flatMap((t=>t.slice(e.length,e.length+1)));return We(a)})),patch:uu}),hu({load:e=>Fe(mu(a,_e(),e,!1),(t=>w(ve(t),{onNone:()=>Ee(ru(_e(),`Expected a single value having structure: ${e}`)),onSome:ue}))),flattened:a});var a},mu=(e,t,n,r)=>{const a=n;switch(a._tag){case"Constant":return ue(Oe(a.value));case"Described":return xe((()=>mu(e,t,a.config,r)));case"Fail":return Ee(ru(t,a.message));case"Fallback":return fe(xe((()=>mu(e,t,a.first,r))),ze((n=>a.condition(n)?fe(mu(e,t,a.second,r),ze((e=>Ee(tu(n,e))))):Ee(n))));case"Lazy":return xe((()=>mu(e,t,a.config(),r)));case"MapOrFail":return xe((()=>fe(mu(e,t,a.original,r),Fe(Te((e=>fe(a.mapOrFail(e),$e(ou(((e,t)=>{let n=t;if("Nested"===n._tag){const t=e.slice();for(;"Nested"===n._tag;)t.push(n.name),n=n.config;return t}return e})(t,a.original))))))))));case"Nested":return xe((()=>mu(e,lu(t,Oe(a.name)),a.config,r)));case"Primitive":return fe(su(t,e.patch),Fe((t=>fe(e.load(t,a,r),Fe((e=>{if(0===e.length){const e=fe(qe(t),Pe((()=>"<n/a>")));return Ee(ru([],`Expected ${a.description} with name ${e}`))}return ue(e)}))))));case"Sequence":return fe(su(t,e.patch),Fe((n=>fe(e.enumerateChildren(n),Fe(yu),Fe((n=>0===n.length?xe((()=>Me(mu(e,t,a.config,!0),Oe))):fe(Te(n,(n=>mu(e,Ie(t,`[${n}]`),a.config,!0))),Me((e=>{const t=je(e);return Oe(0===t.length?_e():t)})))))))));case"HashMap":return xe((()=>fe(su(t,e.patch),Fe((t=>fe(e.enumerateChildren(t),Fe((n=>fe(n,Te((n=>mu(e,lu(t,Oe(n)),a.valueConfig,r))),Me((e=>0===e.length?Oe(b()):fe(gu(e),De((e=>Ne(Re(Be(n),e))))))))))))))));case"ZipWith":return xe((()=>fe(mu(e,t,a.left,r),Ae,Fe((n=>fe(mu(e,t,a.right,r),Ae,Fe((e=>{if(Ce(n)&&Ce(e))return Ee(eu(n.left,e.left));if(Ce(n)&&ke(e))return Ee(n.left);if(ke(n)&&Ce(e))return Ee(e.left);if(ke(n)&&ke(e)){const r=fe(t,he(".")),i=vu(t,r),[o,u]=((e,t,n,r)=>{const a=Ge(n.length,(t=>t>=r.length?Q():J([e(t),t+1]))),i=Ge(r.length,(e=>e>=n.length?Q():J([t(e),e+1])));return[lu(n,a),lu(r,i)]})(i,i,fe(n.right,De(we)),fe(e.right,De(we)));return fe(o,Re(u),Te((([e,t])=>fe(Se(e,t),Me((([e,t])=>a.zip(e,t)))))))}throw new Error("BUG: ConfigProvider.fromFlatLoop - please report an issue at https://github.com/Effect-TS/effect/issues")}))))))))}},vu=(e,t)=>n=>ge(ru(e,`The element at index ${n} in a sequence at path "${t}" was missing`)),bu=(e,t,n,r,a)=>a?fe(((e,t)=>{const n=e.split(new RegExp(`\\s*${(e=>e.replace(/[/\\^$*+?.()|[\]{}]/g,"\\$&"))(t)}\\s*`));return n})(e,r),Te((e=>n.parse(e.trim()))),$e(ou(t))):fe(n.parse(e),He({onFailure:ou(t),onSuccess:Oe})),gu=e=>Object.keys(e[0]).map((t=>e.map((e=>e[t])))),yu=e=>fe(Te(e,wu),He({onFailure:()=>_e(),onSuccess:Ue(Qa)}),Ae,Me(Le)),Du=/^(\[(\d+)\])$/,wu=e=>{const t=e.match(Du);if(null!==t){const e=t[2];return fe(void 0!==e&&e.length>0?J(e):Q(),Ve(Fu))}return Q()},Fu=e=>{const t=Number.parseInt(e);return Number.isNaN(t)?Q():J(t)},Eu=Symbol.for("effect/Console"),xu=ie("effect/Console"),Au={[Eu]:Eu,assert:(e,...t)=>oe((()=>{console.assert(e,...t)})),clear:oe((()=>{console.clear()})),count:e=>oe((()=>{console.count(e)})),countReset:e=>oe((()=>{console.countReset(e)})),debug:(...e)=>oe((()=>{console.debug(...e)})),dir:(e,t)=>oe((()=>{console.dir(e,t)})),dirxml:(...e)=>oe((()=>{console.dirxml(...e)})),error:(...e)=>oe((()=>{console.error(...e)})),group:e=>oe(e?.collapsed?()=>console.groupCollapsed(e?.label):()=>console.group(e?.label)),groupEnd:oe((()=>{console.groupEnd()})),info:(...e)=>oe((()=>{console.info(...e)})),log:(...e)=>oe((()=>{console.log(...e)})),table:(e,t)=>oe((()=>{console.table(e,t)})),time:e=>oe((()=>console.time(e))),timeEnd:e=>oe((()=>console.timeEnd(e))),timeLog:(e,...t)=>oe((()=>{console.timeLog(e,...t)})),trace:(...e)=>oe((()=>{console.trace(...e)})),warn:(...e)=>oe((()=>{console.warn(...e)})),unsafe:console},Cu=Symbol.for("effect/Random"),ku=ie("effect/Random");class Ru{seed;[Cu]=Cu;PRNG;constructor(e){this.seed=e,this.PRNG=new Ze(e)}get next(){return oe((()=>this.PRNG.number()))}get nextBoolean(){return Me(this.next,(e=>e>.5))}get nextInt(){return oe((()=>this.PRNG.integer(Number.MAX_SAFE_INTEGER)))}nextRange(e,t){return Me(this.next,(n=>(t-e)*n+e))}nextIntBetween(e,t){return oe((()=>this.PRNG.integer(t-e)+e))}shuffle(e){return Tu(e,(e=>this.nextIntBetween(0,e)))}}const Tu=(e,t)=>xe((()=>fe(oe((()=>Array.from(e))),Fe((e=>{const n=[];for(let t=e.length;t>=2;t-=1)n.push(t);return fe(n,Xe((n=>fe(t(n),Me((t=>Su(e,n-1,t)))))),Je(Qe(e)))}))))),Su=(e,t,n)=>{const r=e[t];return e[t]=e[n],e[n]=r,e},Mu=e=>new Ru(Ye(e)),Ou=Symbol.for("effect/Tracer"),Nu=e=>({[Ou]:Ou,...e}),Bu=ie("effect/Tracer"),Iu=ie("effect/ParentSpan"),ju=function(){return function(e){let t="";for(let n=0;n<e;n++)t+="abcdef0123456789".charAt(Math.floor(16*Math.random()));return t}}();class _u{name;parent;context;startTime;kind;_tag="Span";spanId;traceId="native";sampled=!0;status;attributes;events=[];links;constructor(e,t,n,r,a,i){this.name=e,this.parent=t,this.context=n,this.startTime=a,this.kind=i,this.status={_tag:"Started",startTime:a},this.attributes=new Map,this.traceId="Some"===t._tag?t.value.traceId:ju(32),this.spanId=ju(16),this.links=Array.from(r)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,n){this.events.push([e,t,n??{}])}addLinks(e){this.links.push(...e)}}const qu=Nu({span:(e,t,n,r,a,i)=>new _u(e,t,n,r,a,i),context:e=>e()}),Pu=et()("effect/Tracer/DisablePropagation",{defaultValue:le}),$u=fe(at(),rt(Go,Ko()),rt(xu,Au),rt(ku,Mu(Math.random())),rt(du,pu()),rt(Bu,qu)),zu=tt(Symbol.for("effect/DefaultServices/currentServices"),(()=>nt($u))),Gu=e=>(e=>it((t=>e(t.currentDefaultServices))))((t=>e(t.unsafeMap.get(Go.key)))),Lu=Gu((e=>e.currentTimeMillis)),Hu=Symbol.for("effect/FiberRefs");class Uu{locals;[Hu]=Hu;constructor(e){this.locals=e}pipe(){return i(this,arguments)}}const Vu=e(3,((e,t,n)=>{const r=new Map(e.locals);return n.locals.forEach(((e,n)=>{const a=e[0][1];if(!e[0][0][u](t)){if(!r.has(n)){if(A(a,n.initial))return;return void r.set(n,[[t,n.join(n.initial,a)]])}const i=r.get(n),[o,s]=((e,t,n,r=!1)=>{const a=e;let i,o=t,u=n,s=r;for(;void 0===i;)if(ut(o)&&ut(u)){const e=ot(o)[0],t=be(o),n=ot(u)[0],r=ot(u)[1],a=be(u);e.startTimeMillis<n.startTimeMillis?(u=a,s=!0):e.startTimeMillis>n.startTimeMillis?o=t:e.id<n.id?(u=a,s=!0):e.id>n.id?o=t:i=[r,s]}else i=[a.initial,!0];return i})(n,i,e);if(s){const e=n.diff(o,a),s=i[0][1],l=n.join(s,n.patch(e)(s));if(!A(s,l)){let e;const a=i[0][0];e=a[u](t)?[[a,l],...i.slice(1)]:[[t,l],...i],r.set(n,e)}}}})),new Uu(r)})),Ku=e(2,((e,t)=>{const n=new Map;return Wu(e,n,t),new Uu(n)})),Wu=(e,t,n)=>{e.locals.forEach(((e,r)=>{const a=e[0][1],i=r.patch(r.fork)(a);A(a,i)?t.set(r,e):t.set(r,[[n,i],...e])}))},Yu=e(2,((e,t)=>{const n=new Map(e.locals);return n.delete(t),new Uu(n)})),Zu=e(2,((e,t)=>e.locals.has(t)?J(ot(e.locals.get(t))[1]):Q())),Xu=e(2,((e,t)=>fe(Zu(e,t),Pe((()=>t.initial))))),Ju=e(2,((e,{fiberId:t,fiberRef:n,value:r})=>{if(0===e.locals.size)return new Uu(new Map([[n,[[t,r]]]]));const a=new Map(e.locals);return Qu(a,t,n,r),new Uu(a)})),Qu=(e,t,n,r)=>{const a=e.get(n)??[];let i;if(ut(a)){const[e,n]=ot(a);if(e[u](t)){if(A(n,r))return;i=[[t,r],...a.slice(1)]}else i=[[t,r],...a]}else i=[[t,r]];e.set(n,i)},es=e(2,((e,{entries:t,forkAs:n})=>{if(0===e.locals.size)return new Uu(new Map(t));const r=new Map(e.locals);return void 0!==n&&Wu(e,r,n),t.forEach((([e,t])=>{1===t.length?Qu(r,t[0][0],e,t[0][1]):t.forEach((([t,n])=>{Qu(r,t,e,n)}))})),new Uu(r)})),ts=Xu,ns=es,rs=function(){return e=new Map,new Uu(e);var e},as=dt,is=Ja(fe(Qa,Xa((e=>e.ordinal)))),os=Symbol.for("effect/Readable"),us=Symbol.for("effect/Ref"),ss={_A:e=>e};class ls extends bt{ref;commit(){return this.get}[us]=ss;[os]=os;constructor(e){super(),this.ref=e,this.get=oe((()=>gt(this.ref)))}get;modify(e){return oe((()=>{const t=gt(this.ref),[n,r]=e(t);return t!==r&&yt(r)(this.ref),n}))}}const cs=e=>new ls(vt(e)),ds=e=>oe((()=>cs(e))),fs=e=>e.get,hs=e(2,((e,t)=>e.modify((()=>[void 0,t])))),ps=e(2,((e,t)=>e.modify(t))),ms=e(2,((e,t)=>e.modify((e=>[void 0,t(e)])))),vs=ds,bs=fs,gs=ps,ys=ms,Ds="Empty",ws="Remove",Fs="Update",Es="AndThen",xs={_tag:Ds},As=(e,t)=>{const n=new Map(e.locals);let r=xs;for(const[e,a]of t.locals.entries()){const t=ot(a)[1],i=n.get(e);if(void 0!==i){const n=ot(i)[1];A(n,t)||(r=Cs({_tag:Fs,fiberRef:e,patch:e.diff(n,t)})(r))}else r=Cs({_tag:"Add",fiberRef:e,value:t})(r);n.delete(e)}for(const[e]of n.entries())r=Cs({_tag:ws,fiberRef:e})(r);return r},Cs=e(2,((e,t)=>({_tag:Es,first:e,second:t}))),ks=e(3,((e,t,n)=>{let r=n,a=Oe(e);for(;ut(a);){const e=ot(a),n=be(a);switch(e._tag){case Ds:a=n;break;case"Add":r=Ju(r,{fiberId:t,fiberRef:e.fiberRef,value:e.value}),a=n;break;case ws:r=Yu(r,e.fiberRef),a=n;break;case Fs:{const i=Xu(r,e.fiberRef);r=Ju(r,{fiberId:t,fiberRef:e.fiberRef,value:e.fiberRef.patch(e.patch)(i)}),a=n;break}case Es:a=ye(e.first)(ye(e.second)(n))}}return r})),Rs="effect/MetricLabel",Ts=Symbol.for(Rs);class Ss{key;value;[Ts]=Ts;_hash;constructor(e,t){this.key=e,this.value=t,this._hash=Dt(Rs+this.key+this.value)}[s](){return this._hash}[u](e){return Os(e)&&this.key===e.key&&this.value===e.value}pipe(){return i(this,arguments)}}const Ms=(e,t)=>new Ss(e,t),Os=e=>t(e,Ts),Ns=e(2,((e,t)=>Ft(e,{onFailure:e=>{const n=t(e);switch(n._tag){case"None":return xt(e);case"Some":return n.value}},onSuccess:ue}))),Bs=e(2,((e,t)=>wt(e,{onFailure:e=>ue(t.onFailure(e)),onSuccess:e=>ue(t.onSuccess(e))}))),Is=it((e=>ue(e.getFiberRefs()))),js=e(2,((e,t)=>Ft(e,{onFailure:e=>Tt((()=>t(e))),onSuccess:ue}))),_s=e(3,((e,t,n)=>Ct((r=>kt(e,rt(r,t,n)))))),qs=e(3,((e,t,n)=>Ct((r=>Fe(n,(n=>kt(e,fe(r,rt(t,n))))))))),Ps=e=>{const t=si(e);return Gu((e=>e.sleep(t)))},$s=ue(Q()),zs=e(3,((e,t,n)=>Fe(t,(r=>Fe(e,(e=>Me(t,(t=>[n(r,t),e])))))))),Gs=e(2,((e,t)=>Ft(e,{onFailure:e=>Et(t(e),xt(e)),onSuccess:ue}))),Ls=e(2,((e,t)=>xe((()=>t()?Me(e,J):ue(Q()))))),Hs=Ve((e=>Rt(e.context,Pu)?"Span"===e._tag?Hs(e.parent):Q():J(e))),Us="Sequential",Vs="Parallel",Ks={_tag:Us},Ws={_tag:Vs},Ys=Ks,Zs=Ws,Xs=e=>({_tag:"ParallelN",parallelism:e}),Js=As,Qs=ks,el="effect/FiberStatus",tl=Symbol.for(el),nl="Done",rl="Running",al="Suspended",il=Dt(`${el}-${nl}`);let ol=class{[tl]=tl;_tag=nl;[s](){return il}[u](e){return ll(e)&&e._tag===nl}};class ul{runtimeFlags;[tl]=tl;_tag=rl;constructor(e){this.runtimeFlags=e}[s](){return fe(Ye(el),Mt(Ye(this._tag)),Mt(Ye(this.runtimeFlags)),l(this))}[u](e){return ll(e)&&e._tag===rl&&this.runtimeFlags===e.runtimeFlags}}class sl{runtimeFlags;blockingOn;[tl]=tl;_tag=al;constructor(e,t){this.runtimeFlags=e,this.blockingOn=t}[s](){return fe(Ye(el),Mt(Ye(this._tag)),Mt(Ye(this.runtimeFlags)),Mt(Ye(this.blockingOn)),l(this))}[u](e){return ll(e)&&e._tag===al&&this.runtimeFlags===e.runtimeFlags&&A(this.blockingOn,e.blockingOn)}}const ll=e=>t(e,tl),cl=new ol,dl=e=>new ul(e);class fl{scheduleDrain;running=!1;tasks=new hl;constructor(e){this.scheduleDrain=e}starveInternal=e=>{const t=this.tasks.buckets;this.tasks.buckets=[];for(const[e,n]of t)for(let e=0;e<n.length;e++)n[e]();0===this.tasks.buckets.length?this.running=!1:this.starve(e)};starve(e=0){this.scheduleDrain(e,this.starveInternal)}scheduleTask(e,t){this.tasks.scheduleTask(e,t),this.running||(this.running=!0,this.starve())}static cached(e){const t=new fl(e),n=new WeakMap;return r=>{if(void 0===r)return t;let a=n.get(r);return void 0===a&&(a=new fl(e),n.set(r,a)),a}}}class hl{buckets=[];scheduleTask(e,t){const n=this.buckets.length;let r,a=0;for(;a<n&&this.buckets[a][0]<=t;a++)r=this.buckets[a];r&&r[0]===t?r[1].push(e):a===n?this.buckets.push([t,[e]]):this.buckets.splice(a,0,[t,[e]])}}class pl{maxNextTickBeforeTimer;getRunner=fl.cached(((e,t)=>{e>=this.maxNextTickBeforeTimer?setTimeout((()=>t(0)),0):Promise.resolve(void 0).then((()=>t(e+1)))}));constructor(e){this.maxNextTickBeforeTimer=e}shouldYield(e){return e.currentOpCount>e.getFiberRef(Nt)&&e.getFiberRef(Bt)}scheduleTask(e,t,n){this.getRunner(n).scheduleTask(e,t)}}const ml=tt(Symbol.for("effect/Scheduler/defaultScheduler"),(()=>new pl(2048))),vl=tt(Symbol.for("effect/FiberRef/currentScheduler"),(()=>Ot(ml))),bl=tt(Symbol.for("effect/FiberRef/currentRequestMap"),(()=>Ot(new Map))),gl=(e,t,n,r)=>{switch(e){case void 0:return t();case"unbounded":return n();case"inherit":return It(jt,(e=>"unbounded"===e?n():e>1?r(e):t()));default:return e>1?r(e):t()}},yl="InterruptSignal",Dl="Stateful",wl="Resume",Fl="YieldNow",El=e=>({_tag:yl,cause:e}),xl=e=>({_tag:Dl,onFiber:e}),Al=e=>({_tag:wl,effect:e}),Cl=Symbol.for("effect/FiberScope");class kl{[Cl]=Cl;fiberId=_t;roots=new Set;add(e,t){this.roots.add(t),t.addObserver((()=>{this.roots.delete(t)}))}}class Rl{fiberId;parent;[Cl]=Cl;constructor(e,t){this.fiberId=e,this.parent=t}add(e,t){this.parent.tell(xl((e=>{e.addChild(t),t.addObserver((()=>{e.removeChild(t)}))})))}}const Tl=tt(Symbol.for("effect/FiberScope/Global"),(()=>new kl)),Sl=Symbol.for("effect/Fiber"),Ml={_E:e=>e,_A:e=>e},Ol=Symbol.for("effect/Fiber"),Nl=e=>qt(Pt(e.await),e.inheritAll),Bl="effect/FiberCurrent",Il="effect/MetricBoundaries",jl=Symbol.for(Il);class _l{values;[jl]=jl;constructor(e){this.values=e,this._hash=fe(Dt(Il),Mt(Ht(this.values)))}_hash;[s](){return this._hash}[u](e){return ql(e)&&A(this.values,e.values)}pipe(){return i(this,arguments)}}const ql=e=>t(e,jl),Pl=e=>{const t=fe(e,Lt(S(Number.POSITIVE_INFINITY)),Gt);return new _l(t)},$l=e=>fe(zt(e.count-1,(t=>e.start*Math.pow(e.factor,t))),$t,Pl),zl=Symbol.for("effect/MetricKeyType"),Gl="effect/MetricKeyType/Counter",Ll=Symbol.for(Gl),Hl=Symbol.for("effect/MetricKeyType/Frequency"),Ul=Symbol.for("effect/MetricKeyType/Gauge"),Vl="effect/MetricKeyType/Histogram",Kl=Symbol.for(Vl),Wl=Symbol.for("effect/MetricKeyType/Summary"),Yl={_In:e=>e,_Out:e=>e};class Zl{incremental;bigint;[zl]=Yl;[Ll]=Ll;constructor(e,t){this.incremental=e,this.bigint=t,this._hash=Dt(Gl)}_hash;[s](){return this._hash}[u](e){return Jl(e)}pipe(){return i(this,arguments)}}class Xl{boundaries;[zl]=Yl;[Kl]=Kl;constructor(e){this.boundaries=e,this._hash=fe(Dt(Vl),Mt(Ye(this.boundaries)))}_hash;[s](){return this._hash}[u](e){return Ql(e)&&A(this.boundaries,e.boundaries)}pipe(){return i(this,arguments)}}const Jl=e=>t(e,Ll),Ql=e=>t(e,Kl),ec=Symbol.for("effect/MetricKey"),tc={_Type:e=>e},nc=Vt(A);class rc{name;keyType;description;tags;[ec]=tc;constructor(e,t,n,r=[]){this.name=e,this.keyType=t,this.description=n,this.tags=r,this._hash=fe(Dt(this.name+this.description),Mt(Ye(this.keyType)),Mt(Ht(this.tags)))}_hash;[s](){return this._hash}[u](e){return ac(e)&&this.name===e.name&&A(this.keyType,e.keyType)&&A(this.description,e.description)&&nc(this.tags,e.tags)}pipe(){return i(this,arguments)}}const ac=e=>t(e,ec),ic=e(2,((e,t)=>0===t.length?e:new rc(e.name,e.keyType,e.description,Kt(e.tags,t)))),oc=Symbol.for("effect/MetricState"),uc="effect/MetricState/Counter",sc=Symbol.for(uc),lc="effect/MetricState/Frequency",cc=Symbol.for(lc),dc="effect/MetricState/Gauge",fc=Symbol.for(dc),hc="effect/MetricState/Histogram",pc=Symbol.for(hc),mc="effect/MetricState/Summary",vc=Symbol.for(mc),bc={_A:e=>e};class gc{count;[oc]=bc;[sc]=sc;constructor(e){this.count=e}[s](){return fe(Ye(uc),Mt(Ye(this.count)),l(this))}[u](e){return xc(e)&&this.count===e.count}pipe(){return i(this,arguments)}}const yc=Vt(A);class Dc{occurrences;[oc]=bc;[cc]=cc;constructor(e){this.occurrences=e}_hash;[s](){return fe(Dt(lc),Mt(Ht(Be(this.occurrences.entries()))),l(this))}[u](e){return Ac(e)&&yc(Be(this.occurrences.entries()),Be(e.occurrences.entries()))}pipe(){return i(this,arguments)}}class wc{value;[oc]=bc;[fc]=fc;constructor(e){this.value=e}[s](){return fe(Ye(dc),Mt(Ye(this.value)),l(this))}[u](e){return Cc(e)&&this.value===e.value}pipe(){return i(this,arguments)}}class Fc{buckets;count;min;max;sum;[oc]=bc;[pc]=pc;constructor(e,t,n,r,a){this.buckets=e,this.count=t,this.min=n,this.max=r,this.sum=a}[s](){return fe(Ye(hc),Mt(Ye(this.buckets)),Mt(Ye(this.count)),Mt(Ye(this.min)),Mt(Ye(this.max)),Mt(Ye(this.sum)),l(this))}[u](e){return kc(e)&&A(this.buckets,e.buckets)&&this.count===e.count&&this.min===e.min&&this.max===e.max&&this.sum===e.sum}pipe(){return i(this,arguments)}}class Ec{error;quantiles;count;min;max;sum;[oc]=bc;[vc]=vc;constructor(e,t,n,r,a,i){this.error=e,this.quantiles=t,this.count=n,this.min=r,this.max=a,this.sum=i}[s](){return fe(Ye(mc),Mt(Ye(this.error)),Mt(Ye(this.quantiles)),Mt(Ye(this.count)),Mt(Ye(this.min)),Mt(Ye(this.max)),Mt(Ye(this.sum)),l(this))}[u](e){return Rc(e)&&this.error===e.error&&A(this.quantiles,e.quantiles)&&this.count===e.count&&this.min===e.min&&this.max===e.max&&this.sum===e.sum}pipe(){return i(this,arguments)}}const xc=e=>t(e,sc),Ac=e=>t(e,cc),Cc=e=>t(e,fc),kc=e=>t(e,pc),Rc=e=>t(e,vc),Tc=Symbol.for("effect/MetricHook"),Sc={_In:e=>e,_Out:e=>e},Mc=e=>({[Tc]:Sc,pipe(){return i(this,arguments)},...e}),Oc=BigInt(0),Nc=(e,t,n)=>{const r=n.length;if(!ut(t))return _e();const a=t[0],i=t.slice(1),o=Bc(e,r,Q(),0,a,n),u=Oe(o);return i.forEach((t=>{u.push(Bc(e,r,o.value,o.consumed,t,o.rest))})),De(u,(e=>[e.quantile,e.value]))},Bc=(e,t,n,r,a,i)=>{let o=e,u=t,s=n,l=r,c=a,d=i,f=e,h=t,p=n,m=r,v=a,b=i;for(;;){if(!ut(d))return{quantile:c,value:Q(),consumed:l,rest:[]};if(1===c)return{quantile:c,value:J(Yt(d)),consumed:l+d.length,rest:[]};const e=ot(d),t=Zt(d,(t=>t===e)),n=c*u,r=o/2*n,a=l+t[0].length,i=Math.abs(a-n);if(a<n-r)f=o,h=u,p=ve(d),m=a,v=c,b=t[1],o=f,u=h,s=p,l=m,c=v,d=b;else{if(a>n+r)return{quantile:c,value:Xt(s)?J(e):s,consumed:l,rest:d};switch(s._tag){case"None":f=o,h=u,p=ve(d),m=a,v=c,b=t[1],o=f,u=h,s=p,l=m,c=v,d=b;continue;case"Some":if(i<Math.abs(n-s.value)){f=o,h=u,p=ve(d),m=a,v=c,b=t[1],o=f,u=h,s=p,l=m,c=v,d=b;continue}return{quantile:c,value:J(s.value),consumed:l,rest:d}}}}throw new Error("BUG: MetricHook.resolveQuantiles - please report an issue at https://github.com/Effect-TS/effect/issues")},Ic=Symbol.for("effect/MetricPair"),jc={_Type:e=>e},_c=(e,t)=>({[Ic]:jc,metricKey:e,metricState:t,pipe(){return i(this,arguments)}}),qc=Symbol.for("effect/MetricRegistry");class Pc{[qc]=qc;map=yo();snapshot(){const e=[];for(const[t,n]of this.map)e.push(_c(t,n.get()));return e}get(e){const n=fe(this.map,Do(e),Jt);if(null==n){if(Jl(e.keyType))return this.getCounter(e);if(t(e.keyType,Ul))return this.getGauge(e);if(t(e.keyType,Hl))return this.getFrequency(e);if(Ql(e.keyType))return this.getHistogram(e);if((e=>t(e,Wl))(e.keyType))return this.getSummary(e);throw new Error("BUG: MetricRegistry.get - unknown MetricKeyType - please report an issue at https://github.com/Effect-TS/effect/issues")}return n}getCounter(e){let t=fe(this.map,Do(e),Jt);if(null==t){const n=(e=>{let t=e.keyType.bigint?Oc:0;const n=e.keyType.incremental?e.keyType.bigint?e=>e>=Oc:e=>e>=0:()=>!0,r=e=>{n(e)&&(t+=e)};return Mc({get:()=>new gc(t),update:r,modify:r})})(e);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getFrequency(e){let t=fe(this.map,Do(e),Jt);if(null==t){const n=(e=>{const t=new Map;for(const n of e.keyType.preregisteredWords)t.set(n,0);const n=e=>{const n=t.get(e)??0;t.set(e,n+1)};return Mc({get:()=>new Dc(t),update:n,modify:n})})(e);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getGauge(e){let t=fe(this.map,Do(e),Jt);if(null==t){const n=((e,t)=>{let n=t;return Mc({get:()=>new wc(n),update:e=>{n=e},modify:e=>{n+=e}})})(0,e.keyType.bigint?BigInt(0):0);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getHistogram(e){let t=fe(this.map,Do(e),Jt);if(null==t){const n=(e=>{const t=e.keyType.boundaries.values,n=t.length,r=new Uint32Array(n+1),a=new Float64Array(n);let i=0,o=0,u=Number.MAX_VALUE,s=Number.MIN_VALUE;fe(t,Ue(Qa),De(((e,t)=>{a[t]=e})));const l=e=>{let t=0,l=n;for(;t!==l;){const n=Math.floor(t+(l-t)/2);e<=a[n]?l=n:t=n,l===t+1&&(e<=a[t]?l=t:t=l)}r[t]=r[t]+1,i+=1,o+=e,e<u&&(u=e),e>s&&(s=e)},c=()=>{const e=Wt(n);let t=0;for(let i=0;i<n;i++)t+=r[i],e[i]=[a[i],t];return e};return Mc({get:()=>{return e={buckets:c(),count:i,min:u,max:s,sum:o},new Fc(e.buckets,e.count,e.min,e.max,e.sum);var e},update:l,modify:l})})(e);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getSummary(e){let t=fe(this.map,Do(e),Jt);if(null==t){const n=(e=>{const{error:t,maxAge:n,maxSize:r,quantiles:a}=e.keyType,i=fe(a,Ue(Qa)),o=Wt(r);let u=0,s=0,l=0,c=0,d=0;const f=e=>{const a=[];let u=0;for(;u!==r-1;){const t=o[u];if(null!=t){const[r,i]=t,o=gi(e-r);Ti(o,pi)&&Ri(o,n)&&a.push(i)}u+=1}return Nc(t,i,Ue(a,Qa))},h=(e,t)=>{r>0&&(u+=1,o[u%r]=[t,e]),c=0===s?e:Math.min(c,e),d=0===s?e:Math.max(d,e),s+=1,l+=e};return Mc({get:()=>{return e={error:t,quantiles:f(Date.now()),count:s,min:c,max:d,sum:l},new Ec(e.error,e.quantiles,e.count,e.min,e.max,e.sum);var e},update:([e,t])=>h(e,t),modify:([e,t])=>h(e,t)})})(e);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}}const $c=Symbol.for("effect/Metric"),zc={_Type:e=>e,_In:e=>e,_Out:e=>e},Gc=tt(Symbol.for("effect/Metric/globalMetricRegistry"),(()=>new Pc)),Lc=function(e,t,n,r){const a=Object.assign((e=>Qt(e,(e=>Yc(a,e)))),{[$c]:zc,keyType:e,unsafeUpdate:t,unsafeValue:n,unsafeModify:r,register(){return this.unsafeValue([]),this},pipe(){return i(this,arguments)}});return a},Hc=(e,t)=>Uc(((e,t)=>new rc(e,(e=>new Zl(e?.incremental??!1,e?.bigint??!1))(t),Ut(t?.description)))(e,t)),Uc=e=>{let t;const n=new WeakMap,r=r=>{if(0===r.length)return void 0!==t||(t=Gc.get(e)),t;let a=n.get(r);return void 0!==a||(a=Gc.get(ic(e,r)),n.set(r,a)),a};return Lc(e.keyType,((e,t)=>r(t).update(e)),(e=>r(e).get()),((e,t)=>r(t).modify(e)))},Vc=(e,t,n)=>Uc(((e,t,n)=>new rc(e,(e=>new Xl(e))(t),Ut(n)))(e,t,n)),Kc=e(3,((e,t,n)=>Wc(e,[Ms(t,n)]))),Wc=e(2,((e,t)=>Lc(e.keyType,((n,r)=>e.unsafeUpdate(n,Kt(t,r))),(n=>e.unsafeValue(Kt(t,n))),((n,r)=>e.unsafeModify(n,Kt(t,r)))))),Yc=e(2,((e,t)=>It(en,(n=>oe((()=>e.unsafeUpdate(t,n))))))),Zc=e(2,((e,t)=>It(bl,(n=>oe((()=>{if(n.has(e)){const r=n.get(e);r.state.completed||(r.state.completed=!0,tn(r.result,t))}})))))),Xc=Symbol.for("effect/Supervisor"),Jc={_T:e=>e};class Qc{underlying;value0;[Xc]=Jc;constructor(e,t){this.underlying=e,this.value0=t}get value(){return this.value0}onStart(e,t,n,r){this.underlying.onStart(e,t,n,r)}onEnd(e,t){this.underlying.onEnd(e,t)}onEffect(e,t){this.underlying.onEffect(e,t)}onSuspend(e){this.underlying.onSuspend(e)}onResume(e){this.underlying.onResume(e)}map(e){return new Qc(this,fe(this.value,Me(e)))}zip(e){return new ed(this,e)}}class ed{left;right;_tag="Zip";[Xc]=Jc;constructor(e,t){this.left=e,this.right=t}get value(){return Se(this.left.value,this.right.value)}onStart(e,t,n,r){this.left.onStart(e,t,n,r),this.right.onStart(e,t,n,r)}onEnd(e,t){this.left.onEnd(e,t),this.right.onEnd(e,t)}onEffect(e,t){this.left.onEffect(e,t),this.right.onEffect(e,t)}onSuspend(e){this.left.onSuspend(e),this.right.onSuspend(e)}onResume(e){this.left.onResume(e),this.right.onResume(e)}map(e){return new Qc(this,fe(this.value,Me(e)))}zip(e){return new ed(this,e)}}const td=e=>t(e,Xc)&&nn(e,"Zip");class nd{effect;[Xc]=Jc;constructor(e){this.effect=e}get value(){return this.effect}onStart(e,t,n,r){}onEnd(e,t){}onEffect(e,t){}onSuspend(e){}onResume(e){}map(e){return new Qc(this,fe(this.value,Me(e)))}zip(e){return new ed(this,e)}onRun(e,t){return e()}}const rd=tt("effect/Supervisor/none",(()=>new nd(ce))),ad="Empty",id="AddSupervisor",od="RemoveSupervisor",ud="AndThen",sd={_tag:ad},ld=(e,t)=>({_tag:ud,first:e,second:t}),cd=(e,t)=>A(e,t)?rd:td(e)?cd(e.left,t).zip(cd(e.right,t)):e,dd=e=>A(e,rd)?un():td(e)?fe(dd(e.left),sn(dd(e.right))):ln(e),fd=rn({empty:sd,patch:(e,t)=>((e,t)=>{let n=e,r=t;for(;cn(r);){const e=dn(r);switch(e._tag){case ad:r=fn(r);break;case id:n=n.zip(e.supervisor),r=fn(r);break;case od:n=cd(n,e.supervisor),r=fn(r);break;case ud:r=re(e.first)(re(e.second)(fn(r)))}}return n})(t,S(e)),combine:ld,diff:(e,t)=>{if(A(e,t))return sd;const n=dd(e),r=dd(t),a=fe(r,on(n),an(sd,((e,t)=>ld(e,{_tag:id,supervisor:t})))),i=fe(n,on(r),an(sd,((e,t)=>ld(e,{_tag:od,supervisor:t}))));return ld(a,i)}}),hd=Hc("effect_fiber_started",{incremental:!0}),pd=Hc("effect_fiber_active"),md=Hc("effect_fiber_successes",{incremental:!0}),vd=Hc("effect_fiber_failures",{incremental:!0}),bd=Kc(Vc("effect_fiber_lifetimes",$l({start:.5,factor:2,count:35})),"time_unit","milliseconds"),gd="Continue",yd="Yield",Dd={_E:e=>e,_A:e=>e},wd=e=>{throw new Error(`BUG: FiberRuntime - ${jr(e)} - please report an issue at https://github.com/Effect-TS/effect/issues`)},Fd=Symbol.for("effect/internal/fiberRuntime/YieldedOp"),Ed=tt("effect/internal/fiberRuntime/yieldedOpChannel",(()=>({currentOp:null}))),xd={[lr]:(e,t,n)=>Dr((()=>t.effect_instruction_i1(n))),OnStep:(e,t,n)=>L(L(n)),[Er]:(e,t,n)=>Dr((()=>t.effect_instruction_i2(n))),[wr]:(e,t,n)=>(e.patchRuntimeFlags(e.currentRuntimeFlags,t.patch),tr(e.currentRuntimeFlags)&&e.isInterrupted()?G(e.getInterruptedCause()):L(n)),[cr]:(e,t,n)=>(Dr((()=>t.effect_instruction_i2(n))),Dr((()=>t.effect_instruction_i0()))?(e.pushStack(t),Dr((()=>t.effect_instruction_i1()))):ce),[dr]:(e,t,n)=>{for(;;){const r=Dr((()=>t.effect_instruction_i0.next(n)));if(r.done)return L(r.value);const a=Pr(r.value);if(!$r(a))return e.pushStack(t),a;if("Failure"===a._tag)return a;n=a.value}}},Ad={[yl]:(e,t,n,r)=>(e.processNewInterruptSignal(r.cause),tr(t)?G(r.cause):n),[wl]:()=>{throw new Error("It is illegal to have multiple concurrent run loops in a single fiber")},[Dl]:(e,t,n,r)=>(r.onFiber(e,dl(t)),n),[Fl]:(e,t,n)=>Fe(St(),(()=>n))},Cd=Nr();class kd extends bt{[Sl]=Ml;[Ol]=Dd;_fiberRefs;_fiberId;_queue=new Array;_children=null;_observers=new Array;_running=!1;_stack=[];_asyncInterruptor=null;_asyncBlockingOn=null;_exitValue=null;_steps=[];_isYielding=!1;currentRuntimeFlags;currentOpCount=0;currentSupervisor;currentScheduler;currentTracer;currentSpan;currentContext;currentDefaultServices;constructor(e,t,n){if(super(),this.currentRuntimeFlags=n,this._fiberId=e,this._fiberRefs=t,In(n)){const e=this.getFiberRef(en);hd.unsafeUpdate(1,e),pd.unsafeUpdate(1,e)}this.refreshRefCache()}commit(){return Nl(this)}id(){return this._fiberId}resume(e){this.tell(Al(e))}get status(){return this.ask(((e,t)=>t))}get runtimeFlags(){return this.ask(((e,t)=>(e=>e._tag===nl)(t)?e.currentRuntimeFlags:t.runtimeFlags))}scope(){return new Rl((e=this).id(),e);var e}get children(){return this.ask((e=>Array.from(e.getChildren())))}getChildren(){return null===this._children&&(this._children=new Set),this._children}getInterruptedCause(){return this.getFiberRef(jn)}fiberRefs(){return this.ask((e=>e.getFiberRefs()))}ask(e){return xe((()=>{const t=_n(this._fiberId);return this.tell(xl(((n,r)=>{tn(t,oe((()=>e(n,r))))}))),I(t)}))}tell(e){this._queue.push(e),this._running||(this._running=!0,this.drainQueueLaterOnExecutor())}get await(){return se((e=>{const t=t=>e(ue(t));if(null===this._exitValue)return this.tell(xl((e=>{null!==e._exitValue?t(this._exitValue):e.addObserver(t)}))),oe((()=>this.tell(xl((e=>{e.removeObserver(t)})))));t(this._exitValue)}),this.id())}get inheritAll(){return it(((e,t)=>{const n=e.id(),r=e.getFiberRefs(),a=t.runtimeFlags,i=this.getFiberRefs(),o=Vu(r,n,i);e.setFiberRefs(o);const u=e.getFiberRef(af),s=fe(Gn(a,u),Pn(zn),Pn($n));return Ln(s)}))}get poll(){return oe((()=>Ut(this._exitValue)))}unsafePoll(){return this._exitValue}interruptAsFork(e){return oe((()=>this.tell(El(Hn(e)))))}unsafeInterruptAsFork(e){this.tell(El(Hn(e)))}addObserver(e){null!==this._exitValue?e(this._exitValue):this._observers.push(e)}removeObserver(e){this._observers=this._observers.filter((t=>t!==e))}getFiberRefs(){return this.setFiberRef(af,this.currentRuntimeFlags),this._fiberRefs}unsafeDeleteFiberRef(e){this._fiberRefs=Yu(this._fiberRefs,e)}getFiberRef(e){return this._fiberRefs.locals.has(e)?this._fiberRefs.locals.get(e)[0][1]:e.initial}setFiberRef(e,t){this._fiberRefs=Ju(this._fiberRefs,{fiberId:this._fiberId,fiberRef:e,value:t}),this.refreshRefCache()}refreshRefCache(){this.currentDefaultServices=this.getFiberRef(zu),this.currentTracer=this.currentDefaultServices.unsafeMap.get(Bu.key),this.currentSupervisor=this.getFiberRef(of),this.currentScheduler=this.getFiberRef(vl),this.currentContext=this.getFiberRef(On),this.currentSpan=this.currentContext.unsafeMap.get(Iu.key)}setFiberRefs(e){this._fiberRefs=e,this.refreshRefCache()}addChild(e){this.getChildren().add(e)}removeChild(e){this.getChildren().delete(e)}transferChildren(e){const t=this._children;if(this._children=null,null!==t&&t.size>0)for(const n of t)null===n._exitValue&&e.add(this.currentRuntimeFlags,n)}drainQueueOnCurrentThread(){let e=!0;for(;e;){let t=gd;const n=globalThis[Bl];globalThis[Bl]=this;try{for(;t===gd;)t=0===this._queue.length?"Done":this.evaluateMessageWhileSuspended(this._queue.splice(0,1)[0])}finally{this._running=!1,globalThis[Bl]=n}this._queue.length>0&&!this._running?(this._running=!0,t===yd?(this.drainQueueLaterOnExecutor(),e=!1):e=!0):e=!1}}drainQueueLaterOnExecutor(){this.currentScheduler.scheduleTask(this.run,this.getFiberRef(Bt),this)}drainQueueWhileRunning(e,t){let n=t;for(;this._queue.length>0;){const t=this._queue.splice(0,1)[0];n=Ad[t._tag](this,e,n,t)}return n}isInterrupted(){return!Vn(this.getFiberRef(jn))}addInterruptedCause(e){const t=this.getFiberRef(jn);this.setFiberRef(jn,Dn(t,e))}processNewInterruptSignal(e){this.addInterruptedCause(e),this.sendInterruptSignalToAllChildren()}sendInterruptSignalToAllChildren(){if(null===this._children||0===this._children.size)return!1;let e=!1;for(const t of this._children)t.tell(El(Hn(this.id()))),e=!0;return e}interruptAllChildren(){if(this.sendInterruptSignalToAllChildren()){const e=this._children.values();this._children=null;let t=!1;return Kn({while:()=>!t,body:()=>{const n=e.next();return n.done?oe((()=>{t=!0})):de(n.value.await)},step:()=>{}})}return null}reportExitValue(e){if(In(this.currentRuntimeFlags)){const t=this.getFiberRef(en),n=this.id().startTimeMillis,r=Date.now();switch(bd.unsafeUpdate(r-n,t),pd.unsafeUpdate(-1,t),e._tag){case Cn:md.unsafeUpdate(1,t);break;case An:vd.unsafeUpdate(1,t)}}if("Failure"===e._tag){const t=this.getFiberRef(Wn);Yn(e.cause)||"Some"!==t._tag||this.log("Fiber terminated with an unhandled error",e.cause,t)}}setExitValue(e){this._exitValue=e,this.reportExitValue(e);for(let t=this._observers.length-1;t>=0;t--)this._observers[t](e);this._observers=[]}getLoggers(){return this.getFiberRef(Md)}log(e,t,n){const r=ee(n)?n.value:this.getFiberRef(Zn),a=this.getFiberRef(Rd);if(is(a,r))return;const i=this.getFiberRef(Xn),o=this.getFiberRef(Jn),u=this.getLoggers(),s=this.getFiberRefs();if(Qn(u)>0){const n=Rt(this.getFiberRef(zu),Go),a=new Date(n.unsafeCurrentTimeMillis());er(s,(()=>{for(const n of u)n.log({fiberId:this.id(),logLevel:r,message:e,cause:t,context:s,spans:i,annotations:o,date:a})}))}}evaluateMessageWhileSuspended(e){switch(e._tag){case Fl:return yd;case yl:return this.processNewInterruptSignal(e.cause),null!==this._asyncInterruptor&&(this._asyncInterruptor(G(e.cause)),this._asyncInterruptor=null),gd;case wl:return this._asyncInterruptor=null,this._asyncBlockingOn=null,this.evaluateEffect(e.effect),gd;case Dl:return e.onFiber(this,null!==this._exitValue?cl:new sl(this.currentRuntimeFlags,this._asyncBlockingOn)),gd;default:return wd(e)}}evaluateEffect(e){this.currentSupervisor.onResume(this);try{let t=tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(this.getInterruptedCause()):e;for(;null!==t;){const e=this.runLoop(t);if(e===Fd){const e=Ed.currentOp;Ed.currentOp=null,e._op===nr?rr(this.currentRuntimeFlags)?(this.tell({_tag:Fl}),this.tell(Al(K)),t=null):t=K:e._op===ar&&(t=null)}else{this.currentRuntimeFlags=fe(this.currentRuntimeFlags,ir($n));const n=this.interruptAllChildren();null!==n?t=Fe(n,(()=>e)):(0===this._queue.length?this.setExitValue(e):this.tell(Al(e)),t=null)}}}finally{this.currentSupervisor.onSuspend(this)}}start(e){if(this._running)this.tell(Al(e));else{this._running=!0;const t=globalThis[Bl];globalThis[Bl]=this;try{this.evaluateEffect(e)}finally{this._running=!1,globalThis[Bl]=t,this._queue.length>0&&this.drainQueueLaterOnExecutor()}}}startFork(e){this.tell(Al(e))}patchRuntimeFlags(e,t){const n=or(e,t);return globalThis[Bl]=this,this.currentRuntimeFlags=n,n}initiateAsync(e,t){let n=!1;const r=e=>{n||(n=!0,this.tell(Al(e)))};tr(e)&&(this._asyncInterruptor=r);try{t(r)}catch(e){r(xt(ur(e)))}}pushStack(e){this._stack.push(e),"OnStep"===e._op&&this._steps.push({refs:this.getFiberRefs(),flags:this.currentRuntimeFlags})}popStack(){const e=this._stack.pop();if(e)return"OnStep"===e._op&&this._steps.pop(),e}getNextSuccessCont(){let e=this.popStack();for(;e;){if(e._op!==sr)return e;e=this.popStack()}}getNextFailCont(){let e=this.popStack();for(;e;){if(e._op!==lr&&e._op!==cr&&e._op!==dr)return e;e=this.popStack()}}[fr](e){return oe((()=>hr(this.currentContext,e)))}Left(e){return Ee(e.left)}None(e){return Ee(new pr)}Right(e){return L(e.right)}Some(e){return L(e.value)}Micro(e){return mr((t=>{let n=t;const r=vr(br(e,this.currentContext));return r.addObserver((e=>{if("Success"===e._tag)return n(L(e.value));switch(e.cause._tag){case"Interrupt":return n(G(Hn(_t)));case"Fail":return n(Ee(e.cause.error));case"Die":return n(gr(e.cause.defect))}})),mr((e=>{n=()=>{e(ce)},r.unsafeInterrupt()}))}))}[yr](e){const t=Dr((()=>e.effect_instruction_i0())),n=this.getNextSuccessCont();return void 0!==n?(n._op in xd||wd(n),xd[n._op](this,n,t)):(Ed.currentOp=L(t),Fd)}[Cn](e){const t=e,n=this.getNextSuccessCont();return void 0!==n?(n._op in xd||wd(n),xd[n._op](this,n,t.effect_instruction_i0)):(Ed.currentOp=t,Fd)}[An](e){const t=e.effect_instruction_i0,n=this.getNextFailCont();if(void 0===n)return Ed.currentOp=G(t),Fd;switch(n._op){case sr:case Er:return tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(Fr(t)):Dr((()=>n.effect_instruction_i1(t)));case"OnStep":return tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(Fr(t)):L(G(t));case wr:return this.patchRuntimeFlags(this.currentRuntimeFlags,n.patch),tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(Dn(t,this.getInterruptedCause())):G(t);default:wd(n)}}[xr](e){return Dr((()=>e.effect_instruction_i0(this,dl(this.currentRuntimeFlags))))}Blocked(e){const t=this.getFiberRefs(),n=this.currentRuntimeFlags;if(this._steps.length>0){const r=[],a=this._steps[this._steps.length-1];let i=this.popStack();for(;i&&"OnStep"!==i._op;)r.push(i),i=this.popStack();this.setFiberRefs(a.refs),this.currentRuntimeFlags=a.flags;const o=Js(a.refs,t),u=Gn(a.flags,n);return L(Ar(e.effect_instruction_i0,it((t=>{for(;r.length>0;)t.pushStack(r.pop());return t.setFiberRefs(Qs(t.id(),t.getFiberRefs())(o)),t.currentRuntimeFlags=or(u)(t.currentRuntimeFlags),e.effect_instruction_i1}))))}return pn((t=>Fe(_d(Cr(e.effect_instruction_i0)),(()=>t(e.effect_instruction_i1)))))}RunBlocked(e){return(e=>Xe((e=>{let t=d(e),n=h();for(;;){const[e,r]=f(t,[Pi(),h()],(([e,t],n)=>{const[r,a]=Bi(n);return[zi(e,r),p(t,a)]}));if(n=Ii(n,e),m(r))return v(n);t=r}throw new Error("BUG: BlockedRequests.flatten - please report an issue at https://github.com/Effect-TS/effect/issues")})(e),(e=>Id((e=>Array.from(e.map))(e),(([e,t])=>{const n=new Map,r=[];for(const e of t){r.push(Qr(e));for(const t of e)n.set(t.request,t)}const a=r.flat();return ea(ff(e.runAll(r),a,(()=>a.forEach((e=>{e.listeners.interrupted=!0})))),bl,n)}),!1,!1))))(e.effect_instruction_i0)}[kr](e){const t=e.effect_instruction_i0,n=this.currentRuntimeFlags,r=or(n,t);if(tr(r)&&this.isInterrupted())return G(this.getInterruptedCause());if(this.patchRuntimeFlags(this.currentRuntimeFlags,t),e.effect_instruction_i1){const t=Gn(r,n);return this.pushStack(new Rr(t,e)),Dr((()=>e.effect_instruction_i1(n)))}return K}[lr](e){return this.pushStack(e),e.effect_instruction_i0}OnStep(e){return this.pushStack(e),e.effect_instruction_i0}[sr](e){return this.pushStack(e),e.effect_instruction_i0}[Er](e){return this.pushStack(e),e.effect_instruction_i0}[ar](e){return this._asyncBlockingOn=e.effect_instruction_i1,this.initiateAsync(this.currentRuntimeFlags,e.effect_instruction_i0),Ed.currentOp=e,Fd}[nr](e){return this._isYielding=!1,Ed.currentOp=e,Fd}[cr](e){const t=e.effect_instruction_i1;return(0,e.effect_instruction_i0)()?(this.pushStack(e),t()):K}[dr](e){return xd[dr](this,e,void 0)}[Tr](e){return Dr((()=>e.commit()))}runLoop(e){let n=e;for(this.currentOpCount=0;;){if(this.currentRuntimeFlags&Sr&&this.currentSupervisor.onEffect(this,n),this._queue.length>0&&(n=this.drainQueueWhileRunning(this.currentRuntimeFlags,n)),!this._isYielding){this.currentOpCount+=1;const e=this.currentScheduler.shouldYield(this);if(!1!==e){this._isYielding=!0,this.currentOpCount=0;const t=n;n=Fe(St({priority:e}),(()=>t))}}try{if(n=this.currentTracer.context((()=>{if(Cd!==n[Mr]._V){const e=this.getFiberRef(Or);"Some"===e._tag&&this.log(`Executing an Effect versioned ${n[Mr]._V} with a Runtime of version ${Nr()}, you may want to dedupe the effect dependencies, you can use the language service plugin to detect this at compile time: https://github.com/Effect-TS/language-service`,Br,e)}return this[n._op](n)}),this),n===Fd){const e=Ed.currentOp;return e._op===nr||e._op===ar?Fd:(Ed.currentOp=null,e._op===Cn||e._op===An?e:G(ur(e)))}}catch(e){n=n!==Fd&&!t(n,"_op")||!(n._op in this)?Ir(`Not a valid effect: ${jr(n)}`):_r(e)?G(Dn(ur(e),Hn(_t))):gr(e)}}}run=()=>{this.drainQueueOnCurrentThread()}}const Rd=tt("effect/FiberRef/currentMinimumLogLevel",(()=>Ot(as))),Td=tt(Symbol.for("effect/Logger/defaultLogger"),(()=>(e=>Vr((t=>{const n=ts(t.context,zu);Rt(n,xu).unsafe.log(e.log(t))})))(ta))),Sd=tt(Symbol.for("effect/Logger/tracerLogger"),(()=>Vr((({annotations:e,cause:t,context:n,fiberId:r,logLevel:a,message:i})=>{const o=Hs(Lr(Xu(n,On),Iu));if("None"===o._tag||"ExternalSpan"===o.value._tag)return;const u=hr(Xu(n,zu),Go),s={};for(const[t,n]of e)s[t]=n;s["effect.fiberId"]=Kr(r),s["effect.logLevel"]=a.label,null!==t&&"Empty"!==t._tag&&(s["effect.cause"]=Wr(t,{renderErrorCause:!0})),o.value.event(jr(Array.isArray(i)&&1===i.length?i[0]:i),u.unsafeCurrentTimeNanos(),s)})))),Md=tt(Symbol.for("effect/FiberRef/currentLoggers"),(()=>qr(ln(Td,Sd)))),Od=(e,t)=>{const[n,r]=(e=>{if(Array.isArray(e)||Sn(e))return[e,Q()];const t=Object.keys(e),n=t.length;return[t.map((t=>e[t])),J((e=>{const r={};for(let a=0;a<n;a++)r[t[a]]=e[a];return r}))]})(e);return"validate"===t?.mode?((e,t,n)=>{const r=[];for(const t of e)r.push(Ae(t));return Fe(Nd(r,kn,{concurrency:n?.concurrency,batching:n?.batching,concurrentFinalizers:n?.concurrentFinalizers}),(e=>{const r=Q(),a=e.length,i=new Array(a),o=new Array(a);let u=!1;for(let t=0;t<a;t++){const n=e[t];"Left"===n._tag?(i[t]=J(n.left),u=!0):(o[t]=n.right,i[t]=r)}return u?Ee("Some"===t._tag?t.value(i):i):n?.discard?ce:ue("Some"===t._tag?t.value(o):o)}))})(n,r,t):"either"===t?.mode?((e,t,n)=>{const r=[];for(const t of e)r.push(Ae(t));return n?.discard?Nd(r,kn,{concurrency:n?.concurrency,batching:n?.batching,discard:!0,concurrentFinalizers:n?.concurrentFinalizers}):Me(Nd(r,kn,{concurrency:n?.concurrency,batching:n?.batching,concurrentFinalizers:n?.concurrentFinalizers}),(e=>"Some"===t._tag?t.value(e):e))})(n,r,t):!0!==t?.discard&&"Some"===r._tag?Me(Nd(n,kn,t),r.value):Nd(n,kn,t)},Nd=e((e=>Sn(e[0])),((e,t,n)=>it((r=>{const a=!0===n?.batching||"inherit"===n?.batching&&r.getFiberRef(Tn);return n?.discard?gl(n.concurrency,(()=>Hd(Ys,n?.concurrentFinalizers)((n=>a?Id(e,((e,r)=>n(t(e,r))),!0,!1,1):Xe(e,((e,r)=>n(t(e,r))))))),(()=>Hd(Zs,n?.concurrentFinalizers)((n=>Id(e,((e,r)=>n(t(e,r))),a,!1)))),(r=>Hd(Xs(r),n?.concurrentFinalizers)((n=>Id(e,((e,r)=>n(t(e,r))),a,!1,r))))):gl(n?.concurrency,(()=>Hd(Ys,n?.concurrentFinalizers)((n=>a?jd(e,1,((e,r)=>n(t(e,r))),!0):Te(e,((e,r)=>n(t(e,r))))))),(()=>Hd(Zs,n?.concurrentFinalizers)((n=>Bd(e,((e,r)=>n(t(e,r))),a)))),(r=>Hd(Xs(r),n?.concurrentFinalizers)((n=>jd(e,r,((e,r)=>n(t(e,r))),a)))))})))),Bd=(e,t,n)=>xe((()=>{const r=Be(e),a=new Array(r.length);return Et(Id(r,((e,n)=>Fe(t(e,n),(e=>oe((()=>a[n]=e))))),n,!1),ue(a))})),Id=(e,t,n,r,a)=>pn((i=>mn((o=>it((u=>{let s=Array.from(e).reverse(),l=s.length;if(0===l)return ce;let c=0,d=!1;const f=a?Math.min(s.length,a):s.length,h=new Set,p=new Array,m=new Array,v=new Array,b=new Array,g=()=>{const e=p.filter((({exit:e})=>"Failure"===e._tag)).sort(((e,t)=>e.index<t.index?-1:e.index===t.index?0:1)).map((({exit:e})=>e));return 0===e.length&&e.push(K),e},y=(e,t=!1)=>{const n=Gr(o(e)),r=Pd(n,u,u.currentRuntimeFlags,Tl);return u.currentScheduler.scheduleTask((()=>{t&&r.unsafeInterruptAsFork(u.id()),r.resume(n)}),0,r),r},D=()=>{r||(l-=s.length,s=[]),d=!0,h.forEach((e=>{e.currentScheduler.scheduleTask((()=>{e.unsafeInterruptAsFork(u.id())}),0,e)}))},w=n?zr:yn,F=y(se((e=>{const r=(e,t)=>{"Blocked"===e._op?b.push(e):(p.push({index:t,exit:e}),"Failure"!==e._op||d||D())},o=()=>{if(s.length>0){const f=s.pop();let D=c++;const F=()=>{const e=s.pop();return D=c++,Fe(St(),(()=>Fe(w(i(t(e,D))),E)))},E=e=>s.length>0&&(r(e,D),s.length>0)?F():ue(e),x=Fe(w(i(t(f,D))),E),A=y(x);m.push(A),h.add(A),d&&A.currentScheduler.scheduleTask((()=>{A.unsafeInterruptAsFork(u.id())}),0,A),A.addObserver((t=>{let i;if(i="Failure"===t._op?t:t.effect_instruction_i0,v.push(A),h.delete(A),r(i,D),p.length===l)e(ue(Pe(V(g(),{parallel:!0}),(()=>K))));else if(b.length+p.length===l){const t=g(),r=b.map((e=>e.effect_instruction_i0)).reduce(Oi);e(ue(Ar(r,Id([Pe(V(t,{parallel:!0}),(()=>K)),...b.map((e=>e.effect_instruction_i1))],(e=>e),n,!0,a))))}else o()}))}};for(let e=0;e<f;e++)o()})));return de(hn(Pt(i(Nl(F))),z({onFailure:e=>{D();const t=b.length+1,n=Math.min("number"==typeof a?a:b.length,b.length),r=Array.from(b);return se((a=>{let i=0;const o=(n,o)=>()=>{i++,i===t&&a(L(G(e))),r.length>0&&o&&u()},u=()=>{y(r.pop(),!0).addObserver(o(0,!0))};F.addObserver(o(0,!1));for(let e=0;e<n;e++)u()}))},onSuccess:()=>Te(v,(e=>e.inheritAll))})))})))))),jd=(e,t,n,r)=>xe((()=>{const a=Be(e),i=new Array(a.length);return Et(Id(a,((e,t)=>Me(n(e,t),(e=>i[t]=e))),r,!1,t),ue(i))})),_d=e=>zd(e,Tl),qd=(e,t,n,r=null)=>{const a=$d(e,t,n,r);return a.resume(e),a},Pd=(e,t,n,r=null)=>$d(e,t,n,r),$d=(e,t,n,r=null)=>{const a=Mn(),i=t.getFiberRefs(),o=Ku(i,a),u=new kd(a,o,n),s=Xu(o,On),l=u.currentSupervisor;return l.onStart(s,e,J(t),u),u.addObserver((e=>l.onEnd(e,u))),(null!==r?r:fe(t.getFiberRef(Nn),Pe((()=>t.scope())))).add(n,u),u},zd=(e,t)=>it(((n,r)=>ue(qd(e,n,r.runtimeFlags,t)))),Gd=e=>Ct((t=>w(Lr(t,Xd),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Parallel":return e;case"Sequential":case"ParallelN":return Fe(Hr(t,Zs),(t=>nf(e,t)))}}}))),Ld=e=>t=>Ct((n=>w(Lr(n,Xd),{onNone:()=>t,onSome:n=>"ParallelN"===n.strategy._tag&&n.strategy.parallelism===e?t:Fe(Hr(n,Xs(e)),(e=>nf(t,e)))}))),Hd=(e,t)=>n=>Ct((r=>w(Lr(r,Xd),{onNone:()=>n(kn),onSome:r=>{if(!0!==t)return n(kn);{const t="Parallel"===e._tag?Gd:"Sequential"===e._tag?Vd:Ld(e.parallelism);switch(r.strategy._tag){case"Parallel":return t(n(Gd));case"Sequential":return t(n(Vd));case"ParallelN":return t(n(Ld(r.strategy.parallelism)))}}}}))),Ud=e=>Fe(tf(),(t=>hn(e(t),(e=>t.close(e))))),Vd=e=>Ct((t=>w(Lr(t,Xd),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Sequential":return e;case"Parallel":case"ParallelN":return Fe(Hr(t,Ys),(t=>nf(e,t)))}}}))),Kd=e((e=>wn(e[1])),((e,t,n)=>Zd(e,t,((e,t)=>[e,t]),n))),Wd=e((e=>wn(e[1])),((e,t,n)=>!0===n?.concurrent||void 0!==n?.batching&&!1!==n.batching?Zd(e,t,(e=>e),n):qt(e,t))),Yd=e((e=>wn(e[1])),((e,t,n)=>!0===n?.concurrent||void 0!==n?.batching&&!1!==n.batching?Zd(e,t,((e,t)=>t),n):Et(e,t))),Zd=e((e=>wn(e[1])),((e,t,n,r)=>Me(Od([e,t],{concurrency:r?.concurrent?2:1,batching:r?.batching,concurrentFinalizers:r?.concurrentFinalizers}),(([e,t])=>n(e,t))))),Xd=ie("effect/Scope"),Jd=Xd,Qd={[bn]:bn,[vn]:vn,pipe(){return i(this,arguments)},fork(e){return oe((()=>{const t=ef(e);if("Closed"===this.state._tag)return t.state=this.state,t;const n={};return this.state.finalizers.set(n,(e=>t.close(e))),((e,t)=>{"Open"===e.state._tag&&e.state.finalizers.set({},t)})(t,(()=>oe((()=>{"Open"===this.state._tag&&this.state.finalizers.delete(n)})))),t}))},close(e){return xe((()=>{if("Closed"===this.state._tag)return ce;const t=Array.from(this.state.finalizers.values()).reverse();return this.state={_tag:"Closed",exit:e},0===t.length?ce:(()=>this.strategy._tag===Us)()?fe(Te(t,(t=>yn(t(e)))),Fe((e=>fe(V(e),R(gn),Pe((()=>K)))))):(()=>this.strategy._tag===Vs)()?fe(Bd(t,(t=>yn(t(e))),!1),Fe((e=>fe(V(e,{parallel:!0}),R(gn),Pe((()=>K)))))):fe(jd(t,this.strategy.parallelism,(t=>yn(t(e))),!1),Fe((e=>fe(V(e,{parallel:!0}),R(gn),Pe((()=>K))))))}))},addFinalizer(e){return xe((()=>"Closed"===this.state._tag?e(this.state.exit):(this.state.finalizers.set({},e),ce)))}},ef=(e=Ks)=>{const t=Object.create(Qd);return t.strategy=e,t.state={_tag:"Open",finalizers:new Map},t},tf=(e=Ks)=>oe((()=>ef(e))),nf=e(2,((e,t)=>Fn(e,En(xn(Xd,t))))),rf=e=>Un(e,{differ:fd,fork:sd}),af=qn(Ur),of=rf(rd),uf=e(3,((e,t,n)=>lf(e,t,{onSelfWin:(e,t)=>Fe(e.await,(r=>{switch(r._tag){case Cn:return Fe(e.inheritAll,(()=>n.onSelfDone(r,t)));case An:return n.onSelfDone(r,t)}})),onOtherWin:(e,t)=>Fe(e.await,(r=>{switch(r._tag){case Cn:return Fe(e.inheritAll,(()=>n.onOtherDone(r,t)));case An:return n.onOtherDone(r,t)}}))}))),sf=e(2,((e,t)=>Yr((n=>uf(e,t,{onSelfDone:(e,t)=>Zr(e,{onFailure:e=>fe(Nl(t),js((t=>Jr(e,t)))),onSuccess:e=>fe(t,Xr(n),Je(e))}),onOtherDone:(e,t)=>Zr(e,{onFailure:e=>fe(Nl(t),js((t=>Jr(t,e)))),onSuccess:e=>fe(t,Xr(n),Je(e))})}))))),lf=e(3,((e,t,n)=>it(((r,a)=>{const i=a.runtimeFlags,o=vt(!0),u=$d(e,r,i,n.selfScope),s=$d(t,r,i,n.otherScope);return se((r=>{u.addObserver((()=>cf(u,s,n.onSelfWin,o,r))),s.addObserver((()=>cf(s,u,n.onOtherWin,o,r))),u.startFork(e),s.startFork(t)}),Rn(u.id(),s.id()))})))),cf=(e,t,n,r,a)=>{Bn(!0,!1)(r)&&a(n(e,t))},df=e(2,((e,t)=>pn((n=>Ft(n(e),{onFailure:e=>Ft(t,{onFailure:t=>xt(Dn(e,t)),onSuccess:()=>xt(e)}),onSuccess:e=>Je(t,e)}))))),ff=(e,t,n)=>Yr((r=>df(Fe(_d(na(e)),(e=>se((r=>{const a=t.map((e=>e.listeners.count)),i=()=>{a.every((e=>0===e))&&t.every((e=>"Pending"===e.result.state.current._tag||!("Done"!==e.result.state.current._tag||!$r(e.result.state.current.effect)||"Failure"!==e.result.state.current.effect._tag||!ra(e.result.state.current.effect.cause))))&&(o.forEach((e=>e())),n?.(),r(aa(e)))};e.addObserver((e=>{o.forEach((e=>e())),r(e)}));const o=t.map(((e,t)=>{const n=e=>{a[t]=e,i()};return e.listeners.addObserver(n),()=>e.listeners.removeObserver(n)}));return i(),oe((()=>{o.forEach((e=>e()))}))})))),xe((()=>{const e=t.flatMap((e=>e.state.completed?[]:[e]));return Xe(e,(e=>Zc(e.request,ia(r))))}))))),hf=oa,pf=ur,mf=Hn,vf=ca,bf=ra,gf=Yn,yf=da,Df=ua,wf=sa,Ff=la,Ef=Symbol.for("effect/ScheduleInterval"),xf={[Ef]:Ef,startMillis:0,endMillis:0},Af=(e,t)=>e>t?xf:{[Ef]:Ef,startMillis:e,endMillis:t},Cf=e(2,((e,t)=>kf(e,t)===e)),kf=e(2,((e,t)=>e.endMillis<=t.startMillis?e:t.endMillis<=e.startMillis?t:e.startMillis<t.startMillis?e:t.startMillis<e.startMillis?t:e.endMillis<=t.endMillis?e:t)),Rf=e(2,((e,t)=>{const n=Math.max(e.startMillis,t.startMillis),r=Math.min(e.endMillis,t.endMillis);return Af(n,r)})),Tf=xf,Sf=Cf,Mf=e=>e.startMillis>=e.endMillis,Of=Rf,Nf=Symbol.for("effect/ScheduleIntervals"),Bf=e=>({[Nf]:Nf,intervals:e}),If=e(2,((e,t)=>jf(e.intervals,t.intervals,N()))),jf=(e,t,n)=>{let r=e,a=t,i=n;for(;cn(r)&&cn(a);){const e=fe(dn(r),Of(dn(a))),t=Mf(e)?i:fe(i,re(e));fe(dn(r),Sf(dn(a)))?r=fn(r):a=fn(a),i=t}return Bf(ae(i))},_f=e=>fe(e.intervals,fa,Pe((()=>Tf))).startMillis,qf=e(2,((e,t)=>_f(e)<_f(t))),Pf=Bf,$f=If,zf=_f,Gf=e=>fe(e.intervals,fa,Pe((()=>Tf))).endMillis,Lf=qf,Hf="Continue",Uf="Done",Vf={_tag:Uf},Kf=e=>e._tag===Hf,Wf=e=>e._tag===Uf,Yf=ma,Zf=pa,Xf=ha,Jf=nf,Qf=Hr,eh=tf;class th{permits;waiters=new Set;taken=0;constructor(e){this.permits=e}get free(){return this.permits-this.taken}take=e=>va((t=>{if(this.free<e){const n=()=>{this.free<e||(this.waiters.delete(n),t(xe((()=>this.free<e?this.take(e):(this.taken+=e,ue(e))))))};return this.waiters.add(n),oe((()=>{this.waiters.delete(n)}))}t(xe((()=>this.free<e?this.take(e):(this.taken+=e,ue(e)))))}));updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.getFiberRef(vl).scheduleTask((()=>{const e=this.waiters.values();let t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()}),e.getFiberRef(Bt),e),ue(this.free)}updateTaken(e){return it((t=>this.updateTakenUnsafe(t,e)))}resize=e=>de(it((t=>(this.permits=e,this.free<0?ce:this.updateTakenUnsafe(t,(e=>e))))));release=e=>this.updateTaken((t=>t-e));releaseAll=this.updateTaken((()=>0));withPermits=e=>t=>pn((n=>Fe(n(this.take(e)),(e=>df(n(t),this.release(e))))));withPermitsIfAvailable=e=>t=>pn((n=>xe((()=>this.free<e?$s:(this.taken+=e,df(n((e=>Me(e,J))(t)),this.release(e)))))))}const nh=e=>new th(e),rh=e(2,((e,t)=>it(((n,r)=>{const a=t,i=qd(e,n,r.runtimeFlags,Tl);if("Open"===a.state._tag){const e=()=>Yr((e=>A(e,i.id())?ce:de(aa(i)))),t={};a.state.finalizers.set(t,e),i.addObserver((()=>{"Closed"!==a.state._tag&&a.state.finalizers.delete(t)}))}else i.unsafeInterruptAsFork(n.id());return ue(i)})))),ah=e(2,((e,t)=>fe(yn(e),sf(yn(t)),(e=>Pt(e))))),ih=Symbol.for("effect/Ref/SynchronizedRef"),oh={_A:e=>e};class uh extends bt{ref;withLock;[ih]=oh;[us]=ss;[os]=os;constructor(e,t){super(),this.ref=e,this.withLock=t,this.get=fs(this.ref)}get;commit(){return this.get}modify(e){return this.modifyEffect((t=>ue(e(t))))}modifyEffect(e){return this.withLock(fe(Fe(fs(this.ref),e),Fe((([e,t])=>Je(hs(this.ref,t),e)))))}}const sh=e=>{const t=cs(e),n=nh(1);return new uh(t,n.withPermits(1))},lh=Symbol.for("effect/ManagedRuntime"),ch=e=>e.await,dh=e=>e.inheritAll,fh=aa,hh=Xr,ph=Nl,mh=e=>function(){if(1===arguments.length){const t=arguments[0];return(n,...r)=>e(t,n,...r)}return e.apply(this,arguments)},vh=mh(((e,t,n)=>{const r=Mn(),a=[[On,[[r,e.context]]]];n?.scheduler&&a.push([vl,[[r,n.scheduler]]]);let i=ns(e.fiberRefs,{entries:a,forkAs:r});n?.updateRefs&&(i=n.updateRefs(i,r));const o=new kd(r,i,e.runtimeFlags);let u=t;n?.scope&&(u=Fe(Qf(n.scope,Ks),(e=>Et(ma(e,Yr((e=>A(e,o.id())?ce:Xr(o,e)))),hn(t,(t=>Xf(e,t)))))));const s=o.currentSupervisor;return s!==rd&&(s.onStart(e.context,u,Q(),o),o.addObserver((e=>s.onEnd(e,o)))),Tl.add(e.runtimeFlags,o),!1===n?.immediate?o.resume(u):o.start(u),o})),bh=Symbol.for("effect/Runtime/FiberFailure"),gh=Symbol.for("effect/Runtime/FiberFailure/Cause");class yh extends Error{[bh];[gh];constructor(e){const t=Da(e)[0];super(t?.message||"An error has occurred"),this[bh]=bh,this[gh]=e,this.name=t?`(FiberFailure) ${t.name}`:"FiberFailure",t?.stack&&(this.stack=t.stack)}toJSON(){return{_id:"FiberFailure",cause:this[gh].toJSON()}}toString(){return"(FiberFailure) "+Wr(this[gh],{renderErrorCause:!0})}[o](){return this.toString()}}const Dh=mh(((e,t,n)=>wh(e,t,n).then((e=>{switch(e._tag){case Cn:return e.effect_instruction_i0;case An:throw(e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new yh(e);return Error.stackTraceLimit=t,n})(e.effect_instruction_i0)}})))),wh=mh(((e,t,n)=>new Promise((r=>{const a=(e=>{const t=e;switch(t._op){case"Failure":case"Success":return t;case"Left":return H(t.left);case"Right":return L(t.right);case"Some":return L(t.value);case"None":return H(new pr)}})(t);a&&r(a);const i=vh(e)(t);i.addObserver((e=>{r(e)})),void 0!==n?.signal&&(n.signal.aborted?i.unsafeInterruptAsFork(i.id()):n.signal.addEventListener("abort",(()=>{i.unsafeInterruptAsFork(i.id())}),{once:!0}))}))));class Fh{context;runtimeFlags;fiberRefs;constructor(e,t,n){this.context=e,this.runtimeFlags=t,this.fiberRefs=n}pipe(){return i(this,arguments)}}const Eh=e=>new Fh(e.context,e.runtimeFlags,e.fiberRefs),xh=ba(zn,ya,ga),Ah=Eh({context:at(),runtimeFlags:xh,fiberRefs:rs()}),Ch=vh(Ah),kh=Dh(Ah),Rh=e(2,((e,t)=>e.modifyEffect(t))),Th=Symbol.for("effect/Layer"),Sh={[Th]:{_RIn:e=>e,_E:e=>e,_ROut:e=>e},pipe(){return i(this,arguments)}},Mh=Symbol.for("effect/Layer/MemoMap"),Oh=et()("effect/Layer/CurrentMemoMap",{defaultValue:()=>jh()}),Nh=e=>"Fresh"===e._op_layer;class Bh{ref;[Mh];constructor(e){this.ref=e,this[Mh]=Mh}getOrElseMemoize(e,t){return fe(Rh(this.ref,(n=>{const r=n.get(e);if(void 0!==r){const[e,a]=r,i=fe(e,Fe((([e,t])=>fe((e=>{return t=(t,n)=>fe(e,ks(t,n)),it((e=>(e.setFiberRefs(t(e.id(),e.getFiberRefs())),ce)));var t})(e),Je(t)))),hn(z({onFailure:()=>ce,onSuccess:()=>pa(t,a)})));return ue([i,n])}return fe(ds(0),Fe((r=>fe(B(),Fe((a=>fe(ds((()=>ce)),Me((i=>{const o=pn((o=>fe(tf(),Fe((u=>fe(o(Fe(Ph(e,u,!0),(e=>(e=>zs(e,Is,As))(e(this))))),yn,Fe((o=>{switch(o._tag){case An:return fe(_(a,o.effect_instruction_i0),Et(ha(u,o)),Et(xt(o.effect_instruction_i0)));case Cn:return fe(hs(i,(e=>fe(ha(u,e),Ea(ps(r,(e=>[1===e,e-1]))),de))),Et(ms(r,(e=>e+1))),Et(pa(t,(t=>fe(oe((()=>n.delete(e))),Et(fs(i)),Fe((e=>e(t))))))),Et(j(a,o.effect_instruction_i0)),Je(o.effect_instruction_i0[1]))}})))))))),u=[fe(I(a),hn(Zr({onFailure:()=>ce,onSuccess:()=>ms(r,(e=>e+1))}))),e=>fe(fs(i),Fe((t=>t(e))))];return[o,Nh(e)?n:n.set(e,u)]})))))))))})),Pt)}}const Ih=xe((()=>{return Me((e=new Map,oe((()=>sh(e)))),(e=>new Bh(e)));var e})),jh=()=>new Bh(sh(new Map)),_h=e(2,((e,t)=>Fe(Ih,(n=>qh(e,n,t))))),qh=e(3,((e,t,n)=>Fe(Ph(e,n),(e=>_s(e(t),Oh,t))))),Ph=(e,t,n=!1)=>{const r=e;switch(r._op_layer){case"Locally":return oe((()=>e=>r.f(e.getOrElseMemoize(r.self,t))));case"ExtendScope":return oe((()=>e=>{return t=t=>e.getOrElseMemoize(r.layer,t),Fe(Xd,t);var t}));case"Fold":return oe((()=>e=>fe(e.getOrElseMemoize(r.layer,t),Ft({onFailure:n=>e.getOrElseMemoize(r.failureK(n),t),onSuccess:n=>e.getOrElseMemoize(r.successK(n),t)}))));case"Fresh":return oe((()=>()=>fe(r.layer,_h(t))));case"FromEffect":return oe(n?()=>()=>r.effect:()=>n=>n.getOrElseMemoize(e,t));case"Provide":return oe((()=>e=>fe(e.getOrElseMemoize(r.first,t),Fe((n=>fe(e.getOrElseMemoize(r.second,t),kt(n)))))));case"Scoped":return oe(n?()=>()=>nf(r.effect,t):()=>n=>n.getOrElseMemoize(e,t));case"Suspend":return oe((()=>e=>e.getOrElseMemoize(r.evaluate(),t)));case"ProvideMerge":return oe((()=>e=>fe(e.getOrElseMemoize(r.first,t),Ca(e.getOrElseMemoize(r.second,t),r.zipK))));case"ZipWith":return Aa((function*(){const e=yield*Hr(t,Ws),n=yield*Hr(e,Ks),a=yield*Hr(e,Ks);return e=>fe(e.getOrElseMemoize(r.first,n),Zd(e.getOrElseMemoize(r.second,a),r.zipK,{concurrent:!0}))}));case"MergeAll":{const e=r.layers;return Me(Hr(t,Ws),(t=>n=>{const r=new Array(e.length);return Me(Id(e,ka((function*(e,a){const i=yield*Hr(t,Ks),o=yield*n.getOrElseMemoize(e,i);r[a]=o})),!1,!1),(()=>xa(...r)))}))}}},$h=e(2,((e,t)=>Ud((n=>Fe(_h(t,n),(t=>Fa(e,t))))))),zh=e(2,((e,t)=>{const n=Js(Ah.fiberRefs,t.fiberRefs),r=Gn(Ah.runtimeFlags,t.runtimeFlags);return pn((a=>it((i=>{const o=i.getFiberRef(On),u=i.getFiberRefs(),s=Qs(i.id(),u)(n),l=i.currentRuntimeFlags,c=or(r)(l),d=Js(s,u),f=Gn(c,l);return i.setFiberRefs(s),i.currentRuntimeFlags=c,df(Fa(a(e),En(o,t.context)),it((e=>(e.setFiberRefs(Qs(e.id(),e.getFiberRefs())(d)),e.currentRuntimeFlags=or(f)(e.currentRuntimeFlags),ce))))}))))})),Gh=e(2,((e,n)=>Array.isArray(n)?$h(e,((...e)=>{const t=Object.create(Sh);return t._op_layer="MergeAll",t.layers=e,t})(...n)):t(n,Th)?$h(e,n):wa(n)?Fa(e,n):lh in n?Fe(n.runtimeEffect,(t=>zh(e,t))):zh(e,n))),Lh=Symbol.for("effect/Schedule"),Hh=Symbol.for("effect/ScheduleDriver"),Uh={start:0,now:0,input:void 0,output:void 0,elapsed:pi,elapsedSincePrevious:pi,recurrence:0},Vh=et()("effect/Schedule/CurrentIterationMetadata",{defaultValue:()=>Uh}),Kh={_Out:e=>e,_In:e=>e,_R:e=>e},Wh={_Out:e=>e,_In:e=>e,_R:e=>e};class Yh{initial;step;[Lh]=Kh;constructor(e,t){this.initial=e,this.step=t}pipe(){return i(this,arguments)}}const Zh=(e,t,n,r)=>ms(e,(e=>0===e.recurrence?{now:t,input:n,output:r,recurrence:e.recurrence+1,elapsed:pi,elapsedSincePrevious:pi,start:t}:{now:t,input:n,output:r,recurrence:e.recurrence+1,elapsed:gi(t-e.start),elapsedSincePrevious:gi(t-e.now),start:e.start}));class Xh{schedule;ref;[Hh]=Wh;constructor(e,t){this.schedule=e,this.ref=t}get state(){return Me(fs(this.ref),(e=>e[1]))}get last(){return Fe(fs(this.ref),(([e,t])=>{switch(e._tag){case"None":return Ma((()=>new pr));case"Some":return ue(e.value)}}))}iterationMeta=cs(Uh);get reset(){return hs(this.ref,[Q(),this.schedule.initial]).pipe(qt(hs(this.iterationMeta,Uh)))}next(e){return fe(Me(fs(this.ref),(e=>e[1])),Fe((t=>fe(Lu,Fe((n=>fe(xe((()=>this.schedule.step(n,e,t))),Fe((([t,r,a])=>{const i=hs(this.ref,[J(r),t]);if(Wf(a))return i.pipe(Et(Ee(Q())));const o=zf(a.intervals)-n;if(o<=0)return i.pipe(Et(Zh(this.iterationMeta,n,e,r)),Je(r));const u=gi(o);return fe(i,Et(Zh(this.iterationMeta,n,e,r)),Et(Ps(u)),Je(r))})))))))))}}const Jh=(e,t)=>new Yh(e,t),Qh=e(2,((e,t)=>ep(e,((e,n)=>oe((()=>t(e,n))))))),ep=e(2,((e,t)=>Jh(e.initial,((n,r,a)=>Fe(e.step(n,r,a),(([e,n,a])=>Wf(a)?ue([e,n,Vf]):Me(t(r,n),(t=>t?[e,n,a]:[e,n,Vf])))))))),tp=e(2,((e,t)=>np(e,t,$f))),np=e(3,((e,t,n)=>Jh([e.initial,t.initial],((r,a,i)=>fe(Ca(e.step(r,a,i[0]),t.step(r,a,i[1]),((e,t)=>[e,t])),Fe((([[r,i,o],[u,s,l]])=>Kf(o)&&Kf(l)?rp(e,t,a,r,i,o.intervals,u,s,l.intervals,n):ue([[r,u],[i,s],Vf])))))))),rp=(e,t,n,r,a,i,o,u,s,l)=>{const c=l(i,s);return(e=>cn(e.intervals))(c)?ue([[r,o],[a,u],(d=c,{_tag:Hf,intervals:d})]):fe(i,Lf(s))?Fe(e.step(Gf(i),n,r),(([r,a,i])=>Wf(i)?ue([[r,o],[a,u],Vf]):rp(e,t,n,r,a,i.intervals,o,u,s,l))):Fe(t.step(Gf(s),n,o),(([o,u,s])=>Wf(s)?ue([[r,o],[a,u],Vf]):rp(e,t,n,r,a,i,o,u,s.intervals,l)));var d},ap=e(2,((e,t)=>ip(e,(e=>oe((()=>t(e))))))),ip=e(2,((e,t)=>Jh(e.initial,((n,r,a)=>Fe(e.step(n,r,a),(([e,n,r])=>Me(t(n),(t=>[e,t,r])))))))),op=(e,t)=>Jh(e,((e,n,r)=>oe((()=>{return[t(r),r,(a=e,n=Af(a,Number.POSITIVE_INFINITY),{_tag:Hf,intervals:Pf(S(n))})];var n,a})))),up=e(2,((e,t)=>ep(e,(e=>(e=>Me(e,(e=>!e)))(t(e)))))),sp=e(2,((e,t)=>ep(e,(e=>t(e))))),lp=e(2,((e,t)=>Qh(e,((e,n)=>t(n))))),cp=Symbol.for("effect/Schedule/ScheduleDefect");class dp{error;[cp];constructor(e){this.error=e,this[cp]=cp}}const fp=e=>ze(e,(e=>gr(new dp(e)))),hp=e(2,((e,t)=>mp(e,t,(e=>Ee(e))))),pp=e(2,((e,n)=>{if(t(n,Lh))return hp(e,n);const r=n.schedule??(e=>Jh(e.initial,((t,n,r)=>fe(e.step(t,n,r),Me((([e,t,r])=>[e,n,r]))))))(bp),a=n.while?sp(r,(e=>{const t=n.while(e);return"boolean"==typeof t?ue(t):fp(t)})):r,i=n.until?up(a,(e=>{const t=n.until(e);return"boolean"==typeof t?ue(t):fp(t)})):a,o=n.times?tp(i,(u=n.times,lp(bp,(e=>e<u)))).pipe(ap((e=>e[0]))):i;var u,s;return s=hp(e,o),Ra(s,(e=>xt((e=>w(Ta(e,(e=>ca(e)&&t(e.defect,cp)?J(e.defect):Q())),{onNone:()=>e,onSome:e=>oa(e.error)}))(e))))})),mp=e(3,((e,t,n)=>Fe((e=>fe(ds([Q(),e.initial]),Me((t=>new Xh(e,t)))))(t),(t=>wt(e,{onFailure:e=>n(e,Q()),onSuccess:r=>vp(qs(e,Vh,fs(t.iterationMeta)),t,((e,r)=>qs(n(e,r),Vh,fs(t.iterationMeta))),r)}))))),vp=(e,t,n,r)=>wt(t.next(r),{onFailure:()=>Sa(t.last),onSuccess:r=>wt(e,{onFailure:e=>n(e,J(r)),onSuccess:r=>vp(e,t,n,r)})}),bp=op(0,(e=>e+1)),gp=wn,yp=Od,Dp=Nd,wp=se,Fp=it,Ep=Ee,xp=xt,Ap=Ir,Cp=Aa,kp=ue,Rp=xe,Tp=oe,Sp=ce,Mp=ze,Op=Ra,Np=Ns,Bp=Oa,Ip=na,jp=Gr,_p=pn,qp=Je,Pp=de,$p=Me,zp=$e,Gp=Ba,Lp=df,Hp=Jd,Up=Ud,Vp=Yr,Kp=_d,Wp=rh,Yp=Gh,Zp=yn,Xp=Ia,Jp=Ls,Qp=Fe,em=Pt,tm=sf,nm=ah,rm=uf,am=Qt,im=Gs,om=e=>{const t=Fe(Fe(e,(()=>St())),(()=>t));return t},um=pp,sm=Bs,lm=Na,cm=Ft,dm=e=>oe((()=>nh(e))),fm=Ch,hm=kh,pm=Kd,mm=Wd,vm=Yd,bm=Zd,gm=Symbol.for("effect/QueueEnqueue"),ym=Symbol.for("effect/QueueDequeue"),Dm=Symbol.for("effect/QueueStrategy"),wm=Symbol.for("effect/BackingQueue"),Fm={_A:e=>e},Em={_A:e=>e},xm={_In:e=>e},Am={_Out:e=>e};class Cm extends bt{queue;takers;shutdownHook;shutdownFlag;strategy;[gm]=xm;[ym]=Am;constructor(e,t,n,r,a){super(),this.queue=e,this.takers=t,this.shutdownHook=n,this.shutdownFlag=r,this.strategy=a}pipe(){return i(this,arguments)}commit(){return this.take}capacity(){return this.queue.capacity()}get size(){return xe((()=>ze(this.unsafeSize(),(()=>Oa))))}unsafeSize(){return gt(this.shutdownFlag)?Q():J(this.queue.length()-Io(this.takers)+this.strategy.surplusSize())}get isEmpty(){return Me(this.size,(e=>e<=0))}get isFull(){return Me(this.size,(e=>e>=this.capacity()))}get shutdown(){return Gr(it((e=>(fe(this.shutdownFlag,yt(!0)),fe(Id(Pm(this.takers),(t=>$a(t,e.id())),!1,!1),Et(this.strategy.shutdown),Ea(j(this.shutdownHook,void 0)),de)))))}get isShutdown(){return oe((()=>gt(this.shutdownFlag)))}get awaitShutdown(){return I(this.shutdownHook)}isActive(){return!gt(this.shutdownFlag)}unsafeOffer(e){if(gt(this.shutdownFlag))return!1;let t;if(0===this.queue.length()){const n=fe(this.takers,Po(Mo));n!==Mo?(_m(n,e),t=!0):t=!1}else t=!1;if(t)return!0;const n=this.queue.offer(e);return Gm(this.strategy,this.queue,this.takers),n}offer(e){return xe((()=>{if(gt(this.shutdownFlag))return Oa;let t;if(0===this.queue.length()){const n=fe(this.takers,Po(Mo));n!==Mo?(_m(n,e),t=!0):t=!1}else t=!1;if(t)return ue(!0);const n=this.queue.offer(e);return Gm(this.strategy,this.queue,this.takers),n?ue(!0):this.strategy.handleSurplus([e],this.queue,this.takers,this.shutdownFlag)}))}offerAll(e){return xe((()=>{if(gt(this.shutdownFlag))return Oa;const t=Be(e),n=0===this.queue.length()?Be($m(this.takers,t.length)):_e,[r,a]=fe(t,ja(n.length));for(let e=0;e<n.length;e++)_m(n[e],r[e]);if(0===a.length)return ue(!0);const i=this.queue.offerAll(a);return Gm(this.strategy,this.queue,this.takers),_a(i)?ue(!0):this.strategy.handleSurplus(i,this.queue,this.takers,this.shutdownFlag)}))}get take(){return it((e=>{if(gt(this.shutdownFlag))return Oa;const t=this.queue.poll(Mo);if(t!==Mo)return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),ue(t);{const t=_n(e.id());return fe(xe((()=>(fe(this.takers,_o(t)),Gm(this.strategy,this.queue,this.takers),gt(this.shutdownFlag)?Oa:I(t)))),qa((()=>oe((()=>zm(this.takers,t))))))}}))}get takeAll(){return xe((()=>gt(this.shutdownFlag)?Oa:oe((()=>{const e=this.queue.pollUpTo(Number.POSITIVE_INFINITY);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),Qe(e)}))))}takeUpTo(e){return xe((()=>gt(this.shutdownFlag)?Oa:oe((()=>{const t=this.queue.pollUpTo(e);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),Qe(t)}))))}takeBetween(e,t){return xe((()=>km(this,e,t,N())))}}const km=(e,t,n,r)=>n<t?ue(r):fe(Nm(e,n),Fe((a=>{const i=t-a.length;return 1===i?fe(Om(e),Me((e=>fe(r,E(a),T(e))))):i>1?fe(Om(e),Fe((t=>km(e,i-1,n-a.length-1,fe(r,E(a),T(t)))))):ue(fe(r,E(a)))}))),Rm=(e,t)=>fe(B(),Me((n=>((e,t,n,r,a)=>new Cm(e,t,n,r,a))(e,Bo(),n,vt(!1),t))));class Tm{mutable;[wm]=Em;constructor(e){this.mutable=e}poll(e){return Po(this.mutable,e)}pollUpTo(e){return $o(this.mutable,e)}offerAll(e){return qo(this.mutable,e)}offer(e){return _o(this.mutable,e)}capacity(){return(e=>void 0===e.capacity?1/0:e.capacity)(this.mutable)}length(){return Io(this.mutable)}}const Sm=e=>new Tm(e),Mm=e(2,((e,t)=>e.offer(t))),Om=e=>e.take,Nm=e(2,((e,t)=>e.takeUpTo(t))),Bm=e(3,((e,t,n)=>e.takeBetween(t,n)));class Im{[Dm]=Fm;putters=Bo();surplusSize(){return Io(this.putters)}onCompleteTakersWithEmptyQueue(e){for(;!jo(this.putters)&&!jo(e);){const t=Po(e,void 0),n=Po(this.putters,void 0);n[2]&&_m(n[1],!0),_m(t,n[0])}}get shutdown(){return fe(za,Fe((e=>fe(oe((()=>Pm(this.putters))),Fe((t=>Id(t,(([t,n,r])=>r?fe($a(n,e),de):ce),!1,!1)))))))}handleSurplus(e,t,n,r){return it((a=>{const i=_n(a.id());return fe(xe((()=>(this.unsafeOffer(e,i),this.unsafeOnQueueEmptySpace(t,n),Gm(this,t,n),gt(r)?Oa:I(i)))),qa((()=>oe((()=>this.unsafeRemove(i))))))}))}unsafeOnQueueEmptySpace(e,t){let n=!0;for(;n&&(e.capacity()===Number.POSITIVE_INFINITY||e.length()<e.capacity());){const r=fe(this.putters,Po(Mo));if(r===Mo)n=!1;else{const n=e.offer(r[0]);n&&r[2]?_m(r[1],!0):n||qm(this.putters,fe(Pm(this.putters),re(r))),Gm(this,e,t)}}}unsafeOffer(e,t){const n=Be(e);for(let e=0;e<n.length;e++){const r=n[e];fe(this.putters,_o(e===n.length-1?[r,t,!0]:[r,t,!1]))}}unsafeRemove(e){qm(this.putters,fe(Pm(this.putters),Pa((([,t])=>t!==e))))}}class jm{[Dm]=Fm;surplusSize(){return 0}get shutdown(){return ce}onCompleteTakersWithEmptyQueue(){}handleSurplus(e,t,n,r){return ue(!1)}unsafeOnQueueEmptySpace(e,t){}}const _m=(e,t)=>tn(e,ue(t)),qm=(e,t)=>fe(e,qo(t)),Pm=e=>fe(e,$o(Number.POSITIVE_INFINITY)),$m=(e,t)=>fe(e,$o(t)),zm=(e,t)=>{qm(e,fe(Pm(e),Pa((e=>t!==e))))},Gm=(e,t,n)=>{let r=!0;for(;r&&0!==t.length();){const a=fe(n,Po(Mo));if(a!==Mo){const i=t.poll(Mo);i!==Mo?(_m(a,i),e.unsafeOnQueueEmptySpace(t,n)):qm(n,fe(Pm(n),re(a))),r=!0}else r=!1}r&&0===t.length()&&!jo(n)&&e.onCompleteTakersWithEmptyQueue(n)},Lm=e=>fe(oe((()=>No(e))),Fe((e=>Rm(Sm(e),new Im)))),Hm=()=>fe(oe((()=>Bo())),Fe((e=>Rm(Sm(e),new jm)))),Um=e=>e.shutdown,Vm=Mm,Km=Om,Wm=Bm,Ym="Continue",Zm=Symbol.for("effect/ChannelChildExecutorDecision"),Xm={[Zm]:Zm},Jm=()=>{const e=Object.create(Xm);return e._tag=Ym,e},Qm="ContinuationK",ev=Symbol.for("effect/ChannelContinuation"),tv={_Env:e=>e,_InErr:e=>e,_InElem:e=>e,_InDone:e=>e,_OutErr:e=>e,_OutDone:e=>e,_OutErr2:e=>e,_OutElem:e=>e,_OutDone2:e=>e};class nv{onSuccess;onHalt;_tag=Qm;[ev]=tv;constructor(e,t){this.onSuccess=e,this.onHalt=t}onExit(e){return no(e)?this.onHalt(e.cause):this.onSuccess(e.value)}}class rv{finalizer;_tag="ContinuationFinalizer";[ev]=tv;constructor(e){this.finalizer=e}}const av="PullAfterNext",iv=Symbol.for("effect/ChannelUpstreamPullStrategy"),ov={[iv]:{_A:e=>e}},uv=e=>{const t=Object.create(ov);return t._tag=av,t.emitSeparator=e,t},sv="BracketOut",lv="Bridge",cv="ConcatAll",dv="Emit",fv="Ensuring",hv="Fail",pv="Fold",mv="FromEffect",vv="PipeTo",bv="Read",gv="Succeed",yv="SucceedNow",Dv="Suspend",wv=Symbol.for("effect/Channel"),Fv={[wv]:{_Env:e=>e,_InErr:e=>e,_InElem:e=>e,_InDone:e=>e,_OutErr:e=>e,_OutElem:e=>e,_OutDone:e=>e},pipe(){return i(this,arguments)}},Ev=e=>t(e,wv)||gp(e),xv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=sv,n.acquire=()=>e,n.finalizer=t,n})),Av=(e,t,n)=>{const r=Object.create(Fv);return r._tag=cv,r.combineInners=t,r.combineAll=n,r.onPull=()=>uv(Q()),r.onEmit=()=>Jm,r.value=()=>e,r.k=kn,r},Cv=e(4,((e,t,n,r)=>{const a=Object.create(Fv);return a._tag=cv,a.combineInners=n,a.combineAll=r,a.onPull=()=>uv(Q()),a.onEmit=()=>Jm,a.value=()=>e,a.k=t,a})),kv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=lv,n.input=t,n.channel=e,n})),Rv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=fv,n.channel=e,n.finalizer=t,n})),Tv=e=>Sv(hf(e)),Sv=e=>Mv((()=>e)),Mv=e=>{const t=Object.create(Fv);return t._tag=hv,t.error=e,t},Ov=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=pv,n.channel=e,n.k=new nv(t,Sv),n})),Nv=e=>{const t=Object.create(Fv);return t._tag=mv,t.effect=()=>e,t},Bv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=vv,n.left=()=>e,n.right=()=>t,n})),Iv=e=>jv({onInput:e.onInput,onFailure:t=>Ga(Df(t),{onLeft:e.onFailure,onRight:Sv}),onDone:e.onDone}),jv=e=>{const t=Object.create(Fv);return t._tag=bv,t.more=e.onInput,t.done=new nv(e.onDone,e.onFailure),t},_v=e=>$v((()=>e)),qv=e=>{const t=Object.create(Fv);return t._tag=yv,t.terminal=e,t},Pv=e=>{const t=Object.create(Fv);return t._tag=Dv,t.channel=e,t},$v=e=>{const t=Object.create(Fv);return t._tag=gv,t.evaluate=e,t},zv=qv(void 0),Gv=e=>{const t=Object.create(Fv);return t._tag=dv,t.out=e,t},Lv="Done",Hv="Emit",Uv="FromEffect",Vv="Read",Kv=Symbol.for("effect/ChannelState"),Wv={[Kv]:{_E:e=>e,_R:e=>e}},Yv=()=>{const e=Object.create(Wv);return e._tag=Lv,e},Zv=()=>{const e=Object.create(Wv);return e._tag=Hv,e},Xv=e=>{const t=Object.create(Wv);return t._tag=Uv,t.effect=e,t},Jv=(e,t,n,r)=>{const a=Object.create(Wv);return a._tag=Vv,a.upstream=e,a.onEffect=t,a.onEmit=n,a.onDone=r,a},Qv=e=>e._tag===Uv,eb=e=>Qv(e)?(e=>Bs(e,{onFailure:At,onSuccess:At}))(e.effect):void 0,tb="PullFromChild",nb="PullFromUpstream",rb="DrainChildExecutors",ab="Emit";class ib{childExecutor;parentSubexecutor;onEmit;_tag=tb;constructor(e,t,n){this.childExecutor=e,this.parentSubexecutor=t,this.onEmit=n}close(e){const t=this.childExecutor.close(e),n=this.parentSubexecutor.close(e);return void 0!==t&&void 0!==n?bm(Zp(t),Zp(n),((e,t)=>fe(e,po(t)))):void 0!==t?t:void 0!==n?n:void 0}enqueuePullFromChild(e){return this}}class ob{upstreamExecutor;createChild;lastDone;activeChildExecutors;combineChildResults;combineWithChildResult;onPull;onEmit;_tag=nb;constructor(e,t,n,r,a,i,o,u){this.upstreamExecutor=e,this.createChild=t,this.lastDone=n,this.activeChildExecutors=r,this.combineChildResults=a,this.combineWithChildResult=i,this.onPull=o,this.onEmit=u}close(e){const t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map((t=>void 0!==t?t.childExecutor.close(e):void 0)),t].reduce(((e,t)=>void 0!==e&&void 0!==t?bm(e,Zp(t),((e,t)=>po(e,t))):void 0!==e?e:void 0!==t?Zp(t):void 0),void 0)}enqueuePullFromChild(e){return new ob(this.upstreamExecutor,this.createChild,this.lastDone,[...this.activeChildExecutors,e],this.combineChildResults,this.combineWithChildResult,this.onPull,this.onEmit)}}class ub{upstreamExecutor;lastDone;activeChildExecutors;upstreamDone;combineChildResults;combineWithChildResult;onPull;_tag=rb;constructor(e,t,n,r,a,i,o){this.upstreamExecutor=e,this.lastDone=t,this.activeChildExecutors=n,this.upstreamDone=r,this.combineChildResults=a,this.combineWithChildResult=i,this.onPull=o}close(e){const t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map((t=>void 0!==t?t.childExecutor.close(e):void 0)),t].reduce(((e,t)=>void 0!==e&&void 0!==t?bm(e,Zp(t),((e,t)=>po(e,t))):void 0!==e?e:void 0!==t?Zp(t):void 0),void 0)}enqueuePullFromChild(e){return new ub(this.upstreamExecutor,this.lastDone,[...this.activeChildExecutors,e],this.upstreamDone,this.combineChildResults,this.combineWithChildResult,this.onPull)}}class sb{value;next;_tag=ab;constructor(e,t){this.value=e,this.next=t}close(e){return this.next.close(e)}enqueuePullFromChild(e){return this}}const lb=Symbol.for("effect/ChannelUpstreamPullRequest"),cb={[lb]:{_A:e=>e}},db=e=>{const t=Object.create(cb);return t._tag="Pulled",t.value=e,t};class fb{_activeSubexecutor=void 0;_cancelled=void 0;_closeLastSubstream=void 0;_currentChannel;_done=void 0;_doneStack=[];_emitted=void 0;_executeCloseLastSubstream;_input=void 0;_inProgressFinalizer=void 0;_providedEnv;constructor(e,t,n){this._currentChannel=e,this._executeCloseLastSubstream=n,this._providedEnv=t}run(){let e;for(;void 0===e;)if(void 0!==this._cancelled)e=this.processCancellation();else if(void 0!==this._activeSubexecutor)e=this.runSubexecutor();else try{if(void 0===this._currentChannel)e=Yv();else switch(gp(this._currentChannel)&&(this._currentChannel=Nv(this._currentChannel)),this._currentChannel._tag){case sv:e=this.runBracketOut(this._currentChannel);break;case lv:{const t=this._currentChannel.input;if(this._currentChannel=this._currentChannel.channel,void 0!==this._input){const n=this._input;this._input=void 0;const r=()=>Qp(t.awaitRead(),(()=>Rp((()=>{const e=n.run();switch(e._tag){case Lv:return lo(n.getDone(),{onFailure:e=>t.error(e),onSuccess:e=>t.done(e)});case Hv:return Qp(t.emit(n.getEmit()),(()=>r()));case Uv:return cm(e.effect,{onFailure:e=>t.error(e),onSuccess:()=>r()});case Vv:return mb(e,(()=>r()),(e=>t.error(e)))}}))));e=Xv(Qp(Kp(Ip(r())),(e=>Tp((()=>this.addFinalizer((t=>Qp(fh(e),(()=>Rp((()=>{const e=this.restorePipe(t,n);return void 0!==e?e:Sp})))))))))))}break}case cv:{const e=new fb(this._currentChannel.value(),this._providedEnv,(e=>Tp((()=>{this._closeLastSubstream=fe(void 0===this._closeLastSubstream?Sp:this._closeLastSubstream,vm(e))}))));e._input=this._input;const t=this._currentChannel;this._activeSubexecutor=new ob(e,(e=>t.k(e)),void 0,[],((e,n)=>t.combineInners(e,n)),((e,n)=>t.combineAll(e,n)),(e=>t.onPull(e)),(e=>t.onEmit(e))),this._closeLastSubstream=void 0,this._currentChannel=void 0;break}case dv:this._emitted=this._currentChannel.out,this._currentChannel=void 0!==this._activeSubexecutor?void 0:zv,e=Zv();break;case fv:this.runEnsuring(this._currentChannel);break;case hv:e=this.doneHalt(this._currentChannel.error());break;case pv:this._doneStack.push(this._currentChannel.k),this._currentChannel=this._currentChannel.channel;break;case mv:{const t=void 0===this._providedEnv?this._currentChannel.effect():fe(this._currentChannel.effect(),Yp(this._providedEnv));e=Xv(cm(t,{onFailure:e=>{const t=this.doneHalt(e);return void 0!==t&&Qv(t)?t.effect:Sp},onSuccess:e=>{const t=this.doneSucceed(e);return void 0!==t&&Qv(t)?t.effect:Sp}}));break}case vv:{const e=this._input,t=new fb(this._currentChannel.left(),this._providedEnv,(e=>this._executeCloseLastSubstream(e)));t._input=e,this._input=t,this.addFinalizer((t=>{const n=this.restorePipe(t,e);return void 0!==n?n:Sp})),this._currentChannel=this._currentChannel.right();break}case"Provide":{const e=this._providedEnv;this._providedEnv=this._currentChannel.context(),this._currentChannel=this._currentChannel.inner,this.addFinalizer((()=>Tp((()=>{this._providedEnv=e}))));break}case bv:{const t=this._currentChannel;e=Jv(this._input,kn,(e=>{try{this._currentChannel=t.more(e)}catch(e){this._currentChannel=t.done.onExit(io(e))}}),(e=>{this._currentChannel=(e=>t.done.onExit(e))(e)}));break}case gv:e=this.doneSucceed(this._currentChannel.evaluate());break;case yv:e=this.doneSucceed(this._currentChannel.terminal);break;case Dv:this._currentChannel=this._currentChannel.channel()}}catch(e){this._currentChannel=Sv(pf(e))}return e}getDone(){return this._done}getEmit(){return this._emitted}cancelWith(e){this._cancelled=e}clearInProgressFinalizer(){this._inProgressFinalizer=void 0}storeInProgressFinalizer(e){this._inProgressFinalizer=e}popAllFinalizers(e){const t=[];let n=this._doneStack.pop();for(;n;)"ContinuationFinalizer"===n._tag&&t.push(n.finalizer),n=this._doneStack.pop();const r=0===t.length?Sp:pb(t,e);return this.storeInProgressFinalizer(r),r}popNextFinalizers(){const e=[];for(;0!==this._doneStack.length;){const t=this._doneStack[this._doneStack.length-1];if(t._tag===Qm)return e;e.push(t),this._doneStack.pop()}return e}restorePipe(e,t){const n=this._input;return this._input=t,void 0!==n?n.close(e):Sp}close(e){let t;const n=this._inProgressFinalizer;let r;void 0!==n&&(t=fe(n,Lp(Tp((()=>this.clearInProgressFinalizer())))));const a=this.popAllFinalizers(e);void 0!==a&&(r=fe(a,Lp(Tp((()=>this.clearInProgressFinalizer())))));const i=void 0===this._activeSubexecutor?void 0:this._activeSubexecutor.close(e);if(void 0!==i||void 0!==t||void 0!==r)return fe(Zp(hb(i)),pm(Zp(hb(t))),pm(Zp(hb(r))),$p((([[e,t],n])=>fe(e,po(t),po(n)))),jp,Qp((e=>Rp((()=>e)))))}doneSucceed(e){if(0===this._doneStack.length)return this._done=co(e),this._currentChannel=void 0,Yv();const t=this._doneStack[this._doneStack.length-1];if(t._tag===Qm)return this._doneStack.pop(),void(this._currentChannel=t.onSuccess(e));const n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=co(e),this._currentChannel=void 0,Yv();const r=pb(n.map((e=>e.finalizer)),co(e));this.storeInProgressFinalizer(r);const a=fe(r,Lp(Tp((()=>this.clearInProgressFinalizer()))),jp,Qp((()=>Tp((()=>this.doneSucceed(e))))));return Xv(a)}doneHalt(e){if(0===this._doneStack.length)return this._done=uo(e),this._currentChannel=void 0,Yv();const t=this._doneStack[this._doneStack.length-1];if(t._tag===Qm){this._doneStack.pop();try{this._currentChannel=t.onHalt(e)}catch(e){this._currentChannel=Sv(pf(e))}return}const n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=uo(e),this._currentChannel=void 0,Yv();const r=pb(n.map((e=>e.finalizer)),uo(e));this.storeInProgressFinalizer(r);const a=fe(r,Lp(Tp((()=>this.clearInProgressFinalizer()))),jp,Qp((()=>Tp((()=>this.doneHalt(e))))));return Xv(a)}processCancellation(){return this._currentChannel=void 0,this._done=this._cancelled,this._cancelled=void 0,Yv()}runBracketOut(e){const t=jp(cm(this.provide(e.acquire()),{onFailure:e=>Tp((()=>{this._currentChannel=Sv(e)})),onSuccess:t=>Tp((()=>{this.addFinalizer((n=>this.provide(e.finalizer(t,n)))),this._currentChannel=Gv(t)}))}));return Xv(t)}provide(e){return void 0===this._providedEnv?e:fe(e,Yp(this._providedEnv))}runEnsuring(e){this.addFinalizer(e.finalizer),this._currentChannel=e.channel}addFinalizer(e){this._doneStack.push(new rv(e))}runSubexecutor(){const e=this._activeSubexecutor;switch(e._tag){case tb:return this.pullFromChild(e.childExecutor,e.parentSubexecutor,e.onEmit,e);case nb:return this.pullFromUpstream(e);case rb:return this.drainChildExecutors(e);case ab:return this._emitted=e.value,this._activeSubexecutor=e.next,Zv()}}replaceSubexecutor(e){this._currentChannel=void 0,this._activeSubexecutor=e}finishWithExit(e){const t=lo(e,{onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)});return this._activeSubexecutor=void 0,void 0===t?Sp:(e=>Qv(e)?e.effect:Sp)(t)}finishSubexecutorWithCloseEffect(e,...t){this.addFinalizer((()=>fe(t,Dp((t=>fe(Tp((()=>t(e))),Qp((e=>void 0!==e?e:Sp)))),{discard:!0}))));const n=fe(e,lo({onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)}));return this._activeSubexecutor=void 0,n}applyUpstreamPullStrategy(e,t,n){switch(n._tag){case av:{const r=!e||t.some((e=>void 0!==e));return[n.emitSeparator,r?[void 0,...t]:t]}case"PullAfterAllEnqueued":{const r=!e||t.some((e=>void 0!==e));return[n.emitSeparator,r?[...t,void 0]:t]}}}pullFromChild(e,t,n,r){return Jv(e,kn,(a=>{const i=n(a);switch(i._tag){case Ym:break;case"Close":this.finishWithDoneValue(e,t,i.value);break;case"Yield":{const e=t.enqueuePullFromChild(r);this.replaceSubexecutor(e);break}}this._activeSubexecutor=new sb(a,this._activeSubexecutor)}),lo({onFailure:n=>{const r=this.handleSubexecutorFailure(e,t,n);return void 0===r?void 0:eb(r)},onSuccess:n=>{this.finishWithDoneValue(e,t,n)}}))}finishWithDoneValue(e,t,n){const r=t;switch(r._tag){case nb:{const t=new ob(r.upstreamExecutor,r.createChild,void 0!==r.lastDone?r.combineChildResults(r.lastDone,n):n,r.activeChildExecutors,r.combineChildResults,r.combineWithChildResult,r.onPull,r.onEmit);this._closeLastSubstream=e.close(co(n)),this.replaceSubexecutor(t);break}case rb:{const t=new ub(r.upstreamExecutor,void 0!==r.lastDone?r.combineChildResults(r.lastDone,n):n,r.activeChildExecutors,r.upstreamDone,r.combineChildResults,r.combineWithChildResult,r.onPull);this._closeLastSubstream=e.close(co(n)),this.replaceSubexecutor(t);break}}}handleSubexecutorFailure(e,t,n){return this.finishSubexecutorWithCloseEffect(uo(n),(e=>t.close(e)),(t=>e.close(t)))}pullFromUpstream(e){if(0===e.activeChildExecutors.length)return this.performPullFromUpstream(e);const t=e.activeChildExecutors[0],n=new ob(e.upstreamExecutor,e.createChild,e.lastDone,e.activeChildExecutors.slice(1),e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit);if(void 0===t)return this.performPullFromUpstream(n);this.replaceSubexecutor(new ib(t.childExecutor,n,t.onEmit))}performPullFromUpstream(e){return Jv(e.upstreamExecutor,(e=>{const t=void 0===this._closeLastSubstream?Sp:this._closeLastSubstream;return this._closeLastSubstream=void 0,fe(this._executeCloseLastSubstream(t),vm(e))}),(t=>{if(void 0!==this._closeLastSubstream){const n=this._closeLastSubstream;return this._closeLastSubstream=void 0,fe(this._executeCloseLastSubstream(n),$p((()=>{const n=new fb(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;const[r,a]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(db(t)));this._activeSubexecutor=new ib(n,new ob(e.upstreamExecutor,e.createChild,e.lastDone,a,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),ee(r)&&(this._activeSubexecutor=new sb(r.value,this._activeSubexecutor))})))}const n=new fb(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;const[r,a]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(db(t)));this._activeSubexecutor=new ib(n,new ob(e.upstreamExecutor,e.createChild,e.lastDone,a,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),ee(r)&&(this._activeSubexecutor=new sb(r.value,this._activeSubexecutor))}),(t=>{if(e.activeChildExecutors.some((e=>void 0!==e))){const t=new ub(e.upstreamExecutor,e.lastDone,[void 0,...e.activeChildExecutors],e.upstreamExecutor.getDone(),e.combineChildResults,e.combineWithChildResult,e.onPull);if(void 0!==this._closeLastSubstream){const e=this._closeLastSubstream;return this._closeLastSubstream=void 0,fe(this._executeCloseLastSubstream(e),$p((()=>this.replaceSubexecutor(t))))}return void this.replaceSubexecutor(t)}const n=this._closeLastSubstream,r=this.finishSubexecutorWithCloseEffect(fe(t,so((t=>e.combineWithChildResult(e.lastDone,t)))),(()=>n),(t=>e.upstreamExecutor.close(t)));return void 0===r?void 0:eb(r)}))}drainChildExecutors(e){if(0===e.activeChildExecutors.length){const t=this._closeLastSubstream;return void 0!==t&&this.addFinalizer((()=>kp(t))),this.finishSubexecutorWithCloseEffect(e.upstreamDone,(()=>t),(t=>e.upstreamExecutor.close(t)))}const t=e.activeChildExecutors[0],n=e.activeChildExecutors.slice(1);if(void 0===t){const[t,r]=this.applyUpstreamPullStrategy(!0,n,e.onPull((e=>{const t=Object.create(cb);return t._tag="NoUpstream",t.activeDownstreamCount=e,t})(n.reduce(((e,t)=>void 0!==t?e+1:e),0))));return this.replaceSubexecutor(new ub(e.upstreamExecutor,e.lastDone,r,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull)),ee(t)?(this._emitted=t.value,Zv()):void 0}const r=new ub(e.upstreamExecutor,e.lastDone,n,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull);this.replaceSubexecutor(new ib(t.childExecutor,r,t.onEmit))}}const hb=e=>void 0!==e?e:Sp,pb=(e,t)=>fe(Dp(e,(e=>Zp(e(t)))),$p((e=>fe(ao(e),Pe((()=>fo))))),Qp((e=>Rp((()=>e))))),mb=(e,t,n)=>{const r=[e],a=()=>{const e=r.pop();if(void 0===e||void 0===e.upstream)return Ap("Unexpected end of input for channel execution");const i=e.upstream.run();switch(i._tag){case Hv:{const i=e.onEmit(e.upstream.getEmit());return 0===r.length?void 0===i?Rp(t):fe(i,cm({onFailure:n,onSuccess:t})):void 0===i?Rp((()=>a())):fe(i,cm({onFailure:n,onSuccess:()=>a()}))}case Lv:{const i=e.onDone(e.upstream.getDone());return 0===r.length?void 0===i?Rp(t):fe(i,cm({onFailure:n,onSuccess:t})):void 0===i?Rp((()=>a())):fe(i,cm({onFailure:n,onSuccess:()=>a()}))}case Uv:return r.push(e),fe(e.onEffect(i.effect),Op((t=>Rp((()=>{const n=e.onDone(uo(t));return void 0===n?Sp:n})))),cm({onFailure:n,onSuccess:()=>a()}));case Vv:return r.push(e),r.push(i),Rp((()=>a()))}};return a()},vb=e(2,((e,t)=>_p((n=>yp([Qf(t,Ys),Xi(),Xi()]).pipe(Qp((([r,a,i])=>n(((t,n,r)=>Gp(Tp((()=>new fb(e,void 0,kn))),(e=>Rp((()=>bb(e.run(),e).pipe(Xp(t),vm(Ji(t)),mm(Ji(n)))))),((e,t)=>{const n=e.close(t);return void 0===n?Sp:im(n,(e=>Yf(r,xp(e))))})))(a,i,r)).pipe(Wp(t),Qp((e=>t.addFinalizer((t=>{const n=no(t)?yf(t.cause):void 0;return eo(a).pipe(Qp((t=>t?to(i,void 0).pipe(vm(ch(e)),vm(dh(e))):to(i,void 0).pipe(vm(n&&Qn(n)>0?hh(e,La(n)):fh(e)),vm(dh(e))))))})).pipe(vm(n(Ji(a)))))))))))))),bb=(e,t)=>{const n=e;switch(n._tag){case Uv:return fe(n.effect,Qp((()=>bb(t.run(),t))));case Hv:return bb(t.run(),t);case Lv:return Rp((()=>t.getDone()));case Vv:return mb(n,(()=>bb(t.run(),t)),xp)}},gb=Symbol.for("effect/ChannelMergeDecision"),yb={[gb]:{_R:e=>e,_E0:e=>e,_Z0:e=>e,_E:e=>e,_Z:e=>e}},Db=e=>{const t=Object.create(yb);return t._tag="Await",t.f=e,t},wb="BothRunning",Fb="LeftDone",Eb="RightDone",xb=Symbol.for("effect/ChannelMergeState"),Ab={[xb]:xb},Cb=(e,t)=>{const n=Object.create(Ab);return n._tag=wb,n.left=e,n.right=t,n},kb=e=>{const t=Object.create(Ab);return t._tag=Fb,t.f=e,t},Rb=e=>{const t=Object.create(Ab);return t._tag=Eb,t.f=e,t},Tb="BackPressure",Sb="BufferSliding",Mb=Symbol.for("effect/ChannelMergeStrategy"),Ob={[Mb]:Mb},Nb=()=>{const e=Object.create(Ob);return e._tag=Tb,e},Bb=()=>{const e=Object.create(Ob);return e._tag=Sb,e},Ib=e(2,((e,{onBackPressure:t,onBufferSliding:n})=>{switch(e._tag){case Tb:return t();case Sb:return n()}})),jb="Empty",_b="Emit",qb="Error",Pb="Done",$b=e=>({_tag:jb,notifyProducer:e}),zb=e=>({_tag:_b,notifyConsumers:e}),Gb=e=>({_tag:qb,cause:e}),Lb=e=>({_tag:Pb,done:e});class Hb{ref;constructor(e){this.ref=e}awaitRead(){return em(gs(this.ref,(e=>e._tag===jb?[Ji(e.notifyProducer),e]:[Sp,e])))}get close(){return Vp((e=>this.error(mf(e))))}done(e){return em(gs(this.ref,(t=>{switch(t._tag){case jb:return[Ji(t.notifyProducer),t];case _b:return[Dp(t.notifyConsumers,(t=>to(t,ge(e))),{discard:!0}),Lb(e)];case qb:case Pb:return[Bp,t]}})))}emit(e){return Qp(Xi(),(t=>em(gs(this.ref,(n=>{switch(n._tag){case jb:return[Ji(n.notifyProducer),n];case _b:{const r=n.notifyConsumers[0],a=n.notifyConsumers.slice(1);if(void 0!==r)return[to(r,we(e)),0===a.length?$b(t):zb(a)];throw new Error("Bug: Channel.SingleProducerAsyncInput.emit - Queue was empty! please report an issue at https://github.com/Effect-TS/effect/issues")}case qb:case Pb:return[Bp,n]}})))))}error(e){return em(gs(this.ref,(t=>{switch(t._tag){case jb:return[Ji(t.notifyProducer),t];case _b:return[Dp(t.notifyConsumers,(t=>Qi(t,e)),{discard:!0}),Gb(e)];case qb:case Pb:return[Bp,t]}})))}get take(){return this.takeWith((e=>uo(Ff(e,ge))),(e=>co(e)),(e=>oo(we(e))))}takeWith(e,t,n){return Qp(Xi(),(r=>em(gs(this.ref,(a=>{switch(a._tag){case jb:return[vm(to(a.notifyProducer,void 0),lm(Ji(r),{onFailure:e,onSuccess:Ga({onLeft:n,onRight:t})})),zb([r])];case _b:return[lm(Ji(r),{onFailure:e,onSuccess:Ga({onLeft:n,onRight:t})}),zb([...a.notifyConsumers,r])];case qb:return[kp(e(a.cause)),a];case Pb:return[kp(n(a.done)),a]}})))))}}const Ub=()=>fe(Xi(),Qp((e=>vs($b(e)))),$p((e=>new Hb(e)))),Vb=e(2,((e,t)=>Cv(e,t,(()=>{}),(()=>{})))),Kb=e=>{const t=jv({onInput:()=>t,onFailure:Sv,onDone:_v});return Bv(e,t)},Wb=e(2,((e,t)=>Rv(e,(()=>t)))),Yb=e=>ug(e.takeWith(Sv,(t=>Ov(Gv(t),(()=>Yb(e)))),_v)),Zb=()=>Iv({onInput:e=>Ov(Gv(e),(()=>Zb())),onFailure:Tv,onDone:qv}),Xb=e(2,((e,t)=>Ov(e,(e=>$v((()=>t(e))))))),Jb=e(2,((e,t)=>{const n=Iv({onInput:e=>Ov(Gv(t(e)),(()=>n)),onFailure:Tv,onDone:qv});return Bv(e,n)})),Qb=e(3,((e,t,n)=>lg((r=>Cp((function*(){const a=yield*Ub(),i=Yb(a),o=yield*Lm(n);yield*Yf(r,Um(o));const u=yield*Xi(),s=n===Number.POSITIVE_INFINITY?()=>kn:(yield*dm(n)).withPermits,l=yield*i.pipe(Bv(e),ig(r));yield*l.pipe(cm({onFailure:e=>Vm(o,xp(e)),onSuccess:Ga({onLeft:e=>vm(Ip(s(n)(Sp)),Pp(Vm(o,kp(ge(e))))),onRight:e=>Cp((function*(){const n=yield*Xi(),a=yield*Xi();yield*Vm(o,$p(Ji(n),we)),yield*to(a,void 0).pipe(vm(_p((n=>Zp(n(Ji(u))).pipe(nm(Zp(n(t(e)))),Qp(kn)))).pipe(im((e=>Qi(u,e))),Xp(n))),s(1),Wp(r)),yield*Ji(a)}))})}),om,Ip,Wp(r));const c=ug(lm(em(Km(o)),{onFailure:Sv,onSuccess:Ga({onLeft:qv,onRight:e=>Ov(Gv(e),(()=>c))})}));return kv(c,a)})))))),eg=e(3,((e,t,n)=>(e=>t=>(({bufferSize:e=16,concurrency:t,mergeStrategy:n=Nb()})=>(r,a)=>lg((i=>Cp((function*(){const o="unbounded"===t?Number.MAX_SAFE_INTEGER:t,u=yield*Ub(),s=Yb(u),l=yield*Lm(e);yield*Yf(i,Um(l));const c=yield*Hm();yield*Yf(i,Um(c));const d=yield*vs(Q()),f=yield*Xi(),h=(yield*dm(o)).withPermits,p=yield*ig(Bv(s,r),i);function m(e){return e.pipe(Qp(Ga({onLeft:e=>kp(J(e)),onRight:e=>qp(Vm(l,kp(we(e))),Q())})),um({until:e=>ee(e)}),Qp((e=>ys(d,w({onNone:()=>J(e.value),onSome:t=>J(a(t,e.value))})))),Op((e=>bf(e)?xp(e):Vm(l,xp(e)).pipe(vm(to(f,void 0)),Pp))))}yield*p.pipe(cm({onFailure:e=>Vm(l,xp(e)).pipe(vm(kp(!1))),onSuccess:Ga({onLeft:e=>rm(Ip(Ji(f)),Ip(h(o)(Sp)),{onSelfDone:(e,t)=>qp(fh(t),!1),onOtherDone:(t,n)=>vm(fh(n),bs(d).pipe(Qp(w({onNone:()=>Vm(l,kp(ge(e))),onSome:t=>Vm(l,kp(ge(a(t,e))))})),qp(!1)))}),onRight:e=>Ib(n,{onBackPressure:()=>Cp((function*(){const t=yield*Xi(),n=Up((t=>ig(Bv(s,e),t).pipe(Qp((e=>tm(Zp(m(e)),Zp(Ip(Ji(f)))))),Qp(kn))));return yield*to(t,void 0).pipe(vm(n),h(1),Wp(i)),yield*Ji(t),!(yield*eo(f))})),onBufferSliding:()=>Cp((function*(){const t=yield*Xi(),n=yield*Xi(),r=yield*(e=>e.size)(c);yield*Km(c).pipe(Qp((e=>to(e,void 0))),Jp((()=>r>=o))),yield*Vm(c,t);const a=Up((n=>ig(Bv(s,e),n).pipe(Qp((e=>Zp(m(e)).pipe(tm(Zp(Ip(Ji(f)))),tm(Zp(Ip(Ji(t))))))),Qp(kn))));return yield*to(n,void 0).pipe(vm(a),h(1),Wp(i)),yield*Ji(n),!(yield*eo(f))}))})})}),um({while:e=>e}),Wp(i));const v=fe(Km(l),em,lm({onFailure:Sv,onSuccess:Ga({onLeft:qv,onRight:e=>Ov(Gv(e),(()=>v))})}),ug);return kv(v,u)})))))(e)(t,At))(n)(Jb(e,t)))),tg=e(2,((e,t)=>lg((function(n){return Cp((function*(){const r=yield*Ub(),a=Yb(r),i=yield*ig(Bv(a,e),n),o=yield*ig(Bv(a,t.other),n);function u(e,t,r){return(a,i,o)=>{function u(e){const n=e;return"Done"===n._tag?kp(Nv(vm(fh(t),n.effect))):$p(ch(t),lo({onFailure:e=>Nv(n.f(uo(e))),onSuccess:Ga({onLeft:e=>Nv(n.f(co(e))),onRight:e=>hg(Gv(e),s(o(n.f)))})}))}return lo(e,{onFailure:e=>u(a(uo(e))),onSuccess:Ga({onLeft:e=>u(a(co(e))),onRight:e=>kp(Ov(Gv(e),(()=>Ov(Nv(Wp(Ip(r),n)),(e=>s(i(e,t)))))))})})}}function s(e){switch(e._tag){case wb:{const n=Ip(ph(e.left)),r=Ip(ph(e.right));return ug(rm(n,r,{onSelfDone:(n,r)=>vm(fh(r),u(n,e.right,i)(t.onSelfDone,Cb,(e=>kb(e)))),onOtherDone:(n,r)=>vm(fh(r),u(n,e.left,o)(t.onOtherDone,((e,t)=>Cb(t,e)),(e=>Rb(e))))}))}case Fb:return ug($p(Zp(o),lo({onFailure:t=>Nv(e.f(uo(t))),onSuccess:Ga({onLeft:t=>Nv(e.f(co(t))),onRight:t=>Ov(Gv(t),(()=>s(kb(e.f))))})})));case Eb:return ug($p(Zp(i),lo({onFailure:t=>Nv(e.f(uo(t))),onSuccess:Ga({onLeft:t=>Nv(e.f(co(t))),onRight:t=>Ov(Gv(t),(()=>s(Rb(e.f))))})})))}}return Nv(Fp((e=>{const t=Fp((t=>(t.transferChildren(e.scope()),Sp))),r=Ip(i).pipe(Lp(t),Wp(n)),a=Ip(o).pipe(Lp(t),Wp(n));return bm(r,a,((e,t)=>Cb(e,t)))}))).pipe(Ov(s),kv(r))}))})))),ng=e(2,((e,t)=>Pv((()=>{let n;const r=Iv({onInput:e=>Ov(Gv(e),(()=>r)),onFailure:e=>(n=mg(e),Sv(pf(n))),onDone:qv}),a=jv({onInput:e=>fe(Gv(e),Ov((()=>a))),onFailure:e=>vf(e)&&vg(e.defect)&&A(e.defect,n)?Tv(e.defect.error):Sv(e),onDone:qv});return Bv(Bv(Bv(e,r),t),a)})))),rg=e=>(e=>Up((t=>vb(e,t))))(Kb(e)),ag=e=>sg($p(Hp,(t=>Ov(Nv(e(t)),Gv)))),ig=e(2,((e,t)=>pm(Tp((()=>new fb(e,void 0,kn))),it(((e,t)=>ue(new Fh(e.getFiberRef(On),t.runtimeFlags,e.getFiberRefs()))))).pipe(am((([e,n])=>Zf(t,(t=>{const r=e.close(t);return void 0!==r?Yp(r,n):Sp})))),jp,$p((([e])=>Rp((()=>og(e.run(),e)))))))),og=(e,t)=>{const n=e;switch(n._tag){case Lv:return lo(t.getDone(),{onFailure:xp,onSuccess:e=>kp(ge(e))});case Hv:return kp(we(t.getEmit()));case Uv:return fe(n.effect,Qp((()=>og(t.run(),t))));case Vv:return mb(n,(()=>og(t.run(),t)),(e=>xp(e)))}},ug=e=>(e=>Ov(e,kn))(Nv(e)),sg=e=>{return Av((t=e,ug(_p((e=>$p(eh(),(n=>xv(im(e(Jf(t,n)),(e=>Xf(n,uo(e)))),((e,t)=>Xf(n,t))))))))),(e=>e),(e=>e));var t},lg=e=>Av(ag(e),(e=>e),(e=>e)),cg=e=>dg(0,e.length,e),dg=(e,t,n)=>e===t?zv:fe(Gv(fe(n,Ha(e))),Ov((()=>dg(e+1,t,n)))),fg=e((e=>Ev(e[1])),((e,t,n)=>n?.concurrent?tg(e,{other:t,onSelfDone:e=>Db((t=>Rp((()=>ho(e,t))))),onOtherDone:e=>Db((t=>Rp((()=>ho(t,e)))))}):Ov(e,(e=>Xb(t,(t=>[e,t])))))),hg=e((e=>Ev(e[1])),((e,t,n)=>n?.concurrent?Xb(fg(e,t,{concurrent:!0}),(e=>e[1])):Ov(e,(()=>t)))),pg=Symbol.for("effect/Channel/ChannelException"),mg=e=>({_tag:"ChannelException",[pg]:pg,error:e}),vg=e=>t(e,pg),bg=Symbol.for("effect/Sink"),gg={_A:e=>e,_In:e=>e,_L:e=>e,_E:e=>e,_R:e=>e};class yg{channel;[bg]=gg;constructor(e){this.channel=e}pipe(){return i(this,arguments)}}const Dg=new yg(Kb(Zb())),wg=e=>gp(e)?wg(new yg(Nv(e))):e.channel,Fg=Symbol.for("effect/Take"),Eg={_A:e=>e,_E:e=>e};class xg{exit;[Fg]=Eg;constructor(e){this.exit=e}pipe(){return i(this,arguments)}}const Ag=e=>new xg(co(e)),Cg=new xg(oo(Q())),kg=Symbol.for("effect/Stream"),Rg={_R:e=>e,_E:e=>e,_A:e=>e};class Tg{channel;[kg]=Rg;constructor(e){this.channel=e}pipe(){return i(this,arguments)}}const Sg=e=>t(e,kg)||gp(e),Mg=e(2,((e,t)=>new Tg(fe(_g(e),Wb(t))))),Og=e((e=>Sg(e[0])),((e,t,n)=>{const r=n?.bufferSize??16;return n?.switch?Ng(n?.concurrency,(()=>Bg(e,1,r,t)),(n=>Bg(e,n,r,t))):Ng(n?.concurrency,(()=>new Tg(Vb(_g(e),(e=>fe(e,Va((e=>_g(t(e)))),Ua(zv,((e,t)=>fe(e,hg(t))))))))),(()=>new Tg(fe(_g(e),Vb(cg),eg((e=>_g(t(e))),n)))))})),Ng=(e,t,n)=>{switch(e){case void 0:return t();case"unbounded":return n(Number.MAX_SAFE_INTEGER);default:return e>1?n(e):t()}},Bg=e(4,((e,t,n,r)=>new Tg(fe(_g(e),Vb(cg),eg((e=>_g(r(e))),{concurrency:t,mergeStrategy:Bb(),bufferSize:n}))))),Ig=e((e=>Sg(e[0])),((e,t)=>Og(e,kn,t))),jg=e=>(e=>{const t=jv({onInput:e=>Ov(cg(e),(()=>t)),onFailure:Sv,onDone:()=>zv});return new Tg(fe(_g(e),Bv(t)))})((e=>{const t=jv({onInput:e=>((e,t)=>{const[n,r]=fe(e,Ka((e=>!ro(e)))),a=fe(fa(r),w({onNone:()=>t,onSome:lo({onFailure:e=>w(wf(e),{onNone:()=>zv,onSome:Sv}),onSuccess:()=>zv})}));return fe(Gv(fe(n,Wa((e=>ro(e)?J(e.value):Q())))),Ov((()=>a)))})(e,t),onFailure:e=>Sv(e),onDone:()=>zv});return new Tg(fe(_g(e),Bv(t)))})(fe(e,zg((e=>e.exit))))),_g=e=>{if("channel"in e)return e.channel;if(gp(e))return _g(qg(e));throw new TypeError("Expected a Stream.")},qg=e=>fe(e,zp(J),Pg),Pg=e=>new Tg(ug(sm(e,{onFailure:w({onNone:()=>zv,onSome:Tv}),onSuccess:e=>Gv(S(e))}))),$g=(e,t)=>fe(Wm(e,1,t?.maxChunkSize??4096),Op((t=>fe((e=>e.isShutdown)(e),Qp((e=>e&&bf(t)?Ep(Q()):(e=>zp(xp(e),J))(t)))))),Hg,t?.shutdown?Mg(Um(e)):kn),zg=e(2,((e,t)=>new Tg(fe(_g(e),Jb(Va(t)))))),Gg=e(2,((e,t)=>{const n=e=>{const r=e.next();return r.done?jv({onInput:e=>n(e[Symbol.iterator]()),onFailure:Sv,onDone:_v}):ug($p(t(r.value),(t=>Ov(Gv(S(t)),(()=>n(e))))))};return new Tg(fe(_g(e),Bv(Pv((()=>n(N()[Symbol.iterator]()))))))})),Lg=e(3,((e,t,n)=>new Tg(fe(_g(e),Vb(cg),Qb(n,t),Jb(S))))),Hg=e=>Vg(e,(e=>fe($p(e,(t=>J([t,e]))),Mp(w({onNone:()=>kp(Q()),onSome:Ep}))))),Ug=e(2,((e,t)=>_g(e).pipe(ng(wg(t)),rg))),Vg=(e,t)=>{return n=()=>{const n=e=>ug($p(t(e),w({onNone:()=>zv,onSome:([e,t])=>Ov(Gv(e),(()=>n(t)))})));return new Tg(n(e))},new Tg(Pv((()=>_g(n()))));var n},Kg=Symbol.for("effect/GroupBy"),Wg={_R:e=>e,_E:e=>e,_K:e=>e,_V:e=>e},Yg=e((e=>t(e[0],Kg)),((e,t,n)=>Og(e.grouped,(([e,n])=>t(e,jg($g(n,{shutdown:!0})))),{concurrency:"unbounded",bufferSize:n?.bufferSize??16}))),Zg=e=>({[Kg]:Wg,pipe(){return i(this,arguments)},grouped:e}),Xg=e((e=>"function"!=typeof e[0]),((e,t,n)=>n?.key?Yg(Jg(e,n.key,{bufferSize:n.bufferSize}),((e,n)=>Gg(n,t))):Ng(n?.concurrency,(()=>Gg(e,t)),(r=>n?.unordered?Og(e,(e=>qg(t(e))),{concurrency:r}):Lg(e,r,t))))),Jg=e((e=>"function"!=typeof e[0]),((e,t,n)=>{const r=(e,a)=>jv({onInput:i=>Ov(Nv(Dp(Qg(i,t),(([t,r])=>{const i=e.get(t);return void 0===i?fe(Lm(n?.bufferSize??16),Qp((n=>fe(Tp((()=>{e.set(t,n)})),vm(Vm(a,new xg(co(S([t,n]))))),vm(fe(Vm(n,Ag(r)),Np((e=>gf(e)?J(Sp):Q())))))))):Np(Vm(i,Ag(r)),(e=>gf(e)?J(Sp):Q()))}),{discard:!0})),(()=>r(e,a))),onFailure:e=>Nv(Vm(a,(e=>new xg(uo(fe(e,Ff(J)))))(e))),onDone:()=>Nv(fe(Dp(e.entries(),(([e,t])=>fe(Vm(t,Cg),Np((e=>gf(e)?J(Sp):Q())))),{discard:!0}),vm(Vm(a,Cg))))});return Zg((e=>Ig((e=>new Tg(ag((t=>e(t).pipe($p(S))))))((t=>e(t)))))((t=>Cp((function*(){const n=new Map,a=yield*Hm();return yield*Yf(t,Um(a)),yield*_g(e).pipe(Bv(r(n,a)),Kb,vb(t),Wp(t),qp(jg($g(a,{shutdown:!0}))))})))))})),Qg=e(2,((e,t)=>{const n=[],r=e[Symbol.iterator](),a=new Map;let i;for(;(i=r.next())&&!i.done;){const e=i.value,r=t(e);if(a.has(r))a.get(r).push(e);else{const t=[e];n.push([r,t]),a.set(r,t)}}return $t(n.map((e=>[e[0],$t(e[1])])))})),ey=$g,ty=Xg;var ny,ry,ay={exports:{}},iy=(ny||(ny=1,ry=ay,function e(t){var n=t,r=t.document;function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=i||{};i.version="4.11.3","object"===a(ry)&&ry.exports&&"function"==typeof e.toString&&(i.source="("+e.toString()+')(typeof window === "object" ? window : this);',ry.exports=i),"function"==typeof t.getComputedStyle&&(t.axe=i);var o=["precision","format","inGamut"],u=["space"],s=["algorithm"],l=["method"],c=["maxDeltaE","deltaEMethod","steps","maxSteps"],d=["node"],f=["relatedNodes"],h=["node"],p=["variant"],m=["matches"],v=["chromium"],b=["noImplicit"],g=["noPresentational"],y=["node"],D=["environmentData"],w=["environmentData"],F=["environmentData"],E=["environmentData"],x=["environmentData"];function A(e){var t="function"==typeof Map?new Map:void 0;return A=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return k(e,arguments,M(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),N(n,e)},A(e)}function C(e,t,n){return(t=Y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t,n){if(S())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&N(a,n.prototype),a}function R(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)-1===t.indexOf(n=i[r])&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function T(e,t,n){return t=M(t),function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,S()?Reflect.construct(t,n||[],M(e).constructor):t.apply(e,n))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function O(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}function N(e,t){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},N(e,t)}function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(null,arguments)}function I(e){return function(e){if(Array.isArray(e))return J(e)}(e)||j(e)||X(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _(e,t,n){P(e,t),t.set(e,n)}function q(e,t){P(e,t),t.add(e)}function P(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $(e,t){return e.get(G(e,t))}function z(e,t,n){return e.set(G(e,t),n),n}function G(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function L(e,t){return U(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,u=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return u}}(e,t)||X(e,t)||H()}function H(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function U(e){if(Array.isArray(e))return e}function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Y(r.key),r)}}function W(e,t,n){return t&&K(e.prototype,t),n&&K(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Y(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==a(t)?t:t+""}function Z(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=X(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw i}}}}function X(e,t){if(e){if("string"==typeof e)return J(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(e,t):void 0}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}!function(e,S,M,N,P,K,Y,Q,ee,te,ne){var re=Object.create,ae=Object.defineProperty,ie=Object.getPrototypeOf,oe=Object.prototype.hasOwnProperty,ue=Object.getOwnPropertyNames,se=Object.getOwnPropertyDescriptor,le=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},ce=function(e,t){for(var n in t)ae(e,n,{get:t[n],enumerable:!0})},de=function(e){return function(e,t,n){if(t&&"object"===a(t)||"function"==typeof t){var r,i=Z(ue(t));try{var o=function(){var a=r.value;oe.call(e,a)||"default"===a||ae(e,a,{get:function(){return t[a]},enumerable:!(n=se(t,a))||n.enumerable})};for(i.s();!(r=i.n()).done;)o()}catch(e){i.e(e)}finally{i.f()}}return e}((t=ae(null!=e?re(ie(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),ae(t,"__esModule",{value:!0})),e);var t},fe=function(e,t,n){return function(e,t,n){t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==a(t)?t+"":t,n),n},he=le((function(e,i){var o,u;o=e,u=function(){function e(e){return"function"==typeof e}var i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,u=void 0,s=void 0,l=function(e,t){v[o]=e,v[o+1]=t,2===(o+=2)&&(s?s(b):F())},c=void 0!==t?t:void 0,d=c||{},f=d.MutationObserver||d.WebKitMutationObserver,h="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(b,1)}}var v=new Array(1e3);function b(){for(var e=0;e<o;e+=2)(0,v[e])(v[e+1]),v[e]=void 0,v[e+1]=void 0;o=0}var g,y,D,w,F=void 0;function E(e,t){var n=this,r=new this.constructor(C);void 0===r[A]&&P(r);var a=n._state;if(a){var i=arguments[a-1];l((function(){return _(a,r,i,n._result)}))}else I(n,r,e,t);return r}function x(e){if(e&&"object"===a(e)&&e.constructor===this)return e;var t=new this(C);return M(t,e),t}h?F=function(){return process.nextTick(b)}:f?(y=0,D=new f(b),w=r.createTextNode(""),D.observe(w,{characterData:!0}),F=function(){w.data=y=++y%2}):p?((g=new MessageChannel).port1.onmessage=b,F=function(){return g.port2.postMessage(0)}):F=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(u=e.runOnLoop||e.runOnContext)?function(){u(b)}:m()}catch(e){return m()}}():m();var A=Math.random().toString(36).substring(2);function C(){}var k=void 0,R=1,T=2;function S(t,n,r){n.constructor===t.constructor&&r===E&&n.constructor.resolve===x?function(e,t){t._state===R?N(e,t._result):t._state===T?B(e,t._result):I(t,void 0,(function(t){return M(e,t)}),(function(t){return B(e,t)}))}(t,n):void 0===r?N(t,n):e(r)?function(e,t,n){l((function(e){var r=!1,a=function(n,a){try{n.call(a,(function(n){r||(r=!0,t!==n?M(e,n):N(e,n))}),(function(t){r||(r=!0,B(e,t))}))}catch(e){return e}}(n,t);!r&&a&&(r=!0,B(e,a))}),e)}(t,n,r):N(t,n)}function M(e,t){if(e===t)B(e,new TypeError("You cannot resolve a promise with itself"));else if(i=a(r=t),null===r||"object"!==i&&"function"!==i)N(e,t);else{var n=void 0;try{n=t.then}catch(t){return void B(e,t)}S(e,t,n)}var r,i}function O(e){e._onerror&&e._onerror(e._result),j(e)}function N(e,t){e._state===k&&(e._result=t,e._state=R,0!==e._subscribers.length&&l(j,e))}function B(e,t){e._state===k&&(e._state=T,e._result=t,l(O,e))}function I(e,t,n,r){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+R]=n,a[i+T]=r,0===i&&e._state&&l(j,e)}function j(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,a=void 0,i=e._result,o=0;o<t.length;o+=3)a=t[o+n],(r=t[o])?_(n,r,a,i):a(i);e._subscribers.length=0}}function _(t,n,r,a){var i=e(r),o=void 0,u=void 0,s=!0;if(i){try{o=r(a)}catch(e){s=!1,u=e}if(n===o)return void B(n,new TypeError("A promises callback cannot return that same promise."))}else o=a;n._state!==k||(i&&s?M(n,o):!1===s?B(n,u):t===R?N(n,o):t===T&&B(n,o))}var q=0;function P(e){e[A]=q++,e._state=void 0,e._result=void 0,e._subscribers=[]}var $=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(C),this.promise[A]||P(this.promise),i(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?N(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&N(this.promise,this._result))):B(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===x){var a=void 0,i=void 0,o=!1;try{a=e.then}catch(e){o=!0,i=e}if(a===E&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(n===z){var u=new n(C);o?B(u,i):S(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===k&&(this._remaining--,e===T?B(r,n):this._result[t]=n),0===this._remaining&&N(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;I(e,void 0,(function(e){return n._settledAt(R,t,e)}),(function(e){return n._settledAt(T,t,e)}))},e}(),z=function(){function t(e){this[A]=q++,this._result=this._state=void 0,this._subscribers=[],C!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){M(e,t)}),(function(t){B(e,t)}))}catch(t){B(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this,r=n.constructor;return e(t)?n.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):n.then(t,t)},t}();return z.prototype.then=E,z.all=function(e){return new $(this,e).promise},z.race=function(e){var t=this;return i(e)?new t((function(n,r){for(var a=e.length,i=0;i<a;i++)t.resolve(e[i]).then(n,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=x,z.reject=function(e){var t=new this(C);return B(t,e),t},z._setScheduler=function(e){s=e},z._setAsap=function(e){l=e},z._asap=l,z.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=z},z.Promise=z,z},"object"===a(e)&&void 0!==i?i.exports=u():o.ES6Promise=u()})),pe=le((function(e){var t,n,r=(t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return n.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),i=Math.LN2,o=Math.abs,u=Math.floor,s=Math.log,l=Math.min,c=Math.pow,d=Math.round;function f(e,t,n){return e<t?t:e>n?n:e}var h,p=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,n=[];for(t in e)r.HasOwnProperty(e,t)&&n.push(t);return n};function m(e){if(p&&h){var t,n=p(e);for(t=0;t<n.length;t+=1)h(e,n[t],{value:e[n[t]],writable:!1,enumerable:!1,configurable:!1})}}function v(e,t){var n=32-t;return e<<n>>n}function b(e,t){var n=32-t;return e<<n>>>n}function g(e){return[255&e]}function y(e){return v(e[0],8)}function D(e){return[255&e]}function w(e){return b(e[0],8)}function F(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function x(e){return v(e[0]<<8|e[1],16)}function A(e){return[e>>8&255,255&e]}function C(e){return b(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function R(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function T(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function S(e){return b(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function M(e,t,n){var r,a,d,f,h,p,m,v=(1<<t-1)-1;function b(e){var t=u(e),n=e-t;return n<.5?t:n>.5||t%2?t+1:t}for(e!=e?(a=(1<<t)-1,d=c(2,n-1),r=0):e===1/0||e===-1/0?(a=(1<<t)-1,d=0,r=e<0?1:0):0===e?(a=0,d=0,r=1/e==-1/0?1:0):(r=e<0,(e=o(e))>=c(2,1-v)?(a=l(u(s(e)/i),1023),(d=b(e/c(2,a)*c(2,n)))/c(2,n)>=2&&(a+=1,d=1),a>v?(a=(1<<t)-1,d=0):(a+=v,d-=c(2,n))):(a=0,d=b(e/c(2,1-v-n)))),h=[],f=n;f;f-=1)h.push(d%2?1:0),d=u(d/2);for(f=t;f;f-=1)h.push(a%2?1:0),a=u(a/2);for(h.push(r?1:0),h.reverse(),p=h.join(""),m=[];p.length;)m.push(parseInt(p.substring(0,8),2)),p=p.substring(8);return m}function O(e,t,n){var r,a,i,o,u,s,l,d,f=[];for(r=e.length;r;r-=1)for(i=e[r-1],a=8;a;a-=1)f.push(i%2?1:0),i>>=1;return f.reverse(),o=f.join(""),u=(1<<t-1)-1,s=parseInt(o.substring(0,1),2)?-1:1,l=parseInt(o.substring(1,1+t),2),d=parseInt(o.substring(1+t),2),l===(1<<t)-1?0===d?s*(1/0):NaN:l>0?s*c(2,l-u)*(1+d/c(2,n)):0!==d?s*c(2,-(u-1))*(d/c(2,n)):s<0?-0:0}function N(e){return O(e,11,52)}function B(e){return M(e,11,52)}function I(e){return O(e,8,23)}function j(e){return M(e,8,23)}h=Object.defineProperty&&function(){try{return!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,n){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(n,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,n.get),r.HasProperty(n,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,n.set),r.HasProperty(n,"value")&&(e[t]=n.value),e},function(){function t(e){if((e=r.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;m(this)}function n(){}function i(e,i,o){var u;return u=function(e,n,i){var o,s,l;if(arguments.length&&"number"!=typeof arguments[0])if("object"===a(arguments[0])&&arguments[0].constructor===u)for(this.length=(o=arguments[0]).length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)this._setter(l,o._getter(l));else if("object"!==a(arguments[0])||arguments[0]instanceof t||"ArrayBuffer"===r.Class(arguments[0])){if("object"!==a(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===r.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=r.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(i),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(this.length=r.ToUint32((s=arguments[0]).length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)this._setter(l,Number(s[l]));else{if(this.length=r.ToInt32(arguments[0]),i<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=u,m(this),function(e){if(h){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)n(t)}function n(t){h(e,t,{get:function(){return e._getter(t)},set:function(n){e._setter(t,n)},enumerable:!0,configurable:!1})}}(this)},u.prototype=new n,u.prototype.BYTES_PER_ELEMENT=e,u.prototype._pack=i,u.prototype._unpack=o,u.BYTES_PER_ELEMENT=e,u.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=r.ToUint32(e))>=this.length)){for(var t=[],n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},u.prototype.get=u.prototype._getter,u.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=r.ToUint32(e))<this.length){var n,a,i=this._pack(t);for(n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,a+=1)this.buffer._bytes[a]=i[n]}},u.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var n,i,o,u,s,l,c,d,f,h;if("object"===a(arguments[0])&&arguments[0].constructor===this.constructor){if(n=arguments[0],(o=r.ToUint32(arguments[1]))+n.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,f=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(h=[],s=0,l=n.byteOffset;s<f;s+=1,l+=1)h[s]=n.buffer._bytes[l];for(s=0,c=d;s<f;s+=1,c+=1)this.buffer._bytes[c]=h[s]}else for(s=0,l=n.byteOffset,c=d;s<f;s+=1,l+=1,c+=1)this.buffer._bytes[c]=n.buffer._bytes[l]}else{if("object"!==a(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(u=r.ToUint32((i=arguments[0]).length),(o=r.ToUint32(arguments[1]))+u>this.length)throw new RangeError("Offset plus length of array is out of range");for(s=0;s<u;s+=1)l=i[s],this._setter(o+s,Number(l))}},u.prototype.subarray=function(e,t){e=r.ToInt32(e),t=r.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=f(e,0,this.length);var n=(t=f(t,0,this.length))-e;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,n)},u}e.ArrayBuffer=e.ArrayBuffer||t;var o=i(1,g,y),u=i(1,D,w),s=i(1,F,w),l=i(2,E,x),c=i(2,A,C),d=i(4,k,R),p=i(4,T,S),v=i(4,j,I),b=i(8,B,N);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||u,e.Uint8ClampedArray=e.Uint8ClampedArray||s,e.Int16Array=e.Int16Array||l,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||p,e.Float32Array=e.Float32Array||v,e.Float64Array=e.Float64Array||b}(),function(){function t(e,t){return r.IsCallable(e.get)?e.get(t):e[t]}var n,a=(n=new e.Uint16Array([4660]),18===t(new e.Uint8Array(n.buffer),0));function i(t,n,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===r.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:r.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");m(this)}function o(n){return function(i,o){if((i=r.ToUint32(i))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var u,s=new e.Uint8Array(this.buffer,i+=this.byteOffset,n.BYTES_PER_ELEMENT),l=[];for(u=0;u<n.BYTES_PER_ELEMENT;u+=1)l.push(t(s,u));return Boolean(o)===Boolean(a)&&l.reverse(),t(new n(new e.Uint8Array(l).buffer),0)}}function u(n){return function(i,o,u){if((i=r.ToUint32(i))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,l=new n([o]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s<n.BYTES_PER_ELEMENT;s+=1)d.push(t(c,s));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,i,n.BYTES_PER_ELEMENT).set(d)}}i.prototype.getUint8=o(e.Uint8Array),i.prototype.getInt8=o(e.Int8Array),i.prototype.getUint16=o(e.Uint16Array),i.prototype.getInt16=o(e.Int16Array),i.prototype.getUint32=o(e.Uint32Array),i.prototype.getInt32=o(e.Int32Array),i.prototype.getFloat32=o(e.Float32Array),i.prototype.getFloat64=o(e.Float64Array),i.prototype.setUint8=u(e.Uint8Array),i.prototype.setInt8=u(e.Int8Array),i.prototype.setUint16=u(e.Uint16Array),i.prototype.setInt16=u(e.Int16Array),i.prototype.setUint32=u(e.Uint32Array),i.prototype.setInt32=u(e.Int32Array),i.prototype.setFloat32=u(e.Float32Array),i.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||i}()})),me=le((function(e){!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(e,n){if(!i(e)||!t.call(e,"_id"))throw new TypeError(n+" method called on incompatible receiver "+a(e))}function o(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",(function(e){if(n(this,"delete"),!i(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))})),r(e.prototype,"get",(function(e){if(n(this,"get"),i(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),r(e.prototype,"has",(function(e){if(n(this,"has"),!i(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),r(e.prototype,"set",(function(e,t){if(n(this,"set"),!i(e))throw new TypeError("Invalid value used as weak map key");var a=e[this._id];return a&&a[0]===e?(a[1]=t,this):(r(e,this._id,[e,t]),this)})),r(e,"_polyfill",!0),e}()}function i(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==t?t:void 0!==n?n:e)})),ve=le((function(e,r){var i=function(e){return e&&e.Math===Math&&e};r.exports=i("object"==("undefined"==typeof globalThis?"undefined":a(globalThis))&&globalThis)||i("object"==(void 0===t?"undefined":a(t))&&t)||i("object"==("undefined"==typeof self?"undefined":a(self))&&self)||i("object"==(void 0===n?"undefined":a(n))&&n)||i("object"==a(e)&&e)||function(){return this}()||Function("return this")()})),be=le((function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}})),ge=le((function(e,t){var n=be();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),ye=le((function(e,t){var n=ge(),r=Function.prototype,i=r.apply,o=r.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":a(Reflect))&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})})),De=le((function(e,t){var n=ge(),r=Function.prototype,a=r.call,i=n&&r.bind.bind(a,a);t.exports=n?i:function(e){return function(){return a.apply(e,arguments)}}})),we=le((function(e,t){var n=De(),r=n({}.toString),a=n("".slice);t.exports=function(e){return a(r(e),8,-1)}})),Fe=le((function(e,t){var n=we(),r=De();t.exports=function(e){if("Function"===n(e))return r(e)}})),Ee=le((function(e,t){var n="object"==(void 0===r?"undefined":a(r))&&r.all;t.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),xe=le((function(e,t){var n=be();t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),Ae=le((function(e,t){var n=ge(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),Ce=le((function(e){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),ke=le((function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),Re=le((function(e,t){var n=De(),r=be(),a=we(),i=Object,o=n("".split);t.exports=r((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?o(e,""):i(e)}:i})),Te=le((function(e,t){t.exports=function(e){return null==e}})),Se=le((function(e,t){var n=Te(),r=TypeError;t.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}})),Me=le((function(e,t){var n=Re(),r=Se();t.exports=function(e){return n(r(e))}})),Oe=le((function(e,t){var n=Ee();t.exports=function(e){return"object"==a(e)?null!==e:n(e)}})),Ne=le((function(e,t){t.exports={}})),Be=le((function(e,t){var n=Ne(),r=ve(),a=Ee(),i=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(n[e])||i(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}})),Ie=le((function(e,t){var n=De();t.exports=n({}.isPrototypeOf)})),je=le((function(e,t){var n=ve().navigator,r=n&&n.userAgent;t.exports=r?String(r):""})),_e=le((function(e,t){var n,r,a=ve(),i=je(),o=a.process,u=a.Deno,s=o&&o.versions||u&&u.version,l=s&&s.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r})),qe=le((function(e,t){var n=_e(),r=be(),a=ve().String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),Pe=le((function(e,t){var n=qe();t.exports=n&&!Symbol.sham&&"symbol"==a(Symbol.iterator)})),$e=le((function(e,t){var n=Be(),r=Ee(),i=Ie(),o=Pe(),u=Object;t.exports=o?function(e){return"symbol"==a(e)}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,u(e))}})),ze=le((function(e,t){var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}})),Ge=le((function(e,t){var n=Ee(),r=ze(),a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not a function")}})),Le=le((function(e,t){var n=Ge(),r=Te();t.exports=function(e,t){var a=e[t];return r(a)?void 0:n(a)}})),He=le((function(e,t){var n=Ae(),r=Ee(),a=Oe(),i=TypeError;t.exports=function(e,t){var o,u;if("string"===t&&r(o=e.toString)&&!a(u=n(o,e)))return u;if(r(o=e.valueOf)&&!a(u=n(o,e)))return u;if("string"!==t&&r(o=e.toString)&&!a(u=n(o,e)))return u;throw new i("Can't convert object to primitive value")}})),Ue=le((function(e,t){t.exports=!0})),Ve=le((function(e,t){var n=ve(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}})),Ke=le((function(e,t){var n=Ue(),r=ve(),a=Ve(),i="__core-js_shared__",o=t.exports=r[i]||a(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),We=le((function(e,t){var n=Ke();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),Ye=le((function(e,t){var n=Se(),r=Object;t.exports=function(e){return r(n(e))}})),Ze=le((function(e,t){var n=De(),r=Ye(),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(r(e),t)}})),Xe=le((function(e,t){var n=De(),r=0,a=Math.random(),i=n(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+a,36)}})),Je=le((function(e,t){var n=ve(),r=We(),a=Ze(),i=Xe(),o=qe(),u=Pe(),s=n.Symbol,l=r("wks"),c=u?s.for||s:s&&s.withoutSetter||i;t.exports=function(e){return a(l,e)||(l[e]=o&&a(s,e)?s[e]:c("Symbol."+e)),l[e]}})),Qe=le((function(e,t){var n=Ae(),r=Oe(),a=$e(),i=Le(),o=He(),u=Je(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!r(e)||a(e))return e;var u,c=i(e,l);if(c){if(void 0===t&&(t="default"),u=n(c,e,t),!r(u)||a(u))return u;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),et=le((function(e,t){var n=Qe(),r=$e();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),tt=le((function(e,t){var n=ve(),r=Oe(),a=n.document,i=r(a)&&r(a.createElement);t.exports=function(e){return i?a.createElement(e):{}}})),nt=le((function(e,t){var n=xe(),r=be(),a=tt();t.exports=!n&&!r((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),rt=le((function(e){var t=xe(),n=Ae(),r=Ce(),a=ke(),i=Me(),o=et(),u=Ze(),s=nt(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=i(e),t=o(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!n(r.f,e,t),e[t])}})),at=le((function(e,t){var n=be(),r=Ee(),a=/#|\.prototype\./,i=function(e,t){var a=u[o(e)];return a===l||a!==s&&(r(t)?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i})),it=le((function(e,t){var n=Fe(),r=Ge(),a=ge(),i=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}})),ot=le((function(e,t){var n=xe(),r=be();t.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),ut=le((function(e,t){var n=Oe(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not an object")}})),st=le((function(e){var t=xe(),n=nt(),r=ot(),a=ut(),i=et(),o=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?r?function(e,t,n){if(a(e),t=i(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=s(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:c in n?n[c]:r[c],enumerable:l in n?n[l]:r[l],writable:!1})}return u(e,t,n)}:u:function(e,t,r){if(a(e),t=i(t),a(r),n)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new o("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),lt=le((function(e,t){var n=xe(),r=st(),a=ke();t.exports=n?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}})),ct=le((function(e,t){var n=ve(),r=ye(),i=Fe(),o=Ee(),u=rt().f,s=at(),l=Ne(),c=it(),d=lt(),f=Ze();Ke();var h=function(e){var t=function(n,a,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,a)}return new e(n,a,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var r,p,m,v,b,g,y,D,w,F=e.target,E=e.global,x=e.stat,A=e.proto,C=E?n:x?n[F]:n[F]&&n[F].prototype,k=E?l:l[F]||d(l,F,{})[F],R=k.prototype;for(v in t)p=!(r=s(E?v:F+(x?".":"#")+v,e.forced))&&C&&f(C,v),g=k[v],p&&(y=e.dontCallGetSet?(w=u(C,v))&&w.value:C[v]),b=p&&y?y:t[v],(r||A||a(g)!=a(b))&&(D=e.bind&&p?c(b,n):e.wrap&&p?h(b):A&&o(b)?i(b):b,(e.sham||b&&b.sham||g&&g.sham)&&d(D,"sham",!0),d(k,v,D),A&&(f(l,m=F+"Prototype")||d(l,m,{}),d(l[m],v,b),e.real&&R&&(r||!R[v])&&d(R,v,b)))}})),dt=le((function(){ct()({target:"Object",stat:!0},{hasOwn:Ze()})})),ft=le((function(e,t){dt();var n=Ne();t.exports=n.Object.hasOwn})),ht=le((function(e,t){var n=ft();t.exports=n})),pt=le((function(e,t){var n=ht();t.exports=n})),mt=le((function(e,t){var n=We(),r=Xe(),a=n("keys");t.exports=function(e){return a[e]||(a[e]=r(e))}})),vt=le((function(e,t){var n=be();t.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),bt=le((function(e,t){var n=Ze(),r=Ee(),a=Ye(),i=mt(),o=vt(),u=i("IE_PROTO"),s=Object,l=s.prototype;t.exports=o?s.getPrototypeOf:function(e){var t=a(e);if(n(t,u))return t[u];var i=t.constructor;return r(i)&&t instanceof i?i.prototype:t instanceof s?l:null}})),gt=le((function(e,t){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),yt=le((function(e,t){var n=gt();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),Dt=le((function(e,t){var n=yt(),r=Math.max,a=Math.min;t.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):a(i,t)}})),wt=le((function(e,t){var n=yt(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),Ft=le((function(e,t){var n=wt();t.exports=function(e){return n(e.length)}})),Et=le((function(e,t){var n=Me(),r=Dt(),a=Ft(),i=function(e){return function(t,i,o){var u=n(t),s=a(u);if(0===s)return!e&&-1;var l,c=r(o,s);if(e&&i!=i){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===i)return e||c||0;return!e&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}})),xt=le((function(e,t){t.exports={}})),At=le((function(e,t){var n=De(),r=Ze(),a=Me(),i=Et().indexOf,o=xt(),u=n([].push);t.exports=function(e,t){var n,s=a(e),l=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&u(c,n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||u(c,n));return c}})),Ct=le((function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),kt=le((function(e,t){var n=At(),r=Ct();t.exports=Object.keys||function(e){return n(e,r)}})),Rt=le((function(e,t){var n=xe(),r=be(),a=De(),i=bt(),o=kt(),u=Me(),s=a(Ce().f),l=a([].push),c=n&&r((function(){var e=Object.create(null);return e[2]=2,!s(e,2)})),d=function(e){return function(t){for(var r,a=u(t),d=o(a),f=c&&null===i(a),h=d.length,p=0,m=[];h>p;)r=d[p++],n&&!(f?r in a:s(a,r))||l(m,e?[r,a[r]]:a[r]);return m}};t.exports={entries:d(!0),values:d(!1)}})),Tt=le((function(){var e=ct(),t=Rt().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})})),St=le((function(e,t){Tt();var n=Ne();t.exports=n.Object.values})),Mt=le((function(e,t){var n=St();t.exports=n})),Ot=le((function(e,t){var n=Mt();t.exports=n})),Nt=le((function(e,t){var n={};n[Je()("toStringTag")]="z",t.exports="[object z]"===String(n)})),Bt=le((function(e,t){var n=Nt(),r=Ee(),a=we(),i=Je()("toStringTag"),o=Object,u="Arguments"===a(function(){return arguments}());t.exports=n?a:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=o(e),i))?n:u?a(t):"Object"===(s=a(t))&&r(t.callee)?"Arguments":s}})),It=le((function(e,t){var n=Bt(),r=String;t.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}})),jt=le((function(e,t){var n=De(),r=yt(),a=It(),i=Se(),o=n("".charAt),u=n("".charCodeAt),s=n("".slice),l=function(e){return function(t,n){var l,c,d=a(i(t)),f=r(n),h=d.length;return f<0||f>=h?e?"":void 0:(l=u(d,f))<55296||l>56319||f+1===h||(c=u(d,f+1))<56320||c>57343?e?o(d,f):l:e?s(d,f,f+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}})),_t=le((function(e,t){var n=ve(),r=Ee(),a=n.WeakMap;t.exports=r(a)&&/native code/.test(String(a))})),qt=le((function(e,t){var n,r,a,i,o,u=_t(),s=ve(),l=Oe(),c=lt(),d=Ze(),f=Ke(),h=mt(),p=xt(),m="Object already initialized",v=s.TypeError;u||f.state?((i=f.state||(f.state=new(0,s.WeakMap))).get=i.get,i.has=i.has,i.set=i.set,n=function(e,t){if(i.has(e))throw new v(m);return t.facade=e,i.set(e,t),t},r=function(e){return i.get(e)||{}},a=function(e){return i.has(e)}):(p[o=h("state")]=!0,n=function(e,t){if(d(e,o))throw new v(m);return t.facade=e,c(e,o,t),t},r=function(e){return d(e,o)?e[o]:{}},a=function(e){return d(e,o)}),t.exports={set:n,get:r,has:a,enforce:function(e){return a(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return n}}}})),Pt=le((function(e,t){var n=xe(),r=Ze(),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,o=r(a,"name"),u=o&&"something"===function(){}.name,s=o&&(!n||n&&i(a,"name").configurable);t.exports={EXISTS:o,PROPER:u,CONFIGURABLE:s}})),$t=le((function(e){var t=xe(),n=ot(),r=st(),a=ut(),i=Me(),o=kt();e.f=t&&!n?Object.defineProperties:function(e,t){a(e);for(var n,u=i(t),s=o(t),l=s.length,c=0;l>c;)r.f(e,n=s[c++],u[n]);return e}})),zt=le((function(e,t){var n=Be();t.exports=n("document","documentElement")})),Gt=le((function(e,t){var n,a=ut(),i=$t(),o=Ct(),u=xt(),s=zt(),l=tt(),c=mt(),d="prototype",f="script",h=c("IE_PROTO"),p=function(){},m=function(e){return"<"+f+">"+e+"</"+f+">"},v=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,a;b=void 0!==r?r.domain&&n?v(n):(t=l("iframe"),a="java"+f+":",t.style.display="none",s.appendChild(t),t.src=String(a),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):v(n);for(var i=o.length;i--;)delete b[d][o[i]];return b()};u[h]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=a(e),n=new p,p[d]=null,n[h]=e):n=b(),void 0===t?n:i.f(n,t)}})),Lt=le((function(e,t){var n=lt();t.exports=function(e,t,r,a){return a&&a.enumerable?e[t]=r:n(e,t,r),e}})),Ht=le((function(e,t){var n,r,a,i=be(),o=Ee(),u=Oe(),s=Gt(),l=bt(),c=Lt(),d=Je(),f=Ue(),h=d("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(r=l(l(a)))!==Object.prototype&&(n=r):p=!0),!u(n)||i((function(){var e={};return n[h].call(e)!==e}))?n={}:f&&(n=s(n)),o(n[h])||c(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}})),Ut=le((function(e,t){var n=Nt(),r=Bt();t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}})),Vt=le((function(e,t){var n=Nt(),r=st().f,a=lt(),i=Ze(),o=Ut(),u=Je()("toStringTag");t.exports=function(e,t,s,l){var c=s?e:e&&e.prototype;c&&(i(c,u)||r(c,u,{configurable:!0,value:t}),l&&!n&&a(c,"toString",o))}})),Kt=le((function(e,t){t.exports={}})),Wt=le((function(e,t){var n=Ht().IteratorPrototype,r=Gt(),a=ke(),i=Vt(),o=Kt(),u=function(){return this};t.exports=function(e,t,s,l){var c=t+" Iterator";return e.prototype=r(n,{next:a(+!l,s)}),i(e,c,!1,!0),o[c]=u,e}})),Yt=le((function(e,t){var n=De(),r=Ge();t.exports=function(e,t,a){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}})),Zt=le((function(e,t){var n=Oe();t.exports=function(e){return n(e)||null===e}})),Xt=le((function(e,t){var n=Zt(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw new a("Can't set "+r(e)+" as a prototype")}})),Jt=le((function(e,t){var n=Yt(),r=Oe(),a=Se(),i=Xt();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=n(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(n,o){return a(n),i(o),r(n)?(t?e(n,o):n.__proto__=o,n):n}}():void 0)})),Qt=le((function(e,t){var n=ct(),r=Ae(),a=Ue(),i=Pt(),o=Ee(),u=Wt(),s=bt(),l=Jt(),c=Vt(),d=lt(),f=Lt(),h=Je(),p=Kt(),m=Ht(),v=i.PROPER,b=i.CONFIGURABLE,g=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,D=h("iterator"),w="keys",F="values",E="entries",x=function(){return this};t.exports=function(e,t,i,h,m,A,C){u(i,t,h);var k,R,T,S=function(e){if(e===m&&I)return I;if(!y&&e&&e in N)return N[e];switch(e){case w:case F:case E:return function(){return new i(this,e)}}return function(){return new i(this)}},M=t+" Iterator",O=!1,N=e.prototype,B=N[D]||N["@@iterator"]||m&&N[m],I=!y&&B||S(m),j="Array"===t&&N.entries||B;if(j&&(k=s(j.call(new e)))!==Object.prototype&&k.next&&(a||s(k)===g||(l?l(k,g):o(k[D])||f(k,D,x)),c(k,M,!0,!0),a&&(p[M]=x)),v&&m===F&&B&&B.name!==F&&(!a&&b?d(N,"name",F):(O=!0,I=function(){return r(B,this)})),m)if(R={values:S(F),keys:A?I:S(w),entries:S(E)},C)for(T in R)(y||O||!(T in N))&&f(N,T,R[T]);else n({target:t,proto:!0,forced:y||O},R);return a&&!C||N[D]===I||f(N,D,I,{name:m}),p[t]=I,R}})),en=le((function(e,t){t.exports=function(e,t){return{value:e,done:t}}})),tn=le((function(){var e=jt().charAt,t=It(),n=qt(),r=Qt(),a=en(),i="String Iterator",o=n.set,u=n.getterFor(i);r(String,"String",(function(e){o(this,{type:i,string:t(e),index:0})}),(function(){var t,n=u(this),r=n.string,i=n.index;return i>=r.length?a(void 0,!0):(t=e(r,i),n.index+=t.length,a(t,!1))}))})),nn=le((function(e,t){var n=Ae(),r=ut(),a=Le();t.exports=function(e,t,i){var o,u;r(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw i;return i}o=n(o,e)}catch(e){u=!0,o=e}if("throw"===t)throw i;if(u)throw o;return r(o),i}})),rn=le((function(e,t){var n=ut(),r=nn();t.exports=function(e,t,a,i){try{return i?t(n(a)[0],a[1]):t(a)}catch(t){r(e,"throw",t)}}})),an=le((function(e,t){var n=Je(),r=Kt(),a=n("iterator"),i=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}})),on=le((function(e,t){var n=De(),r=Ee(),a=Ke(),i=n(Function.toString);r(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),t.exports=a.inspectSource})),un=le((function(e,t){var n=De(),r=be(),a=Ee(),i=Bt(),o=Be(),u=on(),s=function(){},l=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=n(c.exec),f=!c.test(s),h=function(e){if(!a(e))return!1;try{return l(s,[],e),!0}catch(e){return!1}},p=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!d(c,u(e))}catch(e){return!0}};p.sham=!0,t.exports=!l||r((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?p:h})),sn=le((function(e,t){var n=xe(),r=st(),a=ke();t.exports=function(e,t,i){n?r.f(e,t,a(0,i)):e[t]=i}})),ln=le((function(e,t){var n=we();t.exports=Array.isArray||function(e){return"Array"===n(e)}})),cn=le((function(e,t){var n=xe(),r=ln(),a=TypeError,i=Object.getOwnPropertyDescriptor,o=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();t.exports=o?function(e,t){if(r(e)&&!i(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}})),dn=le((function(e,t){var n=Bt(),r=Le(),a=Te(),i=Kt(),o=Je()("iterator");t.exports=function(e){if(!a(e))return r(e,o)||r(e,"@@iterator")||i[n(e)]}})),fn=le((function(e,t){var n=Ae(),r=Ge(),a=ut(),i=ze(),o=dn(),u=TypeError;t.exports=function(e,t){var s=arguments.length<2?o(e):t;if(r(s))return a(n(s,e));throw new u(i(e)+" is not iterable")}})),hn=le((function(e,t){var n=it(),r=Ae(),a=Ye(),i=rn(),o=an(),u=un(),s=Ft(),l=sn(),c=cn(),d=fn(),f=dn(),h=Array;t.exports=function(e){var t=a(e),p=u(this),m=arguments.length,v=m>1?arguments[1]:void 0,b=void 0!==v;b&&(v=n(v,m>2?arguments[2]:void 0));var g,y,D,w,F,E,x=f(t),A=0;if(!x||this===h&&o(x))for(g=s(t),y=p?new this(g):h(g);g>A;A++)E=b?v(t[A],A):t[A],l(y,A,E);else for(y=p?new this:[],F=(w=d(t,x)).next;!(D=r(F,w)).done;A++)E=b?i(w,v,[D.value,A],!0):D.value,l(y,A,E);return c(y,A),y}})),pn=le((function(e,t){var n,r,a=Je()("iterator"),i=!1;try{n=0,(r={next:function(){return{done:!!n++}},return:function(){i=!0}})[a]=function(){return this},Array.from(r,(function(){throw 2}))}catch(e){}t.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var n=!1;try{var r={};r[a]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}})),mn=le((function(){var e=ct(),t=hn();e({target:"Array",stat:!0,forced:!pn()((function(e){Array.from(e)}))},{from:t})})),vn=le((function(e,t){tn(),mn();var n=Ne();t.exports=n.Array.from})),bn=le((function(e,t){var n=vn();t.exports=n})),gn=le((function(e,t){var n=bn();t.exports=n})),yn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var n=t.length,r="",a=0;a<n;){var i=t.charAt(a);if(e.identSpecialChars[i])r+="\\"+i;else if("_"===i||"-"===i||i>="A"&&i<="Z"||i>="a"&&i<="z"||0!==a&&i>="0"&&i<="9")r+=i;else{var o=i.charCodeAt(0);if(55296==(63488&o)){var u=t.charCodeAt(a++);if(55296!=(64512&o)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");o=((1023&o)<<10)+(1023&u)+65536}r+="\\"+o.toString(16)+" "}a++}return r},e.escapeStr=function(t){for(var n,r=t.length,a="",i=0;i<r;){var o=t.charAt(i);'"'===o?o='\\"':"\\"===o?o="\\\\":void 0!==(n=e.strReplacementsRev[o])&&(o=n),a+=o,i++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),Dn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=yn();e.parseCssSelector=function(e,n,r,a,i,o){var u=e.length,s="";function l(r,a){var i="";for(n++,s=e.charAt(n);n<u;){if(s===r)return n++,i;if("\\"===s){n++;var o=void 0;if((s=e.charAt(n))===r)i+=r;else if(void 0!==(o=a[s]))i+=o;else{if(t.isHex(s)){var l=s;for(n++,s=e.charAt(n);t.isHex(s);)l+=s,n++,s=e.charAt(n);" "===s&&(n++,s=e.charAt(n)),i+=String.fromCharCode(parseInt(l,16));continue}i+=s}}else i+=s;n++,s=e.charAt(n)}return i}function c(){var r="";for(s=e.charAt(n);n<u;){if(t.isIdent(s))r+=s;else{if("\\"!==s)return r;if(++n>=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(n),t.identSpecialChars[s])r+=s;else{if(t.isHex(s)){var a=s;for(n++,s=e.charAt(n);t.isHex(s);)a+=s,n++,s=e.charAt(n);" "===s&&(n++,s=e.charAt(n)),r+=String.fromCharCode(parseInt(a,16));continue}r+=s}}n++,s=e.charAt(n)}return r}function d(){s=e.charAt(n);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,n++,s=e.charAt(n);return t}function f(){var t=h();if(!t)return null;var r=t;for(s=e.charAt(n);","===s;){if(n++,d(),"selectors"!==r.type&&(r={type:"selectors",selectors:[t]}),!(t=h()))throw Error('Rule expected after ",".');r.selectors.push(t)}return r}function h(){d();var t={type:"ruleSet"},r=p();if(!r)return null;for(var a=t;r&&(r.type="rule",a.rule=r,a=r,d(),s=e.charAt(n),!(n>=u||","===s||")"===s));)if(i[s]){var o=s;if(n++,d(),!(r=p()))throw Error('Rule expected after "'+o+'".');r.nestingOperator=o}else(r=p())&&(r.nestingOperator=null);return t}function p(){for(var i=null;n<u;)if("*"===(s=e.charAt(n)))n++,(i=i||{}).tagName="*";else if(t.isIdentStart(s)||"\\"===s)(i=i||{}).tagName=c();else if("."===s)n++,((i=i||{}).classNames=i.classNames||[]).push(c());else if("#"===s)n++,(i=i||{}).id=c();else if("["===s){n++,d();var h={name:c()};if(d(),"]"===s)n++;else{var p="";if(a[s]&&(p=s,n++,s=e.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');h.operator=p+"=",n++,d();var m="";if(h.valueType="string",'"'===s)m=l('"',t.doubleQuotesEscapeChars);else if("'"===s)m=l("'",t.singleQuoteEscapeChars);else if(o&&"$"===s)n++,m=c(),h.valueType="substitute";else{for(;n<u&&"]"!==s;)m+=s,n++,s=e.charAt(n);m=m.trim()}if(d(),n>=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');n++,h.value=m}((i=i||{}).attrs=i.attrs||[]).push(h)}else{if(":"!==s)break;n++;var v=c(),b={name:v};if("("===s){n++;var g="";if(d(),"selector"===r[v])b.valueType="selector",g=f();else{if(b.valueType=r[v]||"string",'"'===s)g=l('"',t.doubleQuotesEscapeChars);else if("'"===s)g=l("'",t.singleQuoteEscapeChars);else if(o&&"$"===s)n++,g=c(),b.valueType="substitute";else{for(;n<u&&")"!==s;)g+=s,n++,s=e.charAt(n);g=g.trim()}d()}if(n>=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');n++,b.value=g}((i=i||{}).pseudos=i.pseudos||[]).push(b)}return i}return function(){var t=f();if(n<u)throw Error('Rule expected but "'+e.charAt(n)+'" found.');return t}()}})),wn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=yn();e.renderEntity=function e(n){var r="";switch(n.type){case"ruleSet":for(var a=n.rule,i=[];a;)a.nestingOperator&&i.push(a.nestingOperator),i.push(e(a)),a=a.rule;r=i.join(" ");break;case"selectors":r=n.selectors.map(e).join(", ");break;case"rule":n.tagName&&(r="*"===n.tagName?"*":t.escapeIdentifier(n.tagName)),n.id&&(r+="#"+t.escapeIdentifier(n.id)),n.classNames&&(r+=n.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),n.attrs&&(r+=n.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),n.pseudos&&(r+=n.pseudos.map((function(n){return n.valueType?"selector"===n.valueType?":"+t.escapeIdentifier(n.name)+"("+e(n.value)+")":"substitute"===n.valueType?":"+t.escapeIdentifier(n.name)+"($"+n.value+")":"numeric"===n.valueType?":"+t.escapeIdentifier(n.name)+"("+n.value+")":":"+t.escapeIdentifier(n.name)+"("+t.escapeIdentifier(n.value)+")":":"+t.escapeIdentifier(n.name)})).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return r}})),Fn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Dn(),n=wn(),r=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.pseudos[r[n]]="selector";return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.pseudos[r[n]];return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.pseudos[r[n]]="numeric";return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.pseudos[r[n]];return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.ruleNestingOperators[r[n]]=!0;return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.ruleNestingOperators[r[n]];return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.attrEqualityMods[r[n]]=!0;return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.attrEqualityMods[r[n]];return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return n.renderEntity(e).trim()},e}();e.CssSelectorParser=r})),En=le((function(e,r){!function(){var e={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":a(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){t.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==t)return t;if(void 0!==n)return n;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),e.encodeHTMLSource=function(e){var t={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},n=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(n,(function(e){return t[e]||e})):""}},void 0!==r&&r.exports?r.exports=e:globalThis.doT=e;var i={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},o=/$^/;function u(e,t,n){return("string"==typeof t?t:t.toString()).replace(e.define||o,(function(t,r,a,i){return 0===r.indexOf("def.")&&(r=r.substring(4)),r in n||(":"===a?(e.defineParams&&i.replace(e.defineParams,(function(e,t,a){n[r]={arg:t,text:a}})),r in n||(n[r]=i)):new Function("def","def['"+r+"']="+i)(n)),""})).replace(e.use||o,(function(t,r){e.useParams&&(r=r.replace(e.useParams,(function(e,t,r,a){if(n[r]&&n[r].arg&&a){var i=(r+":"+a).replace(/'|\\/g,"_");return n.__exp=n.__exp||{},n.__exp[i]=n[r].text.replace(new RegExp("(^|[^\\w$])"+n[r].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+i+"']"}})));var a=new Function("def","return "+r)(n);return a?u(e,a,n):a}))}function s(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}e.template=function(t,n,r){var a,l,c=(n=n||e.templateSettings).append?i.append:i.split,d=0,f=n.use||n.define?u(n,t,r||{}):t;f=("var out='"+(n.strip?f.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):f).replace(/'|\\/g,"\\$&").replace(n.interpolate||o,(function(e,t){return c.start+s(t)+c.end})).replace(n.encode||o,(function(e,t){return a=!0,c.startencode+s(t)+c.end})).replace(n.conditional||o,(function(e,t,n){return t?n?"';}else if("+s(n)+"){out+='":"';}else{out+='":n?"';if("+s(n)+"){out+='":"';}out+='"})).replace(n.iterate||o,(function(e,t,n,r){return t?(d+=1,l=r||"i"+d,t=s(t),"';var arr"+d+"="+t+";if(arr"+d+"){var "+n+","+l+"=-1,l"+d+"=arr"+d+".length-1;while("+l+"<l"+d+"){"+n+"=arr"+d+"["+l+"+=1];out+='"):"';} } out+='"})).replace(n.evaluate||o,(function(e,t){return"';"+s(t)+"out+='"}))+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(n.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=e.encodeHTMLSource(n.doNotSkipEncoded)),f="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+e.encodeHTMLSource.toString()+"("+(n.doNotSkipEncoded||"")+"));"+f);try{return new Function(n.varname,f)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+f),e}},e.compile=function(t,n){return e.template(t,null,n)}}()})),xn=le((function(e,t){t.exports=function(){}})),An=le((function(e,t){var n=xn()();t.exports=function(e){return e!==n&&null!==e}})),Cn=le((function(e,t){var n=An(),r=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return r.call(arguments,(function(e){n(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)})),t}})),kn=le((function(e,t){t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}})),Rn=le((function(e,t){t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),Tn=le((function(e,t){t.exports=kn()()?Math.sign:Rn()})),Sn=le((function(e,t){var n=Tn(),r=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?n(e)*a(r(e)):e}})),Mn=le((function(e,t){var n=Sn(),r=Math.max;t.exports=function(e){return r(0,n(e))}})),On=le((function(e,t){var n=Mn();t.exports=function(e,t,r){var a;return isNaN(e)?(a=t)>=0?r&&a?a-1:a:1:!1!==e&&n(e)}})),Nn=le((function(e,t){t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),Bn=le((function(e,t){var n=An();t.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}})),In=le((function(e,t){var n=Nn(),r=Bn(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,l){var c,d=arguments[2],f=arguments[3];return s=Object(r(s)),n(l),c=o(s),f&&c.sort("function"==typeof f?a.call(f,s):void 0),"function"!=typeof e&&(e=c[e]),i.call(e,c,(function(e,n){return u.call(s,e)?i.call(l,d,s[e],e,s,n):t}))}}})),jn=le((function(e,t){t.exports=In()("forEach")})),_n=le((function(){})),qn=le((function(e,t){t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),Pn=le((function(e,t){t.exports=function(){try{return!0}catch(e){return!1}}})),$n=le((function(e,t){var n=An(),r=Object.keys;t.exports=function(e){return r(n(e)?Object(e):e)}})),zn=le((function(e,t){t.exports=Pn()()?Object.keys:$n()})),Gn=le((function(e,t){var n=zn(),r=Bn(),a=Math.max;t.exports=function(e,t){var i,o,u,s=a(arguments.length,2);for(e=Object(r(e)),u=function(n){try{e[n]=t[n]}catch(e){i||(i=e)}},o=1;o<s;++o)n(t=arguments[o]).forEach(u);if(void 0!==i)throw i;return e}})),Ln=le((function(e,t){t.exports=qn()()?Object.assign:Gn()})),Hn=le((function(e,t){var n=An(),r={function:!0,object:!0};t.exports=function(e){return n(e)&&r[a(e)]||!1}})),Un=le((function(e,t){var n=Ln(),r=Hn(),a=An(),i=Error.captureStackTrace;t.exports=function(e){var o=new Error(e),u=arguments[1],s=arguments[2];return a(s)||r(u)&&(s=u,u=null),a(s)&&n(o,s),a(u)&&(o.code=u),i&&i(o,t.exports),o}})),Vn=le((function(e,t){var n=Bn(),r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,s=Object(n(t));if(e=Object(n(e)),i(s).forEach((function(n){try{r(e,n,a(t,n))}catch(e){u=e}})),"function"==typeof o&&o(s).forEach((function(n){try{r(e,n,a(t,n))}catch(e){u=e}})),void 0!==u)throw u;return e}})),Kn=le((function(e,t){var n,r,a,i,o,u=Mn(),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===s.length?(n={configurable:!0,writable:!1,enumerable:!1},r=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(n.value=t,r(e,"length",n))}):(i=Vn(),o=[],a=function(e){var t,n=0;if(o[e])return o[e];for(t=[];e--;)t.push("a"+(++n).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var n;if(t=u(t),e.length===t)return e;n=a(t)(e);try{i(n,e)}catch(e){}return n})})),Wn=le((function(e,t){t.exports=function(e){return null!=e}})),Yn=le((function(e,t){var n=Wn(),r={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!n(e)&&hasOwnProperty.call(r,a(e))}})),Zn=le((function(e,t){var n=Yn();t.exports=function(e){if(!n(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Xn=le((function(e,t){var n=Zn();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!n(e)}})),Jn=le((function(e,t){var n=Xn(),r=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!n(e)&&!r.test(a.call(e))}})),Qn=le((function(e,t){var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&!0===n.contains("dwa")&&!1===n.contains("foo")}})),er=le((function(e,t){var n=String.prototype.indexOf;t.exports=function(e){return n.call(this,e,arguments[1])>-1}})),tr=le((function(e,t){t.exports=Qn()()?String.prototype.contains:er()})),nr=le((function(e,t){var n=Wn(),r=Jn(),a=Ln(),i=Cn(),o=tr(),u=t.exports=function(e,t){var r,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],n(e)?(r=o.call(e,"c"),u=o.call(e,"e"),s=o.call(e,"w")):(r=s=!0,u=!1),c={value:t,configurable:r,enumerable:u,writable:s},l?a(i(l),c):c};u.gs=function(e,t,u){var s,l,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],n(t)?r(t)?n(u)?r(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,n(e)?(s=o.call(e,"c"),l=o.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(i(c),d):d}})),rr=le((function(e,t){var n,r,i,o,u,s,l,c=nr(),d=Nn(),f=Function.prototype.apply,h=Function.prototype.call,p=Object.create,m=Object.defineProperty,v=Object.defineProperties,b=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var r,a;return d(t),a=this,n.call(this,e,r=function(){i.call(a,e,r),f.call(t,this,arguments)}),r.__eeOnceListener__=t,this},i=function(e,t){var n,r,i,o;if(d(t),!b.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"===a(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},o=function(e){var t,n,r,i,o;if(b.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"===a(i)){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)f.call(r,this,o)}else switch(arguments.length){case 1:h.call(i,this);break;case 2:h.call(i,this,arguments[1]);break;case 3:h.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];f.call(i,this,o)}},u={on:n=function(e,t){var n;return d(t),b.call(this,"__ee__")?n=this.__ee__:(n=g.value=p(null),m(this,"__ee__",g),g.value=null),n[e]?"object"===a(n[e])?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:r,off:i,emit:o},s={on:c(n),once:c(r),off:c(i),emit:c(o)},l=v({},s),t.exports=e=function(e){return null==e?p(l):v(Object(e),s)},e.methods=u})),ar=le((function(e,t){t.exports=function(){var e,t,n=Array.from;return"function"==typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),ir=le((function(e,t){t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))&&!!globalThis&&globalThis.Array===Array}})),or=le((function(e,n){var r=function(){if("object"===("undefined"==typeof self?"undefined":a(self))&&self)return self;if("object"===(void 0===t?"undefined":a(t))&&t)return t;throw new Error("Unable to resolve global `this`")};n.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),ur=le((function(e,t){t.exports=ir()()?globalThis:or()})),sr=le((function(e,t){var n=ur(),r={object:!0,symbol:!0};t.exports=function(){var e=n.Symbol;return"function"==typeof e&&(e("test symbol"),!!r[a(e.iterator)]&&!!r[a(e.toPrimitive)]&&!!r[a(e.toStringTag)])}})),lr=le((function(e,t){t.exports=function(e){return!!e&&("symbol"===a(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}})),cr=le((function(e,t){var n=lr();t.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}})),dr=le((function(e,t){var n=nr(),r=Object.defineProperty,a=Object.prototype,i=(0,Object.create)(null);t.exports=function(e){for(var t,o,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,r(a,t="@@"+e,n.gs(null,(function(e){o||(o=!0,r(this,t,n(e)),o=!1)}))),t}})),fr=le((function(e,t){var n=nr(),r=ur().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:n("",r&&r.hasInstance||e("hasInstance")),isConcatSpreadable:n("",r&&r.isConcatSpreadable||e("isConcatSpreadable")),iterator:n("",r&&r.iterator||e("iterator")),match:n("",r&&r.match||e("match")),replace:n("",r&&r.replace||e("replace")),search:n("",r&&r.search||e("search")),species:n("",r&&r.species||e("species")),split:n("",r&&r.split||e("split")),toPrimitive:n("",r&&r.toPrimitive||e("toPrimitive")),toStringTag:n("",r&&r.toStringTag||e("toStringTag")),unscopables:n("",r&&r.unscopables||e("unscopables"))})}})),hr=le((function(e,t){var n=nr(),r=cr(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:n((function(t){return a[t]?a[t]:a[t]=e(String(t))})),keyFor:n((function(e){var t;for(t in r(e),a)if(a[t]===e)return t}))})}})),pr=le((function(e,t){var n,r,i,o=nr(),u=cr(),s=ur().Symbol,l=dr(),c=fr(),d=hr(),f=Object.create,h=Object.defineProperties,p=Object.defineProperty;if("function"==typeof s)try{String(s()),i=!0}catch(e){}else s=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return n(e)},t.exports=n=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return i?s(t):(n=f(r.prototype),t=void 0===t?"":String(t),h(n,{__description__:o("",t),__name__:o("",l(t))}))},c(n),d(n),h(r.prototype,{constructor:o(n),toString:o("",(function(){return this.__name__}))}),h(n.prototype,{toString:o((function(){return"Symbol ("+u(this).__description__+")"})),valueOf:o((function(){return u(this)}))}),p(n.prototype,n.toPrimitive,o("",(function(){var e=u(this);return"symbol"===a(e)?e:e.toString()}))),p(n.prototype,n.toStringTag,o("c","Symbol")),p(r.prototype,n.toStringTag,o("c",n.prototype[n.toStringTag])),p(r.prototype,n.toPrimitive,o("c",n.prototype[n.toPrimitive]))})),mr=le((function(e,t){t.exports=sr()()?ur().Symbol:pr()})),vr=le((function(e,t){var n=Object.prototype.toString,r=n.call(function(){return arguments}());t.exports=function(e){return n.call(e)===r}})),br=le((function(e,t){var n=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&r(n.call(e))}})),gr=le((function(e,t){var n=Object.prototype.toString,r=n.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===a(e)&&(e instanceof String||n.call(e)===r)||!1}})),yr=le((function(e,t){var n=mr().iterator,r=vr(),a=br(),i=Mn(),o=Nn(),u=Bn(),s=An(),l=gr(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;t.exports=function(e){var t,p,m,v,b,g,y,D,w,F,E=arguments[1],x=arguments[2];if(e=Object(u(e)),s(E)&&o(E),this&&this!==Array&&a(this))t=this;else{if(!E){if(r(e))return 1!==(b=e.length)?Array.apply(null,e):((v=new Array(1))[0]=e[0],v);if(c(e)){for(v=new Array(b=e.length),p=0;p<b;++p)v[p]=e[p];return v}}v=[]}if(!c(e))if(void 0!==(w=e[n])){for(y=o(w).call(e),t&&(v=new t),D=y.next(),p=0;!D.done;)F=E?d.call(E,x,D.value,p):D.value,t?(f.value=F,h(v,p,f)):v[p]=F,D=y.next(),++p;b=p}else if(l(e)){for(b=e.length,t&&(v=new t),p=0,m=0;p<b;++p)F=e[p],p+1<b&&(g=F.charCodeAt(0))>=55296&&g<=56319&&(F+=e[++p]),F=E?d.call(E,x,F,m):F,t?(f.value=F,h(v,m,f)):v[m]=F,++m;b=m}if(void 0===b)for(b=i(e.length),t&&(v=new t(b)),p=0;p<b;++p)F=E?d.call(E,x,e[p],p):e[p],t?(f.value=F,h(v,p,f)):v[p]=F;return t&&(f.value=null,v.length=b),v}})),Dr=le((function(e,t){t.exports=ar()()?Array.from:yr()})),wr=le((function(e,t){var n=Dr(),r=Array.isArray;t.exports=function(e){return r(e)?e:n(e)}})),Fr=le((function(e,t){var n,r=wr(),a=An(),i=Nn(),o=Array.prototype.slice;n=function(e){return this.map((function(t,n){return t?t(e[n]):e[n]})).concat(o.call(e,this.length))},t.exports=function(e){return(e=r(e)).forEach((function(e){a(e)&&i(e)})),n.bind(e)}})),Er=le((function(e,t){var n=Nn();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:n(e.get)},void 0!==e.set?(t.set=n(e.set),e.delete&&(t.delete=n(e.delete)),e.clear&&(t.clear=n(e.clear)),t):(t.set=t.get,t))}})),xr=le((function(e,t){var n=Un(),r=Kn(),a=nr(),i=rr().methods,o=Fr(),u=Er(),s=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,f=i.on,h=i.emit;t.exports=function(e,t,i){var p,m,v,b,g,y,D,w,F,E,x,A,C,k,R,T=c(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,i.normalizer&&(E=u(i.normalizer),v=E.get,b=E.set,g=E.delete,y=E.clear),null!=i.resolvers&&(R=o(i.resolvers)),k=v?r((function(t){var r,a,i=arguments;if(R&&(i=R(i)),null!==(r=v(i))&&hasOwnProperty.call(T,r))return x&&p.emit("get",r,i,this),T[r];if(a=1===i.length?l.call(e,this,i[0]):s.call(e,this,i),null===r){if(null!==(r=v(i)))throw n("Circular invocation","CIRCULAR_INVOCATION");r=b(i)}else if(hasOwnProperty.call(T,r))throw n("Circular invocation","CIRCULAR_INVOCATION");return T[r]=a,A&&p.emit("set",r,null,a),a}),m):0===t?function(){var t;if(hasOwnProperty.call(T,"data"))return x&&p.emit("get","data",arguments,this),T.data;if(t=arguments.length?s.call(e,this,arguments):l.call(e,this),hasOwnProperty.call(T,"data"))throw n("Circular invocation","CIRCULAR_INVOCATION");return T.data=t,A&&p.emit("set","data",null,t),t}:function(t){var r,a,i=arguments;if(R&&(i=R(arguments)),a=String(i[0]),hasOwnProperty.call(T,a))return x&&p.emit("get",a,i,this),T[a];if(r=1===i.length?l.call(e,this,i[0]):s.call(e,this,i),hasOwnProperty.call(T,a))throw n("Circular invocation","CIRCULAR_INVOCATION");return T[a]=r,A&&p.emit("set",a,null,r),r},p={original:e,memoized:k,profileName:i.profileName,get:function(e){return R&&(e=R(e)),v?v(e):String(e[0])},has:function(e){return hasOwnProperty.call(T,e)},delete:function(e){var t;hasOwnProperty.call(T,e)&&(g&&g(e),t=T[e],delete T[e],C&&p.emit("delete",e,t))},clear:function(){var e=T;y&&y(),T=c(null),p.emit("clear",e)},on:function(e,t){return"get"===e?x=!0:"set"===e?A=!0:"delete"===e&&(C=!0),f.call(this,e,t)},emit:h,updateEnv:function(){e=p.original}},D=v?r((function(e){var t,n=arguments;R&&(n=R(n)),null!==(t=v(n))&&p.delete(t)}),m):0===t?function(){return p.delete("data")}:function(e){return R&&(e=R(arguments)[0]),p.delete(e)},w=r((function(){var e,n=arguments;return 0===t?T.data:(R&&(n=R(n)),e=v?v(n):String(n[0]),T[e])})),F=r((function(){var e,n=arguments;return 0===t?p.has("data"):(R&&(n=R(n)),null!==(e=v?v(n):String(n[0]))&&p.has(e))})),d(k,{__memoized__:a(!0),delete:a(D),clear:a(p.clear),_get:a(w),_has:a(F)}),p}})),Ar=le((function(e,t){var n=Nn(),r=jn(),a=_n(),i=xr(),o=On();t.exports=function e(t){var u,s,l;if(n(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(s=o(u.length,t.length,u.async&&a.async),l=i(t,s,u),r(a,(function(e,t){u[t]&&e(u[t],l,u)})),e.__profiler__&&e.__profiler__(l),l.updateEnv(),l.memoized)}})),Cr=le((function(e,t){t.exports=function(e){var t,n,r=e.length;if(!r)return"";for(t=String(e[n=0]);--r;)t+=""+e[++n];return t}})),kr=le((function(e,t){t.exports=function(e){return e?function(t){for(var n=String(t[0]),r=0,a=e;--a;)n+=""+t[++r];return n}:function(){return""}}})),Rr=le((function(e,t){t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}})),Tr=le((function(e,t){t.exports=function(e){return e!=e}})),Sr=le((function(e,t){t.exports=Rr()()?Number.isNaN:Tr()})),Mr=le((function(e,t){var n=Sr(),r=Mn(),a=Bn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,u=Math.abs,s=Math.floor;t.exports=function(e){var t,l,c;if(!n(e))return i.apply(this,arguments);for(l=r(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?s(c):r(this.length)-s(u(c));t<l;++t)if(o.call(this,t)&&n(this[t]))return t;return-1}})),Or=le((function(e,t){var n=Mr(),r=Object.create;t.exports=function(){var e=0,t=[],a=r(null);return{get:function(e){var r,a=0,i=t,o=e.length;if(0===o)return i[o]||null;if(i=i[o]){for(;a<o-1;){if(-1===(r=n.call(i[0],e[a])))return null;i=i[1][r],++a}return-1===(r=n.call(i[0],e[a]))?null:i[1][r]||null}return null},set:function(r){var i,o=0,u=t,s=r.length;if(0===s)u[s]=++e;else{for(u[s]||(u[s]=[[],[]]),u=u[s];o<s-1;)-1===(i=n.call(u[0],r[o]))&&(i=u[0].push(r[o])-1,u[1].push([[],[]])),u=u[1][i],++o;-1===(i=n.call(u[0],r[o]))&&(i=u[0].push(r[o])-1),u[1][i]=++e}return a[e]=r,e},delete:function(e){var r,i=0,o=t,u=a[e],s=u.length,l=[];if(0===s)delete o[s];else if(o=o[s]){for(;i<s-1;){if(-1===(r=n.call(o[0],u[i])))return;l.push(o,r),o=o[1][r],++i}if(-1===(r=n.call(o[0],u[i])))return;for(e=o[1][r],o[0].splice(r,1),o[1].splice(r,1);!o[0].length&&l.length;)r=l.pop(),(o=l.pop())[0].splice(r,1),o[1].splice(r,1)}delete a[e]},clear:function(){t=[],a=r(null)}}}})),Nr=le((function(e,t){var n=Mr();t.exports=function(){var e=0,t=[],r=[];return{get:function(e){var a=n.call(t,e[0]);return-1===a?null:r[a]},set:function(n){return t.push(n[0]),r.push(++e),e},delete:function(e){var a=n.call(r,e);-1!==a&&(t.splice(a,1),r.splice(a,1))},clear:function(){t=[],r=[]}}}})),Br=le((function(e,t){var n=Mr(),r=Object.create;t.exports=function(e){var t=0,a=[[],[]],i=r(null);return{get:function(t){for(var r,i=0,o=a;i<e-1;){if(-1===(r=n.call(o[0],t[i])))return null;o=o[1][r],++i}return-1===(r=n.call(o[0],t[i]))?null:o[1][r]||null},set:function(r){for(var o,u=0,s=a;u<e-1;)-1===(o=n.call(s[0],r[u]))&&(o=s[0].push(r[u])-1,s[1].push([[],[]])),s=s[1][o],++u;return-1===(o=n.call(s[0],r[u]))&&(o=s[0].push(r[u])-1),s[1][o]=++t,i[t]=r,t},delete:function(t){for(var r,o=0,u=a,s=[],l=i[t];o<e-1;){if(-1===(r=n.call(u[0],l[o])))return;s.push(u,r),u=u[1][r],++o}if(-1!==(r=n.call(u[0],l[o]))){for(t=u[1][r],u[0].splice(r,1),u[1].splice(r,1);!u[0].length&&s.length;)r=s.pop(),(u=s.pop())[0].splice(r,1),u[1].splice(r,1);delete i[t]}},clear:function(){a=[[],[]],i=r(null)}}}})),Ir=le((function(e,t){var n=Nn(),r=jn(),a=Function.prototype.call;t.exports=function(e,t){var i={},o=arguments[2];return n(t),r(e,(function(e,n,r,u){i[n]=a.call(t,o,e,n,r,u)})),i}})),jr=le((function(e,t){var n=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},i=function(e){var t,a,i=r.createTextNode(""),o=0;return new e((function(){var e;if(t)a&&(t=a.concat(t));else{if(!a)return;t=a}if(a=t,t=null,"function"==typeof a)return e=a,a=null,void e();for(i.data=o=++o%2;a;)e=a.shift(),a.length||(a=null),e()})).observe(i,{characterData:!0}),function(e){n(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,i.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":a(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(n(e))};if("object"===(void 0===r?"undefined":a(r))&&r){if("function"==typeof MutationObserver)return i(MutationObserver);if("function"==typeof WebKitMutationObserver)return i(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(n(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":a(setTimeout))?function(e){setTimeout(n(e),0)}:null}()})),_r=le((function(){var e=Dr(),t=Ir(),n=Vn(),r=Kn(),a=jr(),i=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;_n().async=function(s,l){var c,d,f,h=u(null),p=u(null),m=l.memoized,v=l.original;l.memoized=r((function(e){var t=arguments,n=t[t.length-1];return"function"==typeof n&&(c=n,t=i.call(t,0,-1)),m.apply(d=this,f=t)}),m);try{n(l.memoized,m)}catch(e){}l.on("get",(function(e){var t,n,r;if(c){if(h[e])return"function"==typeof h[e]?h[e]=[h[e],c]:h[e].push(c),void(c=null);t=c,n=d,r=f,c=d=f=null,a((function(){var a;hasOwnProperty.call(p,e)?(a=p[e],l.emit("getasync",e,r,n),o.call(t,a.context,a.args)):(c=t,d=n,f=r,m.apply(n,r))}))}})),l.original=function(){var t,n,r,i;return c?(t=e(arguments),n=function t(n){var r,u,s=t.id;if(null!=s){if(delete t.id,r=h[s],delete h[s],r)return u=e(arguments),l.has(s)&&(n?l.delete(s):(p[s]={context:this,args:u},l.emit("setasync",s,"function"==typeof r?1:r.length))),"function"==typeof r?i=o.call(r,this,u):r.forEach((function(e){i=o.call(e,this,u)}),this),i}else a(o.bind(t,this,arguments))},r=c,c=d=f=null,t.push(n),i=o.call(v,this,t),n.cb=r,c=n,i):o.call(v,this,arguments)},l.on("set",(function(e){c?(h[e]?"function"==typeof h[e]?h[e]=[h[e],c.cb]:h[e].push(c.cb):h[e]=c.cb,delete c.cb,c.id=e,c=null):l.delete(e)})),l.on("delete",(function(e){var t;hasOwnProperty.call(h,e)||p[e]&&(t=p[e],delete p[e],l.emit("deleteasync",e,i.call(t.args,1)))})),l.on("clear",(function(){var e=p;p=u(null),l.emit("clearasync",t(e,(function(e){return i.call(e.args,1)})))}))}})),qr=le((function(e,t){var n=Array.prototype.forEach,r=Object.create;t.exports=function(e){var t=r(null);return n.call(arguments,(function(e){t[e]=!0})),t}})),Pr=le((function(e,t){t.exports=function(e){return"function"==typeof e}})),$r=le((function(e,t){var n=Pr();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),zr=le((function(e,t){var n=Bn(),r=$r();t.exports=function(e){return r(n(e))}})),Gr=le((function(e,t){var n=Pr();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Lr=le((function(e,t){var n=Gr(),r=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=n(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(r,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),Hr=le((function(e,t){function n(e){return!!e&&("object"===a(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=n,t.exports.default=n})),Ur=le((function(){var e=Ir(),t=qr(),n=zr(),r=Lr(),a=Hr(),i=jr(),o=Object.create,u=t("then","then:finally","done","done:finally");_n().promise=function(t,s){var l=o(null),c=o(null),d=o(null);if(!0===t)t=null;else if(t=n(t),!u[t])throw new TypeError("'"+r(t)+"' is not valid promise mode");s.on("set",(function(e,n,r){var o=!1;if(!a(r))return c[e]=r,void s.emit("setasync",e,1);l[e]=1,d[e]=r;var u=function(t){var n=l[e];if(o)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");n&&(delete l[e],c[e]=t,s.emit("setasync",e,n))},f=function(){o=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},h=t;if(h||(h="then"),"then"===h){var p=function(){i(f)};"function"==typeof(r=r.then((function(e){i(u.bind(this,e))}),p)).finally&&r.finally(p)}else if("done"===h){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");r.done(u,f)}else if("done:finally"===h){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof r.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");r.done(u),r.finally(f)}})),s.on("get",(function(e,t,n){var r;if(l[e])++l[e];else{var o=function(){s.emit("getasync",e,t,n)};a(r=d[e])?"function"==typeof r.done?r.done(o):r.then((function(){i(o)})):o()}})),s.on("delete",(function(e){if(delete d[e],l[e])delete l[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],s.emit("deleteasync",e,[t])}})),s.on("clear",(function(){var t=c;c=o(null),l=o(null),d=o(null),s.emit("clearasync",e(t,(function(e){return[e]})))}))}})),Vr=le((function(){var e=Nn(),t=jn(),n=_n(),r=Function.prototype.apply;n.dispose=function(a,i,o){var u;if(e(a),o.async&&n.async||o.promise&&n.promise)return i.on("deleteasync",u=function(e,t){r.call(a,null,t)}),void i.on("clearasync",(function(e){t(e,(function(e,t){u(t,e)}))}));i.on("delete",u=function(e,t){a(t)}),i.on("clear",(function(e){t(e,(function(e,t){u(t,e)}))}))}})),Kr=le((function(e,t){t.exports=2147483647})),Wr=le((function(e,t){var n=Mn(),r=Kr();t.exports=function(e){if((e=n(e))>r)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),Yr=le((function(){var e=Dr(),t=jn(),n=jr(),r=Hr(),a=Wr(),i=_n(),o=Function.prototype,u=Math.max,s=Math.min,l=Object.create;i.maxAge=function(c,d,f){var h,p,m,v;(c=a(c))&&(h=l(null),d.on("set"+(p=f.async&&i.async||f.promise&&i.promise?"async":""),(function(e){h[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof h[e].unref&&h[e].unref(),v&&(v[e]&&"nextTick"!==v[e]&&clearTimeout(v[e]),v[e]=setTimeout((function(){delete v[e]}),m),"function"==typeof v[e].unref&&v[e].unref())})),d.on("delete"+p,(function(e){clearTimeout(h[e]),delete h[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e])})),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:u(s(Number(f.preFetch),1),0))&&(v={},m=(1-m)*c,d.on("get"+p,(function(t,a,i){v[t]||(v[t]="nextTick",n((function(){var n;"nextTick"===v[t]&&(delete v[t],d.delete(t),f.async&&(a=e(a)).push(o),n=d.memoized.apply(i,a),f.promise&&r(n)&&("function"==typeof n.done?n.done(o,o):n.then(o,o)))})))}))),d.on("clear"+p,(function(){t(h,(function(e){clearTimeout(e)})),h={},v&&(t(v,(function(e){"nextTick"!==e&&clearTimeout(e)})),v={})})))}})),Zr=le((function(e,t){var n=Mn(),r=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,i=0,o=1,u=r(null),s=r(null),l=0;return e=n(e),{hit:function(n){var r=s[n],c=++l;if(u[c]=n,s[n]=c,!r){if(++i<=e)return;return t(n=u[o]),n}if(delete u[r],o===r)for(;!a.call(u,++o););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--i,o===t)){if(!i)return l=0,void(o=1);for(;!a.call(u,++o););}},clear:function(){i=0,o=1,u=r(null),s=r(null),l=0}}}})),Xr=le((function(){var e=Mn(),t=Zr(),n=_n();n.max=function(r,a,i){var o,u,s;(r=e(r))&&(u=t(r),a.on("set"+(o=i.async&&n.async||i.promise&&n.promise?"async":""),s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+o,s),a.on("delete"+o,u.delete),a.on("clear"+o,u.clear))}})),Jr=le((function(){var e=nr(),t=_n(),n=Object.create,r=Object.defineProperties;t.refCounter=function(a,i,o){var u,s;u=n(null),i.on("set"+(s=o.async&&t.async||o.promise&&t.promise?"async":""),(function(e,t){u[e]=t||1})),i.on("get"+s,(function(e){++u[e]})),i.on("delete"+s,(function(e){delete u[e]})),i.on("clear"+s,(function(){u={}})),r(i.memoized,{deleteRef:e((function(){var e=i.get(arguments);return null===e?null:u[e]?! --u[e]&&(i.delete(e),!0):null})),getRefCount:e((function(){var e=i.get(arguments);return null===e?0:u[e]?u[e]:0}))})}})),Qr=le((function(e,t){var n=Cn(),r=On(),a=Ar();t.exports=function(e){var t,i=n(arguments[1]);return i.normalizer||0!==(t=i.length=r(i.length,e.length,i.async))&&(i.primitive?!1===t?i.normalizer=Cr():t>1&&(i.normalizer=kr()(t)):i.normalizer=!1===t?Or()():1===t?Nr()():Br()(t)),i.async&&_r(),i.promise&&Ur(),i.dispose&&Vr(),i.maxAge&&Yr(),i.max&&Xr(),i.refCounter&&Jr(),a(e,i)}})),ea={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,n=e.value,r=e.priority,a=e.group;ea[t]=n,ea[t+"_PRIO"]=r,ea[t+"_GROUP"]=a,ea.results[r]=n,ea.resultGroups[r]=a,ea.resultGroupMap[n]=a})),Object.freeze(ea.results),Object.freeze(ea.resultGroups),Object.freeze(ea.resultGroupMap),Object.freeze(ea);var ta=ea,na=function(){"object"===("undefined"==typeof console?"undefined":a(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},ra=/[\t\r\n\f]/g,aa=W((function e(){V(this,e),this.parent=void 0}),[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var n=" "+e+" ";return(" "+t+" ").replace(ra," ").indexOf(n)>=0}}]),ia={};ce(ia,{DqElement:function(){return fs},RuleError:function(){return Em},aggregate:function(){return oa},aggregateChecks:function(){return fa},aggregateNodeResults:function(){return pa},aggregateResult:function(){return va},areStylesSet:function(){return ba},assert:function(){return ga},checkHelper:function(){return hs},clone:function(){return ps},closest:function(){return Ss},collectResultsFromFrames:function(){return Cl},contains:function(){return kl},convertSelector:function(){return ks},cssParser:function(){return bs},deepMerge:function(){return Rl},escapeSelector:function(){return Da},extendMetaData:function(){return Tl},filterHtmlAttrs:function(){return bm},finalizeRuleResult:function(){return ha},findBy:function(){return El},getAllChecks:function(){return Fl},getAncestry:function(){return ns},getBaseLang:function(){return np},getCheckMessage:function(){return dp},getCheckOption:function(){return fp},getElementSource:function(){return ss},getEnvironmentData:function(){return hp},getFlattenedTree:function(){return Jh},getFrameContexts:function(){return Ap},getFriendlyUriEnd:function(){return xa},getNodeAttributes:function(){return Aa},getNodeFromTree:function(){return us},getPreloadConfig:function(){return fm},getRootNode:function(){return Nl},getRule:function(){return Cp},getScroll:function(){return Rp},getScrollState:function(){return Sp},getSelector:function(){return Qu},getSelectorData:function(){return Ku},getShadowSelector:function(){return qu},getStandards:function(){return Mp},getStyleSheetFactory:function(){return Np},getXpath:function(){return as},injectStyle:function(){return Bp},isArrayLike:function(){return Ip},isContextObject:function(){return qp},isContextProp:function(){return Pp},isContextSpec:function(){return _p},isHidden:function(){return Gp},isHtmlElement:function(){return Lp},isLabelledFramesSelector:function(){return $p},isLabelledShadowDomSelector:function(){return zp},isNodeInContext:function(){return Hp},isShadowRoot:function(){return Ml},isValidLang:function(){return Om},isXHTML:function(){return _u},matchAncestry:function(){return Vp},matches:function(){return gs},matchesExpression:function(){return Ts},matchesSelector:function(){return Ca},memoize:function(){return ju},mergeResults:function(){return Al},nodeLookup:function(){return Wp},nodeSerializer:function(){return wl},nodeSorter:function(){return Kp},objectHasOwn:function(){return jp},parseCrossOriginStylesheet:function(){return Xp},parseSameOriginStylesheet:function(){return Yp},parseStylesheet:function(){return Zp},parseTabindex:function(){return Jp},performanceTimer:function(){return em},pollyfillElementsFromPoint:function(){return tm},preload:function(){return cm},preloadCssom:function(){return im},preloadMedia:function(){return lm},processMessage:function(){return cp},publishMetaData:function(){return hm},querySelectorAll:function(){return mm},querySelectorAllFilter:function(){return am},queue:function(){return Is},respondable:function(){return pl},ruleShouldRun:function(){return vm},select:function(){return ym},sendCommandToFrame:function(){return vl},serializeError:function(){return wm},setScrollState:function(){return xm},shadowSelect:function(){return Am},shadowSelectAll:function(){return km},shouldPreload:function(){return dm},toArray:function(){return ya},tokenList:function(){return Uh},uniqueArray:function(){return nm},uuid:function(){return Xs},validInputTypes:function(){return Tm},validLangs:function(){return Mm}});var oa=function(e,t,n){t=t.slice(),n&&t.push(n);var r=t.map((function(t){return e.indexOf(t)})).sort();return e[r.pop()]},ua=ta.CANTTELL_PRIO,sa=ta.FAIL_PRIO,la=[];la[ta.PASS_PRIO]=!0,la[ta.CANTTELL_PRIO]=null,la[ta.FAIL_PRIO]=!1;var ca=["any","all","none"];function da(e,t){return ca.reduce((function(n,r){return n[r]=(e[r]||[]).map((function(e){return t(e,r)})),n}),{})}var fa=function(e){var t=Object.assign({},e);da(t,(function(e,t){var n=void 0===e.result?-1:la.indexOf(e.result);e.priority=-1!==n?n:ta.CANTTELL_PRIO,"none"===t&&(e.priority===ta.PASS_PRIO?e.priority=ta.FAIL_PRIO:e.priority===ta.FAIL_PRIO&&(e.priority=ta.PASS_PRIO))}));var n={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(n.all,n.none,n.any);var r=[];return ca.forEach((function(e){t[e]=t[e].filter((function(r){return r.priority===t.priority&&r.priority===n[e]})),t[e].forEach((function(e){return r.push(e.impact)}))})),t.impact=[ua,sa].includes(t.priority)?oa(ta.impact,r):null,da(t,(function(e){delete e.result,delete e.priority})),t.result=ta.results[t.priority],delete t.priority,t};function ha(e){var t=i._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(n){(e[n]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,pa(e.nodes)),delete e.nodes,e}var pa=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return fa(e);if(Array.isArray(e.node))return ha(e);throw new TypeError("Invalid Result type")})))&&e.length){var n=e.map((function(e){return e.result}));t.result=oa(ta.results,n,t.result)}else t.result="inapplicable";ta.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){t[ta.resultGroupMap[e.result]].push(e)}));var r=ta.FAIL_GROUP;if(0===t[r].length&&(r=ta.CANTTELL_GROUP),t[r].length>0){var a=t[r].map((function(e){return e.impact}));t.impact=oa(ta.impact,a)||null}else t.impact=null;return t};function ma(e,t,n){var r=Object.assign({},t);r.nodes=(r[n]||[]).concat(),ta.resultGroups.forEach((function(e){delete r[e]})),e[n].push(r)}var va=function(e){var t={};return ta.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?ma(t,e,ta.CANTTELL_GROUP):e.result===ta.NA?ma(t,e,ta.NA_GROUP):ta.resultGroups.forEach((function(n){Array.isArray(e[n])&&e[n].length>0&&ma(t,e,n)}))})),t},ba=function e(n,r,a){var i=t.getComputedStyle(n,null);if(!i)return!1;for(var o=0;o<r.length;++o){var u=r[o];if(i.getPropertyValue(u.property)===u.value)return!0}return!(!n.parentNode||n.nodeName.toUpperCase()===a.toUpperCase())&&e(n.parentNode,r,a)},ga=function(e,t){if(!e)throw new Error(t)},ya=function(e){return Array.prototype.slice.call(e)},Da=function(e){for(var t,n=String(e),r=n.length,a=-1,i="",o=n.charCodeAt(0);++a<r;)0!=(t=n.charCodeAt(a))?i+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==o?"\\"+t.toString(16)+" ":0==a&&1==r&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+n.charAt(a):n.charAt(a):i+="�";return i};function wa(e,t){return[e.substring(0,t),e.substring(t)]}function Fa(e){return e.replace(/\s+$/,"")}var Ea,xa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var n=t.currentDomain,r=t.maxLength,a=void 0===r?25:r,i=function(e){var t=e,n="",r="",a="",i="",o="";if(e.includes("#")){var u=L(wa(e,e.indexOf("#")),2);e=u[0],o=u[1]}if(e.includes("?")){var s=L(wa(e,e.indexOf("?")),2);e=s[0],i=s[1]}if(e.includes("://")){var l=L(e.split("://"),2);n=l[0];var c=L(wa(e=l[1],e.indexOf("/")),2);r=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=L(wa(e=e.substr(2),e.indexOf("/")),2);r=d[0],e=d[1]}if("www."===r.substr(0,4)&&(r=r.substr(4)),r&&r.includes(":")){var f=L(wa(r,r.indexOf(":")),2);r=f[0],a=f[1]}return{original:t,protocol:n,domain:r,port:a,path:e,query:i,hash:o}}(e),o=i.path,u=i.domain,s=i.hash,l=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Fa(l+s):l.length<2&&s.length>2&&s.length<=a?Fa(s):void 0;if(u&&u.length<a&&o.length<=1)return Fa(u+o);if(o==="/"+l&&u&&n&&u!==n&&(u+o).length<=a)return Fa(u+o);var c=l.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||l.length>2)&&l.length<=a&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Fa(l):void 0}},Aa=function(e){return e.attributes instanceof t.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Ca=function(e,t){return Ea&&e[Ea]||(Ea=function(e){var t,n,r=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=r.length;for(t=0;t<a;t++)if(e[n=r[t]])return n}(e)),!!e[Ea]&&e[Ea](t)},ka={};ce(ka,{ArrayFrom:function(){return Iu.default},Colorjs:function(){return Su},CssSelectorParser:function(){return Na.CssSelectorParser},doT:function(){return Ba.default},emojiRegexText:function(){return Ia},memoize:function(){return ja.default}});var Ra=de(he()),Ta=de(pe());de(me());var Sa=de(pt()),Ma=de(Ot()),Oa=de(gn());"hasOwn"in Object||(Object.hasOwn=Sa.default),"values"in Object||(Object.values=Ma.default),"Promise"in t||Ra.default.polyfill(),"Uint32Array"in t||(t.Uint32Array=Ta.Uint32Array),t.Uint32Array&&("some"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,a=arguments[1],i=0;i<r;i++)if(e.call(a,t=n[i],i,n))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=Object(this),r=n.length>>>0,a=0;a<r;a++)if(e.call(t,n[a],a,n))return a;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),n=parseInt(t.length,10)||0;if(0===n)return!1;var r,a,i=parseInt(arguments[1],10)||0;for(i>=0?r=i:(r=n+i)<0&&(r=0);r<n;){if(e===(a=t[r])||e!=e&&a!=a)return!0;r++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),n=t.length>>>0,r=arguments.length>=2?arguments[1]:void 0,a=0;a<n;a++)if(a in t&&e.call(r,t[a],a,t))return!0;return!1}}),Array.from||(Array.from=Oa.default),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(n,r){return Array.isArray(r)?n.push.apply(n,e.call(r,t-1)):n.push(r),n}),[]):Array.prototype.slice.call(this)},writable:!0}),t.Node&&!("isConnected"in t.Node.prototype)&&Object.defineProperty(t.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Na=de(Fn()),Ba=de(En()),Ia=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},ja=de(Qr());function _a(e,t){var n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map((function(e){return[e]})));var r=t[0].length,a=t[0].map((function(e,n){return t.map((function(e){return e[n]}))})),i=e.map((function(e){return a.map((function(t){var n=0;if(!Array.isArray(e)){var r,a=Z(t);try{for(a.s();!(r=a.n()).done;)n+=e*r.value}catch(e){a.e(e)}finally{a.f()}return n}for(var i=0;i<e.length;i++)n+=e[i]*(t[i]||0);return n}))}));return 1===n&&(i=i[0]),1===r?i.map((function(e){return e[0]})):i}function qa(e){return"string"===Pa(e)}function Pa(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function $a(e,t){e=+e,t=+t;var n=(Math.floor(e)+"").length;if(t>n)return+e.toFixed(t-n);var r=Math.pow(10,n-t);return Math.round(e/r)*r}function za(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,n=e.match(/^([a-z]+)\((.+?)\)$/i);if(n){var r=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,n){/%$/.test(n)?(n=new Number(n.slice(0,-1)/100)).type="<percentage>":/deg$/.test(n)?((n=new Number(+n.slice(0,-3))).type="<angle>",n.unit="deg"):t.test(n)&&((n=new Number(n)).type="<number>"),e.startsWith("/")&&((n=n instanceof Number?n:new Number(n)).alpha=!0),r.push(n)})),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:r}}}}function Ga(e){return e[e.length-1]}function La(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function Ha(e,t,n){return(n-e)/(t-e)}function Ua(e,t,n){return La(t[0],t[1],Ha(e[0],e[1],n))}function Va(e){return e.map((function(e){return e.split("|").map((function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var n=new String(t[1]);return n.range=[+t[2],+t[3]],n}return e}))}))}var Ka=Object.freeze({__proto__:null,isString:qa,type:Pa,toPrecision:$a,parseFunction:za,last:Ga,interpolate:La,interpolateInv:Ha,mapRange:Ua,parseCoordGrammar:Va,multiplyMatrices:_a}),Wa=W((function e(){V(this,e)}),[{key:"add",value:function(e,t,n){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),Ya=new Wa,Za={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Xa={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Ja(e){return Array.isArray(e)?e:Xa[e]}function Qa(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=Ja(e),t=Ja(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return n;var a={W1:e,W2:t,XYZ:n,options:r};if(Ya.run("chromatic-adaptation-start",a),a.M||(a.W1===Xa.D65&&a.W2===Xa.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Xa.D50&&a.W2===Xa.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Ya.run("chromatic-adaptation-end",a),a.M)return _a(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var ei=(e=new WeakSet,S=new WeakMap,W((function t(n){var r,a,i,o,u,s,l;V(this,t),q(this,e),_(this,S,void 0),this.id=n.id,this.name=n.name,this.base=n.base?ei.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var c=null!==(r=n.coords)&&void 0!==r?r:this.base.coords;this.coords=c;var d=null!==(a=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==a?a:"D65";for(var f in this.white=Ja(d),this.formats=null!==(o=n.formats)&&void 0!==o?o:{},this.formats){var h=this.formats[f];h.type||(h.type="function"),h.name||(h.name=f)}!n.cssId||null!==(u=this.formats.functions)&&void 0!==u&&u.color?null===(s=this.formats)||void 0===s||!s.color||null!==(l=this.formats)&&void 0!==l&&l.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,z(S,this,G(e,this,ni).call(this).reverse()),Ya.run("colorspace-init-end",this)}),[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,n=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:n});var r=Object.values(this.coords);return e.every((function(e,t){var a=r[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var i=L(a.range,2),o=i[0],u=i[1];return(void 0===o||e>=o-n)&&(void 0===u||e<=u+n)}return!0}))}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===a(t)?t=G(e,this,ti).call(this,t):(n="default"===t?Object.values(this.formats)[0]:this.formats[t])?n=G(e,this,ti).call(this,n):null;var n}},{key:"to",value:function(e,t){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],t=n[1]}if(this===(e=ei.get(e)))return t;t=t.map((function(e){return Number.isNaN(e)?0:e}));for(var r,a,i=$(S,this),o=$(S,e),u=0;u<i.length&&i[u]===o[u];u++)r=i[u],a=u;if(!r)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var s=i.length-1;s>a;s--)t=i[s].toBase(t);for(var l=a+1;l<o.length;l++)t=o[l].fromBase(t);return t}},{key:"from",value:function(e,t){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],t=n[1]}return(e=ei.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var n,r=this.coords[t],a=r.range||r.refRange;e.push(null!==(n=null==a?void 0:a.min)&&void 0!==n?n:0)}return e}}],[{key:"all",get:function(){return I(new Set(Object.values(ei.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var n,r=Z(t.aliases);try{for(r.s();!(n=r.n()).done;)this.register(n.value,t)}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof ei)return e;if("string"===Pa(e)){var t=ei.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];if(r.length)return ei.get.apply(ei,r);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var n,r,a=Pa(e);if("string"===a)if(e.includes(".")){var i=L(e.split("."),2);n=i[0],r=i[1]}else n=void 0,r=e;else if(Array.isArray(e)){var o=L(e,2);n=o[0],r=o[1]}else n=e.space,r=e.coordId;if((n=ei.get(n))||(n=t),!n)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(a=Pa(r))||"string"===a&&r>=0){var u=Object.entries(n.coords)[r];if(u)return B({space:n,id:u[0],index:r},u[1])}n=ei.get(n);var s=r.toLowerCase(),l=0;for(var c in n.coords){var d,f=n.coords[c];if(c.toLowerCase()===s||(null===(d=f.name)||void 0===d?void 0:d.toLowerCase())===s)return B({space:n,id:c,index:l},f);l++}throw new TypeError('No "'.concat(r,'" coordinate found in ').concat(n.name,". Its coordinates are: ").concat(Object.keys(n.coords).join(", ")))}}]));function ti(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Va(e.coords);var t=Object.entries(this.coords).map((function(t,n){var r=L(t,2)[1],a=e.coordGrammar[n][0],i=a.range,o="";return"<percentage>"==a?(i=[0,100],o="%"):"<angle>"==a&&(o="deg"),{fromRange:r.range||r.refRange,toRange:i,suffix:o}}));e.serializeCoords=function(e,n){return e.map((function(e,r){var a=t[r],i=a.fromRange,o=a.toRange,u=a.suffix;return i&&o&&(e=Ua(i,o,e)),e=$a(e,n),u&&(e+=u),e}))}}return e}function ni(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ri=ei;fe(ri,"registry",{}),fe(ri,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ai=new ri({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),ii=function(e){function t(e){var n,r,a,i;return V(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=ai),e.toXYZ_M&&e.fromXYZ_M&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var n=_a(e.toXYZ_M,t);return r.white!==r.base.white&&(n=Qa(r.white,r.base.white,n)),n}),null!==(i=e.fromBase)&&void 0!==i||(e.fromBase=function(t){return t=Qa(r.base.white,r.white,t),_a(e.fromXYZ_M,t)})),null!==(n=e.referred)&&void 0!==n||(e.referred="display"),r=T(this,t,[e])}return O(t,e),W(t)}(ri);function oi(e){var t,n={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Ya.run("parse-start",n),n.color)return n.color;if(n.parsed=za(n.str),n.parsed){var r=n.parsed.name;if("color"===r){var a,i=n.parsed.args.shift(),o=n.parsed.rawArgs.indexOf("/")>0?n.parsed.args.pop():1,u=Z(ri.all);try{var s,l=function(){var e,t=a.value,r=t.getFormat("color");if(r&&(i===r.id||null!==(e=r.ids)&&void 0!==e&&e.includes(i))){var u=Object.keys(t.coords).length,s=Array(u).fill(0);return s.forEach((function(e,t){return s[t]=n.parsed.args[t]||0})),{v:{spaceId:t.id,coords:s,alpha:o}}}};for(u.s();!(a=u.n()).done;)if(s=l())return s.v}catch(e){u.e(e)}finally{u.f()}var c="";if(i in ri.registry){var d,f=null===(d=ri.registry[i].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;f&&(c="Did you mean color(".concat(f,")?"))}throw new TypeError("Cannot parse color(".concat(i,"). ")+(c||"Missing a plugin?"))}var h,p=Z(ri.all);try{var m,v=function(){var e=h.value,t=e.getFormat(r);if(t&&"function"===t.type){var a=1;(t.lastAlpha||Ga(n.parsed.args).alpha)&&(a=n.parsed.args.pop());var i=n.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach((function(e,n){var a,o=L(e,2),u=o[0],s=o[1],l=t.coordGrammar[n],c=null===(a=i[n])||void 0===a?void 0:a.type;if(!(l=l.find((function(e){return e==c})))){var d=s.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(r,"()"))}var f=l.range;"<percentage>"===c&&(f||(f=[0,1]));var h=s.range||s.refRange;f&&h&&(i[n]=Ua(f,h,i[n]))})),{v:{spaceId:e.id,coords:i,alpha:a}}}};for(p.s();!(h=p.n()).done;)if(m=v())return m.v}catch(e){p.e(e)}finally{p.f()}}else{var b,g=Z(ri.all);try{for(g.s();!(b=g.n()).done;){var y=b.value;for(var D in y.formats){var w=y.formats[D];if("custom"===w.type&&(!w.test||w.test(n.str))){var F,E=w.parse(n.str);if(E)return null!==(F=E.alpha)&&void 0!==F||(E.alpha=1),E}}}}catch(e){g.e(e)}finally{g.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function ui(e){if(!e)throw new TypeError("Empty color reference");qa(e)&&(e=oi(e));var t=e.space||e.spaceId;return t instanceof ri||(e.space=ri.get(t)),void 0===e.alpha&&(e.alpha=1),e}function si(e,t){return(t=ri.get(t)).from(e)}function li(e,t){var n=ri.resolveCoord(t,e.space),r=n.index;return si(e,n.space)[r]}function ci(e,t,n){return t=ri.get(t),e.coords=t.to(e.space,n),e}function di(e,t,n){if(e=ui(e),2===arguments.length&&"object"===Pa(arguments[1])){var r=arguments[1];for(var a in r)di(e,a,r[a])}else{"function"==typeof n&&(n=n(li(e,t)));var i=ri.resolveCoord(t,e.space),o=i.space,u=i.index,s=si(e,o);s[u]=n,ci(e,o,s)}return e}var fi=new ri({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ai,fromBase:function(e){return Qa(ai.white,"D50",e)},toBase:function(e){return Qa("D50",ai.white,e)},formats:{color:{}}}),hi=216/24389,pi=24/116,mi=24389/27,vi=Xa.D50,bi=new ri({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:vi,base:fi,fromBase:function(e){var t=e.map((function(e,t){return e/vi[t]})),n=t.map((function(e){return e>hi?Math.cbrt(e):(mi*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>pi?Math.pow(t[0],3):(116*t[0]-16)/mi,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/mi,t[2]>pi?Math.pow(t[2],3):(116*t[2]-16)/mi].map((function(e,t){return e*vi[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function gi(e){return(e%360+360)%360}var yi=new ri({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:bi,fromBase:function(e){var t,n=L(e,3),r=n[0],a=n[1],i=n[2];return t=Math.abs(a)<.02&&Math.abs(i)<.02?NaN:180*Math.atan2(i,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),gi(t)]},toBase:function(e){var t=L(e,3),n=t[0],r=t[1],a=t[2];return r<0&&(r=0),isNaN(a)&&(a=0),[n,r*Math.cos(a*Math.PI/180),r*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Di=Math.pow(25,7),wi=Math.PI,Fi=180/wi,Ei=wi/180;function xi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.kL,a=void 0===r?1:r,i=n.kC,o=void 0===i?1:i,u=n.kH,s=void 0===u?1:u,l=L(bi.from(e),3),c=l[0],d=l[1],f=l[2],h=yi.from(bi,[c,d,f])[1],p=L(bi.from(t),3),m=p[0],v=p[1],b=p[2],g=yi.from(bi,[m,v,b])[1];h<0&&(h=0),g<0&&(g=0);var y=Math.pow((h+g)/2,7),D=.5*(1-Math.sqrt(y/(y+Di))),w=(1+D)*d,F=(1+D)*v,E=Math.sqrt(Math.pow(w,2)+Math.pow(f,2)),x=Math.sqrt(Math.pow(F,2)+Math.pow(b,2)),A=0===w&&0===f?0:Math.atan2(f,w),C=0===F&&0===b?0:Math.atan2(b,F);A<0&&(A+=2*wi),C<0&&(C+=2*wi);var k,R=m-c,T=x-E,S=(C*=Fi)-(A*=Fi),M=A+C,O=Math.abs(S);E*x==0?k=0:O<=180?k=S:S>180?k=S-360:S<-180?k=S+360:console.log("the unthinkable has happened");var N,B=2*Math.sqrt(x*E)*Math.sin(k*Ei/2),I=(c+m)/2,j=(E+x)/2,_=Math.pow(j,7);N=E*x==0?M:O<=180?M/2:M<360?(M+360)/2:(M-360)/2;var q=Math.pow(I-50,2),P=1+.015*q/Math.sqrt(20+q),$=1+.045*j,z=1;z-=.17*Math.cos((N-30)*Ei),z+=.24*Math.cos(2*N*Ei),z+=.32*Math.cos((3*N+6)*Ei);var G=1+.015*j*(z-=.2*Math.cos((4*N-63)*Ei)),H=30*Math.exp(-1*Math.pow((N-275)/25,2)),U=2*Math.sqrt(_/(_+Di)),V=-1*Math.sin(2*H*Ei)*U,K=Math.pow(R/(a*P),2);return K+=Math.pow(T/(o*$),2),K+=Math.pow(B/(s*G),2),K+=V*(T/(o*$))*(B/(s*G)),Math.sqrt(K)}function Ai(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,r=void 0===n?75e-6:n;e=ui(e),t=ri.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:r})}function Ci(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function ki(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method,r=void 0===n?Za.gamut_mapping:n,a=t.space,i=void 0===a?e.space:a;if(qa(arguments[1])&&(i=arguments[1]),Ai(e,i=ri.get(i),{epsilon:0}))return e;var o=Ri(e,i);if("clip"!==r&&!Ai(e,i)){var u=ki(Ci(o),{method:"clip",space:i});if(xi(e,u)>2){for(var s=ri.resolveCoord(r),l=s.id,c=Ri(o,s.space),d=(s.range||s.refRange)[0],f=li(c,l);f-d>.01;){var h=Ci(c);xi(c,h=ki(h,{space:i,method:"clip"}))-2<.01?d=li(c,l):f=li(c,l),di(c,l,(d+f)/2)}o=Ri(c,i)}else o=u}if("clip"===r||!Ai(o,i,{epsilon:0})){var p=Object.values(i.coords).map((function(e){return e.range||[]}));o.coords=o.coords.map((function(e,t){var n=L(p[t],2),r=n[0],a=n[1];return void 0!==r&&(e=Math.max(r,e)),void 0!==a&&(e=Math.min(e,a)),e}))}return i!==e.space&&(o=Ri(o,e.space)),e.coords=o.coords,e}function Ri(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=ui(e);var r=(t=ri.get(t)).from(e),a={space:t,coords:r,alpha:e.alpha};return n&&(a=ki(a)),a}function Ti(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.precision,u=void 0===i?Za.precision:i,s=a.format,l=void 0===s?"default":s,c=a.inGamut,d=void 0===c||c,f=R(a,o),h=l;l=null!==(t=null!==(n=(e=ui(e)).space.getFormat(l))&&void 0!==n?n:e.space.getFormat("default"))&&void 0!==t?t:ri.DEFAULT_FORMAT,d||(d=l.toGamut);var p=e.coords;if(p=p.map((function(e){return e||0})),d&&!Ai(e)&&(p=ki(Ci(e),!0===d?void 0:d).coords),"custom"===l.type){if(f.precision=u,!l.serialize)throw new TypeError("format ".concat(h," can only be used to parse colors, not for serialization"));r=l.serialize(p,e.alpha,f)}else{var m=l.name||"color";l.serializeCoords?p=l.serializeCoords(p,u):null!==u&&(p=p.map((function(e){return $a(e,u)})));var v=I(p);if("color"===m){var b,g=l.id||(null===(b=l.ids)||void 0===b?void 0:b[0])||e.space.id;v.unshift(g)}var y=e.alpha;null!==u&&(y=$a(y,u));var D=e.alpha<1&&!l.noAlpha?"".concat(l.commas?",":" /"," ").concat(y):"";r="".concat(m,"(").concat(v.join(l.commas?", ":" ")).concat(D,")")}return r}ki.returns="color",Ri.returns="color";var Si=new ii({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),Mi=1.09929682680944,Oi=.018053968510807,Ni=new ii({id:"rec2020",name:"REC.2020",base:Si,toBase:function(e){return e.map((function(e){return e<4.5*Oi?e/4.5:Math.pow((e+Mi-1)/Mi,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=Oi?Mi*Math.pow(e,.45)-(Mi-1):4.5*e}))},formats:{color:{}}}),Bi=new ii({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),Ii=new ii({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),ji={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},_i=Array(3).fill("<percentage> | <number>[0, 255]"),qi=Array(3).fill("<number>[0, 255]"),Pi=new ii({id:"srgb",name:"sRGB",base:Ii,fromBase:function(e){return e.map((function(e){var t=e<0?-1:1,n=e*t;return n>.0031308?t*(1.055*Math.pow(n,1/2.4)-.055):12.92*e}))},toBase:function(e){return e.map((function(e){var t=e<0?-1:1,n=e*t;return n<.04045?e/12.92:t*Math.pow((n+.055)/1.055,2.4)}))},formats:{rgb:{coords:_i},rgb_number:{name:"rgb",commas:!0,coords:qi,noAlpha:!0},color:{},rgba:{coords:_i,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:qi},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,r=void 0===n||n;t<1&&e.push(t),e=e.map((function(e){return Math.round(255*e)}));var a=r&&e.every((function(e){return e%17==0}));return"#"+e.map((function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=ji.black,t.alpha=0):t.coords=ji[e],t.coords)return t}}}}),$i=new ii({id:"p3",name:"P3",base:Bi,fromBase:Pi.fromBase,toBase:Pi.toBase,formats:{color:{id:"display-p3"}}});if(Za.display_space=Pi,"undefined"!=typeof CSS&&null!==(M=CSS)&&void 0!==M&&M.supports)for(var zi=0,Gi=[bi,Ni,$i];zi<Gi.length;zi++){var Li=Gi[zi],Hi=Li.getMinCoords(),Ui=Ti({space:Li,coords:Hi,alpha:1});if(CSS.supports("color",Ui)){Za.display_space=Li;break}}function Vi(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.space,a=void 0===r?Za.display_space:r,i=R(n,u),o=Ti(e,i);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",o)||!Za.display_space)(o=new String(o)).color=e;else{var s=Ri(e,a);(o=new String(Ti(s,i))).color=s}return o}function Ki(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",r=(n=ri.get(n)).from(e),a=n.from(t);return Math.sqrt(r.reduce((function(e,t,n){var r=a[n];return isNaN(t)||isNaN(r)?e:e+Math.pow(r-t,2)}),0))}function Wi(e){return li(e,[ai,"y"])}function Yi(e,t){di(e,[ai,"y"],t)}var Zi=Object.freeze({__proto__:null,getLuminance:Wi,setLuminance:Yi,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Wi(this)},set:function(e){Yi(this,e)}})}});function Xi(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function Ji(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}var Qi=216/24389,eo=24/116,to=24389/27,no=Xa.D65,ro=new ri({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:no,base:ai,fromBase:function(e){var t=e.map((function(e,t){return e/no[t]})),n=t.map((function(e){return e>Qi?Math.cbrt(e):(to*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>eo?Math.pow(t[0],3):(116*t[0]-16)/to,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/to,t[2]>eo?Math.pow(t[2],3):(116*t[2]-16)/to].map((function(e,t){return e*no[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ao=.5*Math.pow(5,.5)+.5,io=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=ui(e),t=ui(t);var n=Math.max(Wi(e),0),r=Math.max(Wi(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}return(n+.05)/(r+.05)},contrastAPCA:function(e,t){var n,r,a;t=ui(t),e=ui(e);var i=L((t=Ri(t,"srgb")).coords,3);r=i[1],a=i[2];var o=.2126729*Ji(i[0])+.7151522*Ji(r)+.072175*Ji(a),u=L((e=Ri(e,"srgb")).coords,3);r=u[1],a=u[2];var s=.2126729*Ji(u[0])+.7151522*Ji(r)+.072175*Ji(a),l=Xi(o),c=Xi(s),d=c>l;return n=Math.abs(c-l)<5e-4?0:d?1.14*(Math.pow(c,.56)-Math.pow(l,.57)):1.14*(Math.pow(c,.65)-Math.pow(l,.62)),100*(Math.abs(n)<.1?0:n>0?n-.027:n+.027)},contrastMichelson:function(e,t){e=ui(e),t=ui(t);var n=Math.max(Wi(e),0),r=Math.max(Wi(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}var i=n+r;return 0===i?0:(n-r)/i},contrastWeber:function(e,t){e=ui(e),t=ui(t);var n=Math.max(Wi(e),0),r=Math.max(Wi(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}return 0===r?5e4:(n-r)/r},contrastLstar:function(e,t){e=ui(e),t=ui(t);var n=li(e,[bi,"l"]),r=li(t,[bi,"l"]);return Math.abs(n-r)},contrastDeltaPhi:function(e,t){e=ui(e),t=ui(t);var n=li(e,[ro,"l"]),r=li(t,[ro,"l"]),a=Math.abs(Math.pow(n,ao)-Math.pow(r,ao)),i=Math.pow(a,1/ao)*Math.SQRT2-40;return i<7.5?0:i}});function oo(e){var t=L(si(e,ai),3),n=t[0],r=t[1],a=n+15*r+3*t[2];return[4*n/a,9*r/a]}function uo(e){var t=L(si(e,ai),3),n=t[0],r=t[1],a=n+r+t[2];return[n/a,r/a]}var so=Object.freeze({__proto__:null,uv:oo,xy:uo,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return oo(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return uo(this)}})}}),lo=Math.PI/180,co=new ri({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:ai,fromBase:function(e){return e.map((function(e){return Math.max(203*e,0)}))},toBase:function(e){return e.map((function(e){return Math.max(e/203,0)}))}}),fo=1.15,ho=.66,po=2610/Math.pow(2,14),mo=Math.pow(2,14)/2610,vo=3424/Math.pow(2,12),bo=2413/Math.pow(2,7),go=2392/Math.pow(2,7),yo=1.7*2523/Math.pow(2,5),Do=Math.pow(2,5)/(1.7*2523),wo=-.56,Fo=16295499532821565e-27,Eo=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],xo=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Ao=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Co=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],ko=new ri({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:co,fromBase:function(e){var t=L(e,3),n=t[0],r=t[2],a=_a(Eo,[fo*n-(fo-1)*r,ho*t[1]-(ho-1)*n,r]).map((function(e){var t=vo+bo*Math.pow(e/1e4,po),n=1+go*Math.pow(e/1e4,po);return Math.pow(t/n,yo)})),i=L(_a(Ao,a),3),o=i[0];return[(1+wo)*o/(1+wo*o)-Fo,i[1],i[2]]},toBase:function(e){var t=L(e,3),n=t[0],r=_a(Co,[(n+Fo)/(1+wo-wo*(n+Fo)),t[1],t[2]]).map((function(e){var t=vo-Math.pow(e,Do),n=go*Math.pow(e,Do)-bo;return 1e4*Math.pow(t/n,mo)})),a=L(_a(xo,r),3),i=a[2],o=(a[0]+(fo-1)*i)/fo;return[o,(a[1]+(ho-1)*o)/ho,i]},formats:{color:{}}}),Ro=new ri({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:ko,fromBase:function(e){var t,n=L(e,3),r=n[0],a=n[1],i=n[2],o=2e-4;return t=Math.abs(a)<o&&Math.abs(i)<o?NaN:180*Math.atan2(i,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),gi(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}}),To=.8359375,So=2413/128,Mo=18.6875,Oo=2610/16384,No=16384/2610,Bo=32/2523,Io=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],jo=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],_o=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],qo=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],Po=new ri({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:co,fromBase:function(e){return t=_a(Io,e),n=t.map((function(e){var t=To+So*Math.pow(e/1e4,Oo),n=1+Mo*Math.pow(e/1e4,Oo);return Math.pow(t/n,78.84375)})),_a(jo,n);var t,n},toBase:function(e){var t=function(e){return _a(_o,e).map((function(e){var t=Math.max(Math.pow(e,Bo)-To,0),n=So-Mo*Math.pow(e,Bo);return 1e4*Math.pow(t/n,No)}))}(e);return _a(qo,t)},formats:{color:{}}}),$o=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],zo=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],Go=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],Lo=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],Ho=new ri({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:ai,fromBase:function(e){var t=_a($o,e).map((function(e){return Math.cbrt(e)}));return _a(Go,t)},toBase:function(e){var t=_a(Lo,e).map((function(e){return Math.pow(e,3)}));return _a(zo,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}}),Uo=Object.freeze({__proto__:null,deltaE76:function(e,t){return Ki(e,t,"lab")},deltaECMC:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.l,a=void 0===r?2:r,i=n.c,o=void 0===i?1:i,u=L(bi.from(e),3),s=u[0],l=u[1],c=u[2],d=L(yi.from(bi,[s,l,c]),3),f=d[1],h=d[2],p=L(bi.from(t),3),m=p[0],v=p[1],b=p[2],g=yi.from(bi,[m,v,b])[1];f<0&&(f=0),g<0&&(g=0);var y=s-m,D=f-g,w=c-b,F=Math.pow(l-v,2)+Math.pow(w,2)-Math.pow(D,2),E=.511;s>=16&&(E=.040975*s/(1+.01765*s));var x,A=.0638*f/(1+.0131*f)+.638;Number.isNaN(h)&&(h=0),x=h>=164&&h<=345?.56+Math.abs(.2*Math.cos((h+168)*lo)):.36+Math.abs(.4*Math.cos((h+35)*lo));var C=Math.pow(f,4),k=Math.sqrt(C/(C+1900)),R=A*(k*x+1-k),T=Math.pow(y/(a*E),2);return T+=Math.pow(D/(o*A),2),T+=F/Math.pow(R,2),Math.sqrt(T)},deltaE2000:xi,deltaEJz:function(e,t){var n=L(Ro.from(e),3),r=n[0],a=n[1],i=n[2],o=L(Ro.from(t),3),u=o[1],s=o[2],l=r-o[0],c=a-u;Number.isNaN(i)&&Number.isNaN(s)?(i=0,s=0):Number.isNaN(i)?i=s:Number.isNaN(s)&&(s=i);var d=i-s,f=2*Math.sqrt(a*u)*Math.sin(d/2*(Math.PI/180));return Math.sqrt(Math.pow(l,2)+Math.pow(c,2)+Math.pow(f,2))},deltaEITP:function(e,t){var n=L(Po.from(e),3),r=n[0],a=n[1],i=n[2],o=L(Po.from(t),3),u=o[1],s=o[2];return 720*Math.sqrt(Math.pow(r-o[0],2)+.25*Math.pow(a-u,2)+Math.pow(i-s,2))},deltaEOK:function(e,t){var n=L(Ho.from(e),3),r=n[0],a=n[1],i=n[2],o=L(Ho.from(t),3),u=a-o[1],s=i-o[2];return Math.sqrt(Math.pow(r-o[0],2)+Math.pow(u,2)+Math.pow(s,2))}});function Vo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(n)&&(n={method:n});var r=n.method,a=void 0===r?Za.deltaE:r,i=R(n,l);for(var o in e=ui(e),t=ui(t),Uo)if("deltae"+a.toLowerCase()===o.toLowerCase())return Uo[o](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(a))}var Ko=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return di(e,[ri.get("oklch","lch"),"l"],(function(e){return e*(1+t)}))},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return di(e,[ri.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function Wo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[ui(e),ui(t)];if(e=a[0],t=a[1],"object"===Pa(n)){var i=[.5,n];n=i[0],r=i[1]}return Zo(e,t,{space:r.space,outputSpace:r.outputSpace,premultiplied:r.premultiplied})(n)}function Yo(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Xo(e)){r=t;var a=L((n=e).rangeArgs.colors,2);e=a[0],t=a[1]}var i=r.maxDeltaE,o=r.deltaEMethod,u=r.steps,s=void 0===u?2:u,l=r.maxSteps,d=void 0===l?1e3:l,f=R(r,c);if(!n){var h=[ui(e),ui(t)];n=Zo(e=h[0],t=h[1],f)}var p=Vo(e,t),m=i>0?Math.max(s,Math.ceil(p/i)+1):s,v=[];if(void 0!==d&&(m=Math.min(m,d)),1===m)v=[{p:.5,color:n(.5)}];else{var b=1/(m-1);v=Array.from({length:m},(function(e,t){var r=t*b;return{p:r,color:n(r)}}))}if(i>0)for(var g=v.reduce((function(e,t,n){if(0===n)return 0;var r=Vo(t.color,v[n-1].color,o);return Math.max(e,r)}),0);g>i;){g=0;for(var y=1;y<v.length&&v.length<d;y++){var D=v[y-1],w=v[y],F=(w.p+D.p)/2,E=n(F);g=Math.max(g,Vo(E,D.color),Vo(E,w.color)),v.splice(y,0,{p:F,color:n(F)}),y++}}return v=v.map((function(e){return e.color}))}function Zo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Xo(e)){var r=e,a=t;return Zo.apply(void 0,I(r.rangeArgs.colors).concat([B({},r.rangeArgs.options,a)]))}var i=n.space,o=n.outputSpace,u=n.progression,s=n.premultiplied;e=ui(e),t=ui(t),e=Ci(e),t=Ci(t);var l={colors:[e,t],options:n};if(i=i?ri.get(i):ri.registry[Za.interpolationSpace]||e.space,o=o?ri.get(o):i,e=Ri(e,i),t=Ri(t,i),e=ki(e),t=ki(t),i.coords.h&&"angle"===i.coords.h.type){var c=n.hue=n.hue||"shorter",d=[i,"h"],f=[li(e,d),li(t,d)],h=f[0],p=f[1],m=function(e,t){if("raw"===e)return t;var n=L(t.map(gi),2),r=n[0],a=n[1],i=a-r;return"increasing"===e?i<0&&(a+=360):"decreasing"===e?i>0&&(r+=360):"longer"===e?-180<i&&i<180&&(i>0?a+=360:r+=360):"shorter"===e&&(i>180?r+=360:i<-180&&(a+=360)),[r,a]}(c,[h,p]),v=L(m,2);p=v[1],di(e,d,h=v[0]),di(t,d,p)}return s&&(e.coords=e.coords.map((function(t){return t*e.alpha})),t.coords=t.coords.map((function(e){return e*t.alpha}))),Object.assign((function(n){n=u?u(n):n;var r=e.coords.map((function(e,r){return La(e,t.coords[r],n)})),a=La(e.alpha,t.alpha,n),l={space:i,coords:r,alpha:a};return s&&(l.coords=l.coords.map((function(e){return e/a}))),o!==i&&(l=Ri(l,o)),l}),{rangeArgs:l})}function Xo(e){return"function"===Pa(e)&&!!e.rangeArgs}Za.interpolationSpace="lab";var Jo=Object.freeze({__proto__:null,mix:Wo,steps:Yo,range:Zo,isRange:Xo,register:function(e){e.defineFunction("mix",Wo,{returns:"color"}),e.defineFunction("range",Zo,{returns:"function<color>"}),e.defineFunction("steps",Yo,{returns:"array<color>"})}}),Qo=new ri({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Pi,fromBase:function(e){var t=Math.max.apply(Math,I(e)),n=Math.min.apply(Math,I(e)),r=L(e,3),a=r[0],i=r[1],o=r[2],u=NaN,s=0,l=(n+t)/2,c=t-n;if(0!==c){switch(s=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case a:u=(i-o)/c+(i<o?6:0);break;case i:u=(o-a)/c+2;break;case o:u=(a-i)/c+4}u*=60}return[u,100*s,100*l]},toBase:function(e){var t=L(e,3),n=t[0],r=t[1],a=t[2];function i(e){var t=(e+n/30)%12,i=r*Math.min(a,1-a);return a-i*Math.max(-1,Math.min(t-3,9-t,1))}return(n%=360)<0&&(n+=360),r/=100,a/=100,[i(0),i(8),i(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),eu=new ri({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Qo,fromBase:function(e){var t=L(e,3),n=t[0],r=t[1],a=t[2],i=(a/=100)+(r/=100)*Math.min(a,1-a);return[n,0===i?0:200*(1-a/i),100*i]},toBase:function(e){var t=L(e,3),n=t[1],r=t[2],a=(r/=100)*(1-(n/=100)/2);return[t[0],0===a||1===a?0:(r-a)/Math.min(a,1-a)*100,100*a]},formats:{color:{toGamut:!0}}}),tu=new ri({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:eu,fromBase:function(e){var t=L(e,3),n=t[2];return[t[0],n*(100-t[1])/100,100-n]},toBase:function(e){var t=L(e,3),n=t[0],r=t[1],a=t[2],i=(r/=100)+(a/=100);if(i>=1)return[n,0,r/i*100];var o=1-a;return[n,100*(0===o?0:1-r/o),100*o]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),nu=new ii({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),ru=new ii({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:nu,toBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)}))},fromBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)}))},formats:{color:{id:"a98-rgb"}}}),au=new ii({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:fi,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),iu=1/512,ou=new ii({id:"prophoto",name:"ProPhoto",base:au,toBase:function(e){return e.map((function(e){return e<.03125?e/16:Math.pow(e,1.8)}))},fromBase:function(e){return e.map((function(e){return e>=iu?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),uu=new ri({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Ho,fromBase:function(e){var t,n=L(e,3),r=n[0],a=n[1],i=n[2],o=2e-4;return t=Math.abs(a)<o&&Math.abs(i)<o?NaN:180*Math.atan2(i,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),gi(t)]},toBase:function(e){var t,n,r=L(e,3),a=r[0],i=r[1],o=r[2];return isNaN(o)?(t=0,n=0):(t=i*Math.cos(o*Math.PI/180),n=i*Math.sin(o*Math.PI/180)),[a,t,n]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),su=2610/Math.pow(2,14),lu=Math.pow(2,14)/2610,cu=2523/Math.pow(2,5),du=Math.pow(2,5)/2523,fu=3424/Math.pow(2,12),hu=2413/Math.pow(2,7),pu=2392/Math.pow(2,7),mu=new ii({id:"rec2100pq",name:"REC.2100-PQ",base:Si,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,du)-fu,0)/(hu-pu*Math.pow(e,du)),lu)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),n=fu+hu*Math.pow(t,su),r=1+pu*Math.pow(t,su);return Math.pow(n/r,cu)}))},formats:{color:{id:"rec2100-pq"}}}),vu=.17883277,bu=.28466892,gu=.55991073,yu=3.7743,Du=new ii({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Si,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*yu:Math.exp((e-gu)/vu+bu)/12*yu}))},fromBase:function(e){return e.map((function(e){return(e/=yu)<=1/12?Math.sqrt(3*e):vu*Math.log(12*e-bu)+gu}))},formats:{color:{id:"rec2100-hlg"}}}),wu={};function Fu(e){wu[e.id]=arguments[0]}function Eu(e,t){var n=wu[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],r=L(_a(n.toCone_M,e),3),a=r[0],i=r[1],o=r[2],u=L(_a(n.toCone_M,t),3),s=_a([[u[0]/a,0,0],[0,u[1]/i,0],[0,0,u[2]/o]],n.toCone_M);return _a(n.fromCone_M,s)}Ya.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Eu(e.W1,e.W2,e.options.method))})),Ya.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Eu(e.W1,e.W2,e.options.method))})),Fu({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Fu({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Fu({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Fu({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Xa,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Xa.ACES=[.32168/.33767,1,.34065/.33767];var xu=new ii({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Xa.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),Au=Math.pow(2,-16),Cu=-.35828683,ku=(Math.log2(65504)+9.72)/17.52,Ru=new ii({id:"acescc",name:"ACEScc",coords:{r:{range:[Cu,ku],name:"Red"},g:{range:[Cu,ku],name:"Green"},b:{range:[Cu,ku],name:"Blue"}},referred:"scene",base:xu,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Au):e<ku?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(Au)+9.72)/17.52:e<Au?(Math.log2(Au+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),Tu=Object.freeze({__proto__:null,XYZ_D65:ai,XYZ_D50:fi,XYZ_ABS_D65:co,Lab_D65:ro,Lab:bi,LCH:yi,sRGB_Linear:Ii,sRGB:Pi,HSL:Qo,HWB:tu,HSV:eu,P3_Linear:Bi,P3:$i,A98RGB_Linear:nu,A98RGB:ru,ProPhoto_Linear:au,ProPhoto:ou,REC_2020_Linear:Si,REC_2020:Ni,OKLab:Ho,OKLCH:uu,Jzazbz:ko,JzCzHz:Ro,ICTCP:Po,REC_2100_PQ:mu,REC_2100_HLG:Du,ACEScg:xu,ACEScc:Ru}),Su=(N=new WeakMap,W((function e(){var t,n,r,a,i=this;V(this,e),_(this,N,void 0);for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];1===u.length&&(t=ui(u[0])),t?(n=t.space||t.spaceId,r=t.coords,a=t.alpha):(n=u[0],r=u[1],a=u[2]),z(N,this,ri.get(n)),this.coords=r?r.slice():[0,0,0],this.alpha=a<1?a:1;for(var l=0;l<this.coords.length;l++)"NaN"===this.coords[l]&&(this.coords[l]=NaN);var c=function(e){Object.defineProperty(i,e,{get:function(){return i.get(e)},set:function(t){return i.set(e,t)}})};for(var d in $(N,this).coords)c(d)}),[{key:"space",get:function(){return $(N,this)}},{key:"spaceId",get:function(){return $(N,this).id}},{key:"clone",value:function(){return new Su(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Vi.apply(void 0,[this].concat(t));return r.color=new Su(r.color),r}}],[{key:"get",value:function(e){if(e instanceof Su)return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return k(Su,[e].concat(n))}},{key:"defineFunction",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=n.instance,a=void 0===r||r,i=n.returns,o=function(){var e=t.apply(void 0,arguments);if("color"===i)e=Su.get(e);else if("function<color>"===i){var n=e;e=function(){var e=n.apply(void 0,arguments);return Su.get(e)},Object.assign(e,n)}else"array<color>"===i&&(e=e.map((function(e){return Su.get(e)})));return e};e in Su||(Su[e]=o),a&&(Su.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(e){for(var t in e)Su.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(Su);else for(var t in e)Su.defineFunction(t,e[t])}}]));Su.defineFunctions({get:li,getAll:si,set:di,setAll:ci,to:Ri,equals:function(e,t){return e=ui(e),t=ui(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,n){return e===t.coords[n]}))},inGamut:Ai,toGamut:ki,distance:Ki,toString:Ti}),Object.assign(Su,{util:Ka,hooks:Ya,WHITES:Xa,Space:ri,spaces:ri.registry,parse:oi,defaults:Za});for(var Mu=0,Ou=Object.keys(Tu);Mu<Ou.length;Mu++)ri.register(Tu[Ou[Mu]]);for(var Nu in ri.registry)Bu(Nu,ri.registry[Nu]);function Bu(e,t){Object.values(t.coords).map((function(e){return e.name}));var n=e.replace(/-/g,"_");Object.defineProperty(Su.prototype,n,{get:function(){var n=this,r=this.getAll(e);return"undefined"==typeof Proxy?r:new Proxy(r,{has:function(e,n){try{return ri.resolveCoord([t,n]),!0}catch(e){}return Reflect.has(e,n)},get:function(e,n,r){if(n&&"symbol"!==a(n)&&!(n in e)){var i=ri.resolveCoord([t,n]).index;if(i>=0)return e[i]}return Reflect.get(e,n,r)},set:function(r,i,o,u){if(i&&"symbol"!==a(i)&&!(i in r)||i>=0){var s=ri.resolveCoord([t,i]).index;if(s>=0)return r[s]=o,n.setAll(e,r),!0}return Reflect.set(r,i,o,u)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Ya.add("colorspace-init-end",(function(e){var t;Bu(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){Bu(t,e)}))})),Su.extend(Uo),Su.extend({deltaE:Vo}),Su.extend(Ko),Su.extend({contrast:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(n)&&(n={algorithm:n});var r=n.algorithm,a=R(n,s);if(!r){var i=Object.keys(io).map((function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var o in e=ui(e),t=ui(t),io)if("contrast"+r.toLowerCase()===o.toLowerCase())return io[o](e,t,a);throw new TypeError("Unknown contrast algorithm: ".concat(r))}}),Su.extend(so),Su.extend(Zi),Su.extend(Jo),Su.extend(io);var Iu=de(gn());Ba.default.templateSettings.strip=!1,i._memoizedFns=[];var ju=function(e){var t=(0,ja.default)(e);return i._memoizedFns.push(t),t},_u=ju((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function qu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var a=t.getRootNode&&t.getRootNode()||r;if(11!==a.nodeType)return e(t,n,a);for(var i=[];11===a.nodeType;){if(!a.host)return"";i.unshift({elm:t,doc:a}),a=(t=a.host).getRootNode()}return i.unshift({elm:t,doc:a}),i.map((function(t){return e(t.elm,n,t.doc)}))}var Pu=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],$u=31,zu=/([\\"])/g,Gu=/(\r\n|\r|\n)/g;function Lu(e){return e.replace(zu,"\\$1").replace(Gu,"\\a ")}function Hu(e,t){var n,r=t.name;if(-1!==r.indexOf("href")||-1!==r.indexOf("src")){var a=xa(e.getAttribute(r));n=a?Da(t.name)+'$="'+Lu(a)+'"':Da(t.name)+'="'+Lu(e.getAttribute(r))+'"'}else n=Da(r)+'="'+Lu(t.value)+'"';return n}function Uu(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Vu(e){return!Pu.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<$u)}function Ku(e){for(var t={classes:{},tags:{},attributes:{}},n=(e=Array.isArray(e)?e:[e]).slice(),r=[],a=function(){var e=n.pop(),a=e.actualNode;if(a.querySelectorAll){var i=a.nodeName;t.tags[i]?t.tags[i]++:t.tags[i]=1,a.classList&&Array.from(a.classList).forEach((function(e){var n=Da(e);t.classes[n]?t.classes[n]++:t.classes[n]=1})),a.hasAttributes()&&Array.from(Aa(a)).filter(Vu).forEach((function(e){var n=Hu(a,e);n&&(t.attributes[n]?t.attributes[n]++:t.attributes[n]=1)}))}for(e.children.length&&(r.push(n),n=e.children.slice());!n.length&&r.length;)n=r.pop()};n.length;)a();return t}function Wu(e,t){var n=e.parentNode&&Array.from(e.parentNode.children||"")||[];return n.find((function(n){return n!==e&&Ca(n,t)}))?":nth-child("+(1+n.indexOf(e))+")":""}function Yu(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||r,n="#"+Da(e.getAttribute("id")||"");return n.match(/player_uid_/)||1!==t.querySelectorAll(n).length?void 0:n}}function Zu(e){var t=_u(r);return Da(t?e.localName:e.nodeName.toLowerCase())}function Xu(e,t){var n,r="",a=function(e,t){var n=[],r=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach((function(t){var i=Da(t);r[i]<a[e.nodeName]&&n.push({name:i,count:r[i],species:"class"})})),n.sort(Uu)}(e,t),i=function(e,t){var n=[],r=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Aa(e)).filter(Vu).forEach((function(t){var i=Hu(e,t);i&&r[i]<a[e.nodeName]&&n.push({name:i,count:r[i],species:"attribute"})})),n.sort(Uu)}(e,t);return a.length&&1===a[0].count?n=[a[0]]:i.length&&1===i[0].count?(n=[i[0]],r=Zu(e)):((n=a.concat(i)).sort(Uu),(n=n.slice(0,3)).some((function(e){return"class"===e.species}))?n.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):r=Zu(e)),r+n.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function Ju(e,t,n){if(!i._selectorData)throw new Error("Expect axe._selectorData to be set up");var r,a,o=t.toRoot,u=void 0!==o&&o;do{var s=Yu(e);s||(s=Xu(e,i._selectorData),s+=Wu(e,s)),r=r?s+" > "+r:s,a=!a||a.length>ta.selectorSimilarFilterLimit?es(n,r):a.filter((function(e){return Ca(e,r)})),e=e.parentElement}while((a.length>1||u)&&e&&11!==e.nodeType);return 1===a.length?r:-1!==r.indexOf(" > ")?":root"+r.substring(r.indexOf(" > ")):":root"}var Qu=ju((function(e,t){return qu(Ju,e,t)})),es=ju((function(e,t){return Array.from(e.querySelectorAll(t))}));function ts(e){var t=e.nodeName.toLowerCase(),n=e.parentElement,r=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==r?void 0:r.children.length)>1){var i=Array.prototype.indexOf.call(r.children,e)+1;a=":nth-child(".concat(i,")")}return n?ts(n)+" > "+t+a:t+a}function ns(e,t){return qu(ts,e,t)}function rs(e,t){var n,r;if(!e)return[];if(!t&&9===e.nodeType)return[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=rs(e.parentNode,t)),e.previousSibling){r=1,n=e.previousSibling;do{1===n.nodeType&&n.nodeName===e.nodeName&&r++,n=n.previousSibling}while(n);1===r&&(r=null)}else if(e.nextSibling){n=e.nextSibling;do{1===n.nodeType&&n.nodeName===e.nodeName?(r=1,n=null):(r=null,n=n.previousSibling)}while(n)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&Da(e.getAttribute("id"));i&&1===e.ownerDocument.querySelectorAll("#"+i).length&&(a.id=e.getAttribute("id")),r>1&&(a.count=r),t.push(a)}return t}var as=function(e){return rs(e).reduce((function(e,t){return t.id?"//".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")}),"")},is={},os={set:function(e,t){!function(e){ga("string"==typeof e,"key must be a string, "+a(e)+" given"),ga(""!==e,"key must not be empty")}(e),is[e]=t},get:function(e,t){if(function(e){ga("function"==typeof e||void 0===e,"creator must be a function or undefined, "+a(e)+" given")}(t),e in is)return is[e];if("function"==typeof t){var n=t();return ga(void 0!==n,"Cache creator function should not return undefined"),this.set(e,n),is[e]}},clear:function(){is={}}},us=function(e,t){var n=t||e;return os.get("nodeMap")?os.get("nodeMap").get(n):null};function ss(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.maxLength,o=void 0===i?300:i,u=a.attrLimit,s=void 0===u?20:u;if(!e)return"";if(1!==e.nodeType)return ls(null!==(n=e.nodeValue)&&void 0!==n?n:"",o);var l,c,d=((c=(l=e).outerHTML)||"function"!=typeof t.XMLSerializer||(c=(new t.XMLSerializer).serializeToString(l)),c||"");return d.length>o?function(e,t){var n=t.maxLength,a=t.attrLimit,i=_u(e.ownerDocument||r)?e.nodeName:e.nodeName.toLowerCase(),o=Array.from(Aa(e)).map((function(e){return{name:e.name,value:e.value}})),u=o.reduce((function(e,t){return e+t.name.length+t.value.length+4}),0);2+i.length+u>n&&o.forEach((function(e){e.name=ls(e.name,a),e.value=ls(e.value,a)}));var s,l="<".concat(i),c=">",d=" ...>",f=Z(o);try{for(f.s();!(s=f.n()).done;){var h=s.value,p=" ".concat(h.name,'="').concat(h.value,'"');l.length+p.length>n-5?c=d:l+=p}}catch(e){f.e(e)}finally{f.f()}return l+c}(e,{maxLength:o,attrLimit:s}):d}function ls(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var cs="DqElm.RunOptions",ds=ju((function(e,t,n){var r,a,o,u;return null!=t||(t=null),null!=n||(n={}),t||(t=null!==(o=os.get(cs))&&void 0!==o?o:{}),this.spec=n,e instanceof aa?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=us(e)),this.fromFrame=(null===(r=this.spec.selector)||void 0===r?void 0:r.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(a=this._virtualNode)||void 0===a?void 0:a.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,i._audit.noHtml||(this.source=null!==(u=this.spec.source)&&void 0!==u?u:ss(this._element)),this}));ds.prototype={get selector(){return this.spec.selector||[Qu(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[ns(this.element)]},get xpath(){return this.spec.xpath||[as(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},ds.fromFrame=function(e,t,n){var r=ds.mergeSpecs(e,n);return new ds(n.element,t,r)},ds.mergeSpecs=function(e,t){return B({},e,{selector:[].concat(I(t.selector),I(e.selector)),ancestry:[].concat(I(t.ancestry),I(e.ancestry)),xpath:[].concat(I(t.xpath),I(e.xpath)),nodeIndexes:[].concat(I(t.nodeIndexes),I(e.nodeIndexes)),fromFrame:!0})},ds.setRunOptions=function(e){os.set(cs,{elementRef:e.elementRef,absolutePaths:e.absolutePaths})};var fs=ds,hs=function(e,n,r,a){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):a(t)}},data:function(t){e.data=t},relatedNodes:function(n){t.Node&&(n=n instanceof t.Node||n instanceof aa?[n]:ya(n),e.relatedNodes=[],n.forEach((function(n){if(n instanceof aa&&(n=n.actualNode),n instanceof t.Node){var r=new fs(n);e.relatedNodes.push(r)}})))}}};function ps(e){return ms(e,new Map)}function ms(e,n){var r,i;if(null===e||"object"!==a(e))return e;if(null!==(r=t)&&void 0!==r&&r.Node&&e instanceof t.Node||null!==(i=t)&&void 0!==i&&i.HTMLCollection&&e instanceof t.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(n.has(e))return n.get(e);if(Array.isArray(e)){var o=[];return n.set(e,o),e.forEach((function(e){o.push(ms(e,n))})),o}var u={};for(var s in n.set(e,u),e)u[s]=ms(e[s],n);return u}var vs=new Na.CssSelectorParser;vs.registerSelectorPseudos("not"),vs.registerSelectorPseudos("is"),vs.registerNestingOperators(">"),vs.registerAttrEqualityMods("^","$","*","~");var bs=vs;function gs(e,t){return ks(t).some((function(t){return Ts(e,t)}))}function ys(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every((function(t){return e.hasClass(t.value)}))}(e,t)&&function(e,t){return!t.attributes||t.attributes.every((function(t){var n=e.attr(t.key);return null!==n&&t.test(n)}))}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(n=e,!((r=t).pseudos&&!r.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return Ts(n,e)}));if("is"===e.name)return e.expressions.some((function(e){return Ts(n,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var n,r}var Ds,ws=(Ds=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(Ds,"\\")}),Fs=/\\/g;function Es(e){if(e)return e.map((function(e){var t,n,r=e.name.replace(Fs,""),a=(e.value||"").replace(Fs,"");switch(e.operator){case"^=":n=new RegExp("^"+ws(a));break;case"$=":n=new RegExp(ws(a)+"$");break;case"~=":n=new RegExp("(^|\\s)"+ws(a)+"(\\s|$)");break;case"|=":n=new RegExp("^"+ws(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&n.test(e)}),{key:r,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}}))}function xs(e){if(e)return e.map((function(e){return{value:e=e.replace(Fs,""),regexp:new RegExp("(^|\\s)"+ws(e)+"(\\s|$)")}}))}function As(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=Cs(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function Cs(e){return e.map((function(e){for(var t=[],n=e.rule;n;)t.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:Es(n.attrs),classes:xs(n.classNames),pseudos:As(n.pseudos)}),n=n.rule;return t}))}function ks(e){var t=bs.parse(e);return Cs(t=t.selectors?t.selectors:[t])}function Rs(e,t,n,r){if(!e)return!1;for(var a=Array.isArray(t)?t[n]:t,i=ys(e,a);!i&&r&&e.parent;)i=ys(e=e.parent,a);if(n>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);i=i&&Rs(e.parent,t,n-1," "===a.combinator)}return i}function Ts(e,t,n){return Rs(e,t,t.length-1,n)}var Ss=function(e,t){for(;e;){if(gs(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Ms(){}function Os(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Ns,Bs,Is=function(){var e,t=[],n=0,r=0,i=Ms,o=!1,u=function(t){e=t,setTimeout((function(){null!=e&&na("Uncaught error (of queue)",e)}),1)},s=u;function l(e){return function(n){t[e]=n,(r-=1)||i===Ms||(o=!0,i(t))}}function c(e){return i=Ms,s(e),t}var d={defer:function(i){if("object"===a(i)&&i.then&&i.catch){var u=i;i=function(e,t){u.then(e).catch(t)}}if(Os(i),void 0===e){if(o)throw new Error("Queue already completed");return t.push(i),++r,function(){for(var e=t.length;n<e;n++){var r=t[n];try{r.call(null,l(n),c)}catch(e){c(e)}}}(),d}},then:function(n){if(Os(n),i!==Ms)throw new Error("queue `then` already set");return e||(i=n,r||(o=!0,i(t))),d},catch:function(t){if(Os(t),s!==u)throw new Error("queue `catch` already set");return e?(t(e),e=null):s=t,d},abort:c};return d},js=t.crypto||t.msCrypto;if(!Bs&&js&&js.getRandomValues){var _s=new Uint8Array(16);Bs=function(){return js.getRandomValues(_s),_s}}if(!Bs){var qs=new Array(16);Bs=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),qs[t]=e>>>((3&t)<<3)&255;return qs}}for(var Ps="function"==typeof t.Buffer?t.Buffer:Array,$s=[],zs={},Gs=0;Gs<256;Gs++)$s[Gs]=(Gs+256).toString(16).substr(1),zs[$s[Gs]]=Gs;function Ls(e,t){var n=t||0;return $s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]}var Hs=Bs(),Us=[1|Hs[0],Hs[1],Hs[2],Hs[3],Hs[4],Hs[5]],Vs=16383&(Hs[6]<<8|Hs[7]),Ks=0,Ws=0;function Ys(e,t,n){var r=t&&n||0,a=t||[],i=null!=(e=e||{}).clockseq?e.clockseq:Vs,o=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:Ws+1,s=o-Ks+(u-Ws)/1e4;if(s<0&&null==e.clockseq&&(i=i+1&16383),(s<0||o>Ks)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ks=o,Ws=u,Vs=i;var l=(1e4*(268435455&(o+=122192928e5))+u)%4294967296;a[r++]=l>>>24&255,a[r++]=l>>>16&255,a[r++]=l>>>8&255,a[r++]=255&l;var c=o/4294967296*1e4&268435455;a[r++]=c>>>8&255,a[r++]=255&c,a[r++]=c>>>24&15|16,a[r++]=c>>>16&255,a[r++]=i>>>8|128,a[r++]=255&i;for(var d=e.node||Us,f=0;f<6;f++)a[r+f]=d[f];return t||Ls(a)}function Zs(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Ps(16):null,e=null);var a=(e=e||{}).random||(e.rng||Bs)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var i=0;i<16;i++)t[r+i]=a[i];return t||Ls(a)}(Ns=Zs).v1=Ys,Ns.v4=Zs,Ns.parse=function(e,t,n){var r=t&&n||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){a<16&&(t[r+a++]=zs[e])}));a<16;)t[r+a++]=0;return t},Ns.unparse=Ls,Ns.BufferClass=Ps,i._uuid=Ys();var Xs=Zs,Js=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Qs(){var e="axeAPI",t="";return void 0!==i&&i._audit&&i._audit.application&&(e=i._audit.application),void 0!==i&&(t=i.version),e+"."+t}function el(e){nl(e),ga(t.parent===e,"Source of the response must be the parent window.")}function tl(e){nl(e),ga(e.parent===t,"Respondable target must be a frame in the current window")}function nl(e){ga(t!==e,"Messages can not be sent to the same window.")}var rl={},al=[];function il(){var e="".concat(Zs(),":").concat(Zs());return al.includes(e)?il():(al.push(e),e)}function ol(e,t,n,r){if(n?el(e):tl(e),t.message instanceof Error&&!n)return i.log(t.message),!1;var a=function(e){var t=e.message,n={channelId:e.channelId,topic:e.topic,messageId:e.messageId,keepalive:!!e.keepalive,source:Qs()};return t instanceof Error?n.error={name:t.name,message:t.message,stack:t.stack}:n.payload=t,JSON.stringify(n)}(B({messageId:il()},t)),o=i._audit.allowedOrigins;return!(!o||!o.length||("function"==typeof r&&function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ga(!Object.prototype.hasOwnProperty.call(rl,e),"A replyHandler already exists for this message channel."),rl[e]={replyHandler:t,sendToParent:n}}(t.channelId,r,n),o.forEach((function(t){try{e.postMessage(a,t)}catch(n){if(n instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw n}})),0))}function ul(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r,a,i){ol(e,{channelId:t,message:r,keepalive:a},n,i)}}function sl(e,n){var r,o=e.origin,u=e.data,s=e.source;try{var l=function(e){var n,r,i,o,u;try{n=JSON.parse(e)}catch(e){return}if(null!==(s=n)&&"object"===a(s)&&"string"==typeof s.channelId&&s.source===Qs()){var s,l=n.channelId,c=n.messageId,d=n.keepalive;return{topic:n.topic,message:"object"===a(n.error)?(r=n.error,i=r.message||"Unknown error occurred",o=Js.includes(r.name)?r.name:"Error",u=t[o]||Error,r.stack&&(i+="\n"+r.stack.replace(r.message,"")),new u(i)):n.payload,messageId:c,channelId:l,keepalive:!!d}}}(u)||{},c=l.channelId,d=l.message,f=l.messageId;if(!function(e){var t=i._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(o)||al.includes(r=f)||(al.push(r),0))return;if(d instanceof Error&&s.parent!==t)return i.log(d),!1;try{if(l.topic){var h=ul(s,c);el(s),n(l,h)}else!function(e,t){var n=t.channelId,r=t.message,a=t.keepalive,o=function(e){return Object.prototype.hasOwnProperty.call(rl,e)?rl[e]:void 0}(n)||{},u=o.replyHandler,s=o.sendToParent;if(u){s?el(e):tl(e);var l=ul(e,n,s);!a&&n&&function(e){delete rl[e]}(n);try{u(r,a,l)}catch(e){i.log(e),l(e,a)}}}(s,l)}catch(e){!function(e,n,r){if(!e.parent!==t)return i.log(n);try{ol(e,{topic:null,channelId:r,message:n,messageId:il(),keepalive:!0},!0)}catch(e){return i.log(e)}}(s,e,c)}}catch(e){return i.log(e),!1}}var ll,cl,dl={open:function(e){if("function"==typeof t.addEventListener){var n=function(t){sl(t,e)};return t.addEventListener("message",n,!1),function(){t.removeEventListener("message",n,!1)}}},post:function(e,n,r){return"function"==typeof t.addEventListener&&ol(e,n,!1,r)}};function fl(e){e.updateMessenger(dl)}var hl={};function pl(e,t,n,r,a){var i={topic:t,message:n,channelId:"".concat(Zs(),":").concat(Zs()),keepalive:r};return cl(e,i,a)}function ml(e,t){var n=e.topic,r=e.message,a=e.keepalive,o=Object.prototype.hasOwnProperty.call(hl,n)?hl[n]:void 0;if(o)try{o(r,a,t)}catch(e){i.log(e),t(e,a)}}function vl(e,t,n,r){var a,i,o=e.contentWindow,u=null!==(a=null===(i=t.options)||void 0===i?void 0:i.pingWaitTime)&&void 0!==a?a:500;if(!o)return na("Frame does not have a content window",e),void n(null);if(0!==u){var s=setTimeout((function(){s=setTimeout((function(){t.debug?r(gl("No response from frame",e)):n(null)}),0)}),u);pl(o,"axe.ping",null,void 0,(function(){clearTimeout(s),bl(e,t,n,r)}))}else bl(e,t,n,r)}function bl(e,t,n,r){var a,i,o=null!==(a=null===(i=t.options)||void 0===i?void 0:i.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout((function(){r(gl("Axe in frame timed out",e))}),o);pl(u,"axe.start",t,void 0,(function(e){clearTimeout(s),e instanceof Error==0?n(e):r(e)}))}function gl(e,t){var n;return i._tree&&(n=Qu(t)),new Error(e+": "+(n||t))}pl.updateMessenger=function(e){var t=e.open,n=e.post;ga("function"==typeof t,"open callback must be a function"),ga("function"==typeof n,"post callback must be a function"),ll&&ll();var r=t(ml);r?(ga("function"==typeof r,"open callback must return a cleanup function"),ll=r):ll=null,cl=n},pl.subscribe=function(e,t){ga("function"==typeof t,"Subscriber callback must be a function"),ga(!Object.prototype.hasOwnProperty.call(hl,e),"Topic ".concat(e," is already registered to.")),hl[e]=t},pl.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:t).frameElement},fl(pl);var yl=null,Dl={update:function(e){ga("object"===a(e),"serializer must be an object"),yl=e},toSpec:function(e){return Dl.dqElmToSpec(new fs(e))},dqElmToSpec:function(e,t){var n;return e instanceof fs==0?e:(t&&(e=function(e,t){var n=e.fromFrame;return(e=new fs(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:!1!==t.selectors||n?e.selector:[":root"],ancestry:t.ancestry?e.ancestry:[":root"],xpath:t.xpath?e.xpath:"/"})).fromFrame=n,e}(e,t)),"function"==typeof(null===(n=yl)||void 0===n?void 0:n.toSpec)?yl.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var n;return"function"==typeof(null===(n=yl)||void 0===n?void 0:n.mergeSpecs)?yl.mergeSpecs(e,t):fs.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return B({},e,{nodes:Dl.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,n=R(e,d);n.node=Dl.dqElmToSpec(t);for(var r=0,a=["any","all","none"];r<a.length;r++){var i=a[r];n[i]=n[i].map((function(e){var t=e.relatedNodes,n=R(e,f);return n.relatedNodes=t.map(Dl.dqElmToSpec),n}))}return n}))}},wl=Dl,Fl=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},El=function(e,t,n){if(Array.isArray(e))return e.find((function(e){return null!==e&&"object"===a(e)&&Object.hasOwn(e,t)&&e[t]===n}))};function xl(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),r=0;r<n;r++){var a=null==e?void 0:e[r],i=null==t?void 0:t[r];if("number"!=typeof a||isNaN(a))return 0===r?1:-1;if("number"!=typeof i||isNaN(i))return 0===r?-1:1;if(a!==i)return a-i}return 0}var Al=function(e){var t=[];return e.forEach((function(e){var n,r=(n=e)&&n.results?Array.isArray(n.results)?n.results.length?n.results:null:[n.results]:null;if(r&&r.length){var a=function(e){return e.frameElement?wl.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}(e);r.forEach((function(e){e.nodes&&a&&function(e,t,n){e.forEach((function(e){e.node=wl.mergeSpecs(e.node,n),Fl(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return wl.mergeSpecs(e,n)}))}))}))}(e.nodes,0,a);var n,r=El(t,"id",e.id);r?(e.nodes.length&&function(e,t){for(var n,r=t[0].node,a=0;a<e.length;a++){var i=xl((n=e[a].node).nodeIndexes,r.nodeIndexes);if(i>0||0===i&&r.selector.length<n.selector.length)return void e.splice.apply(e,[a,0].concat(I(t)))}e.push.apply(e,I(t))}(r.nodes,e.nodes),e.error&&(null!==(n=r.error)&&void 0!==n||(r.error=e.error))):t.push(e)}))}})),t.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return xl(e.node.nodeIndexes,t.node.nodeIndexes)}))})),t};function Cl(e,t,n,r,a,i){t=B({},t,{elementRef:!1});var o=Is();e.frames.forEach((function(e){var a=e.node,i=R(e,h);o.defer((function(e,o){vl(a,{options:t,command:n,parameter:r,context:i},(function(t){return e(t?{results:t,frameElement:a}:null)}),o)}))})),o.then((function(e){a(Al(e,t))})).catch(i)}function kl(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var Rl=function e(){for(var t={},n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach((function(n){if(n&&"object"===a(n)&&!Array.isArray(n))for(var r=0,i=Object.keys(n);r<i.length;r++){var o=i[r];t[o]=!t.hasOwnProperty(o)||"object"!==a(n[o])||Array.isArray(t[o])?n[o]:e(t[o],n[o])}})),t},Tl=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(n){e[n]=null;try{e[n]=t[n](e)}catch(e){}}))},Sl=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],Ml=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Sl.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1},Ol={};ce(Ol,{createGrid:function(){return Bc},findElmsInContext:function(){return Il},findNearbyElms:function(){return Hc},findUp:function(){return _l},findUpVirtual:function(){return jl},focusDisabled:function(){return Zc},getComposedParent:function(){return ac},getElementByReference:function(){return ed},getElementCoordinates:function(){return oc},getElementStack:function(){return id},getModalDialog:function(){return Uc},getNodeGrid:function(){return Lc},getOverflowHiddenAncestors:function(){return $l},getRootNode:function(){return Bl},getScrollOffset:function(){return ic},getTabbableElements:function(){return od},getTargetRects:function(){return cd},getTargetSize:function(){return dd},getTextElementStack:function(){return Yf},getViewportSize:function(){return uc},getVisibleChildTextRects:function(){return Kf},hasContent:function(){return th},hasContentVirtual:function(){return eh},hasLangText:function(){return nh},idrefs:function(){return hd},insertedIntoFocusOrder:function(){return rh},isCurrentPageLink:function(){return Qc},isFixedPosition:function(){return sc},isFocusable:function(){return sd},isHTML5:function(){return uh},isHiddenForEveryone:function(){return tc},isHiddenWithCSS:function(){return oh},isInTabOrder:function(){return ld},isInTextBlock:function(){return dh},isInert:function(){return Vc},isModalOpen:function(){return ph},isMultiline:function(){return mh},isNativelyFocusable:function(){return ud},isNode:function(){return vh},isOffscreen:function(){return dc},isOpaque:function(){return kh},isSkipLink:function(){return Rh},isVisible:function(){return Oh},isVisibleOnScreen:function(){return hc},isVisibleToScreenReaders:function(){return cf},isVisualContent:function(){return Xf},reduceToElementsBelowFloating:function(){return Nh},shadowElementsFromPoint:function(){return _h},urlPropsFromAttribute:function(){return zh},visuallyContains:function(){return Bh},visuallyOverlaps:function(){return Gh},visuallySort:function(){return td}});var Nl=function(e){var t=e.getRootNode&&e.getRootNode()||r;return t===e&&(t=r),t},Bl=Nl,Il=function(e){var t,n=e.context,r=e.attr,a=e.elm,i=void 0===a?"":a,o=Da(e.value);return t=9===n.nodeType||11===n.nodeType?n:Bl(n),Array.from(t.querySelectorAll(i+"["+r+"="+o+"]"))},jl=function(e,t){var n;if(n=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest)return e.actualNode.closest(t)||null;do{(n=n.assignedSlot?n.assignedSlot:n.parentNode)&&11===n.nodeType&&(n=n.host)}while(n&&!Ca(n,t)&&n!==r.documentElement);return n&&Ca(n,t)?n:null},_l=function(e,t){return jl(us(e),t)};function ql(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Pl=ju((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Pl(e.parent))):t})),$l=Pl,zl=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Gl=/(\w+)\((\d+)/;function Ll(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Hl(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Ul(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Vl(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Kl(e){return"true"===e.attr("aria-hidden")}function Wl(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Yl(e){var t=Rp(e.actualNode),n=parseInt(e.getComputedStylePropertyValue("height")),r=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===n||0===r)}function Zl(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var n=$l(e);if(!n.length)return!1;var r=e.boundingClientRect;return n.some((function(n){if("absolute"===t&&!function(e,t){for(var n=e.parent;n&&n!==t;){if(["relative","sticky"].includes(n.getComputedStylePropertyValue("position")))return!0;n=n.parent}return!1}(e,n)&&"static"===n.getComputedStylePropertyValue("position"))return!1;var a=n.boundingClientRect;return a.width<2||a.height<2||!ql(r,a)}))}function Xl(e){var t=e.getComputedStylePropertyValue("clip").match(zl),n=e.getComputedStylePropertyValue("clip-path").match(Gl);if(t&&5===t.length){var r=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(r))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(n){var a=n[1],i=parseInt(n[2],10);switch(a){case"inset":return i>=50;case"circle":return 0===i}}return!1}function Jl(e,t){var n=Ss(e,"map");if(!n)return!0;var r=n.attr("name");if(!r)return!0;var a=Nl(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=mm(i._tree,'img[usemap="#'.concat(Da(r),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function Ql(e){var t;return"details"===(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName)&&("summary"!==e.props.nodeName||e.parent.children.find((function(e){return"summary"===e.props.nodeName}))!==e)&&!e.parent.hasAttr("open")}var ec=[Hl,Ul,Vl,Ql];function tc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipAncestors,r=t.isAncestor,a=void 0!==r&&r;return e=Wp(e).vNode,n?nc(e,a):rc(e,a)}var nc=ju((function(e,t){return!(!Ll(e)&&(!e.actualNode||!ec.some((function(n){return n(e,{isAncestor:t})}))&&e.actualNode.isConnected))})),rc=ju((function(e,t){return!!nc(e,t)||!!e.parent&&rc(e.parent,!0)})),ac=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var n=t.parentNode;if(1===n.nodeType)return n;if(n.host)return n.host}return null},ic=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,n=e.body;return{left:t&&t.scrollLeft||n&&n.scrollLeft||0,top:t&&t.scrollTop||n&&n.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}},oc=function(e){var t=ic(r),n=t.left,a=t.top,i=e.getBoundingClientRect();return{top:i.top+a,right:i.right+n,bottom:i.bottom+a,left:i.left+n,width:i.right-i.left,height:i.bottom-i.top}},uc=function(e){var t=e.document,n=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(n)return{width:n.clientWidth,height:n.clientHeight};var r=t.body;return{width:r.clientWidth,height:r.clientHeight}};function sc(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipAncestors,n=Wp(e).vNode;return!!n&&(t?lc(n):cc(n))}var lc=ju((function(e){return"fixed"===e.getComputedStylePropertyValue("position")})),cc=ju((function(e){return!!lc(e)||!!e.parent&&cc(e.parent)})),dc=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var n=Wp(e).domNode;if(n){var a=r.documentElement,i=t.getComputedStyle(n),o=t.getComputedStyle(r.body||a).getPropertyValue("direction"),u=sc(n),s=u?n.getBoundingClientRect():oc(n);if(0===s.top&&0===s.bottom)return!1;if(0===s.left&&0===s.right)return!1;if(s.bottom<=0&&(function(e,t){for(e=ac(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=ac(e)}return!0}(n,s.bottom)||"absolute"===i.position))return!0;var l=uc(t);if(u&&s.top>=l.height)return!0;var c=Math.max(a.scrollWidth,l.width);return!(!u&&"rtl"!==o||!(s.left>=c))||!(!u&&"ltr"!==o||!(s.right<=0))}},fc=[Wl,Yl,Zl,Xl,dc];function hc(e){return e=Wp(e).vNode,pc(e)}var pc=ju((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Jl(e,pc):!tc(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!fc.some((function(n){return n(e,{isAncestor:t})})))&&(!e.parent||pc(e.parent,!0))}));function mc(e,n){var r=Math.min(e.top,n.top),a=Math.max(e.right,n.right),i=Math.max(e.bottom,n.bottom),o=Math.min(e.left,n.left);return new t.DOMRect(o,r,a-o,i-r)}function vc(e,t){var n=e.x,r=e.y;return r>=t.top&&n<=t.right&&r<=t.bottom&&n>=t.left}var bc={};function gc(e,n){var r=Math.max(e.left,n.left),a=Math.min(e.right,n.right),i=Math.max(e.top,n.top),o=Math.min(e.bottom,n.bottom);return r>=a||i>=o?null:new t.DOMRect(r,i,a-r,o-i)}function yc(e){return new t.DOMPoint(e.left+e.width/2,e.top+e.height/2)}ce(bc,{getBoundingRect:function(){return mc},getIntersectionRect:function(){return gc},getOffset:function(){return Fc},getRectCenter:function(){return yc},hasVisualOverlap:function(){return Ac},isPointInRect:function(){return vc},rectHasMinimumSize:function(){return wc},rectsOverlap:function(){return ql},splitRects:function(){return Cc}});var Dc=.05;function wc(e,t){return t.width+Dc>=e&&t.height+Dc>=e}function Fc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,r=cd(e),a=cd(t);return r.length&&a.length?r.reduce((function(e,r){var i,o=yc(r),u=Z(a);try{for(u.s();!(i=u.n()).done;){var s=i.value;if(vc(o,s))return 0;var l=xc(o,Ec(o,s));e=Math.min(e,l)}}catch(e){u.e(e)}finally{u.f()}var c=dd(t);if(wc(2*n,c))return e;var d=xc(o,yc(a.reduce(mc)))-n;return Math.max(0,Math.min(e,d))}),1/0):null}function Ec(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function xc(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Ac(e,t){var n=e.boundingClientRect,r=t.boundingClientRect;return!(n.left>=r.right||n.right<=r.left||n.top>=r.bottom||n.bottom<=r.top)&&td(e,t)>0}function Cc(e,t){var n,r=Array.isArray(e)?e:[e],a=Z(t);try{var i=function(){var e=n.value;if(r=r.reduce((function(t,n){return t.concat(function(e,t){var n,r,a=e.top,i=e.left,o=e.bottom,u=e.right,s=a<t.bottom&&o>t.top,l=i<t.right&&u>t.left,c=[];if(kc(t.top,a,o)&&l&&c.push({top:a,left:i,bottom:t.top,right:u}),kc(t.right,i,u)&&s&&c.push({top:a,left:t.right,bottom:o,right:u}),kc(t.bottom,a,o)&&l&&c.push({top:t.bottom,right:u,bottom:o,left:i}),kc(t.left,i,u)&&s&&c.push({top:a,left:i,bottom:o,right:t.left}),0===c.length){if((n=e).top>=(r=t).top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right)return[];c.push(e)}return c.map(Rc)}(n,e))}),[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i()}catch(e){a.e(e)}finally{a.f()}return r}var kc=function(e,t,n){return e>t&&e<n};function Rc(e){return new t.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var Tc=0,Sc=.1,Mc=.2,Oc=.3,Nc=0;function Bc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.body,n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(os.get("gridCreated")&&!a)return ta.gridSize;if(os.set("gridCreated",!0),!a){var o=us(r.documentElement);if(o||(o=new Hh(r.documentElement)),Nc=0,o._stackingOrder=[qc(Tc,Nc++,null)],null!=n||(n=new zc),$c(n,o),Rp(o.actualNode)){var u=new zc(o);o._subGrid=u}}for(var s=r.createTreeWalker(e,t.NodeFilter.SHOW_ELEMENT,null,!1),l=a?s.nextNode():s.currentNode;l;){var c=us(l);c&&c.parent?a=c.parent:l.assignedSlot?a=us(l.assignedSlot):l.parentElement?a=us(l.parentElement):l.parentNode&&us(l.parentNode)&&(a=us(l.parentNode)),c||(c=new i.VirtualNode(l,a)),c._stackingOrder=_c(c,a,Nc++);var d=Pc(c,a),f=d?d._subGrid:n;if(Rp(c.actualNode)){var h=new zc(c);c._subGrid=h}var p=c.boundingClientRect;0!==p.width&&0!==p.height&&hc(l)&&$c(f,c),Ml(l)&&Bc(l.shadowRoot,f,c),l=s.nextNode()}return ta.gridSize}function Ic(e,t){var n=e.getComputedStylePropertyValue("position"),r=e.getComputedStylePropertyValue("z-index");if("fixed"===n||"sticky"===n)return!0;if("auto"!==r&&"static"!==n)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var i=e.getComputedStylePropertyValue("filter");if(i&&"none"!==i)return!0;var o=e.getComputedStylePropertyValue("perspective");if(o&&"none"!==o)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var s=e.getComputedStylePropertyValue("will-change");if("transform"===s||"opacity"===s)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var l=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(l)||!("auto"===r||!jc(t))}function jc(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function _c(e,t,n){var r=t._stackingOrder.slice();if(Ic(e,t)){var a=r.findIndex((function(e){return[Tc,Mc,Oc].includes(e.stackLevel)}));-1!==a&&r.splice(a,r.length-a)}var i=function(e,t){var n=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||jc(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(n)?"static"!==e.getComputedStylePropertyValue("position")?Oc:"none"!==e.getComputedStylePropertyValue("float")?Mc:Ic(e,t)?Sc:null:parseInt(n)}(e,t);return null!==i&&r.push(qc(i,n,e)),r}function qc(e,t,n){return{stackLevel:e,treeOrder:t,vNode:n}}function Pc(e,t){for(var n=null,r=[e];t;){if(Rp(t.actualNode)){n=t;break}if(t._scrollRegionParent){n=t._scrollRegionParent;break}r.push(t),t=us(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach((function(e){return e._scrollRegionParent=n})),n}function $c(e,t){var n=$l(t);t.clientRects.forEach((function(r){var a,i=n.reduce((function(e,t){return e&&gc(e,t.boundingClientRect)}),r);if(i){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,(function(e){e.includes(t)||e.push(t)}))}}))}var zc=W((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;V(this,e),this.container=t,this.cells=[]}),[{key:"toGridIndex",value:function(e){return Math.floor(e/ta.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,n,r=e.x,a=e.y;ga(this.boundaries,"Grid does not have cells added");var i=this.toGridIndex(a),o=this.toGridIndex(r);ga(vc({y:i,x:o},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[i-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(n=u[o-u._negativeIndex])&&void 0!==n?n:[]}},{key:"loopGridPosition",value:function(e,t){var n=e.left,r=e.right,a=e.top,i=e.bottom;this.boundaries&&(e=mc(this.boundaries,e)),this.boundaries=e,Gc(this.cells,a,i,(function(e,a){Gc(e,n,r,(function(e,n){t(e,{row:a,col:n})}))}))}},{key:"getGridPositionOfRect",value:function(e){var n=e.top,r=e.right,a=e.bottom,i=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n=this.toGridIndex(n-o),r=this.toGridIndex(r+o-1),a=this.toGridIndex(a+o-1),i=this.toGridIndex(i-o),new t.DOMRect(i,n,r-i,a-n)}}]);function Gc(e,t,n,r){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t}for(var o=n-e._negativeIndex,u=t-e._negativeIndex;u<=o;u++){var s,l;null!==(l=e[s=u])&&void 0!==l||(e[s]=[]),r(e[u],u+e._negativeIndex)}}function Lc(e){return Bc(),Wp(e).vNode._grid}function Hc(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=Lc(e);if(null==r||null===(t=r.cells)||void 0===t||!t.length)return[];var a=e.boundingClientRect,i=sc(e),o=r.getGridPositionOfRect(a,n),u=[];return r.loopGridPosition(o,(function(t){var n,r=Z(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;a&&a!==e&&!u.includes(a)&&i===sc(a)&&u.push(a)}}catch(e){r.e(e)}finally{r.f()}})),u}var Uc=ju((function(){var e;if(!i._tree)return null;var n=am(i._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return r.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&hc(e)}));return n.length?n.find((function(e){var t=e.boundingClientRect;return r.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)}))||(null!==(e=n.find((function(e){var n,a=null!==(n=function(e){Bc();var n=i._tree[0]._grid,r=new t.DOMRect(0,0,t.innerWidth,t.innerHeight);if(n)for(var a=0;a<n.cells.length;a++){var o=n.cells[a];if(o)for(var u=0;u<o.length;u++){var s=o[u];if(s)for(var l=0;l<s.length;l++){var c=s[l],d=gc(c.boundingClientRect,r);if("html"!==c.props.nodeName&&c!==e&&"none"!==c.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:c,rect:d}}}}}(e))&&void 0!==n?n:{},o=a.vNode,u=a.rect;return!!o&&!r.elementsFromPoint(u.left+1,u.top+1).includes(o.actualNode)})))&&void 0!==e?e:null):null}));function Vc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isAncestor;return t.skipAncestors?Kc(e,n):Wc(e,n)}var Kc=ju((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var n=Uc();if(n&&!kl(n,e))return!0}return!1})),Wc=ju((function(e,t){return!!Kc(e,t)||!!e.parent&&Wc(e.parent,!0)})),Yc=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],Zc=function(e){var t=Wp(e).vNode;if(Yc.includes(t.props.nodeName)&&t.hasAttr("disabled")||Vc(t))return!0;for(var n=t.parent,r=[],a=!1;n&&n.shadowId===t.shadowId&&!a&&(r.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){a=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(a=!0),n=n.parent}return r.forEach((function(e){return e._inDisabledFieldset=a})),!!a||"area"!==t.props.nodeName&&!!t.actualNode&&tc(t)},Xc=/^\/\#/,Jc=/^#[!/]/;function Qc(e){var n,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(Xc.test(r))return!0;var a=e.protocol,i=e.hostname,o=e.port,u=e.pathname;if(Jc.test(e.hash))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(n=t.location)||void 0===n?void 0:n.origin)||-1===t.location.origin.indexOf("://"))return null;var s,l=t.location.origin+t.location.pathname;return s=i?"".concat(a,"//").concat(i).concat(o?":".concat(o):""):t.location.origin,(s+=u?("/"!==u[0]?"/":"")+u:t.location.pathname)===l}var ed=function(e,t){var n=e.getAttribute(t);if(!n)return null;if("href"===t&&!Qc(e))return null;-1!==n.indexOf("#")&&(n=decodeURIComponent(n.substr(n.indexOf("#")+1)));var a=r.getElementById(n);return a||((a=r.getElementsByName(n)).length?a[0]:null)};function td(e,n){Bc();for(var r=Math.max(e._stackingOrder.length,n._stackingOrder.length),a=0;a<r;a++){if(void 0===n._stackingOrder[a])return-1;if(void 0===e._stackingOrder[a])return 1;if(n._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(n._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return-1;if(n._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return n._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var i=e.actualNode,o=n.actualNode;if(i.getRootNode&&i.getRootNode()!==o.getRootNode()){for(var u=[];i;)u.push({root:i.getRootNode(),node:i}),i=i.getRootNode().host;for(;o&&!u.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((i=u.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==i.getRootNode()?-1:1}var s=t.Node,l=s.DOCUMENT_POSITION_FOLLOWING,c=s.DOCUMENT_POSITION_CONTAINS,d=s.DOCUMENT_POSITION_CONTAINED_BY,f=i.compareDocumentPosition(o),h=f&l?1:-1,p=f&c||f&d,m=nd(e),v=nd(n);return m===v||p?h:v-m}function nd(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:rd(e)?1:0}function rd(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=rd(e.parent);return e._isFloated=t,t}function ad(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=yc(t),i=e.getCellFromPoint(a)||[],o=Math.floor(a.x),u=Math.floor(a.y),s=i.filter((function(e){return e.clientRects.some((function(e){var t=e.left,n=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&u<Math.floor(n+e.height)&&u>=Math.floor(n)}))})),l=e.container;return l&&(s=ad(l._grid,l.boundingClientRect,!0).concat(s)),n||(s=s.sort(td).map((function(e){return e.actualNode})).concat(r.documentElement).filter((function(e,t,n){return n.indexOf(e)===t}))),s}var id=function(e){var t=Lc(e);return t?ad(t,us(e).boundingClientRect):[]},od=function(e){return mm(e,"*").filter((function(e){var t=e.isFocusable,n=Jp(e.actualNode.getAttribute("tabindex"));return null!==n?t&&n>=0:t}))},ud=function(e){var t=Wp(e).vNode;if(!t||Zc(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!mm(t,"summary").length}return!1};function sd(e){var t=Wp(e).vNode;return!(1!==t.props.nodeType||Zc(t)||!ud(t)&&null===Jp(t.attr("tabindex")))}function ld(e){var t=Wp(e).vNode;return 1===t.props.nodeType&&!(Jp(t.attr("tabindex"))<=-1)&&sd(t)}var cd=ju((function(e){var t="inline"===e.getComputedStylePropertyValue("display")?e.clientRects:[e.boundingClientRect],n=Hc(e).filter((function(t){return Ac(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return kl(e,t)&&!ld(t)}(e,t)}));return n.length?Cc(t,n.map((function(e){return"inline"===e.getComputedStylePropertyValue("display")?e.clientRects:e.boundingClientRect})).flat(1/0)):t})),dd=ju((function(e,t){return function(e,t){return e.reduce((function(e,n){var r=wc(t,e);return r!==wc(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(cd(e),t)})),fd={};ce(fd,{accessibleText:function(){return pd},accessibleTextVirtual:function(){return If},autocomplete:function(){return Pf},formControlValue:function(){return xf},formControlValueMethods:function(){return Ff},hasUnicode:function(){return Nf},isHumanInterpretable:function(){return qf},isIconLigature:function(){return Bf},isValidAutocomplete:function(){return $f},label:function(){return Hf},labelText:function(){return kf},labelVirtual:function(){return Lf},nativeElementType:function(){return Uf},nativeTextAlternative:function(){return Of},nativeTextMethods:function(){return Mf},removeUnicode:function(){return _f},sanitize:function(){return Od},subtreeText:function(){return Cf},titleText:function(){return of},unsupported:function(){return lf},visible:function(){return Gf},visibleTextNodes:function(){return Vf},visibleVirtual:function(){return ff}});var hd=function(e,t){e=e.actualNode||e;try{var n=Bl(e),r=[],a=e.getAttribute(t);if(a){a=Uh(a);for(var i=0;i<a.length;i++)r.push(n.getElementById(a[i]))}return r}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}},pd=function(e,t){return If(us(e),t)},md=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Wp(e).vNode;return 1!==(null==n?void 0:n.props.nodeType)||1!==n.props.nodeType||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby")?"":hd(n,"aria-labelledby").filter((function(e){return e})).reduce((function(e,r){var a=pd(r,B({inLabelledByContext:!0,startNode:t.startNode||n},t));return e?"".concat(e," ").concat(a):a}),"")};function vd(e){var t=Wp(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var bd={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},gd={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},yd={ariaAttrs:bd,ariaRoles:B({},gd,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:{a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"],allowedAriaAttrs:["aria-hidden"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],allowedAriaAttrs:["aria-hidden"]}},cssColors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},Dd=B({},yd),wd=Dd,Fd=function(e){var t=wd.ariaRoles[e];return!!t&&!!t.unsupported},Ed=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowAbstract,r=t.flagUnsupported,a=void 0!==r&&r,i=wd.ariaRoles[e],o=Fd(e);return!(!i||a&&o||!n&&"abstract"===i.type)},xd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fallback,r=t.abstracts,a=t.dpub;if(1!==(e=e instanceof aa?e:us(e)).props.nodeType)return null;var i=(e.attr("role")||"").trim().toLowerCase();return(n?Uh(i):[i]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&Ed(e,{allowAbstract:r})}))||null},Ad=function(e){return Object.keys(wd.htmlElms).filter((function(t){var n=wd.htmlElms[t];return n.contentTypes?n.contentTypes.includes(e):!!n.variant&&!(!n.variant.default||!n.variant.default.contentTypes)&&n.variant.default.contentTypes.includes(e)}))},Cd=function(){return os.get("globalAriaAttrs",(function(){return Object.keys(wd.ariaAttrs).filter((function(e){return wd.ariaAttrs[e].global}))}))},kd=ju((function(e){for(var t=[],n=e.rows,r=0,a=n.length;r<a;r++){var i=n[r].cells;t[r]=t[r]||[];for(var o=0,u=0,s=i.length;u<s;u++)for(var l=0;l<i[u].colSpan;l++){for(var c=i[u].getAttribute("rowspan"),d=0===parseInt(c)||0===i[u].rowspan?n.length:i[u].rowSpan,f=0;f<d;f++){for(t[r+f]=t[r+f]||[];t[r+f][o];)o++;t[r+f][o]=i[u]}o++}}return t})),Rd=ju((function(e,t){var n,r;for(t||(t=kd(_l(e,"table"))),n=0;n<t.length;n++)if(t[n]&&-1!==(r=t[n].indexOf(e)))return{x:r,y:n}}));function Td(e){var t=Wp(e),n=t.vNode,r=t.domNode,a=n.attr("scope"),i=xd(n);if(!["td","th"].includes(n.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===i)return"col";if("rowheader"===i)return"row";if("col"===a||"row"===a)return a;if("th"!==n.props.nodeName)return!1;if(!n.actualNode)return"auto";var o=kd(_l(r,"table")),u=Rd(r,o);return o[u.y].every((function(e){return"TH"===e.nodeName.toUpperCase()}))?"col":o.map((function(e){return e[u.x]})).every((function(e){return e&&"TH"===e.nodeName.toUpperCase()}))?"row":"auto"}var Sd=function(e){return-1!==["col","auto"].indexOf(Td(e))},Md=function(e){return["row","auto"].includes(Td(e))},Od=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},Nd=function(){return os.get("sectioningContentSelector",(function(){return Ad("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"}))},Bd=function(){return os.get("sectioningContentPlusMainSelector",(function(){return Nd()+" , main:not([role]), [role=main]"}))};function Id(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,n=void 0!==t&&t;return!!(Od(md(e))||Od(vd(e))||n&&1===(null==e?void 0:e.props.nodeType)&&Od(e.attr("title")))}var jd={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Ss(e.parent,Nd())&&!Id(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Ss(e,Bd())?null:"contentinfo"},form:function(e){return Id(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Ss(e,Bd())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),n=Cd().find((function(t){return e.hasAttr(t)}));return!t||n||sd(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var n=hd(e.actualNode,"list").filter((function(e){return!!e}))[0];t=n&&"datalist"===n.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return Id(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Ss(e,"table"),n=xd(t);return["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return Sd(e)?"columnheader":Md(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},_d=function(e,t){var n=a(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===n)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var r=t.substring(1,t.length-1);return new RegExp(r).test(e)}}return t===e},qd=function(e,t){return _d(!!If(e),t)},Pd=function(e,t){if("object"!==a(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(n){return _d(e(n),t[n])}))},$d=function(e,t){return e=Wp(e).vNode,Pd((function(t){return e.attr(t)}),t)};function zd(e,t){return!!t(e)}var Gd=function(e,t){return _d(xd(e),t)},Ld=function(e,t){return _d(Jd(e),t)},Hd=function(e,t){return e=Wp(e).vNode,_d(e.props.nodeName,t)},Ud=function(e,t){return e=Wp(e).vNode,Pd((function(t){return e.props[t]}),t)},Vd=function(e,t){return _d(rf(e),t)},Kd={hasAccessibleName:qd,attributes:$d,condition:zd,explicitRole:Gd,implicitRole:Ld,nodeName:Hd,properties:Ud,semanticRole:Vd},Wd=function e(t,n){return t=Wp(t).vNode,Array.isArray(n)?n.some((function(n){return e(t,n)})):"string"==typeof n?gs(t,n):Object.keys(n).every((function(e){if(!Kd[e])throw new Error('Unknown matcher type "'.concat(e,'"'));return(0,Kd[e])(t,n[e])}))},Yd=function(e,t){return Wd(e,t)};Yd.hasAccessibleName=qd,Yd.attributes=$d,Yd.condition=zd,Yd.explicitRole=Gd,Yd.fromDefinition=Wd,Yd.fromFunction=Pd,Yd.fromPrimative=_d,Yd.implicitRole=Ld,Yd.nodeName=Hd,Yd.properties=Ud,Yd.semanticRole=Vd;var Zd=Yd,Xd=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,n=void 0!==t&&t,r=wd.htmlElms[e.props.nodeName];if(!r)return{};if(!r.variant)return r;var a=r.variant,i=R(r,p);for(var o in a)if(a.hasOwnProperty(o)&&"default"!==o){for(var u=a[o],s=u.matches,l=R(u,m),c=Array.isArray(s)?s:[s],d=0;d<c.length&&n;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return r;if(Zd(e,s))for(var f in l)l.hasOwnProperty(f)&&(i[f]=l[f])}for(var h in a.default)a.default.hasOwnProperty(h)&&void 0===i[h]&&(i[h]=a.default[h]);return i},Jd=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,n=e instanceof aa?e:us(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var r=jd[n.props.nodeName];return!r&&t?Xd(n).chromiumRole||null:"function"==typeof r?r(n):r||null},Qd={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function ef(e,t){var n=Qd[e.props.nodeName];if(!n)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!n.includes(e.parent.props.nodeName))return null;var r=xd(e.parent,t);return["none","presentation"].includes(r)&&!nf(e.parent)?r:r?null:ef(e.parent,t)}function tf(e,t){var n=t.chromium,r=R(t,v),a=Jd(e,{chromium:n});return a?ef(e,r)||a:null}function nf(e){return Cd().some((function(t){return e.hasAttr(t)}))||sd(e)}var rf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noPresentational,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noImplicit,r=R(t,b),a=Wp(e).vNode;if(1!==a.props.nodeType)return null;var i=xd(a,r);return i?["presentation","none"].includes(i)&&nf(a)?n?null:tf(a,r):i:n?null:tf(a,r)}(e,R(t,g));return n&&["presentation","none"].includes(r)?null:r},af=["iframe"],of=function(e){var t=Wp(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Yd(t,af)&&["none","presentation"].includes(rf(t))?"":t.attr("title"):""},uf=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof aa?e:us(e)).props.nodeType)return!1;var n=rf(e),r=wd.ariaRoles[n];return!(!r||!r.nameFromContent)||!t&&(!r||["presentation","none"].includes(n))},sf=function(e){var t=e.actualNode,n=e.children;if(!n)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var r=hd(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return i.utils.getNodeFromTree(e)})),a=r.filter((function(e,t){return r.indexOf(e)===t})),o=n.filter((function(e){return!a.includes(e)}));return[].concat(I(o),I(a))}return I(n)},lf={accessibleNameFromFieldValue:["progressbar"]};function cf(e){return e=Wp(e).vNode,df(e)}var df=ju((function(e,t){return!Kl(e)&&!Vc(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Jl(e,df):!tc(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||df(e.parent,!0)))})),ff=function e(t,n,r){var a=Wp(t).vNode,i=!t.actualNode||t.actualNode&&(n?cf:hc)(t),o=a.children.map((function(t){var a=t.props,o=a.nodeValue;if(3===a.nodeType){if(o&&i)return o}else if(!r)return e(t,n)})).join("");return Od(o)},hf=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],pf=function(e){var t=(e=e instanceof aa?e:us(e)).props.nodeName;return"textarea"===t||"input"===t&&!hf.includes((e.attr("type")||"").toLowerCase())},mf=function(e){return"select"===(e=e instanceof aa?e:us(e)).props.nodeName},vf=function(e){return"textbox"===xd(e)},bf=function(e){return"listbox"===xd(e)},gf=function(e){return"combobox"===xd(e)},yf=["progressbar","scrollbar","slider","spinbutton"],Df=function(e){var t=xd(e);return yf.includes(t)},wf=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Ff={nativeTextboxValue:function(e){var t=Wp(e).vNode;return pf(t)&&t.props.value||""},nativeSelectValue:function(e){var t=Wp(e).vNode;if(!mf(t))return"";var n=mm(t,"option"),r=n.filter((function(e){return e.props.selected}));return r.length||r.push(n[0]),r.map((function(e){return ff(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=Wp(e),n=t.vNode,r=t.domNode;return vf(n)?!r||r&&!tc(r)?ff(n,!0):r.textContent:""},ariaListboxValue:Ef,ariaComboboxValue:function(e,t){var n=Wp(e).vNode;if(!gf(n))return"";var r=sf(n).filter((function(e){return"listbox"===rf(e)}))[0];return r?Ef(r,t):""},ariaRangeValue:function(e){var t=Wp(e).vNode;if(!Df(t)||!t.hasAttr("aria-valuenow"))return"";var n=+t.attr("aria-valuenow");return isNaN(n)?"0":String(n)}};function Ef(e,t){var n=Wp(e).vNode;if(!bf(n))return"";var r=sf(n).filter((function(e){return"option"===rf(e)&&"true"===e.attr("aria-selected")}));return 0===r.length?"":If(r[0],t)}var xf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode,r=lf.accessibleNameFromFieldValue||[],a=rf(e);if(t.startNode===e||!wf.includes(a)||r.includes(a))return"";var i=Object.keys(Ff).map((function(e){return Ff[e]})).reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&na(i||"{empty-value}",n,t),i},Af=Ad("phrasing").concat(["#text"]),Cf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=If.alreadyProcessed;t.startNode=t.startNode||e;var r=t.strict,a=t.inControlContext,i=t.inLabelledByContext,o=rf(e),u=Xd(e,{noMatchAccessibleName:!0}).contentTypes;return n(e,t)||1!==e.props.nodeType||null!=u&&u.includes("embedded")||wf.includes(o)?"":t.subtreeDescendant||t.inLabelledByContext||uf(e,{strict:r})?(r||(t=B({subtreeDescendant:!a&&!i},t)),sf(e).reduce((function(e,n){return function(e,t,n){var r=t.props.nodeName,a=If(t,n);return a?(Af.includes(r)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,n,t)}),"")):""},kf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.inControlContext||t.inLabelledByContext||(0,If.alreadyProcessed)(e,t))return"";t.startNode||(t.startNode=e);var n,r=B({inControlContext:!0},t),a=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Il({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Ss(e,"label");return i?(n=[].concat(I(a),[i.actualNode])).sort(Kp):n=a,n.map((function(e){return pd(e,r)})).filter((function(e){return""!==e})).join(" ")},Rf={submit:"Submit",image:"Submit",reset:"Reset",button:""};function Tf(e,t){return t.attr(e)||""}function Sf(e,t,n){var r=t.actualNode,a=[e=e.toLowerCase(),r.nodeName.toLowerCase()].join(","),i=r.querySelector(a);return i&&i.nodeName.toLowerCase()===e?pd(i,n):""}var Mf={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return Rf[e.props.type]||""},tableCaptionText:Sf.bind(null,"caption"),figureText:Sf.bind(null,"figcaption"),svgTitleText:Sf.bind(null,"title"),fieldsetLegendText:Sf.bind(null,"legend"),altText:Tf.bind(null,"alt"),tableSummaryText:Tf.bind(null,"summary"),titleText:of,subtreeText:Cf,labelText:kf,singleSpace:function(){return" "},placeholderText:Tf.bind(null,"placeholder")};function Of(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(rf(e)))return"";var r=function(e){return(Xd(e,{noMatchAccessibleName:!0}).namingMethods||[]).map((function(e){return Mf[e]}))}(e),a=r.reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&i.log(a||"{empty-value}",n,t),a}var Nf=function(e,t){var n=t.nonBmp,r=t.punctuations,a=!1;return t.emoji&&(a||(a=Ia().test(e))),n&&(a||(a=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\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.test(e))),r&&(a||(a=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),a};function Bf(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,i=e.actualNode.nodeValue.trim();if(!Od(i)||Nf(i,{emoji:!0,nonBmp:!0}))return!1;var o=os.get("canvasContext",(function(){return r.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),u=o.canvas,s=os.get("fonts",(function(){return{}})),l=t.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");s[l]||(s[l]={occurrences:0,numLigatures:0});var c=s[l];if(c.occurrences>=a){if(c.numLigatures/c.occurrences==1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,f="".concat(d,"px ").concat(l);o.font=f;var h=i.charAt(0),p=o.measureText(h).width;if(0===p)return c.numLigatures++,!0;if(p<30){var m=30/p;p*=m,f="".concat(d*=m,"px ").concat(l)}u.width=p,u.height=d,o.font=f,o.textAlign="left",o.textBaseline="top",o.fillText(h,0,0);var v=new Uint32Array(o.getImageData(0,0,p,d).data.buffer);if(!v.some((function(e){return e})))return c.numLigatures++,!0;o.clearRect(0,0,p,d),o.fillText(i,0,0);var b=new Uint32Array(o.getImageData(0,0,p,d).data.buffer),g=v.reduce((function(e,t,n){return 0===t&&0===b[n]||0!==t&&0!==b[n]?e:++e}),0),y=i.split("").reduce((function(e,t){return e+o.measureText(t).width}),0),D=o.measureText(i).width;return g/v.length>=n&&1-D/y>=n&&(c.numLigatures++,!0)}function If(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=B({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=B({includeHidden:!cf(e)},t)),t}(e,t),function(e,t){return!!e&&1===e.props.nodeType&&!t.includeHidden&&!cf(e)}(e,t))return"";if(function(e,t){var n,r=null!==(n=t.occurrenceThreshold)&&void 0!==n?n:t.occuranceThreshold;return!(3!==e.props.nodeType||!t.ignoreIconLigature)&&Bf(e,t.pixelThreshold,r)}(e,t))return"";var n=[md,vd,Of,xf,Cf,jf,of].reduce((function(n,r){return t.startNode===e&&(n=Od(n)),""!==n?n:r(e,t)}),"");return t.debug&&i.log(n||"{empty-value}",e.actualNode,t),n}function jf(e){return 3!==e.props.nodeType?"":e.props.nodeValue}If.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var _f=function(e,t){var n=t.nonBmp,r=t.punctuations;return t.emoji&&(e=e.replace(Ia(),"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\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,"")),r&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},qf=function(e){return function(e){return 0===Od(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=_f(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!Od(t)}(e)?0:1},Pf={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},$f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.looseTyped,r=void 0!==n&&n,a=t.stateTerms,i=void 0===a?[]:a,o=t.locations,u=void 0===o?[]:o,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,f=t.qualifiedTerms,h=void 0===f?[]:f,p=t.ignoredValues,m=void 0===p?[]:p;if(e=e.toLowerCase().trim(),(i=i.concat(Pf.stateTerms)).includes(e)||""===e)return!0;l=l.concat(Pf.qualifiers),u=u.concat(Pf.locations),d=d.concat(Pf.standaloneTerms),h=h.concat(Pf.qualifiedTerms);var v=e.split(/\s+/g);if("webauthn"===v[v.length-1]&&(v.pop(),0===v.length))return!1;if(!r&&(v[0].length>8&&"section-"===v[0].substr(0,8)&&v.shift(),u.includes(v[0])&&v.shift(),l.includes(v[0])&&(v.shift(),d=[]),1!==v.length))return!1;var b=v[v.length-1];return m.includes(b)?void 0:d.includes(b)||h.includes(b)},zf=function(e){var t;return e.attr("aria-labelledby")&&(t=hd(e.actualNode,"aria-labelledby").map((function(e){var t=us(e);return t?ff(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=Od(t))?t:null},Gf=function(e,t,n){return e=us(e),ff(e,t,n)},Lf=function(e){var t,n;if(n=zf(e))return n;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var r=Da(e.attr("id"));if(n=(t=Bl(e.actualNode).querySelector('label[for="'+r+'"]'))&&Gf(t,!0))return n}return(n=(t=Ss(e,"label"))&&ff(t,!0))||null},Hf=function(e){return e=us(e),Lf(e)},Uf=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],Vf=function e(t){var n=hc(t),r=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?n&&r.push(t):r=r.concat(e(t))})),r},Kf=ju((function(e){var t=us(e),n=t.boundingClientRect,a=[],i=$l(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==Od(e.nodeValue)){var t=function(e){var t=r.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some((function(e){return!vc(yc(e),t)}))})(t,n)||a.push.apply(a,I(Wf(t,i)))}})),a.length?a:Wf([n],i)}));function Wf(e,t){var n=[];return e.forEach((function(e){if(!(e.width<1||e.height<1)){var r=t.reduce((function(e,t){return e&&gc(e,t.boundingClientRect)}),e);r&&n.push(r)}})),n}var Yf=function(e){var t=Lc(e);return t?Kf(e).map((function(e){return ad(t,e)})):[]},Zf=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],Xf=function(e){var t=Wp(e).vNode,n=i.commons.aria.getExplicitRole(t);if(n)return-1!==Zf.indexOf(n);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},Jf=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Qf(e){return!Jf.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var eh=function e(t,n,r){return Qf(t)||Xf(t.actualNode)||!r&&!!zf(t)||!n&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))},th=function(e,t,n){return e=us(e),eh(e,t,n)};function nh(e){return!(void 0!==e.children&&!Qf(e))||(1===e.props.nodeType&&Xf(e)?!!i.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&nh(e)&&!tc(e)})))}var rh=function(e){return Jp(e.getAttribute("tabindex"))>-1&&sd(e)&&!ud(e)};function ah(e,t){var n=Wp(e),r=n.vNode,a=n.domNode;return r?(void 0===r._isHiddenWithCSS&&(r._isHiddenWithCSS=ih(a,t)),r._isHiddenWithCSS):ih(a,t)}function ih(e,n){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=t.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!n)return!0;if(a.includes(i)&&n&&a.includes(n))return!0;var o=ac(e);return!(!o||a.includes(i))&&ah(o,i)}var oh=ah,uh=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},sh=function(e){var n;(e instanceof aa||null!==(n=t)&&void 0!==n&&n.Node&&e instanceof t.Node)&&(e=i.commons.aria.getRole(e));var r=wd.ariaRoles[e];return(null==r?void 0:r.type)||null},lh=["block","list-item","table","flex","grid"],ch=["inline-block","inline-flex","inline-grid"],dh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noLengthCompare,r=t.includeInlineBlock,a=void 0!==r&&r,i=Wp(e),o=i.vNode,u=i.domNode;if(fh(u)||!a&&function(e){var t=e.getComputedStylePropertyValue("display");return ch.includes(t)}(o))return!1;var s=function(e){for(var t=ac(e);t&&!fh(t);)t=ac(t);return us(t)}(u),l="",c="",d=0;return hh(s,(function(e){if(e===s.actualNode)return!0;if(2===d)return!1;if(3===e.nodeType&&(l+=e.nodeValue),1===e.nodeType){var t=(e.nodeName||"").toUpperCase();e===u&&(d=1);var n=fh(e);return(n||["BR","HR"].includes(t))&&(0===d?(l="",c=""):d=2),!(n||"none"===e.style.display||"hidden"===e.style.overflow||!["",null,"none"].includes(e.style.float)||!["",null,"relative"].includes(e.style.position))&&("widget"===sh(e)?(c+=e.textContent,!1):void 0)}})),l=Od(l),n?0!==l.length:(c=Od(c),l.length>c.length)};function fh(e){var t=Wp(e).vNode.getComputedStylePropertyValue("display");return lh.includes(t)||"table-"===t.substr(0,6)}function hh(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return hh(e,t)}))}var ph=function(e){var n=(e=e||{}).modalPercent||.75;if(os.get("isModalOpen"))return os.get("isModalOpen");if(am(i._tree[0],"dialog, [role=dialog], [aria-modal=true]",hc).length)return os.set("isModalOpen",!0),!0;for(var a,o=uc(t),u=o.width*n,s=o.height*n,l=(o.width-u)/2,c=(o.height-s)/2,d=[{x:l,y:c},{x:o.width-l,y:c},{x:o.width/2,y:o.height/2},{x:l,y:o.height-c},{x:o.width-l,y:o.height-c}].map((function(e){return Array.from(r.elementsFromPoint(e.x,e.y))})),f=function(){var e=d[h].find((function(e){var n=t.getComputedStyle(e);return parseInt(n.width,10)>=u&&parseInt(n.height,10)>=s&&"none"!==n.getPropertyValue("pointer-events")&&("absolute"===n.position||"fixed"===n.position)}));if(e&&d.every((function(t){return t.includes(e)})))return os.set("isModalOpen",!0),{v:!0}},h=0;h<d.length;h++)if(a=f())return a.v;os.set("isModalOpen",void 0)};function mh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=e.ownerDocument.createRange();n.setStart(e,0),n.setEnd(e,e.childNodes.length);var r,a=0,i=0,o=Z(n.getClientRects());try{for(o.s();!(r=o.n()).done;){var u=r.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==i)return!0;a=u.bottom,i++}}}catch(e){o.e(e)}finally{o.f()}return!1}var vh=function(e){return e instanceof t.Node},bh="color.incompleteData",gh={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var n=os.get(bh,(function(){return{}}));return t&&(n[e]=t),n[e]},get:function(e){var t=os.get(bh);return null==t?void 0:t[e]},clear:function(){os.set(bh,{})}},yh=function(e,n){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return gh.set("bgColor","imgNode"),!0;var a=(n=n||t.getComputedStyle(e)).getPropertyValue("background-image"),i="none"!==a;if(i){var o=/gradient/.test(a);gh.set("bgColor",o?"bgGradient":"bgImage")}return i},Dh=/^#[0-9a-f]{3,8}$/i,wh=/hsl\(\s*([-\d.]+)(rad|turn)/,Fh=(P=new WeakMap,K=new WeakMap,Y=new WeakMap,Q=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakSet,W((function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(V(this,e),q(this,ne),_(this,P,void 0),_(this,K,void 0),_(this,Y,void 0),_(this,Q,void 0),_(this,ee,void 0),_(this,te,void 0),t instanceof Fh){var i=t.g,o=t.b;return this.r=t.r,this.g=i,this.b=o,void(this.alpha=t.alpha)}this.red=t,this.green=n,this.blue=r,this.alpha=a}),[{key:"r",get:function(){return $(P,this)},set:function(e){z(P,this,e),z(Q,this,Math.round(255*Ah(e,0,1)))}},{key:"g",get:function(){return $(K,this)},set:function(e){z(K,this,e),z(ee,this,Math.round(255*Ah(e,0,1)))}},{key:"b",get:function(){return $(Y,this)},set:function(e){z(Y,this,e),z(te,this,Math.round(255*Ah(e,0,1)))}},{key:"red",get:function(){return $(Q,this)},set:function(e){z(P,this,e/255),z(Q,this,Ah(e,0,255))}},{key:"green",get:function(){return $(ee,this)},set:function(e){z(K,this,e/255),z(ee,this,Ah(e,0,255))}},{key:"blue",get:function(){return $(te,this)},set:function(e){z(Y,this,e/255),z(te,this,Ah(e,0,255))}},{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(wh,(function(e,t,n){var r=t+n;switch(n){case"rad":return e.replace(r,180*t/Math.PI);case"turn":return e.replace(r,360*t)}}));try{var n;"Prototype"in t&&"Version"in t.Prototype&&(n=Array.from,Array.from=Iu.default);var r=new Su(e).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw gh.set("colorParse",e),new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(Dh)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,n=this.b;return.2126*(e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return G(ne,this,Eh).call(this,t).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(e){var t=new Fh(this),n=L([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort((function(e,t){return e.value-t.value})),3),r=n[0],a=n[1],i=n[2];return i.value>r.value?(a.value=(a.value-r.value)*e/(i.value-r.value),i.value=e):a.value=i.value=0,r.value=0,t[i.name]=i.value,t[r.name]=r.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new Fh(this),t=e.getLuminosity(),n=Math.min(e.r,e.g,e.b),r=Math.max(e.r,e.g,e.b);return n<0&&(e.r=t+(e.r-t)*t/(t-n),e.g=t+(e.g-t)*t/(t-n),e.b=t+(e.b-t)*t/(t-n)),r>1&&(e.r=t+(e.r-t)*(1-t)/(r-t),e.g=t+(e.g-t)*(1-t)/(r-t),e.b=t+(e.b-t)*(1-t)/(r-t)),e}}]));function Eh(e){var t=new Fh(this);return t.r+=e,t.g+=e,t.b+=e,t}var xh=Fh;function Ah(e,t,n){return Math.min(Math.max(t,e),n)}var Ch=function(e){var t=new xh;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var n=e.getPropertyValue("opacity");t.alpha=t.alpha*n}return t},kh=function(e){var n=t.getComputedStyle(e);return yh(e,n)||1===Ch(n).alpha};function Rh(e){if(!e.href)return!1;var t=os.get("firstPageLink",Th);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function Th(){return(t.location.origin?mm(i._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!Qc(e.actualNode)})):mm(i._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var Sh=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Mh=/(\w+)\((\d+)/;var Oh=function e(n,r,a){var o;if(!n)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var u=n instanceof aa?n:us(n);n=u?u.actualNode:n;var s="_isVisible"+(r?"ScreenReader":""),l=null!==(o=t.Node)&&void 0!==o?o:{},c=l.DOCUMENT_NODE,d=l.DOCUMENT_FRAGMENT_NODE,f=u?u.props.nodeType:n.nodeType,h=u?u.props.nodeName:n.nodeName.toLowerCase();if(u&&void 0!==u[s])return u[s];if(f===c)return!0;if(["style","script","noscript","template"].includes(h))return!1;if(n&&f===d&&(n=n.host),r&&"true"===(u?u.attr("aria-hidden"):n.getAttribute("aria-hidden")))return!1;if(!n){var p=u.parent,m=!0;return p&&(m=e(p,r,!0)),u&&(u[s]=m),m}var v=t.getComputedStyle(n,null);if(null===v)return!1;if("area"===h)return function(t,n,r){var a=_l(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var u=Bl(t);if(!u||9!==u.nodeType)return!1;var s=mm(i._tree,'img[usemap="#'.concat(Da(o),'"]'));return!(!s||!s.length)&&s.some((function(t){return e(t.actualNode,n,r)}))}(n,r,a);if("none"===v.getPropertyValue("display"))return!1;var b=parseInt(v.getPropertyValue("height")),g=parseInt(v.getPropertyValue("width")),y=Rp(n),D=y&&0===b,w=y&&0===g,F="absolute"===v.getPropertyValue("position")&&(b<2||g<2)&&"hidden"===v.getPropertyValue("overflow");if(!r&&(function(e){var t=e.getPropertyValue("clip").match(Sh),n=e.getPropertyValue("clip-path").match(Mh);if(t&&5===t.length){var r=e.getPropertyValue("position");if(["fixed","absolute"].includes(r))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(n){var a=n[1],i=parseInt(n[2],10);switch(a){case"inset":return i>=50;case"circle":return 0===i}}return!1}(v)||"0"===v.getPropertyValue("opacity")||D||w||F))return!1;if(!a&&("hidden"===v.getPropertyValue("visibility")||!r&&dc(n)))return!1;var E=n.assignedSlot?n.assignedSlot:n.parentNode,x=!1;return E&&(x=e(E,r,!0)),u&&(u[s]=x),x},Nh=function(e,n){for(var r=["fixed","sticky"],a=[],i=!1,o=0;o<e.length;++o){var u=e[o];u===n&&(i=!0);var s=t.getComputedStyle(u);i||-1===r.indexOf(s.position)?a.push(u):a=[]}return a};function Bh(e,t){var n=Ih(t);do{var r=Ih(e);if(r===n||r===t)return jh(e,t);e=r}while(e);return!1}function Ih(e){for(var t=us(e).parent;t;){if(Rp(t.actualNode))return t.actualNode;t=t.parent}}function jh(e,n){var r=t.getComputedStyle(n),a=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var i=Array.from(e.getClientRects()),o=n.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(a)||n instanceof t.HTMLHtmlElement)&&(u.width=n.scrollWidth,u.height=n.scrollHeight),1===i.length&&"hidden"===a&&"nowrap"===r.getPropertyValue("white-space")&&(i[0]=u),i.some((function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var _h=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(i>999)throw new Error("Infinite loop detected");return Array.from(a.elementsFromPoint(t,n)||[]).filter((function(e){return Bl(e)===a})).reduce((function(r,a){if(Ml(a)){var o=e(t,n,a.shadowRoot,i+1);(r=r.concat(o)).length&&Bh(r[0],a)&&r.push(a)}else r.push(a);return r}),[])};function qh(e){var t={};if(!e||!e.length)return t;var n=e.substring(1).split("&");if(!n||!n.length)return t;for(var r=0;r<n.length;r++){var a=L(n[r].split("="),2),i=a[1],o=void 0===i?"":i;t[decodeURIComponent(a[0])]=decodeURIComponent(o)}return t}function Ph(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===L(t,1)[0]?"":e:""}var $h,zh=function(e,t){if(e.hasAttribute(t)){var n=e.nodeName.toUpperCase(),a=e;["A","AREA"].includes(n)&&!e.ownerSVGElement||((a=r.createElement("a")).href=e.getAttribute(t));var i,o=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,u=function(e){var t=e.split("/").pop();return t&&-1!==t.indexOf(".")?{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}:{pathname:e,filename:""}}(/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname)),s=u.pathname,l=u.filename;return{protocol:o,hostname:a.hostname,port:(i=a.port,["443","80"].includes(i)?"":i),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:qh(a.search),hash:Ph(a.hash),filename:l}}},Gh=function(e,n){var r=n.getBoundingClientRect(),a=r.top,i=r.left;if(e.left>i-n.scrollLeft+n.scrollWidth&&e.left>r.right||e.top>a-n.scrollTop+n.scrollHeight&&e.top>r.bottom||e.right<i-n.scrollLeft&&e.right<r.left||e.bottom<a-n.scrollTop&&e.bottom<r.top)return!1;var o=t.getComputedStyle(n);return!(e.left>r.right||e.top>r.bottom)||"scroll"===o.overflow||"auto"===o.overflow||n instanceof t.HTMLBodyElement||n instanceof t.HTMLHtmlElement},Lh=0,Hh=function(e){function n(e,t,r){var a;if(V(this,n),(a=T(this,n)).shadowId=r,a.children=[],a.actualNode=e,a.parent=t,t||(Lh=0),a.nodeIndex=Lh++,a._isHidden=null,a._cache={},a._isXHTML=_u(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var i=e.getAttribute("type");i=a._isXHTML?i:(i||"").toLowerCase(),Tm().includes(i)||(i="text"),a._type=i}return os.get("nodeMap")&&os.get("nodeMap").set(e,a),a}return O(n,e),W(n,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,n=e.nodeName,r=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?n:n.toLowerCase(),id:r,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof t.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name}))),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var n="computedStyle_"+e;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=t.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(e)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=sd(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=od(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return e.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(aa),Uh=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Vh=" [idsMap]";function Kh(e,t,n){var r=e[0]._selectorMap;if(r){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some((function(e){return Wh(e)})))return;var o=new Set;t.forEach((function(e){var t,n=function(e,t,n){var r=e[e.length-1],a=null,i=e.length>1||!!r.pseudos||!!r.classes;if(Wh(r))a=t["*"];else{if(r.id){var o;if(!t[Vh]||!Object.hasOwn(t[Vh],r.id)||null===(o=t[Vh][r.id])||void 0===o||!o.length)return;a=t[Vh][r.id].filter((function(e){return e.shadowId===n}))}if(r.tag&&"*"!==r.tag){var u;if(null===(u=t[r.tag])||void 0===u||!u.length)return;var s=t[r.tag];a=a?Yh(s,a):s}if(r.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?Yh(c,a):c}if(r.attributes)for(var d=0;d<r.attributes.length;d++){var f,h=r.attributes[d];if("attrValue"===h.type&&(i=!0),null===(f=t["[".concat(h.key,"]")])||void 0===f||!f.length)return;var p=t["[".concat(h.key,"]")];a=a?Yh(p,a):p}}return{nodes:a,isComplexSelector:i}}(e,r,a);null==n||null===(t=n.nodes)||void 0===t||t.forEach((function(t){n.isComplexSelector&&!Ts(t,e)||o.add(t)}))}));var u=[];return o.forEach((function(e){return u.push(e)})),n&&(u=u.filter(n)),u.sort((function(e,t){return e.nodeIndex-t.nodeIndex}))}}function Wh(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function Yh(e,t){return e.filter((function(e){return t.includes(e)}))}function Zh(e,t,n){Object.hasOwn(n,e)||(n[e]=[]),n[e].push(t)}function Xh(e,t){1===e.props.nodeType&&(Zh(e.props.nodeName,e,t),Zh("*",e,t),e.attrNames.forEach((function(n){"id"===n&&(t[Vh]=t[Vh]||{},Uh(e.attr(n)).forEach((function(n){Zh(n,e,t[Vh])}))),Zh("[".concat(n,"]"),e,t)})))}function Jh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.documentElement,t=arguments.length>1?arguments[1]:void 0;$h=!1;var n={};os.set("nodeMap",new WeakMap),os.set("selectorMap",n);var a=tp(e,t,null);return a[0]._selectorMap=n,a[0]._hasShadowRoot=$h,a}function Qh(e,t,n){var r=new Hh(e,t,n);return Xh(r,os.get("selectorMap")),r}function ep(e,t,n){var r=[];return e.forEach((function(e){var a=tp(e,n,t);a&&r.push.apply(r,I(a))})),r}function tp(e,n,a){var i,o;e.documentElement&&(e=e.documentElement);var u=e.nodeName.toLowerCase();return Ml(e)?($h=!0,i=Qh(e,a,n),n="a"+Math.random().toString().substring(2),o=Array.from(e.shadowRoot.childNodes),i.children=ep(o,i,n),[i]):"content"===u&&"function"==typeof e.getDistributedNodes?ep(o=Array.from(e.getDistributedNodes()),a,n):"slot"===u&&"function"==typeof e.assignedNodes?((o=Array.from(e.assignedNodes())).length||(o=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),t.getComputedStyle(e),ep(o,a,n)):e.nodeType===r.ELEMENT_NODE?(i=Qh(e,a,n),o=Array.from(e.childNodes),i.children=ep(o,i,n),[i]):e.nodeType===r.TEXT_NODE?[Qh(e,a)]:void 0}var np=function(e){return e?e.trim().split("-")[0].toLowerCase():""},rp=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var n=i._audit.data.failureSummaries[e];return n&&"function"==typeof n.failureMessage?n.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\n\n")};function ap(){var e=i._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var ip=ta.resultGroups;function op(e,t){var n=i.utils.aggregateResult(e);return ip.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(n[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])})),n[e]=(n[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map((function(e){if("object"===a(e.node)){var n=up(e.node,t);Object.assign(e,n)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach((function(n){Array.isArray(e[n])&&e[n].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return up(e,t)}))}))}))}(e,t),e}))),ip.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),n}function up(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=wl.dqElmToSpec(e,t);var n,r,a,o,u,s={};return s.html=i._audit.noHtml?null:null!==(n=e.source)&&void 0!==n?n:"Undefined",t.elementRef&&!e.fromFrame&&(s.element=null!==(r=e.element)&&void 0!==r?r:null),(!1!==t.selectors||e.fromFrame)&&(s.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(s.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(s.xpath=null!==(u=e.xpath)&&void 0!==u?u:["/"]),s}var sp=/\$\{\s?data\s?\}/g;function lp(e,t){if("string"==typeof t)return e.replace(sp,t);for(var n in t)if(t.hasOwnProperty(n)){var r=new RegExp("\\${\\s?data\\."+n+"\\s?}","g"),a=void 0===t[n]?"":String(t[n]);e=e.replace(r,a)}return e}var cp=function e(t,n){if(t){if(Array.isArray(n))return n.values=n.join(", "),lp("string"==typeof t.singular&&"string"==typeof t.plural?1===n.length?t.singular:t.plural:t,n);if("string"==typeof t)return lp(t,n);if("string"==typeof n)return lp(t[n],n);var r=t.default||ap();return n&&n.messageKey&&t[n.messageKey]&&(r=t[n.messageKey]),e(r,n)}},dp=function(e,t,n){var r=i._audit.data.checks[e];if(!r)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!r.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return cp(r.messages[t],n)},fp=function(e,t,n){var r=((n.rules&&n.rules[t]||{}).checks||{})[e.id],a=(n.checks||{})[e.id],i=e.enabled,o=e.options;return a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),r&&(r.hasOwnProperty("enabled")&&(i=r.enabled),r.hasOwnProperty("options")&&(o=r.options)),{enabled:i,options:o,absolutePaths:n.absolutePaths}};function hp(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return n&&"object"===a(n)?n:"object"!==a(r)?{}:{testEngine:{name:"axe-core",version:i.version},testRunner:{name:i._audit.brand},testEnvironment:pp(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function pp(e){if(!e.navigator||"object"!==a(e.navigator))return{};var t,n=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{};return{userAgent:e.navigator.userAgent,windowWidth:e.innerWidth,windowHeight:e.innerHeight,orientationAngle:n.angle,orientationType:n.type}}function mp(e,t){var n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:t.focusable&&vp(e),size:bp(e),page:n}}function vp(e){var t=Jp(e.getAttribute("tabindex"));return null===t||t>=0}function bp(e){var t=parseInt(e.getAttribute("width"),10),n=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(n)){var r=e.getBoundingClientRect();t=isNaN(t)?r.width:t,n=isNaN(n)?r.height:n}return{width:t,height:n}}function gp(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];Ip(n)||(n=[n]);for(var a=0;a<n.length;a++){var i=(e=n[a])instanceof t.Node?e:"string"==typeof e?[e]:($p(e)?(function(e){wp(Array.isArray(e.fromFrames),"fromFrames property must be an array"),wp(e.fromFrames.every((function(e){return!jp(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),wp(!jp(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):zp(e)&&(e=[e]),function(e){if(Array.isArray(e)){var t,n=[],r=Z(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(zp(a)&&(yp(a),a=a.fromShadowDom),"string"!=typeof a&&!Dp(a))return;n.push(a)}}catch(e){r.e(e)}finally{r.f()}return n}}(e));i&&r.push(i)}return r}function yp(e){wp(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),wp(e.fromShadowDom.every((function(e){return!jp(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),wp(e.fromShadowDom.every((function(e){return!jp(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function Dp(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function wp(e,t){ga(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function Fp(e,n){for(var r=[],a=0,i=e[n].length;a<i;a++){var o=e[n][a];if(o instanceof t.Node)if(o.documentElement instanceof t.Node)r.push(e.flatTree[0]);else if(o.host instanceof t.Node){var u=Array.from(o.children).map((function(e){return us(e)}));r.push.apply(r,I(u))}else r.push(us(o));else if(o&&o.length)if(o.length>1)Ep(e,n,o);else{var s=km(o[0]);r.push.apply(r,I(s.map((function(e){return us(e)}))))}}return r.filter((function(e){return e}))}function Ep(e,t,n){e.frames=e.frames||[],km(n.shift()).forEach((function(r){var a=e.frames.find((function(e){return e.node===r}));a||(a=mp(r,e),e.frames.push(a)),a[t].push(n)}))}function xp(e,n){var i,o,u,s,l,c=this;e=ps(e),this.frames=[],this.page="boolean"==typeof(null===(i=e)||void 0===i?void 0:i.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(o=e)||void 0===o?void 0:o.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(u=e)||void 0===u?void 0:u.focusable)||e.focusable,this.size="object"===a(null===(s=e)||void 0===s?void 0:s.size)?e.size:{},e=function(e){if(qp(e)){var t=" must be used inside include or exclude. It should not be on the same object.";wp(!jp(e,"fromFrames"),"fromFrames"+t),wp(!jp(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Pp(e))return{include:[r],exclude:[]};e={include:e,exclude:[]}}var n=gp(e.include);return 0===n.length&&n.push(r),{include:n,exclude:gp(e.exclude)}}(e),this.flatTree=null!=n?n:Jh(function(e){for(var n=e.exclude,a=Array.from(e.include).concat(Array.from(n)),i=0;i<a.length;i++){var o=a[i];if(o instanceof t.Element)return o.ownerDocument.documentElement;if(o instanceof t.Document)return o.documentElement}return r.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=Fp(this,"include"),this.exclude=Fp(this,"exclude"),ym("frame, iframe",this).forEach((function(e){Hp(e,c)&&function(e,t){cf(t)&&!El(e.frames,"node",t)&&e.frames.push(mp(t,e))}(c,e.actualNode)})),void 0===this.page&&(this.page=1===(l=this.include).length&&l[0].actualNode===r.documentElement,this.frames.forEach((function(e){e.page=c.page}))),function(e){if(0===e.include.length&&0===e.frames.length){var t=pl.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Kp)}function Ap(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new xp(e).frames.map((function(e){var t=e.node,n=R(e,y);return n.initiator=!1,{frameSelector:ns(t),frameContext:n}}))}function Cp(e){var t=i._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function kp(e,t){var n=e.getPropertyValue(t);return["scroll","auto"].includes(n)}var Rp=ju((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+n,a=e.scrollHeight>e.clientHeight+n;if(r||a){var i=t.getComputedStyle(e),o=kp(i,"overflow-x"),u=kp(i,"overflow-y");return r&&o||a&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function Tp(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var n=Rp(t);return n&&e.push(n),e.concat(Tp(t))}),[])}var Sp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:n,top:n.scrollTop,left:n.scrollLeft}].concat(Tp(r.body))};function Mp(){return ps(wd)}var Op,Np=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var n=t.data,r=t.isCrossOrigin,a=void 0!==r&&r,i=t.shadowId,o=t.root,u=t.priority,s=t.isLink,l=void 0!==s&&s,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(n.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(n));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:u}}},Bp=function(e){if(Op&&Op.parentNode)return void 0===Op.styleSheet?Op.appendChild(r.createTextNode(e)):Op.styleSheet.cssText+=e,Op;if(e){var t=r.head||r.getElementsByTagName("head")[0];return(Op=r.createElement("style")).type="text/css",void 0===Op.styleSheet?Op.appendChild(r.createTextNode(e)):Op.styleSheet.cssText=e,t.appendChild(Op),Op}};function Ip(e){return!!e&&"object"===a(e)&&"number"==typeof e.length&&e instanceof t.Node==0}function jp(e,t){return!(!e||"object"!==a(e))&&Object.prototype.hasOwnProperty.call(e,t)}function _p(e){return qp(e)||Pp(e)}function qp(e){return["include","exclude"].some((function(t){return jp(e,t)&&Pp(e[t])}))}function Pp(e){return"string"==typeof e||e instanceof t.Node||$p(e)||zp(e)||Ip(e)}function $p(e){return jp(e,"fromFrames")}function zp(e){return jp(e,"fromShadowDom")}var Gp=function e(n,r){var a=us(n);if(9===n.nodeType)return!1;if(11===n.nodeType&&(n=n.host),a&&null!==a._isHidden)return a._isHidden;var i=t.getComputedStyle(n,null);if(!i||!n.parentNode||"none"===i.getPropertyValue("display")||!r&&"hidden"===i.getPropertyValue("visibility")||"true"===n.getAttribute("aria-hidden"))return!0;var o=e(n.assignedSlot?n.assignedSlot:n.parentNode,!0);return a&&(a._isHidden=o),o},Lp=function(e){var t,n,r=null!==(t=null===(n=e.props)||void 0===n?void 0:n.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!wd.htmlElms[r]};function Hp(e,t){var n=t.include,r=t.exclude,a=void 0===r?[]:r,i=(void 0===n?[]:n).filter((function(t){return kl(t,e)}));if(0===i.length)return!1;var o=a.filter((function(t){return kl(t,e)}));if(0===o.length)return!0;var u=Up(i);return kl(Up(o),u)}function Up(e){var t,n,r=Z(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;t&&kl(a,t)||(t=a)}}catch(e){r.e(e)}finally{r.f()}return t}function Vp(e,t){return e.length===t.length&&e.every((function(e,n){var r=t[n];return Array.isArray(e)?e.length===r.length&&e.every((function(e,t){return r[t]===e})):e===r}))}var Kp=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function Wp(e){return e instanceof aa?{vNode:e,domNode:e.actualNode}:{vNode:us(e),domNode:e}}var Yp=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter((function(e){return 3===e.type}));if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:n,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=o.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!r.includes(e)})).map((function(e,a){var i=[].concat(I(n),[a]),o=/^https?:\/\/|^\/\//i.test(e);return Xp(e,t,i,r,o)})),s=i.filter((function(e){return 3!==e.type}));return s.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map((function(e){return e.cssText})).join(),isCrossOrigin:a,priority:n,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)},Zp=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?Yp(e,t,n,r,a):Xp(e.href,t,n,r,!0)},Xp=function(e,n,r,a,i){return a.push(e),new Promise((function(n,r){var a=new t.XMLHttpRequest;a.open("GET",e),a.timeout=ta.preload.timeout,a.addEventListener("error",r),a.addEventListener("timeout",r),a.addEventListener("loadend",(function(e){if(e.loaded&&a.responseText)return n(a.responseText);r(a.responseText)})),a.send()})).then((function(e){var t=n.convertDataToStylesheet({data:e,isCrossOrigin:i,priority:r,root:n.rootNode,shadowId:n.shadowId});return Zp(t.sheet,n,r,a,t.isCrossOrigin)}))},Jp=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},Qp=function(){function e(){if(t.performance&&t.performance)return t.performance.now()}var n=e(),r=!1;return{start:function(){this.reset(),r=!0,this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",!0),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=!1},auditStart:function(){r||this.reset(),this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",!0),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end")},mark:function(e){var n;null!==(n=t.performance)&&void 0!==n&&n.mark&&t.performance.mark(e)},measure:function(e,n,r){var a,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null!==(a=t.performance)&&void 0!==a&&a.measure){try{t.performance.measure(e,n,r)}catch(e){this._log(e)}i||this.clearMark(n,r)}},logMeasures:function(e){var n,r,a=this,i=function(e){return Array.isArray(e)?e[e.length-1]:e},o=function(e){a._log("Measure "+e.name+" took "+e.duration+"ms")};if(null!==(n=t.performance)&&void 0!==n&&n.getEntriesByType&&null!==(r=t.performance)&&void 0!==r&&r.getEntriesByName){var u=i(t.performance.getEntriesByName("mark_axe_start"))||i(t.performance.getEntriesByName("mark_audit_start"));if(u)for(var s=t.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=u.startTime})),l=0;l<s.length;++l){var c=s[l];if(c.name===e)return void o(c);e||o(c)}else this._log("Axe must be started before using performanceTimer")}},timeElapsed:function(){return e()-n},clearMark:function(){var e;if(null!==(e=t.performance)&&void 0!==e&&e.clearMarks){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];for(var i=0,o=r;i<o.length;i++)t.performance.clearMarks(o[i])}},reset:function(){n=e()},_log:function(e){na(e)}}}(),em=Qp;function tm(){if(r.elementsFromPoint)return r.elementsFromPoint;if(r.msElementsFromPoint)return r.msElementsFromPoint;var e,t=((e=r.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),n=t?"pointer-events":"visibility",a=t?"none":"hidden",i=r.createElement("style");return i.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,u,s,l=[],c=[];for(r.head.appendChild(i);(o=r.elementFromPoint(e,t))&&-1===l.indexOf(o);)l.push(o),c.push({value:o.style.getPropertyValue(n),priority:o.style.getPropertyPriority(n)}),o.style.setProperty(n,a,"important");for(l.indexOf(r.documentElement)<l.length-1&&(l.splice(l.indexOf(r.documentElement),1),l.push(r.documentElement)),u=c.length;s=c[--u];)l[u].style.setProperty(n,s.value?s.value:"",s.priority);return r.head.removeChild(i),l}}"function"==typeof t.addEventListener&&(r.elementsFromPoint=tm());var nm=function(e,t){return e.concat(t).filter((function(e,t,n){return n.indexOf(e)===t}))};function rm(e,t,n,r,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=n,i.parentShadowId=r,i}var am=function(e,t,n){e=Array.isArray(e)?e:[e];var r=ks(t);return Kh(e,r,n)||function(e,t,n){for(var r=os.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],i=rm(Array.isArray(e)?e:[e],t,null,e[0].shadowId,r.pop()),o=[];i.vNodesIndex<i.vNodes.length;){for(var u,s,l=i.vNodes[i.vNodesIndex++],c=null,d=null,f=((null===(u=i.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(s=i.thisLevel)||void 0===s?void 0:s.length)||0),h=!1,p=0;p<f;p++){var m,v,b,g=p<((null===(m=i.anyLevel)||void 0===m?void 0:m.length)||0)?i.anyLevel[p]:i.thisLevel[p-((null===(v=i.anyLevel)||void 0===v?void 0:v.length)||0)];if((!g[0].id||l.shadowId===i.parentShadowId)&&Ts(l,g[0]))if(1===g.length)h||n&&!n(l)||(o.push(l),h=!0);else{var y=g.slice(1);if(!1===[" ",">"].includes(y[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+g[1].combinator);">"===y[0].combinator?(c=c||[]).push(y):(d=d||[]).push(y)}g[0].id&&l.shadowId!==i.parentShadowId||null===(b=i.anyLevel)||void 0===b||!b.includes(g)||(d=d||[]).push(g)}for(l.children&&l.children.length&&(a.push(i),i=rm(l.children,d,c,l.shadowId,r.pop()));i.vNodesIndex===i.vNodes.length&&a.length;)r.push(i),i=a.pop()}return o}(e,r,n)},im=function(e){var t=e.treeRoot,n=function(e){var t=[],n=am(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:Nl(e.actualNode)}}));return nm(n,[])}(void 0===t?i._tree[0]:t);if(!n.length)return Promise.resolve();var a=r.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var n=[];return e.forEach((function(e,r){var a=e.rootNode,i=e.shadowId,o=function(e,t,n){var r;return r=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(um).reduce((function(n,r){var a=r.nodeName.toUpperCase(),i=t({data:"STYLE"===a?r.textContent:r,isLink:"LINK"===a,root:e});return i.sheet&&n.push(i.sheet),n}),[])}(e,n):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&sm(e.media.mediaText)}))}(e),function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(r)}(a,i,t);if(!o)return Promise.all(n);var u=r+1,s={rootNode:a,shadowId:i,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(o.map((function(e,t){return Zp(e,s,[u,t],l)})));n.push(c)})),Promise.all(n)}(n,Np(a)).then((function(e){return om(e)}))};function om(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(om(t)):e.concat(t)}),[])}function um(e){var t=e.nodeName.toUpperCase(),n=e.getAttribute("href"),r=e.getAttribute("rel"),a="LINK"===t&&n&&r&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&sm(e.media)}function sm(e){return!e||!e.toUpperCase().includes("PRINT")}var lm=function(e){var t=e.treeRoot,n=am(void 0===t?i._tree[0]:t,"video[autoplay], audio[autoplay]",(function(e){var t=e.actualNode;return!("none"===t.preload&&0===t.readyState&&t.networkState!==t.NETWORK_LOADING||t.hasAttribute("paused")||t.hasAttribute("muted")||(t.hasAttribute("src")?!t.getAttribute("src"):Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0))}));return Promise.all(n.map((function(e){var t;return t=e.actualNode,new Promise((function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",(function n(){t.removeEventListener("loadedmetadata",n),e(t)}))}))})))};function cm(e){var t={cssom:im,media:lm};return dm(e)?new Promise((function(n,r){var a=fm(e),i=a.assets,o=setTimeout((function(){return r(new Error("Preload assets timed out."))}),a.timeout);Promise.all(i.map((function(n){return t[n](e).then((function(e){return C({},n,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return B({},e,t)}),{});clearTimeout(o),n(t)})).catch((function(e){clearTimeout(o),r(e)}))})):Promise.resolve()}function dm(e){return!e||null==e.preload||("boolean"==typeof e.preload?e.preload:"object"===a(t=e.preload)&&Array.isArray(t.assets));var t}function fm(e){var t=ta.preload,n=t.assets,r={assets:n,timeout:t.timeout};if(!e.preload)return r;if("boolean"==typeof e.preload)return r;if(!e.preload.assets.every((function(e){return n.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(n.join(", "),"."));return r.assets=nm(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(r.timeout=e.preload.timeout),r}function hm(e){var t=i._audit.data.checks||{},n=i._audit.data.rules||{},r=El(i._audit.rules,"id",e.id)||{};e.tags=ps(r.tags||[]);var a=pm(t,!0,r),o=pm(t,!1,r);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),Tl(e,ps(n[e.id]||{}))}function pm(e,t,n){return function(r){var i=e[r.id]||{},o=i.messages||{},u=Object.assign({},i);delete u.messages,n.reviewOnFail||void 0!==r.result?u.message=r.result===t?o.pass:o.fail:("object"!==a(o.incomplete)||Array.isArray(r.data)||(u.message=function(e,t){function n(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:ap()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:n(t);try{var r=t.incomplete[e.missingData[0].reason];if(!r)throw new Error;return r}catch(r){return"string"==typeof e.missingData?t.incomplete[e.missingData]:n(t)}}(r.data,o)),u.message||(u.message=o.incomplete)),"function"!=typeof u.message&&(u.message=cp(u.message,r.data)),Tl(r,u)}}var mm=function(e,t){return am(e,t)};var vm=function(e,t,n){var r=n.runOnly||{},a=(n.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===r.type?-1!==r.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:function(e,t){var n,r,a=i._audit&&i._audit.tagExclude?i._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(n=t.include||[],n=Array.isArray(n)?n:[n],r=t.exclude||[],r=(r=Array.isArray(r)?r:[r]).concat(a.filter((function(e){return-1===n.indexOf(e)})))):(n=Array.isArray(t)?t:[t],r=a.filter((function(e){return-1===n.indexOf(e)}))),!!(n.some((function(t){return-1!==e.tags.indexOf(t)}))||0===n.length&&!1!==e.enabled)&&r.every((function(t){return-1===e.tags.indexOf(t)}))}(e,"tag"===r.type&&r.values?r.values:[]))};function bm(e,t){if(!t)return e;var n=e.cloneNode(!1),r=Aa(n);return n=1===n.nodeType?os.get(n.outerHTML,(function(){return gm(n,r,e,t)})):gm(n,r,e,t),Array.from(e.childNodes).forEach((function(e){n.appendChild(bm(e,t))})),n}function gm(e,t,n,a){return t?(e=r.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,n){return void 0!==n[t]&&(!0===n[t]||Ca(e,n[t]))})(n,t.name,a)||e.setAttribute(t.name,t.value)})),e):e}function ym(e,t){var n=[];if(i._selectCache)for(var r=0,a=i._selectCache.length;r<a;r++){var o=i._selectCache[r];if(o.selector===e)return o.result}for(var u=t.include.reduce((function(e,t){return e.length&&kl(e[e.length-1],t)||e.push(t),e}),[]),s=function(e){return e.exclude&&0!==e.exclude.length?function(t){return Hp(t,e)}:null}(t),l=0;l<u.length;l++)n=Dm(n,am(u[l],e,s));return i._selectCache&&i._selectCache.push({selector:e,result:n}),n}function Dm(e,t){if(0===e.length)return t;if(e.length<t.length){var n=e;e=t,t=n}for(var r=0,a=t.length;r<a;r++)e.includes(t[r])||e.push(t[r]);return e}function wm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if("object"!==a(e)||null===e)return{message:String(e)};var n,r={},i=Z(ta.serializableErrorProps);try{for(i.s();!(n=i.n()).done;){var o=n.value;["string","number","boolean"].includes(a(e[o]))&&(r[o]=e[o])}}catch(e){i.e(e)}finally{i.f()}return e.cause&&(r.cause=t<10?wm(e.cause,t+1):"..."),r}var Fm=function(e){function t(e){var n,r,a=e.error,i=e.ruleId,o=e.method,u=e.errorNode;return V(this,t),(r=T(this,t)).name=null!==(n=a.name)&&void 0!==n?n:"RuleError",r.message=a.message,r.stack=a.stack,a.cause&&(r.cause=wm(a.cause)),i&&(r.ruleId=i,r.message+=" Skipping ".concat(r.ruleId," rule.")),o&&(r.method=o),u&&(r.errorNode=u),r}return O(t,e),W(t)}(A(Error)),Em=Fm,xm=function(e){e.forEach((function(e){return function(e,n,r){if(e===t)return e.scroll(r,n);e.scrollTop=n,e.scrollLeft=r}(e.elm,e.top,e.left)}))};function Am(e){return Cm(Array.isArray(e)?I(e):[e],r)}function Cm(e,t){var n=e.shift(),r=n?t.querySelector(n):null;return 0===e.length?r:null!=r&&r.shadowRoot?Cm(e,r.shadowRoot):null}function km(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=Array.isArray(e)?I(e):[e];return 0===e.length?[]:Rm(n,t)}function Rm(e,t){var n,r=U(n=e)||j(n)||X(n)||H(),a=r[0],i=J(r).slice(1),o=t.querySelectorAll(a);if(0===i.length)return Array.from(o);var u,s=[],l=Z(o);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,I(Rm(i,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var Tm=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},Sm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Mm(e){e=Array.isArray(e)?e:Sm;var t=[];return e.forEach((function(e,n){var r=String.fromCharCode(n+96).replace("`","");Array.isArray(e)?t=t.concat(Mm(e).map((function(e){return r+e}))):t.push(r)})),t}var Om=function(e){for(var t=Sm;e.length<3;)e+="`";for(var n=0;n<=e.length-1;n++)if(!(t=t[e.charCodeAt(n)-96]))return!1;return!0},Nm=function(e){function t(e){var n,r,i,o;return V(this,t),(n=T(this,t))._props=function(e){var t,n,r,a=null!==(t=e.nodeName)&&void 0!==t?t:Im[e.nodeType],i=null!==(n=null!==(r=e.nodeType)&&void 0!==r?r:Bm[e.nodeName])&&void 0!==n?n:1;ga("number"==typeof i,"nodeType has to be a number, got '".concat(i,"'")),ga("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'"));var o=null;"input"===(a=a.toLowerCase())&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Tm().includes(o)||(o="text"));var u=B({},e,{nodeType:i,nodeName:a});return o&&(u.type=o),delete u.attributes,Object.freeze(u)}(e),n._attrs=(i=void 0===(r=e.attributes)?{}:r,o={htmlFor:"for",className:"class"},Object.keys(i).reduce((function(e,t){var n=i[t];return ga("object"!==a(n)||null===n,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==n&&(e[o[t]||t]=null!==n?String(n):null),e}),{})),n}return O(t,e),W(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(aa),Bm={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Im={};Object.keys(Bm).forEach((function(e){Im[Bm[e]]=e}));var jm,_m=Nm,qm=function(e,t){if(e=e||function(){},t=t||i.log,!i._audit)throw new Error("No audit configured");var n=i.utils.queue(),a=[];Object.keys(i.plugins).forEach((function(e){n.defer((function(t){var n=function(e){a.push(e),t()};try{i.plugins[e].cleanup(t,n)}catch(e){n(e)}}))}));var o=i.utils.getFlattenedTree(r.body);i.utils.querySelectorAll(o,"iframe, frame").forEach((function(e){n.defer((function(t,n){return i.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,n)}))})),n.then((function(n){0===a.length?e(n):t(a)})).catch(t)},Pm={};function $m(e){return Pm.hasOwnProperty(e)}function zm(e){return"string"==typeof e&&Pm[e]?Pm[e]:"function"==typeof e?e:jm}var Gm={};ce(Gm,{getAllCells:function(){return Lm},getCellPosition:function(){return Rd},getHeaders:function(){return Um},getScope:function(){return Td},isColumnHeader:function(){return Sd},isDataCell:function(){return Vm},isDataTable:function(){return Km},isHeader:function(){return Wm},isRowHeader:function(){return Md},toArray:function(){return kd},toGrid:function(){return kd},traverse:function(){return Zm}});var Lm=function(e){var t,n,r,a,i=[];for(t=0,r=e.rows.length;t<r;t++)for(n=0,a=e.rows[t].cells.length;n<a;n++)i.push(e.rows[t].cells[n]);return i};function Hm(e,t,n){for(var r,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?Md:Sd,u=n[t.y][t.x],s=u.colSpan-1,l=u.getAttribute("rowspan"),c=0===parseInt(l)||0===u.rowspan?n.length:u.rowSpan,d=t.x+s,f="row"===e?t.y:0,h="row"===e?0:t.x,p=[],m=t.y+(c-1);m>=f&&!r;m--)for(var v=d;v>=h;v--){var b=n[m]?n[m][v]:void 0;if(b){var g=i.utils.getNodeFromTree(b);if(g[a]){r=g[a];break}p.push(b)}}return r=(r||[]).concat(p.filter(o)),p.forEach((function(e){i.utils.getNodeFromTree(e)[a]=r})),r}var Um=function(e,t){if(e.getAttribute("headers")){var n=hd(e,"headers");if(n.filter((function(e){return e})).length)return n}t||(t=kd(_l(e,"table")));var r=Rd(e,t),a=Hm("row",r,t),i=Hm("col",r,t);return[].concat(a,i).reverse()},Vm=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=xd(e);return t?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},Km=function(e){var n=xd(e);if(("presentation"===n||"none"===n)&&!sd(e))return!1;if("true"===e.getAttribute("contenteditable")||_l(e,'[contenteditable="true"]'))return!0;if("grid"===n||"treegrid"===n||"table"===n)return!0;if("landmark"===sh(n))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,a=e.children.length;r<a;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var i,o,u=0,s=e.rows.length,l=!1,c=0;c<s;c++)for(var d=0,f=(i=e.rows[c]).cells.length;d<f;d++){if("TH"===(o=i.cells[d]).nodeName.toUpperCase())return!0;if(l||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(l=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes(xd(o)))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(s<2)return!1;var h,p,m=e.rows[Math.ceil(s/2)];if(1===m.cells.length&&1===m.cells[0].colSpan)return!1;if(m.cells.length>=5)return!0;if(l)return!0;for(var v=0;v<s;v++){if(i=e.rows[v],h&&h!==t.getComputedStyle(i).getPropertyValue("background-color"))return!0;if(h=t.getComputedStyle(i).getPropertyValue("background-color"),p&&p!==t.getComputedStyle(i).getPropertyValue("background-image"))return!0;p=t.getComputedStyle(i).getPropertyValue("background-image")}return s>=20||!(oc(e).width>.95*uc(t).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},Wm=function(e){if(Sd(e)||Md(e))return!0;if(e.getAttribute("id")){var t=Da(e.getAttribute("id"));return!!r.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Ym(e,t,n,r){var a,i=n[t.y]?n[t.y][t.x]:void 0;return i?"function"==typeof r&&!0===(a=r(i,t,n))?[i]:((a=Ym(e,{x:t.x+e.x,y:t.y+e.y},n,r)).unshift(i),a):[]}var Zm=function(e,t,n,r){if(Array.isArray(t)&&(r=n,n=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return Ym(e,{x:t.x+e.x,y:t.y+e.y},n,r)},Xm={};ce(Xm,{allowedAttr:function(){return Jm},arialabelText:function(){return vd},arialabelledbyText:function(){return md},getAccessibleRefs:function(){return tv},getElementUnallowedRoles:function(){return iv},getExplicitRole:function(){return xd},getImplicitRole:function(){return Jd},getOwnedVirtual:function(){return sf},getRole:function(){return rf},getRoleType:function(){return sh},getRolesByType:function(){return uv},getRolesWithNameFromContents:function(){return lv},implicitNodes:function(){return pv},implicitRole:function(){return Jd},isAccessibleRef:function(){return mv},isAriaRoleAllowedOnElement:function(){return nv},isComboboxPopup:function(){return vv},isUnsupportedRole:function(){return Fd},isValidRole:function(){return Ed},label:function(){return gv},labelVirtual:function(){return zf},lookupTable:function(){return hv},namedFromContents:function(){return uf},requiredAttr:function(){return yv},requiredContext:function(){return Dv},requiredOwned:function(){return wv},validateAttr:function(){return Ev},validateAttrValue:function(){return Fv}});var Jm=function(e){var t=wd.ariaRoles[e],n=I(Cd());return t?(t.allowedAttrs&&n.push.apply(n,I(t.allowedAttrs)),t.requiredAttrs&&n.push.apply(n,I(t.requiredAttrs)),n):n},Qm=/^idrefs?$/;function ev(e,t,n){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var r=e.getAttribute("for");t.has(r)?t.get(r).push(e):t.set(r,[e])}for(var a=0;a<n.length;++a){var i=Od(e.getAttribute(n[a])||"");if(i){var o,u=Z(Uh(i));try{for(u.s();!(o=u.n()).done;){var s=o.value;t.has(s)?t.get(s).push(e):t.set(s,[e])}}catch(e){u.e(e)}finally{u.f()}}}}for(var l=0;l<e.childNodes.length;l++)1===e.childNodes[l].nodeType&&ev(e.childNodes[l],t,n)}var tv=function(e){var t,n=Bl(e=e.actualNode||e);n=n.documentElement||n;var r=os.get("idRefsByRoot",(function(){return new Map})),a=r.get(n);return a||(a=new Map,r.set(n,a),ev(n,a,Object.keys(wd.ariaAttrs).filter((function(e){return Qm.test(wd.ariaAttrs[e].type)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]},nv=function(e,t){var n=e instanceof aa?e:us(e),r=Jd(n),a=Xd(n);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==r&&!!a.allowedRoles},rv=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],av={header:"banner",footer:"contentinfo"},iv=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Wp(e).vNode;if(!Lp(n))return[];var r=n.props.nodeName,a=Jd(n)||av[r];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var n=Uh(e.attr("role").toLowerCase());t=t.concat(n)}return t.filter((function(e){return Ed(e)}))}(n).filter((function(e){return!function(e,t,n,r){return!(!n||e!==r)||(!rv.includes(e)||sh(e)===r)&&nv(t,e)}(e,n,t,a)}))},ov=function(e){return Object.keys(wd.ariaRoles).filter((function(t){return wd.ariaRoles[t].type===e}))},uv=function(e){return ov(e)},sv=function(){return os.get("ariaRolesNameFromContent",(function(){return Object.keys(wd.ariaRoles).filter((function(e){return wd.ariaRoles[e].nameFromContent}))}))},lv=function(){return sv()},cv=function(e){return null===e},dv=function(e){return null!==e},fv={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};fv.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:dv}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:dv}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:dv}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:dv}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:dv}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:dv}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:dv}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:dv}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:dv}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:dv}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:dv}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:dv}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:dv}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:dv}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},fv.implicitHtmlRole=jd,fv.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:dv}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:dv}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof i.AbstractVirtualNode||(e=i.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],fv.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:cv}},{nodeName:"img",attributes:{alt:cv}},{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"]}],fv.evaluateRoleForElement={A:function(e){var t=e.node;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||e.out},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.role,n=e.out;return"menu"===e.node.getAttribute("type")?"menuitem"===t:n},IMG:function(e){var t=e.role,n=e.out;switch(e.node.alt){case null:return n;case"":return"presentation"===t||"none"===t;default:return"presentation"!==t&&"none"!==t}},INPUT:function(e){var t=e.node,n=e.role,r=e.out;switch(t.type){case"button":case"image":return r;case"checkbox":return!("button"!==n||!t.hasAttribute("aria-pressed"))||r;case"radio":return"menuitemradio"===n;case"text":return"combobox"===n||"searchbox"===n||"spinbutton"===n;case"tel":return"combobox"===n||"spinbutton"===n;case"url":case"search":case"email":return"combobox"===n;default:return!1}},LI:function(e){var t=e.out;return!i.utils.matchesSelector(e.node,"ol li, ul li")||t},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){return!i.utils.matchesSelector(e.node,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node;return!t.multiple&&t.size<=1&&"menu"===e.role},SVG:function(e){var t=e.node;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||e.out}},fv.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var hv=fv,pv=function(e){var t=null,n=hv.role[e];return n&&n.implicit&&(t=ps(n.implicit)),t},mv=function(e){return!!tv(e).length};function vv(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=rf(e);if(null!=t||(t=bd["aria-haspopup"].values),!t.includes(n))return!1;var r=function(e){for(;e=e.parent;)if(null!==rf(e,{noPresentational:!0}))return e;return null}(e);if(bv(r))return!0;var a=e.props.id;if(!a)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=Nl(e.actualNode).querySelectorAll('[aria-owns~="'.concat(a,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(a,'"][role~="combobox"]:not(select)'));return Array.from(i).some(bv)}var bv=function(e){return e&&"combobox"===rf(e)},gv=function(e){return e=us(e),zf(e)},yv=function(e){var t=wd.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?I(t.requiredAttrs):[]},Dv=function(e){var t=wd.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?I(t.requiredContext):null},wv=function(e){var t=wd.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?I(t.requiredOwned):null},Fv=function(e,t){var n,r,a=(e=e instanceof aa?e:us(e)).attr(t),i=wd.ariaAttrs[t];if(!i)return!0;if(i.allowEmpty&&(!a||""===a.trim()))return!0;switch(i.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&i.values.includes(a.toLowerCase());case"nmtokens":return(r=Uh(a)).reduce((function(e,t){return e&&i.values.includes(t)}),0!==r.length);case"idref":try{var o=Bl(e.actualNode);return!(!a||!o.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return hd(e,t).some((function(e){return!!e}));case"string":return""!==a.trim();case"decimal":return!(!(n=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!n[1]&&!n[2]);case"int":var u=void 0!==i.minValue?i.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}},Ev=function(e){return!!wd.ariaAttrs[e]},xv=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Av=xv[0],Cv=xv[1],kv=xv[2],Rv=xv[3];function Tv(e){return"caption"===e.props.nodeName}var Sv={};ce(Sv,{getAriaRolesByType:function(){return ov},getAriaRolesSupportingNameFromContent:function(){return sv},getElementSpec:function(){return Xd},getElementsByContentType:function(){return Ad},getGlobalAriaAttrs:function(){return Cd},implicitHtmlRoles:function(){return jd}});var Mv=["alert","log","status"];function Ov(e,t){var n=e.actualNode;if("button"===rf(e)||function(e,t){var n=e.actualNode,r=rf(e),a=(n.getAttribute("aria-live")||"").toLowerCase().trim(),i=ov("landmark");return!!(["assertive","polite"].includes(a)||Mv.includes(r)||i.includes(r)||t.regionMatcher&&Zd(e,t.regionMatcher))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||Rh(e.actualNode)&&ed(e.actualNode,"href")||!cf(n)){for(var a=e;a;)a._hasRegionDescendant=!0,a=a.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return n!==r.body&&th(n,!0)&&!function(e){return["none","presentation"].includes(rf(e))&&!Qf(e)}(e)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Ov(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}function Nv(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function Bv(e){var n=t.getComputedStyle(function(e){for(var t=e,n=e.textContent.trim(),r=n;r===n&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,r=e.children[a].textContent.trim()}while(""===r&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:Nv(n.getPropertyValue("font-weight")),fontSize:parseInt(n.getPropertyValue("font-size")),isItalic:"italic"===n.getPropertyValue("font-style")}}function Iv(e,t,n){return n.reduce((function(n,r){return n||(!r.size||e.fontSize/r.size>t.fontSize)&&(!r.weight||e.fontWeight-r.weight>t.fontWeight)&&(!r.italic||e.isItalic&&!t.isItalic)}),!1)}var jv=/[;,\s]/,_v=/^[0-9.]+$/,qv={};ce(qv,{aria:function(){return Xm},color:function(){return Pv},dom:function(){return Ol},forms:function(){return yb},matches:function(){return Zd},math:function(){return bc},standards:function(){return Sv},table:function(){return Gm},text:function(){return fd},utils:function(){return ia}});var Pv={};ce(Pv,{Color:function(){return xh},centerPointOfRect:function(){return $v},elementHasImage:function(){return yh},elementIsDistinct:function(){return Gv},filteredRectStack:function(){return Hv},flattenColors:function(){return Kv},flattenShadowColors:function(){return Yv},getBackgroundColor:function(){return fb},getBackgroundStack:function(){return Zv},getContrast:function(){return mb},getForegroundColor:function(){return vb},getOwnBackgroundColor:function(){return Ch},getRectStack:function(){return Lv},getStackingContext:function(){return ub},getStrokeColorsFromShadows:function(){return nb},getTextShadowColors:function(){return ib},hasValidContrastRatio:function(){return gb},incompleteData:function(){return gh},parseTextShadows:function(){return ab},stackingContextToColor:function(){return sb}});var $v=function(e){if(!(e.left>t.innerWidth||e.top>t.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),t.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),t.innerHeight-1)}};function zv(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var Gv=function(e,n){var r=t.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var n=new xh;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha}),!1))return!0;var a=t.getComputedStyle(n);if(zv(r)[0]!==zv(a)[0])return!0;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==a.getPropertyValue(t)}),!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i},Lv=function(e){var t=id(e),n=Yf(e);return!n||n.length<=1?[t]:n.some((function(e){return void 0===e}))?null:(n.splice(0,0,t),n)},Hv=function(e){var t=Lv(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var n,r=t.shift();return t.forEach((function(a,i){if(0!==i){var o=t[i];n=t[i-1].every((function(e,t){return e===o[t]}))||r.includes(e)}})),n?t[0]:(gh.set("bgColor","elmPartiallyObscuring"),null)}return gh.set("bgColor","outsideViewport"),null},Uv=["hue","saturation","color","luminosity"],Vv={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function Kv(e,t){var n=function(e,t,n){if(Uv.includes(n))return Vv[n](e,t);var r=new xh;return["r","g","b"].forEach((function(a){r[a]=Vv[n](e[a],t[a])})),r}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),r=Wv(e.red,e.alpha,t.red,t.alpha,255*n.r),a=Wv(e.green,e.alpha,t.green,t.alpha,255*n.g),i=Wv(e.blue,e.alpha,t.blue,t.alpha,255*n.b),o=Math.min(Math.max(0,e.alpha+t.alpha*(1-e.alpha)),1);if(0===o)return new xh(r,a,i,o);var u=Math.round(r/o),s=Math.round(a/o),l=Math.round(i/o);return new xh(u,s,l,o)}function Wv(e,t,n,r,a){return t*(1-r)*e+t*r*a+(1-t)*r*n}function Yv(e,t){var n=e.alpha;return new xh((1-n)*t.red+n*e.red,(1-n)*t.green+n*e.green,(1-n)*t.blue+n*e.blue,e.alpha+t.alpha*(1-e.alpha))}function Zv(e){for(var n=Yf(e).map((function(n){return function(e){var n=e.indexOf(r.body),a=e,i=Ch(t.getComputedStyle(r.documentElement));if(n>1&&0===i.alpha&&!yh(r.documentElement)){n>1&&(a.splice(n,1),a.push(r.body));var o=a.indexOf(r.documentElement);o>0&&(a.splice(o,1),a.push(r.documentElement))}return a}(n=Nh(n,e))})),a=0;a<n.length;a++){var i=n[a];if(i[0]!==e)return gh.set("bgColor","bgOverlap"),null;if(0!==a&&!Xv(i,n[0]))return gh.set("bgColor","elmPartiallyObscuring"),null}return n[0]||null}function Xv(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}var Jv=.54,Qv=.5,eb=1.5,tb=["top","right","bottom","left"];function nb(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,n=void 0!==t&&t,r=function(e){var t,n={},r=Z(e);try{for(r.s();!(t=r.n()).done;){var a,i=t.value,o=i.colorStr,u=i.pixels;null!==(a=n[o])&&void 0!==a||(n[o]={top:[],right:[],bottom:[],left:[]});var s=n[o],l=L(u,2),c=l[0],d=l[1];c>Qv?s.right.push(c):-c>Qv&&s.left.push(-c),d>Qv?s.bottom.push(d):-d>Qv&&s.top.push(-d)}}catch(e){r.e(e)}finally{r.f()}return n}(e),a=Object.entries(r).map((function(e){var t=L(e,2),n=t[0],r=t[1],a=tb.filter((function(e){return 0!==r[e].length})).length;return{colorStr:n,sides:r,edgeCount:a}}));return!n&&a.some((function(e){var t=e.edgeCount;return t>1&&t<4}))?null:a.map(rb).filter((function(e){return null!==e}))}function rb(e){var t=e.colorStr,n=e.sides;if(4!==e.edgeCount)return null;var r=new xh;r.parseString(t);var a=0,i=!0;return tb.forEach((function(e){a+=n[e].length/4,i&&(i=n[e].every((function(e){return e>eb})))})),i||(r.alpha=1-Math.pow(Jv,a)),r}function ab(e){var t={pixels:[]},n=e.trim(),r=[t];if(!n)return[];for(;n;){var a=n.match(/^[a-z]+(\([^)]+\))?/i)||n.match(/^#[0-9a-f]+/i),i=n.match(/^([0-9.-]+)px/i)||n.match(/^(0)/);if(a)ga(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),n=n.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){ga(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),n=n.replace(i[0],"").trim();var o=parseFloat(("."===i[1][0]?"0":"")+i[1]);t.pixels.push(o)}else{if(","!==n[0])throw new Error("Unable to process text-shadows: ".concat(n));ga(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),r.push(t={pixels:[]}),n=n.substr(1).trim()}}return r.forEach((function(e){var t=e.pixels;2===t.length&&t.push(0)})),r}function ib(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.minRatio,a=n.maxRatio,i=n.ignoreEdgeCount,o=[],u=t.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);ga(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,f=[],h=Z(ab(s));try{for(h.s();!(d=h.n()).done;){var p=d.value,m=p.colorStr||u.getPropertyValue("color"),v=L(p.pixels,3),b=v[0],g=v[1],y=v[2],D=void 0===y?0:y;if(!(a&&D>=c*a))if(r&&D<c*r)f.push({colorStr:m,pixels:p.pixels});else{if(f.length>0){var w=nb(f,{ignoreEdgeCount:i});if(null===w)return null;o.push.apply(o,I(w)),f.splice(0,f.length)}var F=ob({colorStr:m,offsetX:b,offsetY:g,blurRadius:D,fontSize:c});o.push(F)}}}catch(e){h.e(e)}finally{h.f()}if(f.length>0){var E=nb(f,{ignoreEdgeCount:i});if(null===E)return null;o.push.apply(o,I(E))}return o}function ob(e){var t=e.colorStr,n=e.blurRadius,r=e.fontSize;if(e.offsetX>n||e.offsetY>n)return new xh(0,0,0,0);var a=new xh;return a.parseString(t),a.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(n,r),a}function ub(e,t){var n=us(e);if(n._stackingContext)return n._stackingContext;var r=[],a=new Map;return(t=null!=t?t:Zv(e)).forEach((function(e){var t,n=us(e),i=function(e){var t=new xh;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(n),o=n._stackingOrder.filter((function(e){return!!e.vNode}));o.forEach((function(e,t){var n,i=e.vNode,u=null===(n=o[t-1])||void 0===n?void 0:n.vNode,s=db(a,i,u);0!==t||a.get(i)||r.unshift(s),a.set(i,s)}));var u=null===(t=o[o.length-1])||void 0===t?void 0:t.vNode,s=db(a,n,u);o.length||r.unshift(s),s.bgColor=i})),n._stackingContext=r,r}function sb(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var n=e.bgColor;return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}var r=Kv(e.descendants.reduce(lb,cb()),e.bgColor,e.descendants[0].blendMode);return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}function lb(e,t){var n;return n=e instanceof xh?e:sb(e).color,Kv(sb(t).color,n,t.blendMode)}function cb(e,t){var n,r;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(n=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==n?n:1),bgColor:new xh(0,0,0,0),blendMode:(r=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),r||void 0),descendants:[]}}function db(e,t,n){var r,a=e.get(n),i=null!==(r=e.get(t))&&void 0!==r?r:cb(t,a);return a&&n!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function fb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,i=us(e),o=i._cache.getBackgroundColor;if(o)return n.push.apply(n,I(o.bgElms)),gh.set("bgColor",o.incompleteData),o.bgColor;var u=function(e,n,a){var i,o,u=Zv(e);if(!u)return null;var s=Kf(e),l=null!==(i=ib(e,{minRatio:a,ignoreEdgeCount:!0}))&&void 0!==i?i:[];l.length&&(l=[{color:l.reduce(Yv)}]);for(var c=0;c<u.length;c++){var d=u[c],f=t.getComputedStyle(d);if(yh(d,f))return n.push(d),null;var h=void 0;try{if(0===(h=Ch(f)).alpha)continue}catch(e){if(e&&gh.get("colorParse"))return null;throw e}if("inline"!==f.getPropertyValue("display")&&!hb(d,s))return n.push(d),gh.set("bgColor","elmPartiallyObscured"),null;if(n.push(d),1===h.alpha)break}l=ub(e,u).map(sb).concat(l);var p=function(e,n){var a=[];if(!n){var i=r.body,o=t.getComputedStyle(r.documentElement),u=t.getComputedStyle(i),s=Ch(o),l=Ch(u),c=0!==l.alpha&&hb(i,e.getBoundingClientRect());(0!==l.alpha&&0===s.alpha||c&&1!==l.alpha)&&a.unshift({color:l,blendMode:pb(u.getPropertyValue("mix-blend-mode"))}),0!==s.alpha&&(!c||c&&1!==l.alpha)&&a.unshift({color:s,blendMode:pb(o.getPropertyValue("mix-blend-mode"))})}return a}(e,u.includes(r.body));if((o=l).unshift.apply(o,I(p)),0===l.length)return new xh(255,255,255,1);var m=l.reduce((function(e,t){return Kv(t.color,e.color instanceof xh?e.color:e,t.blendMode)}));return Kv(m.color instanceof xh?m.color:m,new xh(255,255,255,1))}(e,n,a);return i._cache.getBackgroundColor={bgColor:u,bgElms:n,incompleteData:gh.get("bgColor")},u}function hb(e,n){n=Array.isArray(n)?n:[n];var r=e.getBoundingClientRect(),a=r.right,i=r.bottom,o=t.getComputedStyle(e),u=o.getPropertyValue("overflow"),s=parseInt(o.getPropertyValue("padding-left"),10),l=parseInt(o.getPropertyValue("padding-right"),10),c=parseInt(o.getPropertyValue("padding-top"),10),d=parseInt(o.getPropertyValue("padding-bottom"),10);return(["scroll","auto"].includes(u)||e instanceof t.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+l,i=r.top+e.scrollHeight+c+d),n.every((function(e){return e.top>=r.top&&e.bottom<=i&&e.left>=r.left&&e.right<=a}))}function pb(e){return e||void 0}var mb=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=Kv(t,e));var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};function vb(e,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.getComputedStyle(e),o=[function(){return function(e,t){var n=t.textStrokeEmMin,r=void 0===n?0:n,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<r)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new xh).parseString(u)}(i,a)},function(){return function(e){return(new xh).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(i)},function(){return ib(e,{minRatio:0})}],u=[];try{for(var s=0,l=o;s<l.length;s++){var c=(0,l[s])();if(c&&(u=u.concat(c),1===c.alpha))break}}catch(e){if(e&&gh.get("colorParse"))return null;throw e}var d=u.reduce((function(e,t){return Kv(e,t)}));if(null!=r||(r=fb(e,[])),null===r){var f=gh.get("bgColor");return gh.set("fgColor",f),null}var h=ub(e);return Kv(function(e,t,n){for(;t;){var r;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(r=t.ancestor)||void 0===r?void 0:r.descendants)||n;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var i=a.map(sb);if(i.length){var o=i.reduce((function(e,t){return Kv(t.color,e.color instanceof xh?e.color:e)}),{color:new xh(0,0,0,0),blendMode:"normal"});e=Kv(e,o),t=t.ancestor}else t=t.ancestor}}return e}(d,bb(h,e),h),new xh(255,255,255,1))}function bb(e,t){var n,r=Z(e);try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if((null===(a=i.vNode)||void 0===a?void 0:a.actualNode)===t)return i;var o=bb(i.descendants,t);if(o)return o}}catch(e){r.e(e)}finally{r.f()}}var gb=function(e,t,n,r){var a=mb(e,t),i=r&&Math.ceil(72*n)/96<14||!r&&Math.ceil(72*n)/96<18?4.5:3;return{isValid:a>i,contrastRatio:a,expectedContrastRatio:i}},yb={};ce(yb,{isAriaCombobox:function(){return gf},isAriaListbox:function(){return bf},isAriaRange:function(){return Df},isAriaTextbox:function(){return vf},isDisabled:function(){return wb},isNativeSelect:function(){return mf},isNativeTextbox:function(){return pf}});var Db=["fieldset","button","select","input","textarea"],wb=function e(t){var n=t._isDisabled;if("boolean"==typeof n)return n;var r=t.props.nodeName,a=t.attr("aria-disabled");return n=!(!Db.includes(r)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=n,n};function Fb(e,t){if(!e||!t)return!1;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);return n.length===r.length&&n.every((function(n){var r=e[n],i=t[n];return a(r)===a(i)&&("object"===a(r)||"object"===a(i)?Fb(r,i):r===i)}))}function Eb(e){var t=rf(e),n=t&&t.includes("heading"),r=e.attr("aria-level"),a=parseInt(r,10),i=L(e.props.nodeName.match(/h(\d)/)||[],2)[1];return n?i&&!r?parseInt(i,10):isNaN(a)||a<1?i?parseInt(i,10):2:a||-1:-1}function xb(e,t){var n,r=null===(n=t.data)||void 0===n?void 0:n.headingOrder,a=Cb(t.node.ancestry,1);if(!r)return e;var i=r.map((function(e){return function(e,t){return B({},e,{ancestry:t.concat(e.ancestry)})}(e,a)})),o=function(e,t){for(;t.length;){var n=Ab(e,t);if(-1!==n)return n;t=Cb(t,1)}return-1}(e,a);return-1===o?e.push.apply(e,I(i)):e.splice.apply(e,[o,0].concat(I(i))),e}function Ab(e,t){return e.findIndex((function(e){return Vp(e.ancestry,t)}))}function Cb(e,t){return e.slice(0,e.length-t)}function kb(e,t){var n=e.boundingClientRect,r=t.boundingClientRect;return n.top>=r.top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right}function Rb(e){return e.getComputedStylePropertyValue("pointer-events")}function Tb(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function Sb(e,t){return kl(e,t)&&!ld(t)}function Mb(e){return e.map((function(e){return e.actualNode}))}function Ob(e,t,n){var r=n.validRoles,a=void 0===r?[]:r,i=n.validNodeNames,o=void 0===i?[]:i,u=e.props,s=u.nodeName,l=u.nodeType,c=t?"div > ":"";if(3===l&&""!==u.nodeValue.trim())return c+"#text";if(1!==l||!cf(e))return!1;var d=xd(e);return d?!a.includes(d)&&c+"[role=".concat(d,"]"):!o.includes(s)&&c+s}function Nb(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}function Bb(e){return""!==(e||"").trim()}function Ib(e){var t=_f(e,{emoji:!0,nonBmp:!0,punctuations:!0});return Od(t)}function jb(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach((function(e){"widget"===sh(e)&&sd(e)?t.push(e):t.push.apply(t,I(jb(e)))})),t}function _b(e){var t=Jp(e.attr("tabindex"));return null!==t&&t<0}function qb(e){if(ld(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some((function(e){return qb(e)}))}var Pb=["block","list-item","table","flex","grid","inline-block"];function $b(e){var n=t.getComputedStyle(e).getPropertyValue("display");return-1!==Pb.indexOf(n)||"table-"===n.substr(0,6)}function zb(e,t){var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Gb=["block","list-item","table","flex","grid","inline-block"];function Lb(e){var n=t.getComputedStyle(e).getPropertyValue("display");return-1!==Gb.indexOf(n)||"table-"===n.substr(0,6)}var Hb=ju((function(e,n){var r=t.getComputedStyle(e,n),a=function(e,t){return r.getPropertyValue(e)===t};if(a("content","none")||a("display","none")||a("visibility","hidden")||!1===a("position","absolute"))return 0;if(0===Ch(r).alpha&&a("background-image","none"))return 0;var i=Ub(r.getPropertyValue("width")),o=Ub(r.getPropertyValue("height"));return"px"!==i.unit||"px"!==o.unit?0===i.value||0===o.value?0:1/0:i.value*o.value}));function Ub(e){var t=L(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),n=t[1],r=t[2],a=void 0===r?"":r;return{value:parseFloat(void 0===n?"":n),unit:a.toLowerCase()}}var Vb={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Kb={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};function Wb(e,t,n,r){var a=xd(e);if(n||(n=Dv(a)),!n)return null;for(var i=n.includes("group"),o=r?e:e.parent;o;){var u=rf(o,{noPresentational:!0});if(u){if("group"!==u||!i)return n.includes(u)?null:n;t.includes(a)&&n.push(a),n=n.filter((function(e){return"group"!==e})),o=o.parent}else o=o.parent}return n}function Yb(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:eh(t,!1,!0)}var Zb=ju((function(e){if(e){var t=rf(e,{noPresentational:!0,chromium:!0});return t?sh(t):Zb(e.parent)}}));function Xb(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,i=null!==(t=null==r||null===(n=r.filter)||void 0===n?void 0:n.call(r,(function(e){return a.hasAttr(e)})))&&void 0!==t?t:[];if(0===i.length)return!0;var o=function(e){if(e.parent)return Ss(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=o&&rf(o);if(!u||"treegrid"===u)return!0;var s="row".concat(i.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:i,ownerRole:u}),!1}function Jb(e,t,n){var r,a=n.props,i=a.nodeName,o=a.type,u=(r=n.attr("aria-checked"))?(r=r.toLowerCase(),["mixed","true"].includes(r)?r:"false"):"";if("input"!==i||"checkbox"!==o||!u)return!0;var s,l=(s=n).props.indeterminate?"mixed":s.props.checked?"true":"false";return u===l||(this.data({messageKey:"checkbox",checkState:l}),!1)}var Qb={row:Xb,checkbox:Jb};function eg(e,t,n){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!n.hasAttr("contenteditable"))}var tg=function(e,t){try{return"svg"===t.props.nodeName||!!Ss(t,"svg")}catch(e){return!1}},ng=[function(e,t){return rg(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!tg(0,t)},function(e,t){return sd(t)},function(e,t){return ld(t)||!ag(t)},function(e){return!dh(e,{noLengthCompare:!0,includeInlineBlock:!0})}];function rg(e){return"widget"===sh(e)}var ag=ju((function e(t){return!(null==t||!t.parent)&&(!(!rg(t.parent)||!ld(t.parent))||e(t.parent))})),ig=function(e,t){var n=xd(t);return!(n&&!["none","presentation"].includes(n)&&!(gd[n]||{}).accessibleNameRequired&&!sd(t))};function og(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.childNodes.length),0===n.getClientRects().length}var ug=function(e,t,n){return n.initiator},sg={emoji:!0,nonBmp:!1,punctuations:!0};function lg(e){return!e||"true"!==e.getAttribute("aria-hidden")&&lg(ac(e))}var cg={"abstractrole-evaluate":function(e,t,n){var r=Uh(n.attr("role")).filter((function(e){return"abstract"===sh(e)}));return r.length>0&&(this.data(r),!0)},"accesskeys-after":function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var n=e.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(e.relatedNodes[0]),!1):(t[n]=e,e.relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))},"accesskeys-evaluate":function(e,t,n){return tc(n)||(this.data(n.attr("accesskey")),this.relatedNodes([e])),!0},"alt-space-value-evaluate":function(e,t,n){var r=n.attr("alt");return"string"==typeof r&&/^\s+$/.test(r)},"aria-allowed-attr-elm-evaluate":function(e,t,n){var r=Xd(n);if(!r.allowedAriaAttrs)return!0;if(xd(n))return!0;var a,i=r.allowedAriaAttrs,o=Cd(),u=[],s=Z(n.attrNames);try{for(s.s();!(a=s.n()).done;){var l=a.value;o.includes(l)&&!i.includes(l)&&u.push(l)}}catch(e){s.e(e)}finally{s.f()}return!u.length||(this.data({messageKey:u.length>1?"plural":"singular",nodeName:n.props.nodeName,values:u.map((function(e){return e+'="'+n.attr(e)+'"'})).join(", ")}),!1)},"aria-allowed-attr-evaluate":function(e,t,n){var r=[],a=rf(n),i=Jm(a);Array.isArray(t[a])&&(i=nm(t[a].concat(i)));var o,u=Z(n.attrNames);try{for(u.s();!(o=u.n()).done;){var s=o.value;!Ev(s)||i.includes(s)||eg(s,n.attr(s),n)||r.push(s)}}catch(e){u.e(e)}finally{u.f()}return!r.length||(this.data(r.map((function(e){return e+'="'+n.attr(e)+'"'}))),!(a||Lp(n)||sd(n))&&void 0)},"aria-allowed-attr-matches":function(e,t){var n=/^aria-/,r=t.attrNames;if(r.length)for(var a=0,i=r.length;a<i;a++)if(n.test(r[a]))return!0;return!1},"aria-allowed-role-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,n=e.allowImplicit,r=void 0===n||n,a=e.ignoredTags,i=t.props.nodeName;if((void 0===a?[]:a).map((function(e){return e.toLowerCase()})).includes(i))return!0;var o=iv(t,r);if(o.length){if(this.data(o),!cf(t))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==xd(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,n){return"true"===n.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,n){var r=rf(n);return!Qb[r]||Qb[r].call(this,e,t,n)},"aria-conditional-checkbox-attr-evaluate":Jb,"aria-conditional-row-attr-evaluate":Xb,"aria-errormessage-evaluate":function(e,t,n){t=Array.isArray(t)?t:[];var r=n.attr("aria-errormessage"),a=n.hasAttr("aria-errormessage"),i=n.attr("aria-invalid");return!n.hasAttr("aria-invalid")||"false"===i||-1!==t.indexOf(r)||!a||(this.data(Uh(r)),function(e){if(""===e.trim())return wd.ariaAttrs["aria-errormessage"].allowEmpty;var t,r=Uh(e);if(r.length>1)return this.data({messageKey:"unsupported",values:r}),!1;try{t=e&&hd(n,"aria-errormessage")[0]}catch(e){return void this.data({messageKey:"idrefs",values:r})}if(t){if(!cf(t))return this.data({messageKey:"hidden",values:r}),!1;var a=Uh(n.attr("aria-describedby"));return"alert"===xd(t)||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||r.some((function(e){return a.includes(e)}))}}.call(this,r))},"aria-has-attr-matches":function(e,t){var n=/^aria-/;return t.attrNames.some((function(e){return n.test(e)}))},"aria-hidden-body-evaluate":function(e,t,n){return"true"!==n.attr("aria-hidden")},"aria-hidden-focus-matches":function(e){return lg(ac(e))},"aria-label-evaluate":function(e,t,n){return!!Od(vd(n))},"aria-labelledby-evaluate":function(e,t,n){try{return!!Od(md(n))}catch(e){return}},"aria-level-evaluate":function(e,t,n){var r=n.attr("aria-level");if(!(parseInt(r,10)>6))return!0},"aria-prohibited-attr-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,n=(null==e?void 0:e.elementsAllowedAriaLabel)||[],r=t.props.nodeName,a=rf(t,{chromium:!0,fallback:!0}),i=function(e,t,n,r){var a=wd.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||r.includes(n)||"widget"===Zb(e)?[]:["aria-label","aria-labelledby"]}(t,a,r,n).filter((function(e){return!!t.attrNames.includes(e)&&""!==Od(t.attr(e))}));if(0===i.length)return!1;var o=null!==a?"hasRole":"noRole";this.data({role:a,nodeName:r,messageKey:o+=i.length>1?"Plural":"Singular",prohibited:i});var u=Cf(t,{subtreeDescendant:!0});return""===Od(u)||void 0},"aria-required-attr-evaluate":function(){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=xd(n),a=n.attrNames,i=yv(r);if(Array.isArray(t[r])&&(i=nm(t[r],i)),!r||!a.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!sd(e)}(n,r)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,r))return!0;if("slider"===r&&null!==(e=n.attr("aria-valuetext"))&&void 0!==e&&e.trim())return!0;var o=Xd(n),u=i.filter((function(e){return!n.attr(e)&&!function(e,t){var n;return void 0!==(null===(n=e.implicitAttrs)||void 0===n?void 0:n[t])}(o,e)}));return!u.length||(this.data(u),!1)},"aria-required-children-evaluate":function(e,t,n){var r=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=xd(n,{dpub:!0}),i=wv(a);if(null===i)return!0;var o=function(e,t){for(var n,r=[],a=sf(e),i=function(){if(3===n.props.nodeType&&r.push({vNode:n,role:null}),1!==n.props.nodeType||!cf(n))return 1;var e=rf(n,{noPresentational:!0}),i=function(e){return Cd().find((function(t){return e.hasAttr(t)}))}(n),o=!!i||sd(n);!e&&!o||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e}))?a.push.apply(a,I(n.children)):(e||o)&&r.push({role:e,attr:i||"tabindex",vNode:n})};n=a.shift();)i();return r}(n,i),u=o.filter((function(e){return 1===e.vNode.props.nodeType&&!i.includes(e.role)}));if(u.length){this.relatedNodes(u.map((function(e){return e.vNode})));var s="true"===n.attr("aria-busy")?"aria-busy-fail":"unallowed";return this.data({messageKey:s,values:u.map((function(e){return function(e,t){var n=e.props,r=n.nodeName;if(3===n.nodeType)return"#text";var a=xd(e,{dpub:!0});return a?"[role=".concat(a,"]"):t?r+"[".concat(t,"]"):r}(e.vNode,e.attr)})).filter((function(e,t,n){return n.indexOf(e)===t})).join(", ")}),!1}return!!function(e,t){return t.some((function(t){var n=t.role;return n&&e.includes(n)}))}(i,o)||("true"===n.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(i),!(!r.includes(a)||o.some(Yb))&&void 0))},"aria-required-children-matches":function(e,t){var n=xd(t,{dpub:!0});return!!wv(n)},"aria-required-parent-evaluate":function(e,t,n){var r=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=Wb(n,r);if(!a)return!0;var i=function(e){for(var t=[],n=null;e;){if(e.getAttribute("id")){var r=Da(e.getAttribute("id"));(n=Bl(e).querySelector("[aria-owns~=".concat(r,"]")))&&t.push(n)}e=e.parentElement}return t.length?t:null}(e);if(i)for(var o=0,u=i.length;o<u;o++)if(!(a=Wb(us(i[o]),r,a,!0)))return!0;return this.data(a),!1},"aria-required-parent-matches":function(e,t){var n=xd(t);return!!Dv(n)},"aria-roledescription-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=rf(arguments.length>2?arguments[2]:void 0);return!!(e.supportedRoles||[]).includes(t)||!(!t||"presentation"===t||"none"===t)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,n){var r=n.attrNames.filter((function(t){var n=wd.ariaAttrs[t];if(!Ev(t))return!1;var r=n.unsupported;return"object"!==a(r)?!!r:!Zd(e,r.exceptions)}));return!!r.length&&(this.data(r),!0)},"aria-valid-attr-evaluate":function(e,t,n){t=Array.isArray(t.value)?t.value:[];var r=[],a=/^aria-/;return n.attrNames.forEach((function(e){-1===t.indexOf(e)&&a.test(e)&&!Ev(e)&&r.push(e)})),!r.length||(this.data(r),!1)},"aria-valid-attr-value-evaluate":function(e,t,n){t=Array.isArray(t.value)?t.value:[];var r="",a="",o=[],u=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var e=!1===["false",null].includes(n.attr("aria-haspopup"));return e&&(r='aria-controls="'.concat(n.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==n.attr("aria-expanded")&&"false"!==n.attr("aria-selected")&&!1===e},"aria-current":function(e){e||(r='aria-current="'.concat(n.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==n.attr("aria-expanded")},"aria-describedby":function(e){e||(r='aria-describedby="'.concat(n.attr("aria-describedby"),'"'),a=i._tree&&i._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(r='aria-labelledby="'.concat(n.attr("aria-labelledby"),'"'),a=i._tree&&i._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return n.attrNames.forEach((function(e){if(!s.includes(e)&&!t.includes(e)&&u.test(e)){var i,c=n.attr(e);try{i=Fv(n,e)}catch(t){return r="".concat(e,'="').concat(c,'"'),void(a="idrefs")}l[e]&&!l[e](i)||i||(""!==c||function(e){var t;return"string"===(null===(t=wd.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(r=e,a="empty"))}})),o.length?(this.data(o),!1):!r||void this.data({messageKey:a,needsReview:r})},"attr-non-space-content-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;if(!e.attribute||"string"!=typeof e.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!t.hasAttr(e.attribute))return this.data({messageKey:"noAttr"}),!1;var n=t.attr(e.attribute);return!!Od(n)||(this.data({messageKey:"emptyAttr"}),!1)},"autocomplete-appropriate-evaluate":function(e,t,n){if("input"!==n.props.nodeName)return!0;var r=["text","search","number","tel"],i=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":r,"cc-exp":["text","search","month","tel"],"cc-exp-month":r,"cc-exp-year":r,"cc-csc":r,"transaction-amount":r,"bday-day":r,"bday-month":r,"bday-year":r,"new-password":["text","search","password"],"current-password":["text","search","password"],url:i,photo:i,impp:i};"object"===a(t)&&Object.keys(t).forEach((function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])}));var u=n.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),s=u[u.length-1];if(Pf.stateTerms.includes(s))return!0;var l=o[s],c=n.hasAttr("type")?Od(n.attr("type")).toLowerCase():"text";return c=Tm().includes(c)?c:"text",void 0===l?"text"===c:l.includes(c)},"autocomplete-matches":function(e,t){var n=t.attr("autocomplete");if(!n||""===Od(n))return!1;var r=t.props.nodeName;if(!1===["textarea","input","select"].includes(r))return!1;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||"true"===a.toLowerCase())return!1;if("input"===r&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var i=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===i.toLowerCase())return!1;var o=xd(t),u=Jp(t.attr("tabindex"));if(u<0&&t.hasAttr("role")){var s=wd.ariaRoles[o];if(void 0===s||"widget"!==s.type)return!1}return!(u<0&&t.actualNode&&!hc(t)&&!cf(t))},"autocomplete-valid-evaluate":function(e,t,n){var r=n.attr("autocomplete")||"";return $f(r,t)},"avoid-inline-spacing-evaluate":function(e,t){var n=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}));return!(n.length>0&&(this.data(n),1))},"braille-label-equivalent-evaluate":function(e,t,n){var r;if(!(null!==(r=n.attr("aria-braillelabel"))&&void 0!==r?r:"").trim())return!0;try{return""!==Od(If(n))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,n){var r,a=null!==(r=n.attr("aria-brailleroledescription"))&&void 0!==r?r:"";if(""===Od(a))return!0;var i=n.attr("aria-roledescription");return"string"!=typeof i?(this.data({messageKey:"noRoleDescription"}),!1):""!==Od(i)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,n){return!ug(0,0,n)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,n){return!mm(n,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0},"caption-faked-evaluate":function(e){var t=kd(e),n=t[0];return t.length<=1||n.length<=1||e.rows.length<=1||n.reduce((function(e,t,r){return e||t!==n[r+1]&&void 0!==n[r+1]}),!1)},"color-contrast-evaluate":function(e,n,r){var a=n.ignoreUnicode,i=n.ignoreLength,o=n.ignorePseudo,u=n.boldValue,s=n.boldTextPt,l=n.largeTextPt,c=n.contrastRatio,d=n.shadowOutlineEmMax,f=n.pseudoSizeThreshold;if(!hc(e))return this.data({messageKey:"hidden"}),!0;var h=ff(r,!1,!0);if(a&&function(e){var t={nonBmp:!0},n=Nf(e,t),r=""===Od(_f(e,t));return n&&r}(h))this.data({messageKey:"nonBmp"});else{var p=t.getComputedStyle(e),m=parseFloat(p.getPropertyValue("font-size")),v=p.getPropertyValue("font-weight"),b=parseFloat(v)>=u||"bold"===v,g=Math.ceil(72*m)/96,y=b&&g<s||!b&&g<l?c.normal:c.large,D=y.expected,w=y.minThreshold,F=y.maxThreshold,E=function(e,t){var n=t.pseudoSizeThreshold,r=t.ignorePseudo;if(!(void 0!==r&&r)){var a=e.boundingClientRect,i=a.width*a.height*(void 0===n?.25:n);do{if(Hb(e.actualNode,":before")+Hb(e.actualNode,":after")>i)return e}while(e=e.parent)}}(r,{ignorePseudo:o,pseudoSizeThreshold:f});if(E)return this.data({fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:b?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:D+":1"}),void this.relatedNodes(E.actualNode);var x=ib(e,{minRatio:.001,maxRatio:d});if(null!==x){var A=[],C=fb(e,A,d),k=vb(e,!1,C,n),R=null,T=null,S=null;if(0===x.length)R=mb(C,k);else if(k&&C){S=[].concat(I(x),[C]).reduce(Yv);var M=mb(C,k),O=mb(C,S),N=mb(S,k);(R=Math.max(M,O,N))!==M&&(T=O>N?"shadowOnBgColor":"fgOnShadowColor")}var B=R>D;if("number"==typeof w&&("number"!=typeof R||R<w)||"number"==typeof F&&("number"!=typeof R||R>F))return this.data({contrastRatio:R}),!0;var j,_,q=Math.floor(100*R)/100;null===C?gh.get("colorParse")?(j="colorParse",_=gh.get("colorParse")):j=gh.get("bgColor"):B||(j=T),null===k&&gh.get("colorParse")&&(j="colorParse",_=gh.get("colorParse"));var P=1===q,$=1===h.length;return P?j=gh.set("bgColor","equalRatio"):B||!$||i||(j="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:C?C.toHexString():void 0,contrastRatio:q,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:b?"bold":"normal",messageKey:j,expectedContrastRatio:D+":1",shadowColor:S?S.toHexString():void 0,colorParse:_}),null===k||null===C||P||$&&!i&&!B?(j=null,gh.clear(),void this.relatedNodes(A)):(B||this.relatedNodes(A),B)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":function(e,n){var a=n.props,i=a.nodeName;if("option"===i)return!1;if("select"===i&&!e.options.length)return!1;if("input"===i&&["hidden","range","color","checkbox","radio","image"].includes(a.type))return!1;if(wb(n)||Vc(n))return!1;if(["input","select","textarea"].includes(i)){var o=t.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var s=e.getBoundingClientRect();if(!Gh(s={top:s.top,bottom:s.bottom,left:s.left+u,right:s.right+u},e))return!1}return!0}var l=jl(n,"label");if("label"===i||l){var c=l||e,d=l?us(l):n;if(c.htmlFor){var f=Bl(c).getElementById(c.htmlFor),h=f&&us(f);if(h&&wb(h))return!1}var p=mm(d,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(p&&wb(p))return!1}for(var m=[],v=n;v;){if(v.props.id){var b=tv(v).filter((function(e){return Uh(e.getAttribute("aria-labelledby")||"").includes(v.props.id)})).map((function(e){return us(e)}));m.push.apply(m,I(b))}v=v.parent}if(m.length>0&&m.every(wb))return!1;if(!function(e){var t=ff(e,!1,!0);return""!==t&&""!==_f(t,sg)&&e.children.some((function(e){return"#text"===e.props.nodeName&&!Bf(e)}))}(n))return!1;if(!parseFloat(n.getComputedStylePropertyValue("font-size")))return!1;for(var g=r.createRange(),y=n.children,D=0;D<y.length;D++){var w=y[D];3===w.actualNode.nodeType&&""!==Od(w.actualNode.nodeValue)&&g.selectNodeContents(w.actualNode)}var F=Array.from(g.getClientRects()),E=$l(n);return F.some((function(t){var n=Gh(t,e);if(!E.length)return n;var r=E.some((function(e){return ql(t,e.boundingClientRect)}));return n&&r}))},"css-orientation-lock-evaluate":function(e,t,n,r){var a=(r||{}).cssom,i=void 0===a?void 0:a,o=(t||{}).degreeThreshold,u=void 0===o?0:o;if(i&&i.length){for(var s=!1,l=[],c=i.reduce((function(e,t){var n=t.sheet,r=t.shadowId||"topDocument";if(e[r]||(e[r]={root:t.root,rules:[]}),!n||!n.cssRules)return e;var a=Array.from(n.cssRules);return e[r].rules=e[r].rules.concat(a),e}),{}),d=function(){var e=c[h[f]],t=e.root,n=e.rules.filter(p);if(!n.length)return 1;n.forEach((function(e){Array.from(e.cssRules).forEach((function(e){var n=function(e){var t=e.style;if(!e.selectorText||t.length<=0)return!1;var n=t.transform||t.webkitTransform||t.msTransform||!1;if(!n&&!t.rotate)return!1;var r=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var n=L(t,3);return m(n[1],n[2])}(n),a=r+m("rotate",t.rotate);return!!a&&(a=Math.abs(a),!(Math.abs(a-180)%180<=u)&&Math.abs(a-90)%90<=u)}(e);if(n&&"HTML"!==e.selectorText.toUpperCase()){var r=Array.from(t.querySelectorAll(e.selectorText))||[];l=l.concat(r)}s=s||n}))}))},f=0,h=Object.keys(c);f<h.length;f++)d();return!s||(l.length&&this.relatedNodes(l),!1)}function p(e){var t=e.cssText;return 4===e.type&&(/orientation:\s*landscape/i.test(t)||/orientation:\s*portrait/i.test(t))}function m(e,t){switch(e){case"rotate":case"rotateZ":return v(t);case"rotate3d":var n=L(t.split(",").map((function(e){return e.trim()})),4),r=n[3];if(0===parseInt(n[2]))return;return v(r);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var n=L(t,2),r=n[0];return b(Math.atan2(parseFloat(n[1]),parseFloat(r)))}var a=parseFloat(t[8]),i=Math.asin(a),o=Math.cos(i);return b(Math.acos(parseFloat(t[0])/o))}(t);default:return 0}}function v(e){var t=L(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var n,r=parseFloat(e.replace(t,""));switch(t){case"rad":return b(r);case"grad":return n=r,(n%=400)<0&&(n+=400),Math.round(n/400*360);case"turn":return Math.round(360/(1/r));default:return parseInt(r)}}function b(e){return Math.round(e*(180/Math.PI))}},"data-table-large-matches":function(e){if(Km(e)){var t=kd(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return Km(e)},"deprecatedrole-evaluate":function(e,t,n){var r=rf(n,{dpub:!0,fallback:!0}),a=wd.ariaRoles[r];return!(null==a||!a.deprecated||(this.data(r),0))},"dlitem-evaluate":function(e){var t=ac(e),n=t.nodeName.toUpperCase(),r=xd(t);return"DIV"===n&&["presentation","none",null].includes(r)&&(n=(t=ac(t)).nodeName.toUpperCase(),r=xd(t)),"DL"===n&&!(r&&!["presentation","none","list"].includes(r))},"doc-has-title-evaluate":function(){return!!Od(r.title)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(Da(t),'"]'),r=Array.from(Bl(e).querySelectorAll(n));return!mv(e)&&r.some(sd)},"duplicate-id-after":function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))},"duplicate-id-aria-matches":function(e){return mv(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var n=Bl(e),r=Array.from(n.querySelectorAll('[id="'.concat(Da(t),'"]'))).filter((function(t){return t!==e}));return r.length&&this.relatedNodes(r),this.data(t),0===r.length},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(Da(t),'"]'),r=Array.from(Bl(e).querySelectorAll(n));return!mv(e)&&r.every((function(e){return!sd(e)}))},"duplicate-img-label-evaluate":function(e,t,n){if(["none","presentation"].includes(rf(n)))return!1;var r=Ss(n,t.parentSelector);if(!r)return!1;var a=ff(r,!0).toLowerCase();return""!==a&&a===If(n).toLowerCase()},"exists-evaluate":function(){},"explicit-evaluate":function(e,t,n){var r=this;if(!n.attr("id"))return!1;if(n.actualNode){var a=Bl(n.actualNode),i=Da(n.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return!1;try{return o.some((function(e){if(hc(e)){var t=Od(pd(e,{inControlContext:!0,startNode:n}));return r.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}},"fallbackrole-evaluate":function(e,t,n){var r=Uh(n.attr("role"));return!(r.length<=1)&&(!function(e,t){return!Jd(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(n,r)||void 0)},"focusable-content-evaluate":function(e,t,n){var r=n.tabbableElements;return!!r&&r.filter((function(e){return e!==n})).length>0},"focusable-disabled-evaluate":function(e,t,n){var r=["button","fieldset","input","select","textarea"],a=n.tabbableElements;if(!a||!a.length)return!0;var i=a.filter((function(e){return r.includes(e.props.nodeName)}));return this.relatedNodes(i.map((function(e){return e.actualNode}))),!(0!==i.length&&!ph())||!!i.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),n=parseInt(e.getComputedStylePropertyValue("width")),r=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===n||0===r)&&"none"===t}))&&void 0},"focusable-element-evaluate":function(e,t,n){return!(!n.hasAttr("contenteditable")||!function e(t){var r=t.attr("contenteditable");if("true"===r||""===r)return!0;if("false"===r)return!1;var a=Ss(n.parent,"[contenteditable]");return!!a&&e(a)}(n))||ld(n)},"focusable-modal-open-evaluate":function(e,t,n){var r=n.tabbableElements.map((function(e){return e.actualNode}));return!r||!r.length||!ph()||void this.relatedNodes(r)},"focusable-no-name-evaluate":function(e,t,n){if(!ld(n))return!1;try{return!If(n)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,n){var r=["button","fieldset","input","select","textarea"],a=n.tabbableElements;if(!a||!a.length)return!0;var i=a.filter((function(e){return!r.includes(e.props.nodeName)}));return this.relatedNodes(i.map((function(e){return e.actualNode}))),!(0!==i.length&&!ph())||!!i.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),n=parseInt(e.getComputedStylePropertyValue("width")),r=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===n||0===r)&&"none"===t}))&&void 0},"frame-focusable-content-evaluate":function(e,t,n){if(n.children)try{return!n.children.some((function(e){return qb(e)}))}catch(e){return}},"frame-focusable-content-matches":function(e,t,n){var r,a;return!n.initiator&&!n.focusable&&(null===(r=n.size)||void 0===r?void 0:r.width)*(null===(a=n.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var n=e.node.ancestry.flat(1/0).join(" > ");return t[n]=e,!0}var r=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[r]&&(t[r].result=!0),!1}))},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!Od(t)},"has-alt-evaluate":function(e,t,n){return!!["img","input","area"].includes(n.props.nodeName)&&n.hasAttr("alt")},"has-descendant-after":function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e},"has-descendant-evaluate":function(e,t,n){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&ph())return!0;var r=am(n,t.selector,(function(e){return cf(e)}));return this.relatedNodes(r.map((function(e){return e.actualNode}))),r.length>0},"has-global-aria-attribute-evaluate":function(e,t,n){var r=Cd().filter((function(e){return n.hasAttr(e)}));return this.data(r),r.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==Jd(t,{chromium:!0})},"has-lang-evaluate":function(e,t,n){var a=void 0!==r&&_u(r);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Bb(n.attr("xml:lang"))&&!Bb(n.attr("lang"))&&!a?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return Bb(n.attr(e))}))||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,n){try{return""!==Od(Cf(n))}catch(e){return}},"has-widget-role-evaluate":function(e,t,n){var r=xd(n);if(null===r)return!1;var a=sh(r);return"widget"===a||"composite"===a},"heading-matches":function(e,t){return"heading"===rf(t)},"heading-order-after":function(e){var t=function(e){return(e=I(e)).sort((function(e,t){return e.node.ancestry.length-t.node.ancestry.length})),e.reduce(xb,[]).filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var n,r,a,i,o=Ab(t,e.node.ancestry),u=null!==(n=null===(r=t[o])||void 0===r?void 0:r.level)&&void 0!==n?n:-1,s=null!==(a=null===(i=t[o-1])||void 0===i?void 0:i.level)&&void 0!==a?a:-1;return 0===o||(-1!==u?u-s<=1:void 0)}(e,t)})),e},"heading-order-evaluate":function(){var e=os.get("headingOrder");if(e)return!0;var t=am(i._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",cf);return e=t.map((function(e){return{ancestry:[ns(e.actualNode)],level:Eb(e)}})),this.data({headingOrder:e}),os.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,n){var r=Lf(n),a=e.getAttribute("title");return!!r&&(a||(a="",e.getAttribute("aria-describedby")&&(a=hd(e,"aria-describedby").map((function(e){return e?pd(e):""})).join(""))),Od(a)===Od(r))},"hidden-content-evaluate":function(e,n,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&eh(r)){var a=t.getComputedStyle(e);if("none"===a.getPropertyValue("display"))return;if("hidden"===a.getPropertyValue("visibility")){var i=ac(e),o=i&&t.getComputedStyle(i);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},"hidden-explicit-label-evaluate":function(e,t,n){if(n.hasAttr("id")){if(!n.actualNode)return;var r=Bl(e),a=Da(e.getAttribute("id")),i=r.querySelector('label[for="'.concat(a,'"]'));if(i&&!cf(i)){var o;try{o=If(n).trim()}catch(e){return}return""===o}}return!1},"html-namespace-matches":function(e,t){return!tg(0,t)},"html5-scope-evaluate":function(e){return!uh(r)||"TH"===e.nodeName.toUpperCase()},"identical-links-same-purpose-after":function(e){if(e.length<2)return e;for(var t=e.filter((function(e){return void 0!==e.result})),n=[],r={},a=function(e){var a,i=t[e],o=i.data,u=o.name,s=o.urlProps;if(r[u])return 1;var l=t.filter((function(t,n){return t.data.name===u&&n!==e})),c=l.every((function(e){return Fb(e.data.urlProps,s)}));l.length&&!c&&(i.result=void 0),i.relatedNodes=[],(a=i.relatedNodes).push.apply(a,I(l.map((function(e){return e.relatedNodes[0]})))),r[u]=l,n.push(i)},i=0;i<t.length;i++)a(i);return n},"identical-links-same-purpose-evaluate":function(e,t,n){var r=fd.accessibleTextVirtual(n),a=fd.sanitize(fd.removeUnicode(r,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var i={name:a,urlProps:Ol.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),!0}},"identical-links-same-purpose-matches":function(e,t){if(!If(t))return!1;var n=rf(e);return!n||"link"===n},"implicit-evaluate":function(e,t,n){try{var r=Ss(n,"label");if(r){var a=Od(If(r,{inControlContext:!0,startNode:n}));return r.actualNode&&this.relatedNodes([r.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}},"inline-style-property-evaluate":function(e,n){var r=n.cssProperty,a=n.absoluteValues,i=n.minValue,o=n.maxValue,u=n.normalValue,s=void 0===u?0:u,l=n.multiLineOnly;if(!n.noImportant&&"important"!==e.style.getPropertyPriority(r)||l&&!mh(e))return!0;var c={};"number"==typeof i&&(c.minValue=i),"number"==typeof o&&(c.maxValue=o);var d=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(d))return this.data(B({value:d},c)),!0;var f=function(e,n){var r=n.cssProperty,a=n.absoluteValues,i=n.normalValue,o=t.getComputedStyle(e),u=o.getPropertyValue(r);if("normal"===u)return i;var s=parseFloat(u);if(a)return s;var l=parseFloat(o.getPropertyValue("font-size")),c=Math.round(s/l*100)/100;return isNaN(c)?u:c}(e,{absoluteValues:a,cssProperty:r,normalValue:s});return this.data(B({value:f},c)),"number"==typeof f?("number"!=typeof i||f>=i)&&("number"!=typeof o||f<=o):void 0},"inserted-into-focus-order-matches":function(e){return rh(e)},"internal-link-present-evaluate":function(e,t,n){return mm(n,"a[href]").some((function(e){return/^#[^/!]/.test(e.attr("href"))}))},"invalid-children-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,n=[],r=[];if(t.children){for(var a,i=Nb(t.children);i.length;){var o,u=i.shift(),s=u.vChild,l=u.nested;if(!e.divGroups||l||"div"!==(a=s).props.nodeName||null!==xd(a)){var c=Ob(s,l,e);c&&(r.includes(c)||r.push(c),1===(null==s||null===(o=s.actualNode)||void 0===o?void 0:o.nodeType)&&n.push(s.actualNode))}else{if(!s.children)return;var d=Nb(s.children,!0);i.push.apply(i,I(d))}}return 0!==r.length&&(this.data({values:r.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":function(e,t,n){var r=Uh(n.attr("role"));return!!r.every((function(e){return!Ed(e.toLowerCase(),{allowAbstract:!0})}))&&(this.data(r),!0)},"is-element-focusable-evaluate":function(e,t,n){return sd(n)},"is-initiator-matches":ug,"is-on-screen-evaluate":function(e){return hc(e)},"is-visible-matches":function(e){return hc(e)},"is-visible-on-screen-matches":function(e,t){return hc(t)},"label-content-name-mismatch-evaluate":function(e,t,n){var r,a,i,o,u=null==t?void 0:t.pixelThreshold,s=null!==(r=null==t?void 0:t.occurrenceThreshold)&&void 0!==r?r:null==t?void 0:t.occuranceThreshold,l=pd(e).toLowerCase(),c=Od(Cf(n,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s})).toLowerCase();return!c||(qf(l)<1||qf(c)<1?void 0:(a=c,i=Ib(l),o=Ib(a),!(!i||!o)&&i.includes(o)))},"label-content-name-mismatch-matches":function(e,t){var n=rf(e);return!!(n&&ov("widget").includes(n)&&sv().includes(n)&&(Od(vd(t))||Od(md(e)))&&Od(ff(t)))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var n=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(n)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!jl(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=ov("landmark"),n=ac(e),r=rf(e);for(this.data({role:r});n;){var a=xd(n);if(a||"FORM"===n.nodeName.toUpperCase()||(a=Jd(n)),a&&t.includes(a)&&("main"!==a||"complementary"!==r))return!1;n=ac(n)}return!0},"landmark-is-unique-after":function(e){var t=[];return e.filter((function(e){var n=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return n?(n.result=!1,n.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))},"landmark-is-unique-evaluate":function(e,t,n){var r=rf(e),a=If(n);return a=a?a.toLowerCase():null,this.data({role:r,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){return function(e){var t=ov("landmark"),n=rf(e);if(!n)return!1;var r=e.props.nodeName;return"section"===r||"form"===r?!!If(e):t.indexOf(n)>=0||"region"===n}(t)&&cf(t)},"layout-table-matches":function(e){return!Km(e)&&!sd(e)},"link-in-text-block-evaluate":function(e,t){var n=t.requiredContrastRatio,r=t.allowSameColor;if(Lb(e))return!1;for(var a=ac(e);a&&1===a.nodeType&&!Lb(a);)a=ac(a);if(a){this.relatedNodes([a]);var i=vb(e),o=vb(a),u=fb(e),s=fb(a),l=i&&o?zb(i,o):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=n)return!0;var c=u&&s?zb(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=n)return!0;if(!c){var d,f=null!==(d=gh.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:f}),void gh.clear()}if(l)return!(!r||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:n,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:n,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=Od(e.innerText),n=xd(e);return(!n||"link"===n)&&!!t&&!!hc(e)&&dh(e)},"link-in-text-block-style-evaluate":function(e){if($b(e))return!1;for(var n=ac(e);n&&1===n.nodeType&&!$b(n);)n=ac(n);if(n){if(this.relatedNodes([n]),Gv(e,n))return!0;if(!function(e){for(var n=0,r=["before","after"];n<r.length;n++)if("none"!==t.getComputedStyle(e,":".concat(r[n])).getPropertyValue("content"))return!0;return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,n){var r=n.parent;if(r){var a=r.props.nodeName,i=xd(r);return!!["presentation","none","list"].includes(i)||(i&&Ed(i)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":function(e,t,n){return Zd(n,t.matcher)},"meta-refresh-evaluate":function(e,t,n){var r=t||{},a=r.minDelay,i=r.maxDelay,o=L((n.attr("content")||"").trim().split(jv),1)[0];if(!o.match(_v))return!0;var u=parseFloat(o);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof i&&u>t.maxDelay},"meta-viewport-scale-evaluate":function(e,t,n){var r=t||{},a=r.scaleMinimum,i=void 0===a?2:a,o=r.lowerBound,u=void 0!==o&&o,s=n.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce((function(e,t){var n=t.trim();if(!n)return e;var r=L(n.split("="),2),a=r[0],i=r[1];if(!a||!i)return e;var o=a.toLowerCase().trim(),u=i.toLowerCase().trim();return"maximum-scale"===o&&"yes"===u&&(u=1),"maximum-scale"===o&&parseFloat(u)<0||(e[o]=u),e}),{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<u)return!0;if(!u&&"no"===l["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(l["user-scalable"]);return!u&&l["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])<i&&(this.data("maximum-scale"),1))},"multiple-label-evaluate":function(e){var t=Da(e.getAttribute("id")),n=e.parentNode,r=Bl(e);r=r.documentElement||r;var a=Array.from(r.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!tc(e)})));n;)"LABEL"===n.nodeName.toUpperCase()&&-1===a.indexOf(n)&&a.push(n),n=n.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter((function(e){return cf(e)}));if(i.length>1)return;return!hd(e,"aria-labelledby").includes(i[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var n=rf(t);return!!n&&!!wd.ariaRoles[n].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){var n=e.hasAttribute("controls");if(e.hasAttribute("loop"))return n;if(e.duration){var r=t.allowedDuration,a=void 0===r?3:r,i=function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(t)return L(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),n=0,r=1;t.length>0;)n+=r*parseInt(t.pop(),10),r*=60;return parseFloat(n)}(e):parseFloat(e)}))}(e.currentSrc);return t?1===t.length?Math.abs(e.duration-t[0]):Math.abs(t[1]-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e);return i<=a||!!n}console.warn("axe.utils.preloadMedia did not load metadata")},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":ig,"no-focusable-content-evaluate":function(e,t,n){if(n.children)try{var r=jb(n);if(!r.length)return!0;var a=r.filter(_b);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(r),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":function(e,t,n){var r,a,i=rf(n,{noImplicit:!0});this.data(i);try{r=Od(kf(n)).toLowerCase(),a=Od(If(n)).toLowerCase()}catch(e){return}return!(!a&&!r)&&!((a||!r)&&a.includes(r))&&void 0},"no-naming-method-matches":function(e,t){var n=Xd(t).namingMethods;return!(n&&0!==n.length||"combobox"===xd(t)&&mm(t,'input:not([type="hidden"])').length||vv(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var n=Jp(t.attr("tabindex"));return null===n||n>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":function(e,t,n){var r=n.props.nodeName,a=(n.attr("type")||"").toLowerCase(),i=n.attr("value");return i&&this.data({messageKey:"has-label"}),!("input"!==r||!["submit","reset"].includes(a))&&null===i},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[ig,og].every((function(n){return n(e,t)}))},"only-dlitems-evaluate":function(e,t,n){var r=["definition","term","list"],a=n.children.reduce((function(e,t){var n=t.actualNode;return"DIV"===n.nodeName.toUpperCase()&&null===rf(n)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var n=t.actualNode,a=n.nodeName.toUpperCase();if(1===n.nodeType&&cf(n)){var i=xd(n);("DT"!==a&&"DD"!==a||i)&&(r.includes(i)||e.badNodes.push(n))}else 3===n.nodeType&&""!==n.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e}),{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,n){var r=!1,a=!1,i=!0,o=[],u=[],s=[];return n.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&cf(t)){i=!1;var n="LI"===t.nodeName.toUpperCase(),l=rf(e),c="listitem"===l;n||c||o.push(t),n&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else r=!0})),r||o.length?(this.relatedNodes(o),!0):!i&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)},"p-as-heading-evaluate":function(e,t,n){var r=Array.from(e.parentNode.children),a=r.indexOf(e),i=(t=t||{}).margins||[],o=r.slice(a+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),u=r.slice(0,a).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),s=Bv(e),l=o?Bv(o):null,c=u?Bv(u):null,d=t.passLength,f=t.failLength,h=e.textContent.trim().length,p=null==o?void 0:o.textContent.trim().length;if(h>p*d)return!0;if(!l||!Iv(s,l,i))return!0;var m=jl(n,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!Iv(s,c,i)||h>p*f)&&void 0},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),n=e.textContent.trim();return!(0===n.length||(n.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length},"page-no-duplicate-after":function(e){return e.filter((function(e){return"ignored"!==e.data}))},"page-no-duplicate-evaluate":function(e,t,n){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var r="page-no-duplicate;"+t.selector;if(!os.get(r)){os.set(r,!0);var a=am(i._tree[0],t.selector,(function(e){return cf(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!jl(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return rf(e)===t.role}))),this.relatedNodes(a.filter((function(e){return e!==n})).map((function(e){return e.actualNode}))),a.length<=1}this.data("ignored")},"presentation-role-conflict-matches":function(e,t){return null!==Jd(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,n){var r=xd(n);if(["presentation","none"].includes(r)&&["iframe","frame"].includes(n.props.nodeName)&&n.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:n.props.nodeName}),!1;var a=rf(n);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(r))return!1;var i=Cd().some((function(e){return n.hasAttr(e)})),o=sd(n);return this.data({messageKey:i&&!o?"globalAria":!i&&o?"focusable":"both",role:a}),!1},"region-after":function(e){var t=e.filter((function(e){return e.data.isIframe}));return e.forEach((function(e){if(!e.result&&1!==e.node.ancestry.length){var n,r=e.node.ancestry.slice(0,-1),a=Z(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(Vp(r,i.node.ancestry)){e.result=i.result;break}}}catch(e){a.e(e)}finally{a.f()}}})),t.forEach((function(e){e.result||(e.result=!0)})),e},"region-evaluate":function(e,t,n){this.data({isIframe:["iframe","frame"].includes(n.props.nodeName)});var a=os.get("regionlessNodes",(function(){return function(e){var t=Ov(i._tree[0],e).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==r.body;)e=e.parent;return e})).filter((function(e,t,n){return n.indexOf(e)===t}));return t}(t)}));return!a.includes(n)},"same-caption-summary-evaluate":function(e,t,n){if(void 0!==n.children){var r=n.attr("summary"),a=n.children.find(Tv),i=!!a&&Od(Cf(a));return!(!i||!r)&&Od(r).toLowerCase()===Od(i).toLowerCase()}},"scope-value-evaluate":function(e,t){var n=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(n)},"scrollable-region-focusable-matches":function(e,t){return void 0!==Rp(e,13)&&!1===vv(t)&&(a=(n=t).boundingClientRect,mm(n,"*").some((function(e){if(!eh(e,!0,!0))return!1;var t,n=[];return Qf(e)?(t=n).push.apply(t,I(function(e){var t=r.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}(e))):n=[e.boundingClientRect],n.some((function(e){return e.left<a.left||e.right>a.right||e.top<a.top||e.bottom>a.bottom}))})));var n,a},"skip-link-evaluate":function(e){var t=ed(e,"href");return!!t&&(cf(t)||void 0)},"skip-link-matches":function(e){return Rh(e)&&dc(e)},"structured-dlitems-evaluate":function(e,t,n){var r=n.children;if(!r||!r.length)return!1;for(var a,i=!1,o=!1,u=0;u<r.length;u++){if("DT"===(a=r[u].props.nodeName.toUpperCase())&&(i=!0),i&&"DD"===a)return!1;"DD"===a&&(o=!0)}return i||o},"summary-interactive-matches":function(e,t){var n,r,a,i=t.parent;return!("details"!==i.props.nodeName||(a=null===(r=(n=t).actualNode)||void 0===r?void 0:r.parentElement)&&a!==n.parent.actualNode)&&i.children.find((function(e){return"summary"===e.props.nodeName}))===t},"svg-namespace-matches":tg,"svg-non-empty-title-evaluate":function(e,t,n){if(n.children){var r=n.children.find((function(e){return"title"===e.props.nodeName}));if(!r)return this.data({messageKey:"noTitle"}),!1;try{if(""===Cf(r,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"tabindex-evaluate":function(e,t,n){var r=Jp(n.attr("tabindex"));return null===r||r<=0},"table-or-grid-role-matches":function(e,t){var n=rf(t);return["treegrid","grid","table"].includes(n)},"target-offset-evaluate":function(e,t,n){var r=(null==t?void 0:t.minOffset)||24;if(wc(10*r,n.boundingClientRect))return this.data({messageKey:"large",minOffset:r}),!0;var a,i=[],o=r,u=Z(Hc(n,r));try{for(u.s();!(a=u.n()).done;){var s=a.value;if("widget"===sh(s)&&sd(s)){var l=null;try{l=Fc(n,s,r/2)}catch(e){if(e.message.startsWith("splitRects"))return void this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:r});throw e}null!==l&&(.05+(l=Math.round(10*l)/10*2)>=r||(o=Math.min(o,l),i.push(s)))}}}catch(e){u.e(e)}finally{u.f()}return 0===i.length?(this.data({closestOffset:o,minOffset:r}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(ld)?(this.data({closestOffset:o,minOffset:r}),!ld(n)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:o,minOffset:r}))},"target-size-evaluate":function(e,t,n){var r=(null==t?void 0:t.minSize)||24,a=n.boundingClientRect;if(wc(10*r,a))return this.data({messageKey:"large",minSize:r}),!0;var i=wc.bind(null,r),o=Hc(n),u=function(e,t){return t.filter((function(t){return!kb(t,e)&&Sb(e,t)}))}(n,o),s=function(e,t){var n,r=[],a=[],i=Z(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;!Sb(e,o)&&Ac(e,o)&&"none"!==Rb(o)&&(kb(e,o)?r.push(o):a.push(o))}}catch(e){i.e(e)}finally{i.f()}return{fullyObscuringElms:r,partialObscuringElms:a}}(n,o),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(u.length&&(l.length||!i(a)))return this.data({minSize:r,messageKey:"contentOverflow"}),void this.relatedNodes(Mb(u));if(l.length)return this.relatedNodes(Mb(l)),this.data({messageKey:"obscured"}),!0;var d=!ld(n)&&void 0;if(!i(a))return this.data(B({minSize:r},Tb(a))),d;var f=c.filter((function(e){return"widget"===sh(e)&&sd(e)}));if(!f.length)return this.data(B({minSize:r},Tb(a))),!0;var h=function(e,t,n){var r,a=e.boundingClientRect,i=t.map((function(e){return"inline"===e.getComputedStylePropertyValue("display")?e.clientRects:e.boundingClientRect})).flat(1/0);try{r=Cc(a,i)}catch(e){return null}return function(e,t){return e.reduce((function(e,n){var r=wc(t,e);return r!==wc(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(r,n)}(n,f,r);if(h){if(!i(h)){if(u.length)return this.data({minSize:r,messageKey:"contentOverflow"}),void this.relatedNodes(Mb(u));var p=f.every(ld),m="partiallyObscured".concat(p?"":"NonTabbable");return this.data(B({messageKey:m,minSize:r},Tb(h))),this.relatedNodes(Mb(f)),p?d:void 0}return this.data(B({minSize:r},Tb(h||a))),this.relatedNodes(Mb(f)),!0}this.data({minSize:r,messageKey:"tooManyRects"})},"td-has-header-evaluate":function(e){var t=[],n=Lm(e),r=kd(e);return n.forEach((function(e){th(e)&&Vm(e)&&!gv(e)&&(Um(e,r).some((function(e){return null!==e&&!!th(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],n={},r=0;r<e.rows.length;r++)for(var a=e.rows[r],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var u=o.getAttribute("id");u&&(n[u]=rf(o))}var s=C(C(C(C({},kv,new Set),Av,new Set),Cv,new Set),Rv,new Set);t.forEach((function(e){if(e.hasAttribute("headers")&&cf(e)){var t=e.getAttribute("headers").trim();if(t){var r=e.getAttribute("id");Uh(t).forEach((function(t){r&&t===r?s[kv].add(e):n[t]?["columnheader","rowheader"].includes(n[t])||s[Cv].add(e):s[Av].add(e)}))}else s[Rv].add(e)}}));var l,c=Z(xv);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(s[d].size>0){if(this.relatedNodes(I(s[d])),d===Rv)return;return this.data({messageKey:d}),!1}}}catch(e){c.e(e)}finally{c.f()}return!0},"th-has-data-cells-evaluate":function(e){var t=Lm(e),n=this,r=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(r=r.concat(t.split(/\s+/)));var n=e.getAttribute("aria-labelledby");n&&(r=r.concat(n.split(/\s+/)))}));var a=t.filter((function(e){return""!==Od(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(xd(e)))})),i=kd(e),o=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!r.includes(e.getAttribute("id"))){var t=Rd(e,i),a=!1;Sd(e)&&(a=Zm("down",t,i).find((function(t){return!Sd(t)&&Um(t,i).includes(e)}))),!a&&Md(e)&&(a=Zm("right",t,i).find((function(t){return!Md(t)&&Um(t,i).includes(e)}))),a||n.relatedNodes(e),o=o&&a}})),!!o||void 0},"title-only-evaluate":function(e,t,n){var r=Lf(n),a=of(n),i=n.attr("aria-describedby");return!(r||!a&&!i)},"unique-frame-title-after":function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e},"unique-frame-title-evaluate":function(e,t,n){var r=Od(n.attr("title")).toLowerCase();return this.data(r),!0},"unsupportedrole-evaluate":function(e,t,n){var r=rf(n,{dpub:!0,fallback:!0}),a=Fd(r);return a&&this.data(r),a},"valid-lang-evaluate":function(e,t,n){var r=[];return t.attributes.forEach((function(e){var a=n.attr(e);if("string"==typeof a){var i=np(a),o=t.value?!t.value.map(np).includes(i):!Om(i);(""!==i&&o||""!==a&&!Od(a))&&r.push(e+'="'+n.attr(e)+'"')}})),!(!r.length||"html"!==n.props.nodeName&&!nh(n)||(this.data(r),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var n=xd(e);return n&&(Kb[n]||t.roles.includes(n))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return Vb[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return ng.every((function(n){return n(e,t)}))},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":function(e,t,n){return np(n.attr("lang"))===np(n.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=np(e.getAttribute("lang")),n=np(e.getAttribute("xml:lang"));return Om(t)&&Om(n)}},dg=cg,fg=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function hg(e){if("string"==typeof e){if(dg[e])return dg[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function pg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==a(e))&&(e={value:e}),e}function mg(e){e&&(this.id=e.id,this.configure(e))}mg.prototype.enabled=!0,mg.prototype.run=function(e,t,n,r,a){var i=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,o=this.getOptions(t.options);if(i){var u,s=new fg(this),l=hs(s,t,r,a);try{u=this.evaluate.call(l,e.actualNode,o,e,n)}catch(t){return e&&e.actualNode&&(t.errorNode=wl.toSpec(e)),void a(t)}l.isAsync||(s.result=u,r(s))}else r(null)},mg.prototype.runSync=function(e,t,n){var r=(t=t||{}).enabled;if(!(void 0===r?this.enabled:r))return null;var a,i=this.getOptions(t.options),o=new fg(this),u=hs(o);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,i,e,n)}catch(t){throw e&&e.actualNode&&(t.errorNode=wl.toSpec(e)),t}return o.result=a,o},mg.prototype.configure=function(e){var t=this;e.evaluate&&!dg[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this.options=this._internalCheck?pg(e.options):e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(n){return t[n]=hg(e[n])}))},mg.prototype.getOptions=function(e){return this._internalCheck?Rl(this.options,pg(e||{})):e||this.options};var vg=mg,bg=function(e){this.id=e.id,this.result=ta.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function gg(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ga(ta.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=hg(e.matches))}function yg(e){if(e.length){var t=!1,n={};return e.forEach((function(e){var r=e.results.filter((function(e){return e}));n[e.type]=r,r.length&&(t=!0)})),t?n:null}}gg.prototype.matches=function(){return!0},gg.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="mark_gather_start_"+this.id,r="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,i="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&em.mark(n);var o=ym(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&em.mark(a),o=o.filter((function(e){return cf(e)})),t.performanceTimer&&(em.mark(i),em.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,i))),t.performanceTimer&&(em.mark(r),em.measure("rule_"+this.id+"#gather",n,r)),o},gg.prototype.runChecks=function(e,t,n,r,a,i){var o=this,u=Is();this[e].forEach((function(e){var a=o._audit.checks[e.id||e],i=fp(a,o.id,n);u.defer((function(e,n){a.run(t,i,r,e,(function(e){n(new Em({ruleId:o.id,method:"".concat(a.id,"#evaluate"),errorNode:new fs(t),error:e}))}))}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(i)},gg.prototype.runChecksSync=function(e,t,n,r){var a=this,i=[];return this[e].forEach((function(e){var o=a._audit.checks[e.id||e],u=fp(o,a.id,n);i.push(o.runSync(t,u,r))})),i=i.filter((function(e){return e})),{type:e,results:i}},gg.prototype.run=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var i,o=Is(),u=new bg(this);try{i=this.gatherAndMatchNodes(e,n)}catch(e){return void a(e)}n.performanceTimer&&this._logGatherPerformance(i),i.forEach((function(r){o.defer((function(a,i){var o=Is();["any","all","none"].forEach((function(a){o.defer((function(i,o){t.runChecks(a,r,n,e,i,o)}))})),o.then((function(e){var n=yg(e);n&&(n.node=new fs(r),u.nodes.push(n),t.reviewOnFail&&(["any","all"].forEach((function(e){n[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),n.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return i(e)}))}))})),o.then((function(){n.performanceTimer&&t._logRulePerformance(),setTimeout((function(){r(u)}),0)})).catch((function(e){n.performanceTimer&&t._logRulePerformance(),a(e)}))},gg.prototype.runSync=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var r=new bg(this),a=this.gatherAndMatchNodes(e,n);return n.performanceTimer&&this._logGatherPerformance(a),a.forEach((function(a){var i=[];["any","all","none"].forEach((function(r){i.push(t.runChecksSync(r,a,n,e))}));var o=yg(i);o&&(o.node=a.actualNode?new fs(a):null,r.nodes.push(o),t.reviewOnFail&&(["any","all"].forEach((function(e){o[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),o.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),n.performanceTimer&&this._logRulePerformance(),r},gg.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},gg.prototype._logGatherPerformance=function(e){na("gather for ".concat(this.id," (").concat(e.length," nodes): ").concat(em.timeElapsed(),"ms")),em.mark(this._markChecksStart)},gg.prototype._logRulePerformance=function(){em.mark(this._markChecksEnd),em.mark(this._markEnd),em.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),em.measure("rule_"+this.id,this._markStart,this._markEnd)},gg.prototype.gatherAndMatchNodes=function(e,t){var n=this,r="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,i=this.gather(e,t);return t.performanceTimer&&em.mark(r),i=i.filter((function(t){try{return n.matches(t.actualNode,t,e)}catch(e){throw new Em({ruleId:n.id,method:"#matches",errorNode:new fs(t),error:e})}})),t.performanceTimer&&(em.mark(a),em.measure("rule_"+this.id+"#matches",r,a)),i},gg.prototype.after=function(e,t){var n,r=this,a=Fl(n=this).map((function(e){var t=n._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean);return a.forEach((function(n){var a,i,o,u=(a=n.id,i=[],e.nodes.forEach((function(e){Fl(e).forEach((function(t){t.id===a&&(t.node=e.node,i.push(t))}))})),i),s=fp(n,r.id,t);try{o=n.after(u,s.options)}catch(t){var l;throw new Em({ruleId:r.id,method:"".concat(n.id,"#after"),errorNode:null===(l=e.nodes)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.node,error:t})}r.reviewOnFail&&o.forEach((function(e){var t=(r.any.includes(e.id)||r.all.includes(e.id))&&!1===e.result,n=r.none.includes(e.id)&&!0===e.result;(t||n)&&(e.result=void 0)})),u.forEach((function(e){delete e.node,-1===o.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=function(e){var t=["any","all","none"],n=e.nodes.filter((function(e){var n=0;return t.forEach((function(t){e[t]=e[t].filter((function(e){return!0!==e.filtered})),n+=e[t].length})),n>0}));return e.pageLevel&&n.length&&(n=[n.reduce((function(e,n){if(e)return t.forEach((function(t){e[t].push.apply(e[t],n[t])})),e}))]),n}(e),e},gg.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=hg(e.matches)),e.impact&&(ga(ta.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var Dg=/\{\{.+?\}\}/g,wg=W((function e(t){V(this,e),this.lang="en",this.defaultConfig=t,this.standards=wd,this._init(),this._defaultLocale=null}),[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),n=0;n<t.length;n++){var r=t[n],a=this.data.checks[r].messages;e.checks[r]={pass:a.pass,fail:a.fail,incomplete:a.incomplete}}for(var i=Object.keys(this.data.rules),o=0;o<i.length;o++){var u=i[o],s=this.data.rules[u];e.rules[u]={description:s.description,help:s.help}}for(var l=Object.keys(this.data.failureSummaries),c=0;c<l.length;c++){var d=l[c];e.failureSummaries[d]={failureMessage:this.data.failureSummaries[d].failureMessage}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.checks[r])throw new Error('Locale provided for unknown check: "'.concat(r,'"'));this.data.checks[r]=Ag(this.data.checks[r],e[r])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.rules[r])throw new Error('Locale provided for unknown rule: "'.concat(r,'"'));this.data.rules[r]=Cg(this.data.rules[r],e[r])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.failureSummaries[r])throw new Error('Locale provided for unknown failureMessage: "'.concat(r,'"'));this.data.failureSummaries[r]=kg(this.data.failureSummaries[r],e[r])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=Rg(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=Eg();this.allowedOrigins=[];var n,r=Z(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a===ta.allOrigins)return void(this.allowedOrigins=["*"]);a!==ta.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_init",value:function(){var e=function(e){var t;if(e?(t=ps(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var n=Eg();t.allowedOrigins=n?[n]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=B({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,xg(e.rules,this,"addRule"),xg(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new gg(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===a(t)&&(this.data.checks[e.id]=t,"object"===a(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new vg(e)}},{key:"run",value:function(e,t,n,r){this.normalizeOptions(t),fs.setRunOptions(t),i._selectCache=[];var a=function(e,t,n){return e.reduce((function(e,r){return vm(r,t,n)?r.preload?(e.later.push(r),e):(e.now.push(r),e):e}),{now:[],later:[]})}(this.rules,e,t),o=a.now,u=a.later,s=Is();o.forEach((function(n){s.defer(Tg(n,e,t))}));var l=Is();u.length&&l.defer((function(e){cm(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var c=Is();c.defer(s),c.defer(l),c.then((function(a){var o=a.pop();if(o&&o.length){var s=o[0];s&&(e=B({},e,s))}var l=a[0];if(!u.length)return i._selectCache=void 0,void n(l.filter((function(e){return!!e})));var c=Is();u.forEach((function(n){var r=Tg(n,e,t);c.defer(r)})),c.then((function(e){i._selectCache=void 0,n(l.concat(e).filter((function(e){return!!e})))})).catch(r)})).catch(r)}},{key:"after",value:function(e,t){var n=this.rules;return e.map((function(e){if(e.error)return e;var r=El(n,"id",e.id);if(!r)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return r.after(e,t)}catch(e){if(t.debug)throw e;return Sg(r,e)}}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],n=[];if(this.rules.forEach((function(e){n.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(a(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var r=e.runOnly.find((function(e){return t.includes(e)})),o=e.runOnly.find((function(e){return n.includes(e)}));if(r&&o)throw new Error("runOnly cannot be both rules and tags");e.runOnly=o?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var u=e.runOnly;if(u.value&&!u.values&&(u.values=u.value,delete u.value),!Array.isArray(u.values)||0===u.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(u.type))u.type="rule",u.values.forEach((function(e){if(!n.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(u.type))throw new Error("Unknown runOnly type '".concat(u.type,"'"));u.type="tag";var s=u.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}));0!==s.length&&i.log("Could not find tags `"+s.join("`, `")+"`")}}return"object"===a(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!n.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=(i.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(r){e.data.rules[r.id]||(e.data.rules[r.id]={});var a=e.data.rules[r.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===Mg(t,r.id,n))&&(a.helpUrl=Mg(e,r.id,n))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),Fg=wg;function Eg(){return t.origin&&"null"!==t.origin?t.origin:t.location&&t.location.origin&&"null"!==t.location.origin?t.location.origin:void 0}function xg(e,t,n){var r,a;for(r=0,a=e.length;r<a;r++)t[n](e[r])}var Ag=function(e,t){var n=t.pass,r=t.fail;return"string"==typeof n&&Dg.test(n)&&(n=Ba.default.compile(n)),"string"==typeof r&&Dg.test(r)&&(r=Ba.default.compile(r)),B({},e,{messages:{pass:n||e.messages.pass,fail:r||e.messages.fail,incomplete:"object"===a(e.messages.incomplete)?B({},e.messages.incomplete,t.incomplete):t.incomplete}})},Cg=function(e,t){var n=t.help,r=t.description;return"string"==typeof n&&Dg.test(n)&&(n=Ba.default.compile(n)),"string"==typeof r&&Dg.test(r)&&(r=Ba.default.compile(r)),B({},e,{help:n||e.help,description:r||e.description})},kg=function(e,t){var n=t.failureMessage;return"string"==typeof n&&Dg.test(n)&&(n=Ba.default.compile(n)),B({},e,{failureMessage:n||e.failureMessage})},Rg=function(e,t){return"string"==typeof t&&Dg.test(t)&&(t=Ba.default.compile(t)),t||e};function Tg(e,t,n){return n.performanceTimer&&em.mark("mark_rule_start_"+e.id),function(r,a){e.run(t,n,(function(e){return r(e)}),(function(t){n.debug?a(t):r(Sg(e,t))}))}}function Sg(e,t){var n=t.errorNode,a=wm(t),i=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],o=n||new fs(r.documentElement);return Object.assign(new bg(e),{error:a,result:ta.CANTTELL,nodes:[{any:[],all:[],none:i,node:o}]})}function Mg(e,t,n){var r=e.application,a=e.lang;return ta.helpUrlBase+e.brand+"/"+(n||i.version.substring(0,i.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(r)+(a&&"en"!==a?"&lang="+encodeURIComponent(a):"")}function Og(e){var n=t&&"Node"in t&&"NodeList"in t,a=!!r;if(!n||!a){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');a||(os.set("globalDocumentSet",!0),r=e.ownerDocument),n||(os.set("globalWindowSet",!0),t=r.defaultView)}}var Ng=function(){os.get("globalDocumentSet")&&(os.set("globalDocumentSet",!1),r=null),os.get("globalWindowSet")&&(os.set("globalWindowSet",!1),t=null),i._memoizedFns.forEach((function(e){return e.clear()})),os.clear(),i._tree=void 0,i._selectorData=void 0,i._selectCache=void 0};function Bg(e,t,n,r){try{e=new xp(e),i._tree=e.flatTree,i._selectorData=Ku(e.flatTree)}catch(e){return Ng(),r(e)}var a=Is(),o=i._audit;t.performanceTimer&&em.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(n,r){Cl(e,t,"rules",null,n,r)})),a.defer((function(n,r){o.run(e,t,n,r)})),a.then((function(a){try{t.performanceTimer&&em.auditEnd();var i=Al(a.map((function(e){return{results:e}})));e.initiator&&(t.performanceTimer&&em.mark("auditAfterStart"),i=o.after(i,t),t.performanceTimer&&(em.mark("auditAfterEnd"),em.measure("audit.after","auditAfterStart","auditAfterEnd"),em.logMeasures("audit.after")),i.forEach(hm),i=i.map(ha));try{n(i,Ng)}catch(e){Ng(),na(e)}}catch(e){Ng(),r(e)}})).catch((function(e){Ng(),r(e)}))}function Ig(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){i._audit.registerCommand(e)}))}t.top!==t&&(pl.subscribe("axe.start",(function(e,t,n){var a=n,o=function(e){e instanceof Error==0&&(e=new Error(e)),n(e)},u=e&&e.context||{};u.hasOwnProperty("include")&&!u.include.length&&(u.include=[r]);var s=e&&e.options||{};switch(e.command){case"rules":return Bg(u,s,(function(e,t){e=wl.mapRawResults(e),a(e),t()}),o);case"cleanup-plugin":return qm(a,o);default:if(i._audit&&i._audit.commands&&i._audit.commands[e.command])return i._audit.commands[e.command](e,n)}})),pl.subscribe("axe.ping",(function(e,t,n){n({axe:!0})}))),Ig.prototype.run=function(){return this._run.apply(this,arguments)},Ig.prototype.collect=function(){return this._collect.apply(this,arguments)},Ig.prototype.cleanup=function(e){var t=i.utils.queue(),n=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){n._registry[e].cleanup(t)}))})),t.then(e)},Ig.prototype.add=function(e){this._registry[e.id]=e};function jg(e){var t,n,o,u=L(e,3),s=u[0],l=u[1],c=u[2],d=new TypeError("axe.run arguments are invalid");if(!_p(s)){if(void 0!==c)throw d;c=l,l=s,s=r}if("object"!==a(l)){if(void 0!==c)throw d;c=l,l={}}if("function"!=typeof c&&void 0!==c)throw d;return(l=ps(l)).reporter=null!==(t=null!==(n=l.reporter)&&void 0!==n?n:null===(o=i._audit)||void 0===o?void 0:o.reporter)&&void 0!==t?t:"v1",{context:s,options:l,callback:c}}var _g=function(){};function qg(e){var t=e.frames,n=e.frameSpec;return n?t.map((function(e){return wl.mergeSpecs(e,n)})):t}var Pg=function(e,t,n){if("function"==typeof t&&(n=t,t={}),!e||!Array.isArray(e))return n(e);n(e.map((function(e){for(var t=B({},e),n=0,r=["passes","violations","incomplete","inapplicable"];n<r.length;n++){var a=r[n];t[a]=wl.mapRawNodeResults(t[a])}return t})))};i._thisWillBeDeletedDoNotUse={base:{Audit:Fg,CheckResult:fg,Check:vg,Context:xp,RuleResult:bg,Rule:gg,metadataFunctionMap:dg},public:{reporters:Pm},helpers:{failureSummary:rp,incompleteFallbackMessage:ap,processAggregate:op},utils:{setDefaultFrameMessenger:fl,cacheNodeSelectors:Xh,getNodesMatchingExpression:Kh,convertSelector:ks},commons:{dom:{nativelyHidden:Ll,displayHidden:Hl,visibilityHidden:Ul,contentVisibiltyHidden:Vl,ariaHidden:Kl,opacityHidden:Wl,scrollHidden:Yl,overflowHidden:Zl,clipHidden:Xl,areaHidden:Jl,detailsHidden:Ql}}},i.constants=ta,i.log=na,i.AbstractVirtualNode=aa,i.SerialVirtualNode=_m,i.VirtualNode=Hh,i._cache=os,i.imports=ka,i.cleanup=qm,i.configure=function(e){var t=i._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var n=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(n))throw new Error("Invalid configured version ".concat(n));var r=L(n.split("-"),2),a=r[1],o=L(r[0].split(".").map(Number),3),u=o[0],s=o[1],l=o[2],c=L(i.version.split("-"),2),d=c[1],f=L(c[0].split(".").map(Number),3),h=f[0],p=f[1],m=f[2];if(u!==h||p<s||p===s&&m<l||u===h&&s===p&&l===m&&a&&a!==d)throw new Error("Configured version ".concat(n," is not compatible with current axe version ").concat(i.version))}if(e.reporter&&("function"==typeof e.reporter||$m(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var v,b=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));b.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===b.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(v=e.standards,Object.keys(Dd).forEach((function(e){v[e]&&(Dd[e]=Rl(Dd[e],v[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(ta.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}},i.frameMessenger=function(e){pl.updateMessenger(e)},i.getRules=function(e){var t=(e=e||[]).length?i._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):i._audit.rules,n=i._audit.data.rules||{};return t.map((function(e){var t=n[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}}))},i._load=function(e){i._audit=new Fg(e)},i.plugins={},i.registerPlugin=function(e){i.plugins[e.id]=new Ig(e)},i.hasReporter=$m,i.getReporter=zm,i.addReporter=function(e,t,n){Pm[e]=t,n&&(jm=t)},i.reset=function(){var e=i._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(Dd).forEach((function(e){Dd[e]=yd[e]}))},i._runRules=Bg,i.runVirtualRule=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.reporter=n.reporter||i._audit.reporter||"v1",i._selectorData={},t instanceof aa||(t=new _m(t));var r=Cp(e);if(!r)throw new Error("unknown rule `"+e+"`");var a=(r=Object.create(r,{excludeHidden:{value:!1}})).runSync({initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},n);hm(a),ha(a);var o=va([a]);return o.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=rp(e)}))})),B({},hp(),o,{toolOptions:n})},i.run=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Og(t[0]);var r=jg(t),a=r.context,o=r.options,u=r.callback,s=void 0===u?_g:u,l=function(e){var t,n,r;return"function"==typeof Promise&&e===_g?t=new Promise((function(e,t){n=t,r=e})):(r=function(t){return e(null,t)},n=function(t){return e(t)}),{thenable:t,reject:n,resolve:r}}(s),c=l.thenable,d=l.resolve,f=l.reject;try{ga(i._audit,"No audit configured"),ga(!i._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"!=typeof t||t===_g)throw e;t(e.message)}(e,s)}return i._running=!0,o.performanceTimer&&em.start(),i._runRules(a,o,(function(e,t){var n=function(e){i._running=!1,t();try{f(e)}catch(e){i.log(e)}};try{o.performanceTimer&&em.mark("reporterStart"),function(e,t,n,r){var a=zm(t.reporter)(e,t,n,r);void 0!==a&&n(a)}(e,o,(function(e){o.performanceTimer&&(em.mark("reporterEnd"),em.measure("reporter","reporterStart","reporterEnd"),em.logMeasures("reporter"),em.end()),i._running=!1,t();try{d(e)}catch(e){i.log(e)}}),n)}catch(e){n(e)}}),(function(e){o.performanceTimer&&em.end(),i._running=!1,s(e),f(e)})),c},i.setup=function(e){if(i._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===a(e.documentElement)&&"object"===a(e.defaultView)&&(e=e.documentElement),Og(e),i._tree=Jh(e),i._selectorData=Ku(i._tree),i._tree[0]},i.teardown=Ng,i.runPartial=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=jg(t),a=r.options,o=r.context;ga(i._audit,"Axe is not configured. Audit is missing."),ga(!i._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var u=new xp(o,i._tree);return i._tree=u.flatTree,i._selectorData=Ku(u.flatTree),i._running=!0,a.elementRef=!1,new Promise((function(e,t){i._audit.run(u,a,e,t)})).then((function(e){e=wl.mapRawResults(e);var t,n=u.frames.map((function(e){return wl.toSpec(e.node)}));return u.initiator&&(t=hp()),i._running=!1,Ng(),{results:e,frames:n,environmentData:t}})).catch((function(e){return i._running=!1,Ng(),Promise.reject(e)}))},i.finishRun=function(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=ps(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;i._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(n=a.reporter)&&void 0!==n?n:null===(r=i._audit)||void 0===r?void 0:r.reporter)&&void 0!==t?t:"v1",function(e){var t,n=[],r=Z(e);try{for(r.s();!(t=r.n()).done;){var a=t.value,i=n.shift();if(a){a.frameSpec=null!=i?i:null;var o=qg(a);n.unshift.apply(n,I(o))}}}catch(e){r.e(e)}finally{r.f()}}(e);var u=Al(e);return(u=i._audit.after(u,a)).forEach(hm),function(e,t){return new Promise((function(n,r){zm(t.reporter)(e,t,n,r)}))}(u=u.map(ha),B({environmentData:o},a))},i.commons=qv,i.utils=ia,i.addReporter("na",(function(e,t,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,D);n(B({},hp(r),{toolOptions:a},op(e,t)))})),i.addReporter("no-passes",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,w);t.resultTypes=["violations"];var i=op(e,t).violations;n(B({},hp(r),{toolOptions:a,violations:i}))})),i.addReporter("rawEnv",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,F);Pg(e,a,(function(e){var t=hp(r);n({raw:e,env:t})}))})),i.addReporter("raw",Pg),i.addReporter("v1",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,E),i=op(e,t),o=function(e){e.nodes.forEach((function(e){e.failureSummary=rp(e)}))};i.incomplete.forEach(o),i.violations.forEach(o),n(B({},hp(r),{toolOptions:a},i))})),i.addReporter("v2",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,x),i=op(e,t);n(B({},hp(r),{toolOptions:a},i))}),!0)}(),i._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",n=e;if(n)for(var r=-1,a=n.length-1;r<a;)t+="\n "+n[r+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",n=e;if(n)for(var r=-1,a=n.length-1;r<a;)t+="\n "+n[r+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:!0},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:ay.exports)),ay.exports);
2
+ /*! axe v4.11.3
3
+ * Copyright (c) 2015 - 2026 Deque Systems, Inc.
4
+ *
5
+ * Your use of this Source Code Form is subject to the terms of the Mozilla Public
6
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
7
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
+ *
9
+ * This entire copyright notice must appear in every copy of this file you
10
+ * distribute or in any file that contains substantial portions of this source
11
+ * code.
12
+ */let oy=null,uy=null;function sy(){if(oy)return;const e=Cp((function*(){const e=uy=yield*Lm(100),t=ey(e).pipe(ty((({context:e,onComplete:t})=>wp((n=>{iy.run(e,{},((e,r)=>{t(e,r),n(Sp)}))})))));yield*(e=>Ug(e,Dg))(t)}));oy=fm(e)}function ly(e){sy(),uy&&hm(uy.offer(e))}export{ly as enqueueValidation,sy as initializeValidationStream}