cognova 0.2.7 → 0.2.9

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 (175) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{Bb9LNSu_.js → -JdScH3W.js} +1 -1
  3. package/.output/public/_nuxt/{A5lrd5_j.js → 0EY9Msdx.js} +1 -1
  4. package/.output/public/_nuxt/{BsXPllgv.js → 1lOC4Si0.js} +1 -1
  5. package/.output/public/_nuxt/{CeDxLTxX.js → 1zIQX9mh.js} +1 -1
  6. package/.output/public/_nuxt/{D3V98LVR.js → 4Qy4OdWt.js} +1 -1
  7. package/.output/public/_nuxt/{MdebRWqA.js → 4nN41Tyd.js} +1 -1
  8. package/.output/public/_nuxt/{BrICHPil.js → 5MZBbx-H.js} +1 -1
  9. package/.output/public/_nuxt/{Brqrl-cH.js → 6lIxuL6n.js} +1 -1
  10. package/.output/public/_nuxt/AUdD1uDD.js +1 -0
  11. package/.output/public/_nuxt/{B9Kd_0HK.js → B-513wJW.js} +1 -1
  12. package/.output/public/_nuxt/{CNwGp6eP.js → B1vDCixB.js} +1 -1
  13. package/.output/public/_nuxt/{deSeNTOh.js → B2MVZlI-.js} +1 -1
  14. package/.output/public/_nuxt/{CVr40yKH.js → B5JDxHxC.js} +1 -1
  15. package/.output/public/_nuxt/{CvMqUdkl.js → B63LIwsW.js} +3 -3
  16. package/.output/public/_nuxt/{C5nfaH9w.js → B6bnHNWY.js} +1 -1
  17. package/.output/public/_nuxt/{BaJEGr8G.js → B6wYZD_K.js} +1 -1
  18. package/.output/public/_nuxt/{_16_b82K.js → B8Ou5yh2.js} +1 -1
  19. package/.output/public/_nuxt/{BaVaTug8.js → BE4Ndhrq.js} +1 -1
  20. package/.output/public/_nuxt/{CphXSvBo.js → BES6FzF5.js} +1 -1
  21. package/.output/public/_nuxt/{BmTCDcNm.js → BE_OHTBv.js} +1 -1
  22. package/.output/public/_nuxt/{CBrXB4hk.js → BJ8jbKuq.js} +1 -1
  23. package/.output/public/_nuxt/{vM-wdhkZ.js → BNBGEa-U.js} +1 -1
  24. package/.output/public/_nuxt/{XzRnkkwG.js → BOGXUgGg.js} +1 -1
  25. package/.output/public/_nuxt/BQ1T6zWA.js +1 -0
  26. package/.output/public/_nuxt/{Bb1B0ntt.js → BVc_fOF1.js} +1 -1
  27. package/.output/public/_nuxt/{B-5roYpk.js → BX6vcvkp.js} +1 -1
  28. package/.output/public/_nuxt/{CLZS246x.js → BYIq3eP8.js} +1 -1
  29. package/.output/public/_nuxt/{B_28CKij.js → BZqdzrSw.js} +2 -2
  30. package/.output/public/_nuxt/{D-wVwRIx.js → BaYtugUf.js} +1 -1
  31. package/.output/public/_nuxt/{EgYyfo1g.js → Be5L93GM.js} +3 -3
  32. package/.output/public/_nuxt/{BLszW9T3.js → BfECQayu.js} +1 -1
  33. package/.output/public/_nuxt/{Ci-MVdCd.js → BgG2k-zy.js} +1 -1
  34. package/.output/public/_nuxt/BhnONkIm.js +1 -0
  35. package/.output/public/_nuxt/{BjFs8Ujb.js → BjI5wb_q.js} +1 -1
  36. package/.output/public/_nuxt/{CK5Ef4YR.js → Bk9-HxOg.js} +1 -1
  37. package/.output/public/_nuxt/{MzEmU9ER.js → BltasKce.js} +1 -1
  38. package/.output/public/_nuxt/{BvuV9uCn.js → Bp9kHdw6.js} +1 -1
  39. package/.output/public/_nuxt/{CnW8zyuA.js → Bsdcw5gr.js} +1 -1
  40. package/.output/public/_nuxt/{Zjvb5YJR.js → BsnhHCOa.js} +1 -1
  41. package/.output/public/_nuxt/{DMsHLHmB.js → BwJVN9k0.js} +1 -1
  42. package/.output/public/_nuxt/{CgQKyBSS.js → BwVt3BzR.js} +1 -1
  43. package/.output/public/_nuxt/{Bc0NIKN7.js → BwdxQyyo.js} +1 -1
  44. package/.output/public/_nuxt/{CfWDee_q.js → BzTjmQCD.js} +1 -1
  45. package/.output/public/_nuxt/{RRoc4m9d.js → C1FhgWcI.js} +1 -1
  46. package/.output/public/_nuxt/{DvgLoqaC.js → C2DZeD9G.js} +1 -1
  47. package/.output/public/_nuxt/{B43p0So7.js → C3JOLqW1.js} +1 -1
  48. package/.output/public/_nuxt/{atVSHCxP.js → C4ScCUjy.js} +1 -1
  49. package/.output/public/_nuxt/{Bn8loaeQ.js → C6HEirAm.js} +1 -1
  50. package/.output/public/_nuxt/{BLL1JLwq.js → C6UTTaCP.js} +1 -1
  51. package/.output/public/_nuxt/{DNpsjOxN.js → C8gtQaKB.js} +1 -1
  52. package/.output/public/_nuxt/{BhOIdu3Z.js → C8tXHRIo.js} +1 -1
  53. package/.output/public/_nuxt/{DaiWSWdm.js → C8wa4Wh4.js} +1 -1
  54. package/.output/public/_nuxt/{DZdh7_lh.js → CDradKPE.js} +1 -1
  55. package/.output/public/_nuxt/{DB3y_21M.js → CEJh-OAl.js} +1 -1
  56. package/.output/public/_nuxt/CGfVTQUF.js +1 -0
  57. package/.output/public/_nuxt/{Dx2Tgm6S.js → CGgZuPnb.js} +1 -1
  58. package/.output/public/_nuxt/{CwaMSU1O.js → CH8kNq6W.js} +1 -1
  59. package/.output/public/_nuxt/{NlScC3GW.js → CIJ2MJdc.js} +1 -1
  60. package/.output/public/_nuxt/{CzTTKfet.js → CIUZAp6g.js} +1 -1
  61. package/.output/public/_nuxt/{CwCEQ4Dw.js → CXBOHJ2W.js} +1 -1
  62. package/.output/public/_nuxt/{BJ_GgKV0.js → CY3x8iy3.js} +1 -1
  63. package/.output/public/_nuxt/{ByfSJZV6.js → CaLO8sre.js} +1 -1
  64. package/.output/public/_nuxt/{jeu3Xx8e.js → CbTu13wM.js} +1 -1
  65. package/.output/public/_nuxt/{CjYUi9c8.js → CfO_d5gC.js} +1 -1
  66. package/.output/public/_nuxt/{DpYns7cT.js → Clr3MHUr.js} +1 -1
  67. package/.output/public/_nuxt/{1Hz98MKF.js → Cmdr5BNz.js} +1 -1
  68. package/.output/public/_nuxt/{DZ_azKLI.js → Cmj-BR0q.js} +1 -1
  69. package/.output/public/_nuxt/{CSQ-nblB.js → Cn83lLUb.js} +1 -1
  70. package/.output/public/_nuxt/{BdCB2PoJ.js → CqMgz85Z.js} +1 -1
  71. package/.output/public/_nuxt/{Dkzqkzki.js → CrW6y2-s.js} +1 -1
  72. package/.output/public/_nuxt/{DAs574wU.js → CrjNndEO.js} +1 -1
  73. package/.output/public/_nuxt/{CB8_A8N4.js → Cs_udj6A.js} +1 -1
  74. package/.output/public/_nuxt/{qW7F87d8.js → CsbHYpNi.js} +3 -3
  75. package/.output/public/_nuxt/{DuOsLoVR.js → CwKe2KkK.js} +1 -1
  76. package/.output/public/_nuxt/{Db5XIfWS.js → CwOUYOe5.js} +1 -1
  77. package/.output/public/_nuxt/{0J8pJb0Z.js → CybU4a95.js} +1 -1
  78. package/.output/public/_nuxt/{WWNeb45u.js → CziltI1u.js} +1 -1
  79. package/.output/public/_nuxt/{DgPiIWA2.js → CzurfTnt.js} +1 -1
  80. package/.output/public/_nuxt/{DAFasgHH.js → D-O8wAju.js} +1 -1
  81. package/.output/public/_nuxt/{CJ85o8FK.js → D1t0272g.js} +1 -1
  82. package/.output/public/_nuxt/D3RROe4s.js +1 -0
  83. package/.output/public/_nuxt/{Cedv1M65.js → D5G5UL_g.js} +1 -1
  84. package/.output/public/_nuxt/{1IuG3yiQ.js → D76Dw8rw.js} +1 -1
  85. package/.output/public/_nuxt/{w3t8WD8v.js → D7DTZ0iS.js} +1 -1
  86. package/.output/public/_nuxt/{C6Kc4XvS.js → D7WbsJsa.js} +1 -1
  87. package/.output/public/_nuxt/D7iYVmH6.js +1 -0
  88. package/.output/public/_nuxt/{CXuKrnTA.js → D8gh62A0.js} +1 -1
  89. package/.output/public/_nuxt/{CW8xtqwN.js → DA2RowFe.js} +1 -1
  90. package/.output/public/_nuxt/{4bC1z31I.js → DBKxzQ3U.js} +1 -1
  91. package/.output/public/_nuxt/DBuW01Fx.js +1 -0
  92. package/.output/public/_nuxt/{B7-0ADn3.js → DCL9gWFw.js} +1 -1
  93. package/.output/public/_nuxt/{NBE83ZQn.js → DGJKfutb.js} +1 -1
  94. package/.output/public/_nuxt/{B5OWqWCh.js → DHScQdvh.js} +1 -1
  95. package/.output/public/_nuxt/{BTk5mgdf.js → DI1FIvaM.js} +1 -1
  96. package/.output/public/_nuxt/{0LyRrTRM.js → DJ4pqxg-.js} +1 -1
  97. package/.output/public/_nuxt/{DImdNj-F.js → DJoRBCVm.js} +1 -1
  98. package/.output/public/_nuxt/{DfpSaqgV.js → DLuRYg2p.js} +1 -1
  99. package/.output/public/_nuxt/DMy2sxuC.js +1 -0
  100. package/.output/public/_nuxt/{BJi2ZHtT.js → DQd-GXKJ.js} +1 -1
  101. package/.output/public/_nuxt/{CpC3C9gj.js → DSgubznn.js} +1 -1
  102. package/.output/public/_nuxt/{BZFXnEwe.js → DSynhNOO.js} +1 -1
  103. package/.output/public/_nuxt/{BsPj3ifk.js → DTrFhdRO.js} +1 -1
  104. package/.output/public/_nuxt/{BNlugvM3.js → DTu0K_pX.js} +1 -1
  105. package/.output/public/_nuxt/{DV0JMebZ.js → DUDbJONU.js} +1 -1
  106. package/.output/public/_nuxt/{C14DGwaT.js → DYu_NYj3.js} +1 -1
  107. package/.output/public/_nuxt/{Bf34lExB.js → D_tCgCFX.js} +1 -1
  108. package/.output/public/_nuxt/{pkbwpgSD.js → DdXVAzIg.js} +1 -1
  109. package/.output/public/_nuxt/DfIqFkyp.js +1 -0
  110. package/.output/public/_nuxt/{BoPAYize.js → Dj2opPDu.js} +1 -1
  111. package/.output/public/_nuxt/{Drr-RSSP.js → DjmFlCHK.js} +1 -1
  112. package/.output/public/_nuxt/{DgKeJf5C.js → DkhxRAb3.js} +1 -1
  113. package/.output/public/_nuxt/DlSJ4TF_.js +1 -0
  114. package/.output/public/_nuxt/{S4a_N6rD.js → DmmQUhEb.js} +1 -1
  115. package/.output/public/_nuxt/{CG0fS-BQ.js → DvATBMPl.js} +1 -1
  116. package/.output/public/_nuxt/{CxJr4mB0.js → DwAJIRGg.js} +1 -1
  117. package/.output/public/_nuxt/{CjRmY2OQ.js → FYOLNuMV.js} +1 -1
  118. package/.output/public/_nuxt/Gy6_ehml.js +1 -0
  119. package/.output/public/_nuxt/{zBoPDS4z.js → HPOXd4gt.js} +1 -1
  120. package/.output/public/_nuxt/{HCCuOAgZ.js → HlbU_z9a.js} +1 -1
  121. package/.output/public/_nuxt/{DsKy-gee.js → JQV21WEV.js} +1 -1
  122. package/.output/public/_nuxt/{JJIcQEna.js → NusIKwmA.js} +1 -1
  123. package/.output/public/_nuxt/{HC3657Xq.js → OrcbFmB1.js} +1 -1
  124. package/.output/public/_nuxt/{fTEmwfo4.js → Oy4_RPEZ.js} +1 -1
  125. package/.output/public/_nuxt/{Dpp5cOwJ.js → Pa936BQP.js} +1 -1
  126. package/.output/public/_nuxt/PzQHm02e.js +1 -0
  127. package/.output/public/_nuxt/{Dysa6np_.js → REP2-rzf.js} +1 -1
  128. package/.output/public/_nuxt/{-2wkydbj.js → RRbnMIVe.js} +1 -1
  129. package/.output/public/_nuxt/{CzqLfT8k.js → TGVM5w2K.js} +1 -1
  130. package/.output/public/_nuxt/UbZP7wjm.js +1 -0
  131. package/.output/public/_nuxt/{BW-E-Sar.js → XJYoLoTi.js} +1 -1
  132. package/.output/public/_nuxt/{CrjKigv8.js → a9_LvIZ4.js} +1 -1
  133. package/.output/public/_nuxt/builds/latest.json +1 -1
  134. package/.output/public/_nuxt/builds/meta/613faa5d-8ace-45e0-8274-b611cc4fd1ad.json +1 -0
  135. package/.output/public/_nuxt/entry.DkvuF_CR.css +1 -0
  136. package/.output/public/_nuxt/{CwJR22-0.js → fVkHtgGF.js} +1 -1
  137. package/.output/public/_nuxt/{sdvIKLwS.js → hm3ShyaF.js} +1 -1
  138. package/.output/public/_nuxt/{CqiOV9n1.js → k16puyWi.js} +1 -1
  139. package/.output/public/_nuxt/{B8Kve-DH.js → myNwwtfj.js} +1 -1
  140. package/.output/public/_nuxt/{DxR8g9So.js → nTCVPCKg.js} +1 -1
  141. package/.output/public/_nuxt/{DytaiikM.js → pHQcHl8n.js} +1 -1
  142. package/.output/public/_nuxt/{Cebw7Q7c.js → pNqWPbXW.js} +1 -1
  143. package/.output/public/_nuxt/{Cow1TrPj.js → qWWnsfRV.js} +1 -1
  144. package/.output/public/_nuxt/{DCco_rlV.js → rRYEvKFu.js} +1 -1
  145. package/.output/public/_nuxt/{hqpqUuXS.js → svWfwR0T.js} +1 -1
  146. package/.output/public/_nuxt/{BMLwzSDu.js → wgX1ldgZ.js} +1 -1
  147. package/.output/public/_nuxt/{CEfkp9Rl.js → xrh9hzzH.js} +2 -2
  148. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  149. package/.output/server/chunks/build/server.mjs +1 -1
  150. package/.output/server/chunks/build/{settings-DuT6LGJZ.mjs → settings-B2KXoGcz.mjs} +1679 -203
  151. package/.output/server/chunks/build/settings-B2KXoGcz.mjs.map +1 -0
  152. package/.output/server/chunks/build/styles.mjs +4 -4
  153. package/.output/server/chunks/nitro/nitro.mjs +922 -866
  154. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  155. package/.output/server/package.json +1 -1
  156. package/app/pages/settings.vue +581 -6
  157. package/package.json +1 -1
  158. package/server/api/skills/import.post.ts +1 -1
  159. package/server/bridge/adapters/telegram.ts +84 -9
  160. package/.output/public/_nuxt/B-YQztaH.js +0 -1
  161. package/.output/public/_nuxt/B1gFtqXK.js +0 -1
  162. package/.output/public/_nuxt/BTfZ7nek.js +0 -1
  163. package/.output/public/_nuxt/BbPnqQJ0.js +0 -1
  164. package/.output/public/_nuxt/BhSWIRpp.js +0 -1
  165. package/.output/public/_nuxt/By6kmkhJ.js +0 -1
  166. package/.output/public/_nuxt/C4XVJnNJ.js +0 -1
  167. package/.output/public/_nuxt/CkvyAKbu.js +0 -1
  168. package/.output/public/_nuxt/D2f7BlK2.js +0 -1
  169. package/.output/public/_nuxt/D2lmhTjQ.js +0 -1
  170. package/.output/public/_nuxt/D64-rCSQ.js +0 -1
  171. package/.output/public/_nuxt/DGP2JJt8.js +0 -1
  172. package/.output/public/_nuxt/builds/meta/9863fe43-d78c-4b29-a1e8-e6de61119507.json +0 -1
  173. package/.output/public/_nuxt/entry._7ZkP07A.css +0 -1
  174. package/.output/public/_nuxt/f7zDjk6q.js +0 -1
  175. package/.output/server/chunks/build/settings-DuT6LGJZ.mjs.map +0 -1
@@ -1 +1 @@
1
- import{a8 as l,a6 as s}from"./CvMqUdkl.js";function t(r,i){return l(r)?!1:Array.isArray(r)?r.some(a=>s(a,i)):s(r,i)}export{t as i};
1
+ import{a8 as l,a6 as s}from"./B63LIwsW.js";function t(r,i){return l(r)?!1:Array.isArray(r)?r.some(a=>s(a,i)):s(r,i)}export{t as i};
@@ -1 +1 @@
1
- import{ao as J,N as K,aF as W,av as X,aw as Y,c as x,al as q,aG as Z,q as _,Q as u,R as n,S as ee,ab as ie,a4 as f,G as I,a9 as g,V as S,C as a,U as r,_ as A,ax as ae,a3 as le,aH as se}from"./CvMqUdkl.js";import{u as ne}from"./HCCuOAgZ.js";const te={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},re=["id","type","value","name","placeholder","disabled","required","autocomplete"],ge=Object.assign({inheritAttrs:!1},{__name:"UInput",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:"text"},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:null,required:!1,default:"off"},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:Object,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["update:modelValue","blur","change"],setup(s,{expose:B,emit:V}){const e=s,d=V,o=J(),m=ne(e,"modelValue",d,{defaultValue:e.defaultValue}),k=K(),{emitFormBlur:F,emitFormInput:C,emitFormChange:M,size:w,color:G,id:N,name:$,highlight:R,disabled:T,emitFormFocus:v,ariaAttrs:j}=W(e,{deferInputValidation:!0}),{orientation:O,size:D}=X(e),{isLeading:c,isTrailing:b,leadingIconName:h,trailingIconName:y}=Y(e),P=x(()=>D.value||w.value),l=x(()=>q({extend:q(te),...k.ui?.input||{}})({type:e.type,color:G.value,variant:e.variant,size:P?.value,loading:e.loading,highlight:R.value,leading:c.value||!!e.avatar||!!o.leading,trailing:b.value||!!o.trailing,fieldGroup:O.value})),p=Z("inputRef");function z(i){e.modelModifiers?.trim&&(i=i?.trim()??null),(e.modelModifiers?.number||e.type==="number")&&(i=se(i)),e.modelModifiers?.nullable&&(i||=null),e.modelModifiers?.optional&&(i||=void 0),m.value=i,C()}function U(i){e.modelModifiers?.lazy||z(i.target.value)}function E(i){const t=i.target.value;e.modelModifiers?.lazy&&z(t),e.modelModifiers?.trim&&(i.target.value=t.trim()),M(),d("change",i)}function H(i){F(),d("blur",i)}function L(){e.autofocus&&p.value?.focus()}return _(()=>{setTimeout(()=>{L()},e.autofocusDelay)}),B({inputRef:p}),(i,t)=>(n(),u(a(le),{as:s.as,"data-slot":"root",class:r(l.value.root({class:[e.ui?.root,e.class]}))},{default:ee(()=>[ie("input",S({id:a(N),ref_key:"inputRef",ref:p,type:s.type,value:a(m),name:a($),placeholder:s.placeholder,"data-slot":"base",class:l.value.base({class:e.ui?.base}),disabled:a(T),required:s.required,autocomplete:s.autocomplete},{...i.$attrs,...a(j)},{onInput:U,onBlur:H,onChange:E,onFocus:t[0]||(t[0]=(...Q)=>a(v)&&a(v)(...Q))}),null,16,re),f(i.$slots,"default",{ui:l.value}),a(c)||s.avatar||o.leading?(n(),I("span",{key:0,"data-slot":"leading",class:r(l.value.leading({class:e.ui?.leading}))},[f(i.$slots,"leading",{ui:l.value},()=>[a(c)&&a(h)?(n(),u(A,{key:0,name:a(h),"data-slot":"leadingIcon",class:r(l.value.leadingIcon({class:e.ui?.leadingIcon}))},null,8,["name","class"])):s.avatar?(n(),u(ae,S({key:1,size:e.ui?.leadingAvatarSize||l.value.leadingAvatarSize()},s.avatar,{"data-slot":"leadingAvatar",class:l.value.leadingAvatar({class:e.ui?.leadingAvatar})}),null,16,["size","class"])):g("",!0)])],2)):g("",!0),a(b)||o.trailing?(n(),I("span",{key:1,"data-slot":"trailing",class:r(l.value.trailing({class:e.ui?.trailing}))},[f(i.$slots,"trailing",{ui:l.value},()=>[a(y)?(n(),u(A,{key:0,name:a(y),"data-slot":"trailingIcon",class:r(l.value.trailingIcon({class:e.ui?.trailingIcon}))},null,8,["name","class"])):g("",!0)])],2)):g("",!0)]),_:3},8,["as","class"]))}});export{ge as _};
1
+ import{ao as J,N as K,aF as W,av as X,aw as Y,c as x,am as q,aG as Z,q as _,Q as u,R as n,S as ee,ab as ie,a4 as f,G as I,a9 as g,V as S,C as a,U as r,_ as A,ax as ae,a3 as le,aH as se}from"./B63LIwsW.js";import{u as ne}from"./HlbU_z9a.js";const te={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},re=["id","type","value","name","placeholder","disabled","required","autocomplete"],ge=Object.assign({inheritAttrs:!1},{__name:"UInput",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:"text"},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:null,required:!1,default:"off"},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:Object,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["update:modelValue","blur","change"],setup(s,{expose:B,emit:V}){const e=s,d=V,o=J(),m=ne(e,"modelValue",d,{defaultValue:e.defaultValue}),k=K(),{emitFormBlur:F,emitFormInput:C,emitFormChange:M,size:w,color:G,id:N,name:$,highlight:R,disabled:T,emitFormFocus:v,ariaAttrs:j}=W(e,{deferInputValidation:!0}),{orientation:O,size:D}=X(e),{isLeading:c,isTrailing:b,leadingIconName:h,trailingIconName:y}=Y(e),P=x(()=>D.value||w.value),l=x(()=>q({extend:q(te),...k.ui?.input||{}})({type:e.type,color:G.value,variant:e.variant,size:P?.value,loading:e.loading,highlight:R.value,leading:c.value||!!e.avatar||!!o.leading,trailing:b.value||!!o.trailing,fieldGroup:O.value})),p=Z("inputRef");function z(i){e.modelModifiers?.trim&&(i=i?.trim()??null),(e.modelModifiers?.number||e.type==="number")&&(i=se(i)),e.modelModifiers?.nullable&&(i||=null),e.modelModifiers?.optional&&(i||=void 0),m.value=i,C()}function U(i){e.modelModifiers?.lazy||z(i.target.value)}function E(i){const t=i.target.value;e.modelModifiers?.lazy&&z(t),e.modelModifiers?.trim&&(i.target.value=t.trim()),M(),d("change",i)}function H(i){F(),d("blur",i)}function L(){e.autofocus&&p.value?.focus()}return _(()=>{setTimeout(()=>{L()},e.autofocusDelay)}),B({inputRef:p}),(i,t)=>(n(),u(a(le),{as:s.as,"data-slot":"root",class:r(l.value.root({class:[e.ui?.root,e.class]}))},{default:ee(()=>[ie("input",S({id:a(N),ref_key:"inputRef",ref:p,type:s.type,value:a(m),name:a($),placeholder:s.placeholder,"data-slot":"base",class:l.value.base({class:e.ui?.base}),disabled:a(T),required:s.required,autocomplete:s.autocomplete},{...i.$attrs,...a(j)},{onInput:U,onBlur:H,onChange:E,onFocus:t[0]||(t[0]=(...Q)=>a(v)&&a(v)(...Q))}),null,16,re),f(i.$slots,"default",{ui:l.value}),a(c)||s.avatar||o.leading?(n(),I("span",{key:0,"data-slot":"leading",class:r(l.value.leading({class:e.ui?.leading}))},[f(i.$slots,"leading",{ui:l.value},()=>[a(c)&&a(h)?(n(),u(A,{key:0,name:a(h),"data-slot":"leadingIcon",class:r(l.value.leadingIcon({class:e.ui?.leadingIcon}))},null,8,["name","class"])):s.avatar?(n(),u(ae,S({key:1,size:e.ui?.leadingAvatarSize||l.value.leadingAvatarSize()},s.avatar,{"data-slot":"leadingAvatar",class:l.value.leadingAvatar({class:e.ui?.leadingAvatar})}),null,16,["size","class"])):g("",!0)])],2)):g("",!0),a(b)||o.trailing?(n(),I("span",{key:1,"data-slot":"trailing",class:r(l.value.trailing({class:e.ui?.trailing}))},[f(i.$slots,"trailing",{ui:l.value},()=>[a(y)?(n(),u(A,{key:0,name:a(y),"data-slot":"trailingIcon",class:r(l.value.trailingIcon({class:e.ui?.trailingIcon}))},null,8,["name","class"])):g("",!0)])],2)):g("",!0)]),_:3},8,["as","class"]))}});export{ge as _};
@@ -1 +1 @@
1
- import{N as o,c,Q as r,R as n,U as u,al as s}from"./CvMqUdkl.js";import{_ as p}from"./deSeNTOh.js";const i={base:"align-text-top"},v={__name:"ProseKbd",props:{value:{type:String,required:!0},class:{type:null,required:!1}},setup(e){const a=e,t=o(),l=c(()=>s({extend:s(i),...t.ui?.prose?.kbd||{}}));return(m,f)=>(n(),r(p,{value:e.value,class:u(l.value({class:a.class}))},null,8,["value","class"]))}};export{v as default};
1
+ import{N as o,c,Q as r,R as n,U as u,am as s}from"./B63LIwsW.js";import{_ as p}from"./B2MVZlI-.js";const i={base:"align-text-top"},v={__name:"ProseKbd",props:{value:{type:String,required:!0},class:{type:null,required:!1}},setup(e){const a=e,t=o(),l=c(()=>s({extend:s(i),...t.ui?.prose?.kbd||{}}));return(m,f)=>(n(),r(p,{value:e.value,class:u(l.value({class:a.class}))},null,8,["value","class"]))}};export{v as default};
@@ -1 +1 @@
1
- import{f as d}from"./iik6CYzq.js";import{a4 as n}from"./CvMqUdkl.js";const w=(f,r,t,...a)=>f[r]?n({...f,[r]:()=>d(f[r](),t?.unwrap||t?.mdcUnwrap)},r,t,...a):n(f,r,t,...a);export{w as r};
1
+ import{f as d}from"./iik6CYzq.js";import{a4 as n}from"./B63LIwsW.js";const w=(f,r,t,...a)=>f[r]?n({...f,[r]:()=>d(f[r](),t?.unwrap||t?.mdcUnwrap)},r,t,...a):n(f,r,t,...a);export{w as r};
@@ -1 +1 @@
1
- import{N as n,c,G as r,R as p,a4 as u,U as i,al as s}from"./CvMqUdkl.js";const m={base:"my-1.5 ps-1.5 leading-7 [&>ul]:my-0"},_={__name:"ProseLi",props:{class:{type:null,required:!1}},setup(e){const a=e,l=n(),o=c(()=>s({extend:s(m),...l.ui?.prose?.li||{}}));return(t,d)=>(p(),r("li",{class:i(o.value({class:a.class}))},[u(t.$slots,"default")],2))}};export{_ as default};
1
+ import{N as n,c,G as r,R as p,a4 as u,U as i,am as s}from"./B63LIwsW.js";const m={base:"my-1.5 ps-1.5 leading-7 [&>ul]:my-0"},_={__name:"ProseLi",props:{class:{type:null,required:!1}},setup(e){const a=e,l=n(),o=c(()=>s({extend:s(m),...l.ui?.prose?.li||{}}));return(t,d)=>(p(),r("li",{class:i(o.value({class:a.class}))},[u(t.$slots,"default")],2))}};export{_ as default};
@@ -1 +1 @@
1
- import{ac as i,c as d,G as t,R as n,a4 as a,C as p}from"./CvMqUdkl.js";const u=["id"],f=["href"],k={__name:"ProseH5",props:{id:{type:String,required:!1}},setup(r){const e=r,{headings:o}=i().public.mdc,c=d(()=>e.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h5));return(s,h)=>(n(),t("h5",{id:e.id},[e.id&&p(c)?(n(),t("a",{key:0,href:`#${e.id}`},[a(s.$slots,"default")],8,f)):a(s.$slots,"default",{key:1})],8,u))}};export{k as default};
1
+ import{ac as i,c as d,G as t,R as n,a4 as a,C as p}from"./B63LIwsW.js";const u=["id"],f=["href"],k={__name:"ProseH5",props:{id:{type:String,required:!1}},setup(r){const e=r,{headings:o}=i().public.mdc,c=d(()=>e.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h5));return(s,h)=>(n(),t("h5",{id:e.id},[e.id&&p(c)?(n(),t("a",{key:0,href:`#${e.id}`},[a(s.$slots,"default")],8,f)):a(s.$slots,"default",{key:1})],8,u))}};export{k as default};
@@ -1,4 +1,4 @@
1
- import{N as rc,c as Oe,al as Ei,K as te,cg as ic,Q as oc,R as He,S as ac,a4 as oa,U as sc,C as cc,a3 as uc,h as lc,ch as Di,a as Un,aP as fc,e as $e,ah as hc,G as Vn,f as oe,y as dc,q as Xn,D as ur,a2 as qn,aA as Vr,k as Xr}from"./CvMqUdkl.js";import{a as Gn,t as pt,c as ae,n as gc,g as Oi,d as mc,f as aa,e as pc}from"./C8ut0f5H.js";import{g as vc}from"./CqkleIqs.js";const yc={base:"relative",variants:{size:{xs:"",sm:"",md:"",lg:"",xl:""},orientation:{horizontal:"inline-flex -space-x-px",vertical:"flex flex-col -space-y-px"}}},Bm={__name:"UFieldGroup",props:{as:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(t){const e=t,n=rc(),r=Oe(()=>Ei({extend:Ei(yc),...n.ui?.fieldGroup||{}}));return te(ic,Oe(()=>({orientation:e.orientation,size:e.size}))),(i,o)=>(He(),oc(cc(uc),{as:t.as,"data-orientation":t.orientation,class:sc(r.value({orientation:t.orientation,class:e.class}))},{default:ac(()=>[oa(i.$slots,"default")]),_:3},8,["as","data-orientation","class"]))}};function Ne(t,e){const n=Gn(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=pt(t,e?.in),o=i.getDay(),a=(o<r?7:0)+o-r;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}function _n(t,e){return Ne(t,{...e,weekStartsOn:1})}function sa(t,e){const n=pt(t,e?.in),r=n.getFullYear(),i=ae(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const o=_n(i),a=ae(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=_n(a);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function $i(t,e){const n=pt(t,e?.in);return n.setHours(0,0,0,0),n}function xc(t,e,n){const[r,i]=gc(n?.in,t,e),o=$i(r),a=$i(i),s=+o-Oi(o),c=+a-Oi(a);return Math.round((s-c)/mc)}function wc(t,e){const n=sa(t,e),r=ae(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),_n(r)}function _c(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function bc(t){return!(!_c(t)&&typeof t!="number"||isNaN(+pt(t)))}function kc(t,e){const n=pt(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Tc(t,e){const n=pt(t,e?.in);return xc(n,kc(n))+1}function Sc(t,e){const n=pt(t,e?.in),r=+_n(n)-+wc(n);return Math.round(r/aa)+1}function ca(t,e){const n=pt(t,e?.in),r=n.getFullYear(),i=Gn(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=ae(e?.in||t,0);a.setFullYear(r+1,0,o),a.setHours(0,0,0,0);const s=Ne(a,e),c=ae(e?.in||t,0);c.setFullYear(r,0,o),c.setHours(0,0,0,0);const u=Ne(c,e);return+n>=+s?r+1:+n>=+u?r:r-1}function Cc(t,e){const n=Gn(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=ca(t,e),o=ae(e?.in||t,0);return o.setFullYear(i,0,r),o.setHours(0,0,0,0),Ne(o,e)}function Mc(t,e){const n=pt(t,e?.in),r=+Ne(n,e)-+Cc(n,e);return Math.round(r/aa)+1}function P(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const At={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return P(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):P(n+1,2)},d(t,e){return P(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(t,e){return P(t.getHours()%12||12,e.length)},H(t,e){return P(t.getHours(),e.length)},m(t,e){return P(t.getMinutes(),e.length)},s(t,e){return P(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return P(i,e.length)}},jt={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ni={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return At.y(t,e)},Y:function(t,e,n,r){const i=ca(t,r),o=i>0?i:1-i;if(e==="YY"){const a=o%100;return P(a,2)}return e==="Yo"?n.ordinalNumber(o,{unit:"year"}):P(o,e.length)},R:function(t,e){const n=sa(t);return P(n,e.length)},u:function(t,e){const n=t.getFullYear();return P(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return P(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return P(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return At.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return P(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const i=Mc(t,r);return e==="wo"?n.ordinalNumber(i,{unit:"week"}):P(i,e.length)},I:function(t,e,n){const r=Sc(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):P(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):At.d(t,e)},D:function(t,e,n){const r=Tc(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):P(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return P(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return P(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),i=r===0?7:r;switch(e){case"i":return String(i);case"ii":return P(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let i;switch(r===12?i=jt.noon:r===0?i=jt.midnight:i=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let i;switch(r>=17?i=jt.evening:r>=12?i=jt.afternoon:r>=4?i=jt.morning:i=jt.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return At.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):At.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):P(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):P(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):At.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):At.s(t,e)},S:function(t,e){return At.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return Fi(r);case"XXXX":case"XX":return Ft(r);default:return Ft(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return Fi(r);case"xxxx":case"xx":return Ft(r);default:return Ft(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Ri(r,":");default:return"GMT"+Ft(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Ri(r,":");default:return"GMT"+Ft(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return P(r,e.length)},T:function(t,e,n){return P(+t,e.length)}};function Ri(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=Math.trunc(r/60),o=r%60;return o===0?n+String(i):n+String(i)+e+P(o,2)}function Fi(t,e){return t%60===0?(t>0?"-":"+")+P(Math.abs(t)/60,2):Ft(t,e)}function Ft(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=P(Math.trunc(r/60),2),o=P(r%60,2);return n+i+e+o}const Pi=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},ua=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},Ac=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return Pi(t,e);let o;switch(r){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",Pi(r,e)).replace("{{time}}",ua(i,e))},Ec={p:ua,P:Ac},Dc=/^D+$/,Oc=/^Y+$/,$c=["D","DD","YY","YYYY"];function Nc(t){return Dc.test(t)}function Rc(t){return Oc.test(t)}function Fc(t,e,n){const r=Pc(t,e,n);if(console.warn(r),$c.includes(t))throw new RangeError(r)}function Pc(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Ic=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bc=/^'([^]*?)'?$/,zc=/''/g,Wc=/[a-zA-Z]/;function zm(t,e,n){const r=Gn(),i=r.locale??pc,o=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=pt(t,n?.in);if(!bc(s))throw new RangeError("Invalid time value");let c=e.match(Lc).map(l=>{const f=l[0];if(f==="p"||f==="P"){const h=Ec[f];return h(l,i.formatLong)}return l}).join("").match(Ic).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:Hc(l)};if(Ni[f])return{isToken:!0,value:l};if(f.match(Wc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));const u={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return c.map(l=>{if(!l.isToken)return l.value;const f=l.value;(Rc(f)||Nc(f))&&Fc(f,e,String(t));const h=Ni[f[0]];return h(s,f,i.localize,u)}).join("")}function Hc(t){const e=t.match(Bc);return e?e[1].replace(zc,"'"):t}var Tr="http://www.w3.org/1999/xhtml";const Ii={svg:"http://www.w3.org/2000/svg",xhtml:Tr,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Zn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ii.hasOwnProperty(e)?{space:Ii[e],local:t}:t}function Yc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Tr&&e.documentElement.namespaceURI===Tr?e.createElement(t):e.createElementNS(n,t)}}function Uc(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function la(t){var e=Zn(t);return(e.local?Uc:Yc)(e)}function Vc(){}function qr(t){return t==null?Vc:function(){return this.querySelector(t)}}function Xc(t){typeof t!="function"&&(t=qr(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],a=o.length,s=r[i]=new Array(a),c,u,l=0;l<a;++l)(c=o[l])&&(u=t.call(c,c.__data__,l,o))&&("__data__"in c&&(u.__data__=c.__data__),s[l]=u);return new rt(r,this._parents)}function qc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Gc(){return[]}function fa(t){return t==null?Gc:function(){return this.querySelectorAll(t)}}function Zc(t){return function(){return qc(t.apply(this,arguments))}}function Qc(t){typeof t=="function"?t=Zc(t):t=fa(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a=e[o],s=a.length,c,u=0;u<s;++u)(c=a[u])&&(r.push(t.call(c,c.__data__,u,a)),i.push(c));return new rt(r,i)}function ha(t){return function(){return this.matches(t)}}function da(t){return function(e){return e.matches(t)}}var Kc=Array.prototype.find;function jc(t){return function(){return Kc.call(this.children,t)}}function Jc(){return this.firstElementChild}function tu(t){return this.select(t==null?Jc:jc(typeof t=="function"?t:da(t)))}var eu=Array.prototype.filter;function nu(){return Array.from(this.children)}function ru(t){return function(){return eu.call(this.children,t)}}function iu(t){return this.selectAll(t==null?nu:ru(typeof t=="function"?t:da(t)))}function ou(t){typeof t!="function"&&(t=ha(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],a=o.length,s=r[i]=[],c,u=0;u<a;++u)(c=o[u])&&t.call(c,c.__data__,u,o)&&s.push(c);return new rt(r,this._parents)}function ga(t){return new Array(t.length)}function au(){return new rt(this._enter||this._groups.map(ga),this._parents)}function bn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}bn.prototype={constructor:bn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function su(t){return function(){return t}}function cu(t,e,n,r,i,o){for(var a=0,s,c=e.length,u=o.length;a<u;++a)(s=e[a])?(s.__data__=o[a],r[a]=s):n[a]=new bn(t,o[a]);for(;a<c;++a)(s=e[a])&&(i[a]=s)}function uu(t,e,n,r,i,o,a){var s,c,u=new Map,l=e.length,f=o.length,h=new Array(l),d;for(s=0;s<l;++s)(c=e[s])&&(h[s]=d=a.call(c,c.__data__,s,e)+"",u.has(d)?i[s]=c:u.set(d,c));for(s=0;s<f;++s)d=a.call(t,o[s],s,o)+"",(c=u.get(d))?(r[s]=c,c.__data__=o[s],u.delete(d)):n[s]=new bn(t,o[s]);for(s=0;s<l;++s)(c=e[s])&&u.get(h[s])===c&&(i[s]=c)}function lu(t){return t.__data__}function fu(t,e){if(!arguments.length)return Array.from(this,lu);var n=e?uu:cu,r=this._parents,i=this._groups;typeof t!="function"&&(t=su(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),u=0;u<o;++u){var l=r[u],f=i[u],h=f.length,d=hu(t.call(l,l&&l.__data__,u,r)),m=d.length,g=s[u]=new Array(m),v=a[u]=new Array(m),y=c[u]=new Array(h);n(l,f,g,v,y,d,e);for(var w=0,_=0,T,k;w<m;++w)if(T=g[w]){for(w>=_&&(_=w+1);!(k=v[_])&&++_<m;);T._next=k||null}}return a=new rt(a,r),a._enter=s,a._exit=c,a}function hu(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function du(){return new rt(this._exit||this._groups.map(ga),this._parents)}function gu(t,e,n){var r=this.enter(),i=this,o=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),n==null?o.remove():n(o),r&&i?r.merge(i).order():i}function mu(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),c=0;c<a;++c)for(var u=n[c],l=r[c],f=u.length,h=s[c]=new Array(f),d,m=0;m<f;++m)(d=u[m]||l[m])&&(h[m]=d);for(;c<i;++c)s[c]=n[c];return new rt(s,this._parents)}function pu(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,o=r[i],a;--i>=0;)(a=r[i])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function vu(t){t||(t=yu);function e(f,h){return f&&h?t(f.__data__,h.__data__):!f-!h}for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a=n[o],s=a.length,c=i[o]=new Array(s),u,l=0;l<s;++l)(u=a[l])&&(c[l]=u);c.sort(e)}return new rt(i,this._parents).order()}function yu(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function xu(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function wu(){return Array.from(this)}function _u(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null}function bu(){let t=0;for(const e of this)++t;return t}function ku(){return!this.node()}function Tu(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],o=0,a=i.length,s;o<a;++o)(s=i[o])&&t.call(s,s.__data__,o,i);return this}function Su(t){return function(){this.removeAttribute(t)}}function Cu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Mu(t,e){return function(){this.setAttribute(t,e)}}function Au(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Eu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Du(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Ou(t,e){var n=Zn(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?Cu:Su:typeof e=="function"?n.local?Du:Eu:n.local?Au:Mu)(n,e))}function ma(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $u(t){return function(){this.style.removeProperty(t)}}function Nu(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ru(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Fu(t,e,n){return arguments.length>1?this.each((e==null?$u:typeof e=="function"?Ru:Nu)(t,e,n??"")):se(this.node(),t)}function se(t,e){return t.style.getPropertyValue(e)||ma(t).getComputedStyle(t,null).getPropertyValue(e)}function Pu(t){return function(){delete this[t]}}function Iu(t,e){return function(){this[t]=e}}function Lu(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Bu(t,e){return arguments.length>1?this.each((e==null?Pu:typeof e=="function"?Lu:Iu)(t,e)):this.node()[t]}function pa(t){return t.trim().split(/^|\s+/)}function Gr(t){return t.classList||new va(t)}function va(t){this._node=t,this._names=pa(t.getAttribute("class")||"")}va.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ya(t,e){for(var n=Gr(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function xa(t,e){for(var n=Gr(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function zu(t){return function(){ya(this,t)}}function Wu(t){return function(){xa(this,t)}}function Hu(t,e){return function(){(e.apply(this,arguments)?ya:xa)(this,t)}}function Yu(t,e){var n=pa(t+"");if(arguments.length<2){for(var r=Gr(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?Hu:e?zu:Wu)(n,e))}function Uu(){this.textContent=""}function Vu(t){return function(){this.textContent=t}}function Xu(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function qu(t){return arguments.length?this.each(t==null?Uu:(typeof t=="function"?Xu:Vu)(t)):this.node().textContent}function Gu(){this.innerHTML=""}function Zu(t){return function(){this.innerHTML=t}}function Qu(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Ku(t){return arguments.length?this.each(t==null?Gu:(typeof t=="function"?Qu:Zu)(t)):this.node().innerHTML}function ju(){this.nextSibling&&this.parentNode.appendChild(this)}function Ju(){return this.each(ju)}function tl(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function el(){return this.each(tl)}function nl(t){var e=typeof t=="function"?t:la(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function rl(){return null}function il(t,e){var n=typeof t=="function"?t:la(t),r=e==null?rl:typeof e=="function"?e:qr(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function ol(){var t=this.parentNode;t&&t.removeChild(this)}function al(){return this.each(ol)}function sl(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function cl(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ul(t){return this.select(t?cl:sl)}function ll(t){return arguments.length?this.property("__data__",t):this.node().__data__}function fl(t){return function(e){t.call(this,e,this.__data__)}}function hl(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function dl(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,o;n<i;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++r]=o;++r?e.length=r:delete this.__on}}}function gl(t,e,n){return function(){var r=this.__on,i,o=fl(e);if(r){for(var a=0,s=r.length;a<s;++a)if((i=r[a]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=n),i.value=e;return}}this.addEventListener(t.type,o,n),i={type:t.type,name:t.name,value:e,listener:o,options:n},r?r.push(i):this.__on=[i]}}function ml(t,e,n){var r=hl(t+""),i,o=r.length,a;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,u=s.length,l;c<u;++c)for(i=0,l=s[c];i<o;++i)if((a=r[i]).type===l.type&&a.name===l.name)return l.value}return}for(s=e?gl:dl,i=0;i<o;++i)this.each(s(r[i],e,n));return this}function wa(t,e,n){var r=ma(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function pl(t,e){return function(){return wa(this,t,e)}}function vl(t,e){return function(){return wa(this,t,e.apply(this,arguments))}}function yl(t,e){return this.each((typeof e=="function"?vl:pl)(t,e))}function*xl(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length,a;i<o;++i)(a=r[i])&&(yield a)}var _a=[null];function rt(t,e){this._groups=t,this._parents=e}function Ye(){return new rt([[document.documentElement]],_a)}function wl(){return this}rt.prototype=Ye.prototype={constructor:rt,select:Xc,selectAll:Qc,selectChild:tu,selectChildren:iu,filter:ou,data:fu,enter:au,exit:du,join:gu,merge:mu,selection:wl,order:pu,sort:vu,call:xu,nodes:wu,node:_u,size:bu,empty:ku,each:Tu,attr:Ou,style:Fu,property:Bu,classed:Yu,text:qu,html:Ku,raise:Ju,lower:el,append:nl,insert:il,remove:al,clone:ul,datum:ll,on:ml,dispatch:yl,[Symbol.iterator]:xl};function kt(t){return typeof t=="string"?new rt([[document.querySelector(t)]],[document.documentElement]):new rt([[t]],_a)}function _l(t){let e;for(;e=t.sourceEvent;)t=e;return t}function kn(t,e){if(t=_l(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}var Me;(function(t){t[t.SVG=0]="SVG",t[t.HTML=1]="HTML"})(Me||(Me={}));var ce;(function(t){t.Fit="fit",t.Extend="extend",t.FitWidth="fit_width"})(ce||(ce={}));function Ae(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function bl(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Zr(t){let e,n,r;t.length!==2?(e=Ae,n=(s,c)=>Ae(t(s),c),r=(s,c)=>t(s)-c):(e=t===Ae||t===bl?t:kl,n=t,r=t);function i(s,c,u=0,l=s.length){if(u<l){if(e(c,c)!==0)return l;do{const f=u+l>>>1;n(s[f],c)<0?u=f+1:l=f}while(u<l)}return u}function o(s,c,u=0,l=s.length){if(u<l){if(e(c,c)!==0)return l;do{const f=u+l>>>1;n(s[f],c)<=0?u=f+1:l=f}while(u<l)}return u}function a(s,c,u=0,l=s.length){const f=i(s,c,u,l-1);return f>u&&r(s[f-1],c)>-r(s[f],c)?f-1:f}return{left:i,center:a,right:o}}function kl(){return 0}function ba(t){return t===null?NaN:+t}const ka=Zr(Ae),Ue=ka.right,Tl=ka.left;Zr(ba).center;function Sl(t,e){let n,r;for(const i of t)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));return[n,r]}class Li extends Map{constructor(e,n=Al){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[r,i]of e)this.set(r,i)}get(e){return super.get(Bi(this,e))}has(e){return super.has(Bi(this,e))}set(e,n){return super.set(Cl(this,e),n)}delete(e){return super.delete(Ml(this,e))}}function Bi({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function Cl({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function Ml({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function Al(t){return t!==null&&typeof t=="object"?t.valueOf():t}const El=Math.sqrt(50),Dl=Math.sqrt(10),Ol=Math.sqrt(2);function Tn(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=El?10:o>=Dl?5:o>=Ol?2:1;let s,c,u;return i<0?(u=Math.pow(10,-i)/a,s=Math.round(t*u),c=Math.round(e*u),s/u<t&&++s,c/u>e&&--c,u=-u):(u=Math.pow(10,i)*a,s=Math.round(t/u),c=Math.round(e/u),s*u<t&&++s,c*u>e&&--c),c<s&&.5<=n&&n<2?Tn(t,e,n*2):[s,c,u]}function Sr(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const r=e<t,[i,o,a]=r?Tn(e,t,n):Tn(t,e,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let u=0;u<s;++u)c[u]=(o-u)/-a;else for(let u=0;u<s;++u)c[u]=(o-u)*a;else if(a<0)for(let u=0;u<s;++u)c[u]=(i+u)/-a;else for(let u=0;u<s;++u)c[u]=(i+u)*a;return c}function Cr(t,e,n){return e=+e,t=+t,n=+n,Tn(t,e,n)[2]}function Mr(t,e,n){e=+e,t=+t,n=+n;const r=e<t,i=r?Cr(e,t,n):Cr(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function zi(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Wi(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function $l(t,e,n=ba){if(!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t),s=+n(t[o+1],o+1,t);return a+(s-a)*(i-o)}}function Nl(t,e){let n=0,r=0;if(e===void 0)for(let i of t)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let o of t)(o=e(o,++i,t))!=null&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function*Rl(t){for(const e of t)yield*e}function Fl(t){return Array.from(Rl(t))}function Pl(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(i);++r<i;)o[r]=t+r*n;return o}function Il(t,e){let n=0;if(e===void 0)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}function Ll(t,e,n){var r={},i=r.noTrailing,o=i===void 0?!1:i,a=r.noLeading,s=a===void 0?!1:a,c=r.debounceMode,u=c===void 0?void 0:c,l,f=!1,h=0;function d(){l&&clearTimeout(l)}function m(v){var y=v||{},w=y.upcomingOnly,_=w===void 0?!1:w;d(),f=!_}function g(){for(var v=arguments.length,y=new Array(v),w=0;w<v;w++)y[w]=arguments[w];var _=this,T=Date.now()-h;if(f)return;function k(){h=Date.now(),e.apply(_,y)}function p(){l=void 0}!s&&u&&!l&&k(),d(),u===void 0&&T>t?s?(h=Date.now(),o||(l=setTimeout(u?p:k,t))):k():o!==!0&&(l=setTimeout(u?p:k,u===void 0?t-T:t))}return g.cancel=m,g}var wt;(function(t){t.Left="left",t.Right="right",t.Auto="auto"})(wt||(wt={}));const ee=t=>typeof t=="number",Qr=t=>typeof t=="function",Ve=t=>Array.isArray(t),Bl=t=>t instanceof Object,Sn=t=>t.constructor.name!=="Function"&&t.constructor.name!=="Object",Hi=t=>Bl(t)&&!Ve(t)&&!Qr(t)&&!Sn(t),Wm=t=>[Object,Array].includes((t||{}).constructor)&&!Object.entries(t||{}).length,Yt=(t,e,n=[],r=new Set)=>{if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;if(r.has(t))return!0;r.add(t);for(let i=0;i<t.length;i++)if(!Yt(t[i],e[i],n,r))return!1;return!0}if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object")return!1;if(t===e)return!0;const i=Object.keys(t).filter(a=>!n.includes(a)),o=Object.keys(e).filter(a=>!n.includes(a));if(i.length!==o.length)return!1;if(r.has(t))return!0;r.add(t);for(const a of i)if(!Yt(t[a],e[a],n,r))return!1;return!0}return t===e},Ar=t=>t.flat(),Cn=(t,e=new Map)=>{if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array){const n=[];e.set(t,n);for(const r of t)n.push(e.has(r)?e.get(r):Cn(r,e));return n}if(Sn(t))return t;if(t instanceof Object){const n={};e.set(t,n);const r=t;return Object.keys(t).reduce((i,o)=>(i[o]=e.has(r[o])?e.get(r[o]):Cn(r[o],e),i),n),n}return t},ue=(t,e,n=new Map)=>{if(!t||!e||t===e)return t;const r=Sn(t)?t:Cn(t);return n.has(e)?n.get(e):(n.set(e,r),Object.keys(e).forEach(i=>{i==="__proto__"||i==="constructor"||(Hi(t[i])&&Hi(e[i])?r[i]=ue(t[i],e[i],n):Sn(e)?r[i]=e:r[i]=Cn(e[i]))}),r)},Mn=(t,e,n)=>Ll(e,t);function Ta(t,e,n){return Qr(e)?e(t,n):e}function zl(t,e,n){return Ta(t,e,n)}function X(t,e,n){return Ta(t,e,n)}function ve(t){return t.filter(e=>e&&!ee(e))}function Ot(t,e,n){return Math.min(Math.max(t,e),n)}function Hm(t,...e){if(!t)return[void 0,void 0];if(Ve(e)){let n=0,r=0;return t.forEach((i,o)=>{let a=0,s=0;for(const c of e){const u=X(i,c,o)||0;u>=0?a+=u:s+=u}a>r&&(r=a),s<n&&(n=s)}),[n,r]}}function Wl(t,e,...n){const r=[];let i=0,o=0;for(const a of n){const s=X(t,a,e)||0;s>=0?r.push(i+=s):r.push(o+=s)}return r}function Ym(t,e,n,r){const i=t.map((s,c)=>X(s,e,c)||0),o=n.map((s,c)=>{const u=Nl(t,(l,f)=>X(l,s,f)||0);return u===0&&Array.isArray(r)?r[c]:u<0}),a=n.map(()=>[]);return t.forEach((s,c)=>{let u=i[c],l=i[c];n.forEach((f,h)=>{const d=X(s,f,c)||0;d>=0?a[h].push([u,u+=d]):a[h].push([l,l+=d])})}),a.forEach((s,c)=>{s.isMostlyNegative=o[c]}),a}function Hl(t,...e){return t?Wi(t,(r,i)=>Wi(e,o=>X(r,o,i))):void 0}function Yl(t,...e){return t?zi(t,(r,i)=>zi(e,o=>X(r,o,i))):void 0}function lr(t,...e){return[Hl(t,...e),Yl(t,...e)]}function An(t,e,n,r=wt.Auto){if(t.length<=1)return t[0];const o=t.map((c,u)=>[c,u]).sort(([c,u],[l,f])=>X(c,n,u)-X(l,n,f)),a=o.map(([c,u])=>X(c,n,u)),s=r===wt.Right?Tl(a,e,0,t.length-1):Ue(a,e,1,t.length);return r===wt.Right?o[s][0]:r===wt.Left?o[s-1][0]:e-a[s-1]>a[s]-e?o[s][0]:o[s-1][0]}function Ul(t,e,n,r=!1){if(!n)return[];const i=t.filter((o,a)=>{const s=X(o,n,a);return s>=e[0]&&s<=e[1]});if(r){if(i.length===0){const f=An(t,e[0],n,wt.Left),h=An(t,e[1],n,wt.Right);return[f,h].filter(Boolean)}const o=i[0],a=i[i.length-1],s=t.findIndex(f=>f===o),c=t.findIndex(f=>f===a),u=Math.max(0,s-1),l=Math.min(t.length-1,c+1);return t.slice(u,l+1)}return i}var Bt=[],Vl=function(){return Bt.some(function(t){return t.activeTargets.length>0})},Xl=function(){return Bt.some(function(t){return t.skippedTargets.length>0})},Yi="ResizeObserver loop completed with undelivered notifications.",ql=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:Yi}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=Yi),window.dispatchEvent(t)},Re;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Re||(Re={}));var zt=function(t){return Object.freeze(t)},Gl=(function(){function t(e,n){this.inlineSize=e,this.blockSize=n,zt(this)}return t})(),Sa=(function(){function t(e,n,r,i){return this.x=e,this.y=n,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,zt(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,i=e.top,o=e.right,a=e.bottom,s=e.left,c=e.width,u=e.height;return{x:n,y:r,top:i,right:o,bottom:a,left:s,width:c,height:u}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t})(),Kr=function(t){return t instanceof SVGElement&&"getBBox"in t},Ca=function(t){if(Kr(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var i=t,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||t.getClientRects().length)},Ui=function(t){var e;if(t instanceof Element)return!0;var n=(e=t?.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Zl=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Ee=typeof window<"u"?window:{},Ke=new WeakMap,Vi=/auto|scroll/,Ql=/^tb|vertical/,Kl=/msie|trident/i.test(Ee.navigator&&Ee.navigator.userAgent),ht=function(t){return parseFloat(t||"0")},ne=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Gl((n?e:t)||0,(n?t:e)||0)},Xi=zt({devicePixelContentBoxSize:ne(),borderBoxSize:ne(),contentBoxSize:ne(),contentRect:new Sa(0,0,0,0)}),Ma=function(t,e){if(e===void 0&&(e=!1),Ke.has(t)&&!e)return Ke.get(t);if(Ca(t))return Ke.set(t,Xi),Xi;var n=getComputedStyle(t),r=Kr(t)&&t.ownerSVGElement&&t.getBBox(),i=!Kl&&n.boxSizing==="border-box",o=Ql.test(n.writingMode||""),a=!r&&Vi.test(n.overflowY||""),s=!r&&Vi.test(n.overflowX||""),c=r?0:ht(n.paddingTop),u=r?0:ht(n.paddingRight),l=r?0:ht(n.paddingBottom),f=r?0:ht(n.paddingLeft),h=r?0:ht(n.borderTopWidth),d=r?0:ht(n.borderRightWidth),m=r?0:ht(n.borderBottomWidth),g=r?0:ht(n.borderLeftWidth),v=f+u,y=c+l,w=g+d,_=h+m,T=s?t.offsetHeight-_-t.clientHeight:0,k=a?t.offsetWidth-w-t.clientWidth:0,p=i?v+w:0,b=i?y+_:0,I=r?r.width:ht(n.width)-p-k,F=r?r.height:ht(n.height)-b-T,E=I+v+k+w,Y=F+y+T+_,M=zt({devicePixelContentBoxSize:ne(Math.round(I*devicePixelRatio),Math.round(F*devicePixelRatio),o),borderBoxSize:ne(E,Y,o),contentBoxSize:ne(I,F,o),contentRect:new Sa(f,c,I,F)});return Ke.set(t,M),M},Aa=function(t,e,n){var r=Ma(t,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(e){case Re.DEVICE_PIXEL_CONTENT_BOX:return a;case Re.BORDER_BOX:return i;default:return o}},jl=(function(){function t(e){var n=Ma(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=zt([n.borderBoxSize]),this.contentBoxSize=zt([n.contentBoxSize]),this.devicePixelContentBoxSize=zt([n.devicePixelContentBoxSize])}return t})(),Ea=function(t){if(Ca(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Jl=function(){var t=1/0,e=[];Bt.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(u){var l=new jl(u.target),f=Ea(u.target);s.push(l),u.lastReportedSize=Aa(u.target,u.observedBox),f<t&&(t=f)}),e.push(function(){a.callback.call(a.observer,s,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var i=r[n];i()}return t},qi=function(t){Bt.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(i){i.isActive()&&(Ea(i.target)>t?n.activeTargets.push(i):n.skippedTargets.push(i))})})},tf=function(){var t=0;for(qi(t);Vl();)t=Jl(),qi(t);return Xl()&&ql(),t>0},fr,Da=[],ef=function(){return Da.splice(0).forEach(function(t){return t()})},nf=function(t){if(!fr){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return ef()}).observe(n,r),fr=function(){n.textContent="".concat(e?e--:e++)}}Da.push(t),fr()},rf=function(t){nf(function(){requestAnimationFrame(t)})},sn=0,of=function(){return!!sn},af=250,sf={attributes:!0,characterData:!0,childList:!0,subtree:!0},Gi=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Zi=function(t){return t===void 0&&(t=0),Date.now()+t},hr=!1,cf=(function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=af),!hr){hr=!0;var r=Zi(e);rf(function(){var i=!1;try{i=tf()}finally{if(hr=!1,e=r-Zi(),!of())return;i?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,sf)};document.body?n():Ee.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Gi.forEach(function(n){return Ee.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Gi.forEach(function(n){return Ee.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t})(),Er=new cf,Qi=function(t){!sn&&t>0&&Er.start(),sn+=t,!sn&&Er.stop()},uf=function(t){return!Kr(t)&&!Zl(t)&&getComputedStyle(t).display==="inline"},lf=(function(){function t(e,n){this.target=e,this.observedBox=n||Re.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=Aa(this.target,this.observedBox,!0);return uf(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t})(),ff=(function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t})(),je=new WeakMap,Ki=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Je=(function(){function t(){}return t.connect=function(e,n){var r=new ff(e,n);je.set(e,r)},t.observe=function(e,n,r){var i=je.get(e),o=i.observationTargets.length===0;Ki(i.observationTargets,n)<0&&(o&&Bt.push(i),i.observationTargets.push(new lf(n,r&&r.box)),Qi(1),Er.schedule())},t.unobserve=function(e,n){var r=je.get(e),i=Ki(r.observationTargets,n),o=r.observationTargets.length===1;i>=0&&(o&&Bt.splice(Bt.indexOf(r),1),r.observationTargets.splice(i,1),Qi(-1))},t.disconnect=function(e){var n=this,r=je.get(e);r.observationTargets.slice().forEach(function(i){return n.unobserve(e,i.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t})(),hf=(function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Je.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Je.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Je.unobserve(this,e)},t.prototype.disconnect=function(){Je.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t})();const df=globalThis.ResizeObserver||hf,Oa={duration:void 0,margin:{top:0,bottom:0,left:0,right:0},padding:{top:0,bottom:0,left:0,right:0},sizing:ce.Fit,width:void 0,height:void 0,svgDefs:void 0,ariaLabel:void 0};class Fe{constructor(e){this._defaultConfig=Oa,this._isFirstRender=!0,this._renderAnimationFrameId=null,this._container=e;const n=kt(this._container);n.attr("role","figure"),this.svg=n.append("svg").style("display","block").attr("xmlns","http://www.w3.org/2000/svg").attr("height",Fe.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden",!0),this._svgDefs=this.svg.append("defs"),this._svgDefsExternal=this.svg.append("defs"),this.element=this.svg.node()}updateContainer(e){var n;this.prevConfig=this.config,this.config=ue(this._defaultConfig,e),e?.svgDefs!==((n=this.prevConfig)===null||n===void 0?void 0:n.svgDefs)&&(this._svgDefsExternal.selectAll("*").remove(),this._svgDefsExternal.html(e.svgDefs))}_preRender(){}_render(e){const{config:n}=this;kt(this._container).attr("aria-label",n.ariaLabel),this._isFirstRender=!1}render(e=this.config.duration){const n=this.config.width||this.containerWidth,r=this.config.height||this.containerHeight;this.svg.attr("width",n).attr("height",r),this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}get containerWidth(){return this.config.width?this.element.clientWidth:this._container.clientWidth||this._container.getBoundingClientRect().width}get containerHeight(){return this.config.height?this.element.clientHeight:this._container.clientHeight||this._container.getBoundingClientRect().height||Fe.DEFAULT_CONTAINER_HEIGHT}get width(){return Ot(this.containerWidth-this.config.margin.left-this.config.margin.right,0,Number.POSITIVE_INFINITY)}get height(){return Ot(this.containerHeight-this.config.margin.top-this.config.margin.bottom,0,Number.POSITIVE_INFINITY)}_removeAllChildren(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild)}_onResize(){const{config:e}=this;(e.sizing===ce.Fit||e.sizing===ce.FitWidth)&&this.render(0)}_setUpResizeObserver(){if(this._resizeObserver)return;const e=this._container.getBoundingClientRect();this._containerSize={width:e.width,height:e.height},this._resizeObserver=new df((n,r)=>{cancelAnimationFrame(this._resizeObserverAnimationFrameId),this._resizeObserverAnimationFrameId=requestAnimationFrame(()=>{const i=this._container.getBoundingClientRect(),o={width:i.width,height:i.height};!Yt(this._containerSize,o)&&o.width&&o.height&&(this._containerSize=o,this._onResize())})}),this._resizeObserver.observe(this._container)}destroy(){var e;cancelAnimationFrame(this._renderAnimationFrameId),cancelAnimationFrame(this._resizeObserverAnimationFrameId),(e=this._resizeObserver)===null||e===void 0||e.disconnect(),this.svg.remove()}}Fe.DEFAULT_CONTAINER_HEIGHT=300;function gf(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function mf(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var pf=(function(){function t(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(mf(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=gf(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},e.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},t})(),Z="-ms-",En="-moz-",N="-webkit-",$a="comm",jr="rule",Jr="decl",vf="@import",Na="@keyframes",yf="@layer",xf=Math.abs,Qn=String.fromCharCode,wf=Object.assign;function _f(t,e){return V(t,0)^45?(((e<<2^V(t,0))<<2^V(t,1))<<2^V(t,2))<<2^V(t,3):0}function Ra(t){return t.trim()}function bf(t,e){return(t=e.exec(t))?t[0]:t}function R(t,e,n){return t.replace(e,n)}function Dr(t,e){return t.indexOf(e)}function V(t,e){return t.charCodeAt(e)|0}function Pe(t,e,n){return t.slice(e,n)}function dt(t){return t.length}function ti(t){return t.length}function tn(t,e){return e.push(t),t}function kf(t,e){return t.map(e).join("")}var Kn=1,le=1,Fa=0,J=0,z=0,me="";function jn(t,e,n,r,i,o,a){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:Kn,column:le,length:a,return:""}}function ye(t,e){return wf(jn("",null,null,"",null,null,0),t,{length:-t.length},e)}function Tf(){return z}function Sf(){return z=J>0?V(me,--J):0,le--,z===10&&(le=1,Kn--),z}function nt(){return z=J<Fa?V(me,J++):0,le++,z===10&&(le=1,Kn++),z}function gt(){return V(me,J)}function cn(){return J}function Xe(t,e){return Pe(me,t,e)}function Ie(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pa(t){return Kn=le=1,Fa=dt(me=t),J=0,[]}function Ia(t){return me="",t}function un(t){return Ra(Xe(J-1,Or(t===91?t+2:t===40?t+1:t)))}function Cf(t){for(;(z=gt())&&z<33;)nt();return Ie(t)>2||Ie(z)>3?"":" "}function Mf(t,e){for(;--e&&nt()&&!(z<48||z>102||z>57&&z<65||z>70&&z<97););return Xe(t,cn()+(e<6&&gt()==32&&nt()==32))}function Or(t){for(;nt();)switch(z){case t:return J;case 34:case 39:t!==34&&t!==39&&Or(z);break;case 40:t===41&&Or(t);break;case 92:nt();break}return J}function Af(t,e){for(;nt()&&t+z!==57;)if(t+z===84&&gt()===47)break;return"/*"+Xe(e,J-1)+"*"+Qn(t===47?t:nt())}function Ef(t){for(;!Ie(gt());)nt();return Xe(t,J)}function Df(t){return Ia(ln("",null,null,null,[""],t=Pa(t),0,[0],t))}function ln(t,e,n,r,i,o,a,s,c){for(var u=0,l=0,f=a,h=0,d=0,m=0,g=1,v=1,y=1,w=0,_="",T=i,k=o,p=r,b=_;v;)switch(m=w,w=nt()){case 40:if(m!=108&&V(b,f-1)==58){Dr(b+=R(un(w),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:b+=un(w);break;case 9:case 10:case 13:case 32:b+=Cf(m);break;case 92:b+=Mf(cn()-1,7);continue;case 47:switch(gt()){case 42:case 47:tn(Of(Af(nt(),cn()),e,n),c);break;default:b+="/"}break;case 123*g:s[u++]=dt(b)*y;case 125*g:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+l:y==-1&&(b=R(b,/\f/g,"")),d>0&&dt(b)-f&&tn(d>32?Ji(b+";",r,n,f-1):Ji(R(b," ","")+";",r,n,f-2),c);break;case 59:b+=";";default:if(tn(p=ji(b,e,n,u,l,i,s,_,T=[],k=[],f),o),w===123)if(l===0)ln(b,e,p,p,T,o,f,s,k);else switch(h===99&&V(b,3)===110?100:h){case 100:case 108:case 109:case 115:ln(t,p,p,r&&tn(ji(t,p,p,0,0,i,s,_,i,T=[],f),k),i,k,f,s,r?T:k);break;default:ln(b,p,p,p,[""],k,0,s,k)}}u=l=d=0,g=y=1,_=b="",f=a;break;case 58:f=1+dt(b),d=m;default:if(g<1){if(w==123)--g;else if(w==125&&g++==0&&Sf()==125)continue}switch(b+=Qn(w),w*g){case 38:y=l>0?1:(b+="\f",-1);break;case 44:s[u++]=(dt(b)-1)*y,y=1;break;case 64:gt()===45&&(b+=un(nt())),h=gt(),l=f=dt(_=b+=Ef(cn())),w++;break;case 45:m===45&&dt(b)==2&&(g=0)}}return o}function ji(t,e,n,r,i,o,a,s,c,u,l){for(var f=i-1,h=i===0?o:[""],d=ti(h),m=0,g=0,v=0;m<r;++m)for(var y=0,w=Pe(t,f+1,f=xf(g=a[m])),_=t;y<d;++y)(_=Ra(g>0?h[y]+" "+w:R(w,/&\f/g,h[y])))&&(c[v++]=_);return jn(t,e,n,i===0?jr:s,c,u,l)}function Of(t,e,n){return jn(t,e,n,$a,Qn(Tf()),Pe(t,2,-2),0)}function Ji(t,e,n,r){return jn(t,e,n,Jr,Pe(t,0,r),Pe(t,r+1,-1),r)}function re(t,e){for(var n="",r=ti(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function $f(t,e,n,r){switch(t.type){case yf:if(t.children.length)break;case vf:case Jr:return t.return=t.return||t.value;case $a:return"";case Na:return t.return=t.value+"{"+re(t.children,r)+"}";case jr:t.value=t.props.join(",")}return dt(n=re(t.children,r))?t.return=t.value+"{"+n+"}":""}function Nf(t){var e=ti(t);return function(n,r,i,o){for(var a="",s=0;s<e;s++)a+=t[s](n,r,i,o)||"";return a}}function Rf(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ff(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Pf=function(e,n,r){for(var i=0,o=0;i=o,o=gt(),i===38&&o===12&&(n[r]=1),!Ie(o);)nt();return Xe(e,J)},If=function(e,n){var r=-1,i=44;do switch(Ie(i)){case 0:i===38&&gt()===12&&(n[r]=1),e[r]+=Pf(J-1,n,r);break;case 2:e[r]+=un(i);break;case 4:if(i===44){e[++r]=gt()===58?"&\f":"",n[r]=e[r].length;break}default:e[r]+=Qn(i)}while(i=nt());return e},Lf=function(e,n){return Ia(If(Pa(e),n))},to=new WeakMap,Bf=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!to.get(r))&&!i){to.set(e,!0);for(var o=[],a=Lf(n,o),s=r.props,c=0,u=0;c<a.length;c++)for(var l=0;l<s.length;l++,u++)e.props[u]=o[c]?a[c].replace(/&\f/g,s[l]):s[l]+" "+a[c]}}},zf=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function La(t,e){switch(_f(t,e)){case 5103:return N+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return N+t+En+t+Z+t+t;case 6828:case 4268:return N+t+Z+t+t;case 6165:return N+t+Z+"flex-"+t+t;case 5187:return N+t+R(t,/(\w+).+(:[^]+)/,N+"box-$1$2"+Z+"flex-$1$2")+t;case 5443:return N+t+Z+"flex-item-"+R(t,/flex-|-self/,"")+t;case 4675:return N+t+Z+"flex-line-pack"+R(t,/align-content|flex-|-self/,"")+t;case 5548:return N+t+Z+R(t,"shrink","negative")+t;case 5292:return N+t+Z+R(t,"basis","preferred-size")+t;case 6060:return N+"box-"+R(t,"-grow","")+N+t+Z+R(t,"grow","positive")+t;case 4554:return N+R(t,/([^-])(transform)/g,"$1"+N+"$2")+t;case 6187:return R(R(R(t,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),t,"")+t;case 5495:case 3959:return R(t,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return R(R(t,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+Z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+t+t;case 4095:case 3583:case 4068:case 2532:return R(t,/(.+)-inline(.+)/,N+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(dt(t)-1-e>6)switch(V(t,e+1)){case 109:if(V(t,e+4)!==45)break;case 102:return R(t,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+En+(V(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Dr(t,"stretch")?La(R(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(V(t,e+1)!==115)break;case 6444:switch(V(t,dt(t)-3-(~Dr(t,"!important")&&10))){case 107:return R(t,":",":"+N)+t;case 101:return R(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(V(t,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+Z+"$2box$3")+t}break;case 5936:switch(V(t,e+11)){case 114:return N+t+Z+R(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return N+t+Z+R(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return N+t+Z+R(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return N+t+Z+t+t}return t}var Wf=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case Jr:e.return=La(e.value,e.length);break;case Na:return re([ye(e,{value:R(e.value,"@","@"+N)})],i);case jr:if(e.length)return kf(e.props,function(o){switch(bf(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return re([ye(e,{props:[R(o,/:(read-\w+)/,":"+En+"$1")]})],i);case"::placeholder":return re([ye(e,{props:[R(o,/:(plac\w+)/,":"+N+"input-$1")]}),ye(e,{props:[R(o,/:(plac\w+)/,":"+En+"$1")]}),ye(e,{props:[R(o,/:(plac\w+)/,Z+"input-$1")]})],i)}return""})}},Hf=[Wf],Yf=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=e.stylisPlugins||Hf,o={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)o[v[y]]=!0;s.push(g)});var c,u=[Bf,zf];{var l,f=[$f,Rf(function(g){l.insert(g)})],h=Nf(u.concat(i,f)),d=function(v){return re(Df(v),h)};c=function(v,y,w,_){l=w,d(v?v+"{"+y.styles+"}":y.styles),_&&(m.inserted[y.name]=!0)}}var m={key:n,sheet:new pf({key:n,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:c};return m.sheet.hydrate(s),m};function Uf(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Vf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Xf=/[A-Z]|^ms/g,qf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ba=function(e){return e.charCodeAt(1)===45},eo=function(e){return e!=null&&typeof e!="boolean"},dr=Ff(function(t){return Ba(t)?t:t.replace(Xf,"-$&").toLowerCase()}),no=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(qf,function(r,i,o){return $t={name:i,styles:o,next:$t},i})}return Vf[e]!==1&&!Ba(e)&&typeof n=="number"&&n!==0?n+"px":n};function Dn(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return $t={name:i.name,styles:i.styles,next:$t},i.name;var o=n;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)$t={name:a.name,styles:a.styles,next:$t},a=a.next;var s=o.styles+";";return s}return Gf(t,e,n)}}var c=n;if(e==null)return c;var u=e[c];return u!==void 0?u:c}function Gf(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Dn(t,e,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object"){var s=a;e!=null&&e[s]!==void 0?r+=o+"{"+e[s]+"}":eo(s)&&(r+=dr(o)+":"+no(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(e==null||e[a[0]]===void 0))for(var c=0;c<a.length;c++)eo(a[c])&&(r+=dr(o)+":"+no(o,a[c])+";");else{var u=Dn(t,e,a);switch(o){case"animation":case"animationName":{r+=dr(o)+":"+u+";";break}default:r+=o+"{"+u+"}"}}}return r}var ro=/label:\s*([^\s;{]+)\s*(;|$)/g,$t;function gr(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,i="";$t=void 0;var o=t[0];if(o==null||o.raw===void 0)r=!1,i+=Dn(n,e,o);else{var a=o;i+=a[0]}for(var s=1;s<t.length;s++)if(i+=Dn(n,e,t[s]),r){var c=o;i+=c[s]}ro.lastIndex=0;for(var u="",l;(l=ro.exec(i))!==null;)u+="-"+l[1];var f=Uf(i)+u;return{name:f,styles:i,next:$t}}function za(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):i&&(r+=i+" ")}),r}var Zf=function(e,n,r){var i=e.key+"-"+n.name;e.registered[i]===void 0&&(e.registered[i]=n.styles)},Qf=function(e,n,r){Zf(e,n);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+i:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function io(t,e){if(t.inserted[e.name]===void 0)return t.insert("",e,t.sheet,!0)}function oo(t,e,n){var r=[],i=za(t,r,n);return r.length<2?n:i+e(r)}var Kf=function(e){var n=Yf(e);n.sheet.speedy=function(s){this.isSpeedy=s},n.compat=!0;var r=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var f=gr(u,n.registered,void 0);return Qf(n,f),n.key+"-"+f.name},i=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var f=gr(u,n.registered),h="animation-"+f.name;return io(n,{name:f.name,styles:"@keyframes "+h+"{"+f.styles+"}"}),h},o=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var f=gr(u,n.registered);io(n,f)},a=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];return oo(n.registered,r,jf(u))};return{css:r,cx:a,injectGlobal:o,keyframes:i,hydrate:function(c){c.forEach(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:za.bind(null,n.registered),merge:oo.bind(null,n.registered,r)}},jf=function t(e){for(var n="",r=0;r<e.length;r++){var i=e[r];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=t(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},Wa=Kf({key:"css"}),Jn=Wa.injectGlobal,W=Wa.css,mr,ao;function Jf(){return ao||(ao=1,mr=function(e,n){n||(n=[0,""]),e=String(e);var r=parseFloat(e,10);return n[0]=r,n[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",n}),mr}var pr,so;function th(){if(so)return pr;so=1;var t=Jf();pr=i;var e=r("in",document.body);function n(o,a){var s=t(getComputedStyle(o).getPropertyValue(a));return s[0]*i(s[1],o)}function r(o,a){var s=document.createElement("div");s.style.height="128"+o,a.appendChild(s);var c=n(s,"height")/128;return a.removeChild(s),c}function i(o,a){if(!o)return null;switch(a=a||document.body,o=(o+""||"px").trim().toLowerCase(),(a===window||a===document)&&(a=document.body),o){case"%":return a.clientHeight/100;case"ch":case"ex":return r(o,a);case"em":return n(a,"font-size");case"rem":return n(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return e;case"cm":return e/2.54;case"mm":return e/25.4;case"pt":return e/72;case"pc":return e/6;case"px":return 1}var s=t(o);if(!isNaN(s[0])&&s[1]){var c=i(s[1],a);return typeof c=="number"?s[0]*c:null}return null}return pr}th();function Ha(){const t=()=>Math.floor((1+crypto.getRandomValues(new Uint32Array(1))[0])*65536).toString(16).substring(1);return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`}function eh(t,e){const n=t.substr(4,t.length-5);return getComputedStyle(e).getPropertyValue(n)}function nh(t,e,n=0){const[r,i,o,a]=[t.x+n,t.y+t.height-2*n,t.x+t.width-2*n,t.y+n],[s,c,u,l]=[e.x+n,e.y+e.height-2*n,e.x+e.width-2*n,e.y+n];return!(i<l||c<a||o<s||u<r)}function ei(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ya(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function qe(){}var Le=.7,On=1/Le,ie="\\s*([+-]?\\d+)\\s*",Be="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",mt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",rh=/^#([0-9a-f]{3,8})$/,ih=new RegExp(`^rgb\\(${ie},${ie},${ie}\\)$`),oh=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),ah=new RegExp(`^rgba\\(${ie},${ie},${ie},${Be}\\)$`),sh=new RegExp(`^rgba\\(${mt},${mt},${mt},${Be}\\)$`),ch=new RegExp(`^hsl\\(${Be},${mt},${mt}\\)$`),uh=new RegExp(`^hsla\\(${Be},${mt},${mt},${Be}\\)$`),co={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ei(qe,Ut,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:uo,formatHex:uo,formatHex8:lh,formatHsl:fh,formatRgb:lo,toString:lo});function uo(){return this.rgb().formatHex()}function lh(){return this.rgb().formatHex8()}function fh(){return Ua(this).formatHsl()}function lo(){return this.rgb().formatRgb()}function Ut(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=rh.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?fo(e):n===3?new K(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?en(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?en(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=ih.exec(t))?new K(e[1],e[2],e[3],1):(e=oh.exec(t))?new K(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=ah.exec(t))?en(e[1],e[2],e[3],e[4]):(e=sh.exec(t))?en(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=ch.exec(t))?mo(e[1],e[2]/100,e[3]/100,1):(e=uh.exec(t))?mo(e[1],e[2]/100,e[3]/100,e[4]):co.hasOwnProperty(t)?fo(co[t]):t==="transparent"?new K(NaN,NaN,NaN,0):null}function fo(t){return new K(t>>16&255,t>>8&255,t&255,1)}function en(t,e,n,r){return r<=0&&(t=e=n=NaN),new K(t,e,n,r)}function hh(t){return t instanceof qe||(t=Ut(t)),t?(t=t.rgb(),new K(t.r,t.g,t.b,t.opacity)):new K}function $r(t,e,n,r){return arguments.length===1?hh(t):new K(t,e,n,r??1)}function K(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}ei(K,$r,Ya(qe,{brighter(t){return t=t==null?On:Math.pow(On,t),new K(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Le:Math.pow(Le,t),new K(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new K(Wt(this.r),Wt(this.g),Wt(this.b),$n(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ho,formatHex:ho,formatHex8:dh,formatRgb:go,toString:go}));function ho(){return`#${Pt(this.r)}${Pt(this.g)}${Pt(this.b)}`}function dh(){return`#${Pt(this.r)}${Pt(this.g)}${Pt(this.b)}${Pt((isNaN(this.opacity)?1:this.opacity)*255)}`}function go(){const t=$n(this.opacity);return`${t===1?"rgb(":"rgba("}${Wt(this.r)}, ${Wt(this.g)}, ${Wt(this.b)}${t===1?")":`, ${t})`}`}function $n(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Wt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Pt(t){return t=Wt(t),(t<16?"0":"")+t.toString(16)}function mo(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new st(t,e,n,r)}function Ua(t){if(t instanceof st)return new st(t.h,t.s,t.l,t.opacity);if(t instanceof qe||(t=Ut(t)),!t)return new st;if(t instanceof st)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(e===o?a=(n-r)/s+(n<r)*6:n===o?a=(r-e)/s+2:a=(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new st(a,s,c,t.opacity)}function ni(t,e,n,r){return arguments.length===1?Ua(t):new st(t,e,n,r??1)}function st(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}ei(st,ni,Ya(qe,{brighter(t){return t=t==null?On:Math.pow(On,t),new st(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Le:Math.pow(Le,t),new st(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new K(vr(t>=240?t-240:t+120,i,r),vr(t,i,r),vr(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new st(po(this.h),nn(this.s),nn(this.l),$n(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=$n(this.opacity);return`${t===1?"hsl(":"hsla("}${po(this.h)}, ${nn(this.s)*100}%, ${nn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function po(t){return t=(t||0)%360,t<0?t+360:t}function nn(t){return Math.max(0,Math.min(1,t||0))}function vr(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const ke=globalThis?.UNOVIS_COLORS||["#4D8CFD","#FF6B7E","#F4B83E","#A6CC74","#00C19A","#6859BE"],gh=globalThis?.UNOVIS_COLORS_DARK||["#4D8CFD","#FF6B7E","#FFC16D","#A6CC74","#00C19A","#7887E0"],Et=t=>`--vis-${ee(t)?`color${t%ke.length}`:t}`;function mh(t,e=.4){const n=ni(t);return n.l=n.l*(1+e),n.formatHex()}function ph(t,e=.4,n=.6){const r=ni(t);return r.s=r.s*(1-n),r.l=r.l*(1-e),r.formatHex()}const Nn=10,Nr=[{id:"stripes-diagonal",svg:'<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>'},{id:"dots",svg:'<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>'},{id:"stripes-vertical",svg:'<path d="M 5,-1 L5,11" stroke="#000"/>'},{id:"crosshatch",svg:'<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>'},{id:"waves",svg:'<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>'},{id:"circles",svg:'<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>'}],Rr=[{id:"circle",marker:'<circle cx="5" cy="5" r="5"/>',dashArray:[]},{id:"triangle",marker:'<path d="M5,0 L10,9 L0,9Z">',dashArray:[9,1]},{id:"diamond",marker:'<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">',dashArray:[2]},{id:"arrow",marker:'<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">',dashArray:[2,3,8,3]},{id:"square",marker:'<rect x="1" y="1" width="8" height="8"/>',dashArray:[6]},{id:"star",marker:'<path d="m2 9 3-9 3 9L0 3h10Z"/>',dashArray:[1,6]}];function Dt(t){return`vis-${`pattern-${t.svg?"fill":"marker"}`}-${t.id}`}const vh=t=>`<mask id="${Dt(t)}">
1
+ import{N as rc,c as Oe,am as Ei,K as te,cg as ic,Q as oc,R as He,S as ac,a4 as oa,U as sc,C as cc,a3 as uc,h as lc,ch as Di,a as Un,aP as fc,e as $e,ah as hc,G as Vn,f as oe,y as dc,q as Xn,D as ur,a2 as qn,aA as Vr,k as Xr}from"./B63LIwsW.js";import{a as Gn,t as pt,c as ae,n as gc,g as Oi,d as mc,f as aa,e as pc}from"./C8ut0f5H.js";import{g as vc}from"./CqkleIqs.js";const yc={base:"relative",variants:{size:{xs:"",sm:"",md:"",lg:"",xl:""},orientation:{horizontal:"inline-flex -space-x-px",vertical:"flex flex-col -space-y-px"}}},Bm={__name:"UFieldGroup",props:{as:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(t){const e=t,n=rc(),r=Oe(()=>Ei({extend:Ei(yc),...n.ui?.fieldGroup||{}}));return te(ic,Oe(()=>({orientation:e.orientation,size:e.size}))),(i,o)=>(He(),oc(cc(uc),{as:t.as,"data-orientation":t.orientation,class:sc(r.value({orientation:t.orientation,class:e.class}))},{default:ac(()=>[oa(i.$slots,"default")]),_:3},8,["as","data-orientation","class"]))}};function Ne(t,e){const n=Gn(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=pt(t,e?.in),o=i.getDay(),a=(o<r?7:0)+o-r;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}function _n(t,e){return Ne(t,{...e,weekStartsOn:1})}function sa(t,e){const n=pt(t,e?.in),r=n.getFullYear(),i=ae(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const o=_n(i),a=ae(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=_n(a);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function $i(t,e){const n=pt(t,e?.in);return n.setHours(0,0,0,0),n}function xc(t,e,n){const[r,i]=gc(n?.in,t,e),o=$i(r),a=$i(i),s=+o-Oi(o),c=+a-Oi(a);return Math.round((s-c)/mc)}function wc(t,e){const n=sa(t,e),r=ae(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),_n(r)}function _c(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function bc(t){return!(!_c(t)&&typeof t!="number"||isNaN(+pt(t)))}function kc(t,e){const n=pt(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Tc(t,e){const n=pt(t,e?.in);return xc(n,kc(n))+1}function Sc(t,e){const n=pt(t,e?.in),r=+_n(n)-+wc(n);return Math.round(r/aa)+1}function ca(t,e){const n=pt(t,e?.in),r=n.getFullYear(),i=Gn(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=ae(e?.in||t,0);a.setFullYear(r+1,0,o),a.setHours(0,0,0,0);const s=Ne(a,e),c=ae(e?.in||t,0);c.setFullYear(r,0,o),c.setHours(0,0,0,0);const u=Ne(c,e);return+n>=+s?r+1:+n>=+u?r:r-1}function Cc(t,e){const n=Gn(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=ca(t,e),o=ae(e?.in||t,0);return o.setFullYear(i,0,r),o.setHours(0,0,0,0),Ne(o,e)}function Mc(t,e){const n=pt(t,e?.in),r=+Ne(n,e)-+Cc(n,e);return Math.round(r/aa)+1}function P(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const At={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return P(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):P(n+1,2)},d(t,e){return P(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(t,e){return P(t.getHours()%12||12,e.length)},H(t,e){return P(t.getHours(),e.length)},m(t,e){return P(t.getMinutes(),e.length)},s(t,e){return P(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return P(i,e.length)}},jt={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ni={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return At.y(t,e)},Y:function(t,e,n,r){const i=ca(t,r),o=i>0?i:1-i;if(e==="YY"){const a=o%100;return P(a,2)}return e==="Yo"?n.ordinalNumber(o,{unit:"year"}):P(o,e.length)},R:function(t,e){const n=sa(t);return P(n,e.length)},u:function(t,e){const n=t.getFullYear();return P(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return P(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return P(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return At.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return P(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const i=Mc(t,r);return e==="wo"?n.ordinalNumber(i,{unit:"week"}):P(i,e.length)},I:function(t,e,n){const r=Sc(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):P(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):At.d(t,e)},D:function(t,e,n){const r=Tc(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):P(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return P(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return P(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),i=r===0?7:r;switch(e){case"i":return String(i);case"ii":return P(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let i;switch(r===12?i=jt.noon:r===0?i=jt.midnight:i=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let i;switch(r>=17?i=jt.evening:r>=12?i=jt.afternoon:r>=4?i=jt.morning:i=jt.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return At.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):At.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):P(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):P(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):At.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):At.s(t,e)},S:function(t,e){return At.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return Fi(r);case"XXXX":case"XX":return Ft(r);default:return Ft(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return Fi(r);case"xxxx":case"xx":return Ft(r);default:return Ft(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Ri(r,":");default:return"GMT"+Ft(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Ri(r,":");default:return"GMT"+Ft(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return P(r,e.length)},T:function(t,e,n){return P(+t,e.length)}};function Ri(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=Math.trunc(r/60),o=r%60;return o===0?n+String(i):n+String(i)+e+P(o,2)}function Fi(t,e){return t%60===0?(t>0?"-":"+")+P(Math.abs(t)/60,2):Ft(t,e)}function Ft(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=P(Math.trunc(r/60),2),o=P(r%60,2);return n+i+e+o}const Pi=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},ua=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},Ac=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return Pi(t,e);let o;switch(r){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",Pi(r,e)).replace("{{time}}",ua(i,e))},Ec={p:ua,P:Ac},Dc=/^D+$/,Oc=/^Y+$/,$c=["D","DD","YY","YYYY"];function Nc(t){return Dc.test(t)}function Rc(t){return Oc.test(t)}function Fc(t,e,n){const r=Pc(t,e,n);if(console.warn(r),$c.includes(t))throw new RangeError(r)}function Pc(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Ic=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bc=/^'([^]*?)'?$/,zc=/''/g,Wc=/[a-zA-Z]/;function zm(t,e,n){const r=Gn(),i=r.locale??pc,o=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=pt(t,n?.in);if(!bc(s))throw new RangeError("Invalid time value");let c=e.match(Lc).map(l=>{const f=l[0];if(f==="p"||f==="P"){const h=Ec[f];return h(l,i.formatLong)}return l}).join("").match(Ic).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:Hc(l)};if(Ni[f])return{isToken:!0,value:l};if(f.match(Wc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));const u={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return c.map(l=>{if(!l.isToken)return l.value;const f=l.value;(Rc(f)||Nc(f))&&Fc(f,e,String(t));const h=Ni[f[0]];return h(s,f,i.localize,u)}).join("")}function Hc(t){const e=t.match(Bc);return e?e[1].replace(zc,"'"):t}var Tr="http://www.w3.org/1999/xhtml";const Ii={svg:"http://www.w3.org/2000/svg",xhtml:Tr,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Zn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ii.hasOwnProperty(e)?{space:Ii[e],local:t}:t}function Yc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Tr&&e.documentElement.namespaceURI===Tr?e.createElement(t):e.createElementNS(n,t)}}function Uc(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function la(t){var e=Zn(t);return(e.local?Uc:Yc)(e)}function Vc(){}function qr(t){return t==null?Vc:function(){return this.querySelector(t)}}function Xc(t){typeof t!="function"&&(t=qr(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],a=o.length,s=r[i]=new Array(a),c,u,l=0;l<a;++l)(c=o[l])&&(u=t.call(c,c.__data__,l,o))&&("__data__"in c&&(u.__data__=c.__data__),s[l]=u);return new rt(r,this._parents)}function qc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Gc(){return[]}function fa(t){return t==null?Gc:function(){return this.querySelectorAll(t)}}function Zc(t){return function(){return qc(t.apply(this,arguments))}}function Qc(t){typeof t=="function"?t=Zc(t):t=fa(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a=e[o],s=a.length,c,u=0;u<s;++u)(c=a[u])&&(r.push(t.call(c,c.__data__,u,a)),i.push(c));return new rt(r,i)}function ha(t){return function(){return this.matches(t)}}function da(t){return function(e){return e.matches(t)}}var Kc=Array.prototype.find;function jc(t){return function(){return Kc.call(this.children,t)}}function Jc(){return this.firstElementChild}function tu(t){return this.select(t==null?Jc:jc(typeof t=="function"?t:da(t)))}var eu=Array.prototype.filter;function nu(){return Array.from(this.children)}function ru(t){return function(){return eu.call(this.children,t)}}function iu(t){return this.selectAll(t==null?nu:ru(typeof t=="function"?t:da(t)))}function ou(t){typeof t!="function"&&(t=ha(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o=e[i],a=o.length,s=r[i]=[],c,u=0;u<a;++u)(c=o[u])&&t.call(c,c.__data__,u,o)&&s.push(c);return new rt(r,this._parents)}function ga(t){return new Array(t.length)}function au(){return new rt(this._enter||this._groups.map(ga),this._parents)}function bn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}bn.prototype={constructor:bn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function su(t){return function(){return t}}function cu(t,e,n,r,i,o){for(var a=0,s,c=e.length,u=o.length;a<u;++a)(s=e[a])?(s.__data__=o[a],r[a]=s):n[a]=new bn(t,o[a]);for(;a<c;++a)(s=e[a])&&(i[a]=s)}function uu(t,e,n,r,i,o,a){var s,c,u=new Map,l=e.length,f=o.length,h=new Array(l),d;for(s=0;s<l;++s)(c=e[s])&&(h[s]=d=a.call(c,c.__data__,s,e)+"",u.has(d)?i[s]=c:u.set(d,c));for(s=0;s<f;++s)d=a.call(t,o[s],s,o)+"",(c=u.get(d))?(r[s]=c,c.__data__=o[s],u.delete(d)):n[s]=new bn(t,o[s]);for(s=0;s<l;++s)(c=e[s])&&u.get(h[s])===c&&(i[s]=c)}function lu(t){return t.__data__}function fu(t,e){if(!arguments.length)return Array.from(this,lu);var n=e?uu:cu,r=this._parents,i=this._groups;typeof t!="function"&&(t=su(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),u=0;u<o;++u){var l=r[u],f=i[u],h=f.length,d=hu(t.call(l,l&&l.__data__,u,r)),m=d.length,g=s[u]=new Array(m),v=a[u]=new Array(m),y=c[u]=new Array(h);n(l,f,g,v,y,d,e);for(var w=0,_=0,T,k;w<m;++w)if(T=g[w]){for(w>=_&&(_=w+1);!(k=v[_])&&++_<m;);T._next=k||null}}return a=new rt(a,r),a._enter=s,a._exit=c,a}function hu(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function du(){return new rt(this._exit||this._groups.map(ga),this._parents)}function gu(t,e,n){var r=this.enter(),i=this,o=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),n==null?o.remove():n(o),r&&i?r.merge(i).order():i}function mu(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),c=0;c<a;++c)for(var u=n[c],l=r[c],f=u.length,h=s[c]=new Array(f),d,m=0;m<f;++m)(d=u[m]||l[m])&&(h[m]=d);for(;c<i;++c)s[c]=n[c];return new rt(s,this._parents)}function pu(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,o=r[i],a;--i>=0;)(a=r[i])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function vu(t){t||(t=yu);function e(f,h){return f&&h?t(f.__data__,h.__data__):!f-!h}for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a=n[o],s=a.length,c=i[o]=new Array(s),u,l=0;l<s;++l)(u=a[l])&&(c[l]=u);c.sort(e)}return new rt(i,this._parents).order()}function yu(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function xu(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function wu(){return Array.from(this)}function _u(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null}function bu(){let t=0;for(const e of this)++t;return t}function ku(){return!this.node()}function Tu(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],o=0,a=i.length,s;o<a;++o)(s=i[o])&&t.call(s,s.__data__,o,i);return this}function Su(t){return function(){this.removeAttribute(t)}}function Cu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Mu(t,e){return function(){this.setAttribute(t,e)}}function Au(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Eu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Du(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Ou(t,e){var n=Zn(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?Cu:Su:typeof e=="function"?n.local?Du:Eu:n.local?Au:Mu)(n,e))}function ma(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $u(t){return function(){this.style.removeProperty(t)}}function Nu(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ru(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Fu(t,e,n){return arguments.length>1?this.each((e==null?$u:typeof e=="function"?Ru:Nu)(t,e,n??"")):se(this.node(),t)}function se(t,e){return t.style.getPropertyValue(e)||ma(t).getComputedStyle(t,null).getPropertyValue(e)}function Pu(t){return function(){delete this[t]}}function Iu(t,e){return function(){this[t]=e}}function Lu(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Bu(t,e){return arguments.length>1?this.each((e==null?Pu:typeof e=="function"?Lu:Iu)(t,e)):this.node()[t]}function pa(t){return t.trim().split(/^|\s+/)}function Gr(t){return t.classList||new va(t)}function va(t){this._node=t,this._names=pa(t.getAttribute("class")||"")}va.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ya(t,e){for(var n=Gr(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function xa(t,e){for(var n=Gr(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function zu(t){return function(){ya(this,t)}}function Wu(t){return function(){xa(this,t)}}function Hu(t,e){return function(){(e.apply(this,arguments)?ya:xa)(this,t)}}function Yu(t,e){var n=pa(t+"");if(arguments.length<2){for(var r=Gr(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?Hu:e?zu:Wu)(n,e))}function Uu(){this.textContent=""}function Vu(t){return function(){this.textContent=t}}function Xu(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function qu(t){return arguments.length?this.each(t==null?Uu:(typeof t=="function"?Xu:Vu)(t)):this.node().textContent}function Gu(){this.innerHTML=""}function Zu(t){return function(){this.innerHTML=t}}function Qu(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Ku(t){return arguments.length?this.each(t==null?Gu:(typeof t=="function"?Qu:Zu)(t)):this.node().innerHTML}function ju(){this.nextSibling&&this.parentNode.appendChild(this)}function Ju(){return this.each(ju)}function tl(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function el(){return this.each(tl)}function nl(t){var e=typeof t=="function"?t:la(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function rl(){return null}function il(t,e){var n=typeof t=="function"?t:la(t),r=e==null?rl:typeof e=="function"?e:qr(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function ol(){var t=this.parentNode;t&&t.removeChild(this)}function al(){return this.each(ol)}function sl(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function cl(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ul(t){return this.select(t?cl:sl)}function ll(t){return arguments.length?this.property("__data__",t):this.node().__data__}function fl(t){return function(e){t.call(this,e,this.__data__)}}function hl(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function dl(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,o;n<i;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++r]=o;++r?e.length=r:delete this.__on}}}function gl(t,e,n){return function(){var r=this.__on,i,o=fl(e);if(r){for(var a=0,s=r.length;a<s;++a)if((i=r[a]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=n),i.value=e;return}}this.addEventListener(t.type,o,n),i={type:t.type,name:t.name,value:e,listener:o,options:n},r?r.push(i):this.__on=[i]}}function ml(t,e,n){var r=hl(t+""),i,o=r.length,a;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,u=s.length,l;c<u;++c)for(i=0,l=s[c];i<o;++i)if((a=r[i]).type===l.type&&a.name===l.name)return l.value}return}for(s=e?gl:dl,i=0;i<o;++i)this.each(s(r[i],e,n));return this}function wa(t,e,n){var r=ma(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function pl(t,e){return function(){return wa(this,t,e)}}function vl(t,e){return function(){return wa(this,t,e.apply(this,arguments))}}function yl(t,e){return this.each((typeof e=="function"?vl:pl)(t,e))}function*xl(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length,a;i<o;++i)(a=r[i])&&(yield a)}var _a=[null];function rt(t,e){this._groups=t,this._parents=e}function Ye(){return new rt([[document.documentElement]],_a)}function wl(){return this}rt.prototype=Ye.prototype={constructor:rt,select:Xc,selectAll:Qc,selectChild:tu,selectChildren:iu,filter:ou,data:fu,enter:au,exit:du,join:gu,merge:mu,selection:wl,order:pu,sort:vu,call:xu,nodes:wu,node:_u,size:bu,empty:ku,each:Tu,attr:Ou,style:Fu,property:Bu,classed:Yu,text:qu,html:Ku,raise:Ju,lower:el,append:nl,insert:il,remove:al,clone:ul,datum:ll,on:ml,dispatch:yl,[Symbol.iterator]:xl};function kt(t){return typeof t=="string"?new rt([[document.querySelector(t)]],[document.documentElement]):new rt([[t]],_a)}function _l(t){let e;for(;e=t.sourceEvent;)t=e;return t}function kn(t,e){if(t=_l(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}var Me;(function(t){t[t.SVG=0]="SVG",t[t.HTML=1]="HTML"})(Me||(Me={}));var ce;(function(t){t.Fit="fit",t.Extend="extend",t.FitWidth="fit_width"})(ce||(ce={}));function Ae(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function bl(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Zr(t){let e,n,r;t.length!==2?(e=Ae,n=(s,c)=>Ae(t(s),c),r=(s,c)=>t(s)-c):(e=t===Ae||t===bl?t:kl,n=t,r=t);function i(s,c,u=0,l=s.length){if(u<l){if(e(c,c)!==0)return l;do{const f=u+l>>>1;n(s[f],c)<0?u=f+1:l=f}while(u<l)}return u}function o(s,c,u=0,l=s.length){if(u<l){if(e(c,c)!==0)return l;do{const f=u+l>>>1;n(s[f],c)<=0?u=f+1:l=f}while(u<l)}return u}function a(s,c,u=0,l=s.length){const f=i(s,c,u,l-1);return f>u&&r(s[f-1],c)>-r(s[f],c)?f-1:f}return{left:i,center:a,right:o}}function kl(){return 0}function ba(t){return t===null?NaN:+t}const ka=Zr(Ae),Ue=ka.right,Tl=ka.left;Zr(ba).center;function Sl(t,e){let n,r;for(const i of t)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));return[n,r]}class Li extends Map{constructor(e,n=Al){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[r,i]of e)this.set(r,i)}get(e){return super.get(Bi(this,e))}has(e){return super.has(Bi(this,e))}set(e,n){return super.set(Cl(this,e),n)}delete(e){return super.delete(Ml(this,e))}}function Bi({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function Cl({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function Ml({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function Al(t){return t!==null&&typeof t=="object"?t.valueOf():t}const El=Math.sqrt(50),Dl=Math.sqrt(10),Ol=Math.sqrt(2);function Tn(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=El?10:o>=Dl?5:o>=Ol?2:1;let s,c,u;return i<0?(u=Math.pow(10,-i)/a,s=Math.round(t*u),c=Math.round(e*u),s/u<t&&++s,c/u>e&&--c,u=-u):(u=Math.pow(10,i)*a,s=Math.round(t/u),c=Math.round(e/u),s*u<t&&++s,c*u>e&&--c),c<s&&.5<=n&&n<2?Tn(t,e,n*2):[s,c,u]}function Sr(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const r=e<t,[i,o,a]=r?Tn(e,t,n):Tn(t,e,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let u=0;u<s;++u)c[u]=(o-u)/-a;else for(let u=0;u<s;++u)c[u]=(o-u)*a;else if(a<0)for(let u=0;u<s;++u)c[u]=(i+u)/-a;else for(let u=0;u<s;++u)c[u]=(i+u)*a;return c}function Cr(t,e,n){return e=+e,t=+t,n=+n,Tn(t,e,n)[2]}function Mr(t,e,n){e=+e,t=+t,n=+n;const r=e<t,i=r?Cr(e,t,n):Cr(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function zi(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Wi(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function $l(t,e,n=ba){if(!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t),s=+n(t[o+1],o+1,t);return a+(s-a)*(i-o)}}function Nl(t,e){let n=0,r=0;if(e===void 0)for(let i of t)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let o of t)(o=e(o,++i,t))!=null&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function*Rl(t){for(const e of t)yield*e}function Fl(t){return Array.from(Rl(t))}function Pl(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(i);++r<i;)o[r]=t+r*n;return o}function Il(t,e){let n=0;if(e===void 0)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}function Ll(t,e,n){var r={},i=r.noTrailing,o=i===void 0?!1:i,a=r.noLeading,s=a===void 0?!1:a,c=r.debounceMode,u=c===void 0?void 0:c,l,f=!1,h=0;function d(){l&&clearTimeout(l)}function m(v){var y=v||{},w=y.upcomingOnly,_=w===void 0?!1:w;d(),f=!_}function g(){for(var v=arguments.length,y=new Array(v),w=0;w<v;w++)y[w]=arguments[w];var _=this,T=Date.now()-h;if(f)return;function k(){h=Date.now(),e.apply(_,y)}function p(){l=void 0}!s&&u&&!l&&k(),d(),u===void 0&&T>t?s?(h=Date.now(),o||(l=setTimeout(u?p:k,t))):k():o!==!0&&(l=setTimeout(u?p:k,u===void 0?t-T:t))}return g.cancel=m,g}var wt;(function(t){t.Left="left",t.Right="right",t.Auto="auto"})(wt||(wt={}));const ee=t=>typeof t=="number",Qr=t=>typeof t=="function",Ve=t=>Array.isArray(t),Bl=t=>t instanceof Object,Sn=t=>t.constructor.name!=="Function"&&t.constructor.name!=="Object",Hi=t=>Bl(t)&&!Ve(t)&&!Qr(t)&&!Sn(t),Wm=t=>[Object,Array].includes((t||{}).constructor)&&!Object.entries(t||{}).length,Yt=(t,e,n=[],r=new Set)=>{if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;if(r.has(t))return!0;r.add(t);for(let i=0;i<t.length;i++)if(!Yt(t[i],e[i],n,r))return!1;return!0}if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object")return!1;if(t===e)return!0;const i=Object.keys(t).filter(a=>!n.includes(a)),o=Object.keys(e).filter(a=>!n.includes(a));if(i.length!==o.length)return!1;if(r.has(t))return!0;r.add(t);for(const a of i)if(!Yt(t[a],e[a],n,r))return!1;return!0}return t===e},Ar=t=>t.flat(),Cn=(t,e=new Map)=>{if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array){const n=[];e.set(t,n);for(const r of t)n.push(e.has(r)?e.get(r):Cn(r,e));return n}if(Sn(t))return t;if(t instanceof Object){const n={};e.set(t,n);const r=t;return Object.keys(t).reduce((i,o)=>(i[o]=e.has(r[o])?e.get(r[o]):Cn(r[o],e),i),n),n}return t},ue=(t,e,n=new Map)=>{if(!t||!e||t===e)return t;const r=Sn(t)?t:Cn(t);return n.has(e)?n.get(e):(n.set(e,r),Object.keys(e).forEach(i=>{i==="__proto__"||i==="constructor"||(Hi(t[i])&&Hi(e[i])?r[i]=ue(t[i],e[i],n):Sn(e)?r[i]=e:r[i]=Cn(e[i]))}),r)},Mn=(t,e,n)=>Ll(e,t);function Ta(t,e,n){return Qr(e)?e(t,n):e}function zl(t,e,n){return Ta(t,e,n)}function X(t,e,n){return Ta(t,e,n)}function ve(t){return t.filter(e=>e&&!ee(e))}function Ot(t,e,n){return Math.min(Math.max(t,e),n)}function Hm(t,...e){if(!t)return[void 0,void 0];if(Ve(e)){let n=0,r=0;return t.forEach((i,o)=>{let a=0,s=0;for(const c of e){const u=X(i,c,o)||0;u>=0?a+=u:s+=u}a>r&&(r=a),s<n&&(n=s)}),[n,r]}}function Wl(t,e,...n){const r=[];let i=0,o=0;for(const a of n){const s=X(t,a,e)||0;s>=0?r.push(i+=s):r.push(o+=s)}return r}function Ym(t,e,n,r){const i=t.map((s,c)=>X(s,e,c)||0),o=n.map((s,c)=>{const u=Nl(t,(l,f)=>X(l,s,f)||0);return u===0&&Array.isArray(r)?r[c]:u<0}),a=n.map(()=>[]);return t.forEach((s,c)=>{let u=i[c],l=i[c];n.forEach((f,h)=>{const d=X(s,f,c)||0;d>=0?a[h].push([u,u+=d]):a[h].push([l,l+=d])})}),a.forEach((s,c)=>{s.isMostlyNegative=o[c]}),a}function Hl(t,...e){return t?Wi(t,(r,i)=>Wi(e,o=>X(r,o,i))):void 0}function Yl(t,...e){return t?zi(t,(r,i)=>zi(e,o=>X(r,o,i))):void 0}function lr(t,...e){return[Hl(t,...e),Yl(t,...e)]}function An(t,e,n,r=wt.Auto){if(t.length<=1)return t[0];const o=t.map((c,u)=>[c,u]).sort(([c,u],[l,f])=>X(c,n,u)-X(l,n,f)),a=o.map(([c,u])=>X(c,n,u)),s=r===wt.Right?Tl(a,e,0,t.length-1):Ue(a,e,1,t.length);return r===wt.Right?o[s][0]:r===wt.Left?o[s-1][0]:e-a[s-1]>a[s]-e?o[s][0]:o[s-1][0]}function Ul(t,e,n,r=!1){if(!n)return[];const i=t.filter((o,a)=>{const s=X(o,n,a);return s>=e[0]&&s<=e[1]});if(r){if(i.length===0){const f=An(t,e[0],n,wt.Left),h=An(t,e[1],n,wt.Right);return[f,h].filter(Boolean)}const o=i[0],a=i[i.length-1],s=t.findIndex(f=>f===o),c=t.findIndex(f=>f===a),u=Math.max(0,s-1),l=Math.min(t.length-1,c+1);return t.slice(u,l+1)}return i}var Bt=[],Vl=function(){return Bt.some(function(t){return t.activeTargets.length>0})},Xl=function(){return Bt.some(function(t){return t.skippedTargets.length>0})},Yi="ResizeObserver loop completed with undelivered notifications.",ql=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:Yi}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=Yi),window.dispatchEvent(t)},Re;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Re||(Re={}));var zt=function(t){return Object.freeze(t)},Gl=(function(){function t(e,n){this.inlineSize=e,this.blockSize=n,zt(this)}return t})(),Sa=(function(){function t(e,n,r,i){return this.x=e,this.y=n,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,zt(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,i=e.top,o=e.right,a=e.bottom,s=e.left,c=e.width,u=e.height;return{x:n,y:r,top:i,right:o,bottom:a,left:s,width:c,height:u}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t})(),Kr=function(t){return t instanceof SVGElement&&"getBBox"in t},Ca=function(t){if(Kr(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var i=t,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||t.getClientRects().length)},Ui=function(t){var e;if(t instanceof Element)return!0;var n=(e=t?.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Zl=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Ee=typeof window<"u"?window:{},Ke=new WeakMap,Vi=/auto|scroll/,Ql=/^tb|vertical/,Kl=/msie|trident/i.test(Ee.navigator&&Ee.navigator.userAgent),ht=function(t){return parseFloat(t||"0")},ne=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Gl((n?e:t)||0,(n?t:e)||0)},Xi=zt({devicePixelContentBoxSize:ne(),borderBoxSize:ne(),contentBoxSize:ne(),contentRect:new Sa(0,0,0,0)}),Ma=function(t,e){if(e===void 0&&(e=!1),Ke.has(t)&&!e)return Ke.get(t);if(Ca(t))return Ke.set(t,Xi),Xi;var n=getComputedStyle(t),r=Kr(t)&&t.ownerSVGElement&&t.getBBox(),i=!Kl&&n.boxSizing==="border-box",o=Ql.test(n.writingMode||""),a=!r&&Vi.test(n.overflowY||""),s=!r&&Vi.test(n.overflowX||""),c=r?0:ht(n.paddingTop),u=r?0:ht(n.paddingRight),l=r?0:ht(n.paddingBottom),f=r?0:ht(n.paddingLeft),h=r?0:ht(n.borderTopWidth),d=r?0:ht(n.borderRightWidth),m=r?0:ht(n.borderBottomWidth),g=r?0:ht(n.borderLeftWidth),v=f+u,y=c+l,w=g+d,_=h+m,T=s?t.offsetHeight-_-t.clientHeight:0,k=a?t.offsetWidth-w-t.clientWidth:0,p=i?v+w:0,b=i?y+_:0,I=r?r.width:ht(n.width)-p-k,F=r?r.height:ht(n.height)-b-T,E=I+v+k+w,Y=F+y+T+_,M=zt({devicePixelContentBoxSize:ne(Math.round(I*devicePixelRatio),Math.round(F*devicePixelRatio),o),borderBoxSize:ne(E,Y,o),contentBoxSize:ne(I,F,o),contentRect:new Sa(f,c,I,F)});return Ke.set(t,M),M},Aa=function(t,e,n){var r=Ma(t,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(e){case Re.DEVICE_PIXEL_CONTENT_BOX:return a;case Re.BORDER_BOX:return i;default:return o}},jl=(function(){function t(e){var n=Ma(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=zt([n.borderBoxSize]),this.contentBoxSize=zt([n.contentBoxSize]),this.devicePixelContentBoxSize=zt([n.devicePixelContentBoxSize])}return t})(),Ea=function(t){if(Ca(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Jl=function(){var t=1/0,e=[];Bt.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(u){var l=new jl(u.target),f=Ea(u.target);s.push(l),u.lastReportedSize=Aa(u.target,u.observedBox),f<t&&(t=f)}),e.push(function(){a.callback.call(a.observer,s,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var i=r[n];i()}return t},qi=function(t){Bt.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(i){i.isActive()&&(Ea(i.target)>t?n.activeTargets.push(i):n.skippedTargets.push(i))})})},tf=function(){var t=0;for(qi(t);Vl();)t=Jl(),qi(t);return Xl()&&ql(),t>0},fr,Da=[],ef=function(){return Da.splice(0).forEach(function(t){return t()})},nf=function(t){if(!fr){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return ef()}).observe(n,r),fr=function(){n.textContent="".concat(e?e--:e++)}}Da.push(t),fr()},rf=function(t){nf(function(){requestAnimationFrame(t)})},sn=0,of=function(){return!!sn},af=250,sf={attributes:!0,characterData:!0,childList:!0,subtree:!0},Gi=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Zi=function(t){return t===void 0&&(t=0),Date.now()+t},hr=!1,cf=(function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=af),!hr){hr=!0;var r=Zi(e);rf(function(){var i=!1;try{i=tf()}finally{if(hr=!1,e=r-Zi(),!of())return;i?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,sf)};document.body?n():Ee.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Gi.forEach(function(n){return Ee.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Gi.forEach(function(n){return Ee.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t})(),Er=new cf,Qi=function(t){!sn&&t>0&&Er.start(),sn+=t,!sn&&Er.stop()},uf=function(t){return!Kr(t)&&!Zl(t)&&getComputedStyle(t).display==="inline"},lf=(function(){function t(e,n){this.target=e,this.observedBox=n||Re.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=Aa(this.target,this.observedBox,!0);return uf(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t})(),ff=(function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t})(),je=new WeakMap,Ki=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Je=(function(){function t(){}return t.connect=function(e,n){var r=new ff(e,n);je.set(e,r)},t.observe=function(e,n,r){var i=je.get(e),o=i.observationTargets.length===0;Ki(i.observationTargets,n)<0&&(o&&Bt.push(i),i.observationTargets.push(new lf(n,r&&r.box)),Qi(1),Er.schedule())},t.unobserve=function(e,n){var r=je.get(e),i=Ki(r.observationTargets,n),o=r.observationTargets.length===1;i>=0&&(o&&Bt.splice(Bt.indexOf(r),1),r.observationTargets.splice(i,1),Qi(-1))},t.disconnect=function(e){var n=this,r=je.get(e);r.observationTargets.slice().forEach(function(i){return n.unobserve(e,i.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t})(),hf=(function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Je.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Je.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ui(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Je.unobserve(this,e)},t.prototype.disconnect=function(){Je.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t})();const df=globalThis.ResizeObserver||hf,Oa={duration:void 0,margin:{top:0,bottom:0,left:0,right:0},padding:{top:0,bottom:0,left:0,right:0},sizing:ce.Fit,width:void 0,height:void 0,svgDefs:void 0,ariaLabel:void 0};class Fe{constructor(e){this._defaultConfig=Oa,this._isFirstRender=!0,this._renderAnimationFrameId=null,this._container=e;const n=kt(this._container);n.attr("role","figure"),this.svg=n.append("svg").style("display","block").attr("xmlns","http://www.w3.org/2000/svg").attr("height",Fe.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden",!0),this._svgDefs=this.svg.append("defs"),this._svgDefsExternal=this.svg.append("defs"),this.element=this.svg.node()}updateContainer(e){var n;this.prevConfig=this.config,this.config=ue(this._defaultConfig,e),e?.svgDefs!==((n=this.prevConfig)===null||n===void 0?void 0:n.svgDefs)&&(this._svgDefsExternal.selectAll("*").remove(),this._svgDefsExternal.html(e.svgDefs))}_preRender(){}_render(e){const{config:n}=this;kt(this._container).attr("aria-label",n.ariaLabel),this._isFirstRender=!1}render(e=this.config.duration){const n=this.config.width||this.containerWidth,r=this.config.height||this.containerHeight;this.svg.attr("width",n).attr("height",r),this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}get containerWidth(){return this.config.width?this.element.clientWidth:this._container.clientWidth||this._container.getBoundingClientRect().width}get containerHeight(){return this.config.height?this.element.clientHeight:this._container.clientHeight||this._container.getBoundingClientRect().height||Fe.DEFAULT_CONTAINER_HEIGHT}get width(){return Ot(this.containerWidth-this.config.margin.left-this.config.margin.right,0,Number.POSITIVE_INFINITY)}get height(){return Ot(this.containerHeight-this.config.margin.top-this.config.margin.bottom,0,Number.POSITIVE_INFINITY)}_removeAllChildren(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild)}_onResize(){const{config:e}=this;(e.sizing===ce.Fit||e.sizing===ce.FitWidth)&&this.render(0)}_setUpResizeObserver(){if(this._resizeObserver)return;const e=this._container.getBoundingClientRect();this._containerSize={width:e.width,height:e.height},this._resizeObserver=new df((n,r)=>{cancelAnimationFrame(this._resizeObserverAnimationFrameId),this._resizeObserverAnimationFrameId=requestAnimationFrame(()=>{const i=this._container.getBoundingClientRect(),o={width:i.width,height:i.height};!Yt(this._containerSize,o)&&o.width&&o.height&&(this._containerSize=o,this._onResize())})}),this._resizeObserver.observe(this._container)}destroy(){var e;cancelAnimationFrame(this._renderAnimationFrameId),cancelAnimationFrame(this._resizeObserverAnimationFrameId),(e=this._resizeObserver)===null||e===void 0||e.disconnect(),this.svg.remove()}}Fe.DEFAULT_CONTAINER_HEIGHT=300;function gf(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function mf(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var pf=(function(){function t(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(mf(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=gf(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},e.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},t})(),Z="-ms-",En="-moz-",N="-webkit-",$a="comm",jr="rule",Jr="decl",vf="@import",Na="@keyframes",yf="@layer",xf=Math.abs,Qn=String.fromCharCode,wf=Object.assign;function _f(t,e){return V(t,0)^45?(((e<<2^V(t,0))<<2^V(t,1))<<2^V(t,2))<<2^V(t,3):0}function Ra(t){return t.trim()}function bf(t,e){return(t=e.exec(t))?t[0]:t}function R(t,e,n){return t.replace(e,n)}function Dr(t,e){return t.indexOf(e)}function V(t,e){return t.charCodeAt(e)|0}function Pe(t,e,n){return t.slice(e,n)}function dt(t){return t.length}function ti(t){return t.length}function tn(t,e){return e.push(t),t}function kf(t,e){return t.map(e).join("")}var Kn=1,le=1,Fa=0,J=0,z=0,me="";function jn(t,e,n,r,i,o,a){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:Kn,column:le,length:a,return:""}}function ye(t,e){return wf(jn("",null,null,"",null,null,0),t,{length:-t.length},e)}function Tf(){return z}function Sf(){return z=J>0?V(me,--J):0,le--,z===10&&(le=1,Kn--),z}function nt(){return z=J<Fa?V(me,J++):0,le++,z===10&&(le=1,Kn++),z}function gt(){return V(me,J)}function cn(){return J}function Xe(t,e){return Pe(me,t,e)}function Ie(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pa(t){return Kn=le=1,Fa=dt(me=t),J=0,[]}function Ia(t){return me="",t}function un(t){return Ra(Xe(J-1,Or(t===91?t+2:t===40?t+1:t)))}function Cf(t){for(;(z=gt())&&z<33;)nt();return Ie(t)>2||Ie(z)>3?"":" "}function Mf(t,e){for(;--e&&nt()&&!(z<48||z>102||z>57&&z<65||z>70&&z<97););return Xe(t,cn()+(e<6&&gt()==32&&nt()==32))}function Or(t){for(;nt();)switch(z){case t:return J;case 34:case 39:t!==34&&t!==39&&Or(z);break;case 40:t===41&&Or(t);break;case 92:nt();break}return J}function Af(t,e){for(;nt()&&t+z!==57;)if(t+z===84&&gt()===47)break;return"/*"+Xe(e,J-1)+"*"+Qn(t===47?t:nt())}function Ef(t){for(;!Ie(gt());)nt();return Xe(t,J)}function Df(t){return Ia(ln("",null,null,null,[""],t=Pa(t),0,[0],t))}function ln(t,e,n,r,i,o,a,s,c){for(var u=0,l=0,f=a,h=0,d=0,m=0,g=1,v=1,y=1,w=0,_="",T=i,k=o,p=r,b=_;v;)switch(m=w,w=nt()){case 40:if(m!=108&&V(b,f-1)==58){Dr(b+=R(un(w),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:b+=un(w);break;case 9:case 10:case 13:case 32:b+=Cf(m);break;case 92:b+=Mf(cn()-1,7);continue;case 47:switch(gt()){case 42:case 47:tn(Of(Af(nt(),cn()),e,n),c);break;default:b+="/"}break;case 123*g:s[u++]=dt(b)*y;case 125*g:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+l:y==-1&&(b=R(b,/\f/g,"")),d>0&&dt(b)-f&&tn(d>32?Ji(b+";",r,n,f-1):Ji(R(b," ","")+";",r,n,f-2),c);break;case 59:b+=";";default:if(tn(p=ji(b,e,n,u,l,i,s,_,T=[],k=[],f),o),w===123)if(l===0)ln(b,e,p,p,T,o,f,s,k);else switch(h===99&&V(b,3)===110?100:h){case 100:case 108:case 109:case 115:ln(t,p,p,r&&tn(ji(t,p,p,0,0,i,s,_,i,T=[],f),k),i,k,f,s,r?T:k);break;default:ln(b,p,p,p,[""],k,0,s,k)}}u=l=d=0,g=y=1,_=b="",f=a;break;case 58:f=1+dt(b),d=m;default:if(g<1){if(w==123)--g;else if(w==125&&g++==0&&Sf()==125)continue}switch(b+=Qn(w),w*g){case 38:y=l>0?1:(b+="\f",-1);break;case 44:s[u++]=(dt(b)-1)*y,y=1;break;case 64:gt()===45&&(b+=un(nt())),h=gt(),l=f=dt(_=b+=Ef(cn())),w++;break;case 45:m===45&&dt(b)==2&&(g=0)}}return o}function ji(t,e,n,r,i,o,a,s,c,u,l){for(var f=i-1,h=i===0?o:[""],d=ti(h),m=0,g=0,v=0;m<r;++m)for(var y=0,w=Pe(t,f+1,f=xf(g=a[m])),_=t;y<d;++y)(_=Ra(g>0?h[y]+" "+w:R(w,/&\f/g,h[y])))&&(c[v++]=_);return jn(t,e,n,i===0?jr:s,c,u,l)}function Of(t,e,n){return jn(t,e,n,$a,Qn(Tf()),Pe(t,2,-2),0)}function Ji(t,e,n,r){return jn(t,e,n,Jr,Pe(t,0,r),Pe(t,r+1,-1),r)}function re(t,e){for(var n="",r=ti(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function $f(t,e,n,r){switch(t.type){case yf:if(t.children.length)break;case vf:case Jr:return t.return=t.return||t.value;case $a:return"";case Na:return t.return=t.value+"{"+re(t.children,r)+"}";case jr:t.value=t.props.join(",")}return dt(n=re(t.children,r))?t.return=t.value+"{"+n+"}":""}function Nf(t){var e=ti(t);return function(n,r,i,o){for(var a="",s=0;s<e;s++)a+=t[s](n,r,i,o)||"";return a}}function Rf(t){return function(e){e.root||(e=e.return)&&t(e)}}function Ff(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Pf=function(e,n,r){for(var i=0,o=0;i=o,o=gt(),i===38&&o===12&&(n[r]=1),!Ie(o);)nt();return Xe(e,J)},If=function(e,n){var r=-1,i=44;do switch(Ie(i)){case 0:i===38&&gt()===12&&(n[r]=1),e[r]+=Pf(J-1,n,r);break;case 2:e[r]+=un(i);break;case 4:if(i===44){e[++r]=gt()===58?"&\f":"",n[r]=e[r].length;break}default:e[r]+=Qn(i)}while(i=nt());return e},Lf=function(e,n){return Ia(If(Pa(e),n))},to=new WeakMap,Bf=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!to.get(r))&&!i){to.set(e,!0);for(var o=[],a=Lf(n,o),s=r.props,c=0,u=0;c<a.length;c++)for(var l=0;l<s.length;l++,u++)e.props[u]=o[c]?a[c].replace(/&\f/g,s[l]):s[l]+" "+a[c]}}},zf=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function La(t,e){switch(_f(t,e)){case 5103:return N+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return N+t+En+t+Z+t+t;case 6828:case 4268:return N+t+Z+t+t;case 6165:return N+t+Z+"flex-"+t+t;case 5187:return N+t+R(t,/(\w+).+(:[^]+)/,N+"box-$1$2"+Z+"flex-$1$2")+t;case 5443:return N+t+Z+"flex-item-"+R(t,/flex-|-self/,"")+t;case 4675:return N+t+Z+"flex-line-pack"+R(t,/align-content|flex-|-self/,"")+t;case 5548:return N+t+Z+R(t,"shrink","negative")+t;case 5292:return N+t+Z+R(t,"basis","preferred-size")+t;case 6060:return N+"box-"+R(t,"-grow","")+N+t+Z+R(t,"grow","positive")+t;case 4554:return N+R(t,/([^-])(transform)/g,"$1"+N+"$2")+t;case 6187:return R(R(R(t,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),t,"")+t;case 5495:case 3959:return R(t,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return R(R(t,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+Z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+t+t;case 4095:case 3583:case 4068:case 2532:return R(t,/(.+)-inline(.+)/,N+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(dt(t)-1-e>6)switch(V(t,e+1)){case 109:if(V(t,e+4)!==45)break;case 102:return R(t,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+En+(V(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Dr(t,"stretch")?La(R(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(V(t,e+1)!==115)break;case 6444:switch(V(t,dt(t)-3-(~Dr(t,"!important")&&10))){case 107:return R(t,":",":"+N)+t;case 101:return R(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(V(t,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+Z+"$2box$3")+t}break;case 5936:switch(V(t,e+11)){case 114:return N+t+Z+R(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return N+t+Z+R(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return N+t+Z+R(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return N+t+Z+t+t}return t}var Wf=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case Jr:e.return=La(e.value,e.length);break;case Na:return re([ye(e,{value:R(e.value,"@","@"+N)})],i);case jr:if(e.length)return kf(e.props,function(o){switch(bf(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return re([ye(e,{props:[R(o,/:(read-\w+)/,":"+En+"$1")]})],i);case"::placeholder":return re([ye(e,{props:[R(o,/:(plac\w+)/,":"+N+"input-$1")]}),ye(e,{props:[R(o,/:(plac\w+)/,":"+En+"$1")]}),ye(e,{props:[R(o,/:(plac\w+)/,Z+"input-$1")]})],i)}return""})}},Hf=[Wf],Yf=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=e.stylisPlugins||Hf,o={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)o[v[y]]=!0;s.push(g)});var c,u=[Bf,zf];{var l,f=[$f,Rf(function(g){l.insert(g)})],h=Nf(u.concat(i,f)),d=function(v){return re(Df(v),h)};c=function(v,y,w,_){l=w,d(v?v+"{"+y.styles+"}":y.styles),_&&(m.inserted[y.name]=!0)}}var m={key:n,sheet:new pf({key:n,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:c};return m.sheet.hydrate(s),m};function Uf(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Vf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Xf=/[A-Z]|^ms/g,qf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ba=function(e){return e.charCodeAt(1)===45},eo=function(e){return e!=null&&typeof e!="boolean"},dr=Ff(function(t){return Ba(t)?t:t.replace(Xf,"-$&").toLowerCase()}),no=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(qf,function(r,i,o){return $t={name:i,styles:o,next:$t},i})}return Vf[e]!==1&&!Ba(e)&&typeof n=="number"&&n!==0?n+"px":n};function Dn(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return $t={name:i.name,styles:i.styles,next:$t},i.name;var o=n;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)$t={name:a.name,styles:a.styles,next:$t},a=a.next;var s=o.styles+";";return s}return Gf(t,e,n)}}var c=n;if(e==null)return c;var u=e[c];return u!==void 0?u:c}function Gf(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Dn(t,e,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object"){var s=a;e!=null&&e[s]!==void 0?r+=o+"{"+e[s]+"}":eo(s)&&(r+=dr(o)+":"+no(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(e==null||e[a[0]]===void 0))for(var c=0;c<a.length;c++)eo(a[c])&&(r+=dr(o)+":"+no(o,a[c])+";");else{var u=Dn(t,e,a);switch(o){case"animation":case"animationName":{r+=dr(o)+":"+u+";";break}default:r+=o+"{"+u+"}"}}}return r}var ro=/label:\s*([^\s;{]+)\s*(;|$)/g,$t;function gr(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,i="";$t=void 0;var o=t[0];if(o==null||o.raw===void 0)r=!1,i+=Dn(n,e,o);else{var a=o;i+=a[0]}for(var s=1;s<t.length;s++)if(i+=Dn(n,e,t[s]),r){var c=o;i+=c[s]}ro.lastIndex=0;for(var u="",l;(l=ro.exec(i))!==null;)u+="-"+l[1];var f=Uf(i)+u;return{name:f,styles:i,next:$t}}function za(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):i&&(r+=i+" ")}),r}var Zf=function(e,n,r){var i=e.key+"-"+n.name;e.registered[i]===void 0&&(e.registered[i]=n.styles)},Qf=function(e,n,r){Zf(e,n);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+i:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function io(t,e){if(t.inserted[e.name]===void 0)return t.insert("",e,t.sheet,!0)}function oo(t,e,n){var r=[],i=za(t,r,n);return r.length<2?n:i+e(r)}var Kf=function(e){var n=Yf(e);n.sheet.speedy=function(s){this.isSpeedy=s},n.compat=!0;var r=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var f=gr(u,n.registered,void 0);return Qf(n,f),n.key+"-"+f.name},i=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var f=gr(u,n.registered),h="animation-"+f.name;return io(n,{name:f.name,styles:"@keyframes "+h+"{"+f.styles+"}"}),h},o=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var f=gr(u,n.registered);io(n,f)},a=function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];return oo(n.registered,r,jf(u))};return{css:r,cx:a,injectGlobal:o,keyframes:i,hydrate:function(c){c.forEach(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:za.bind(null,n.registered),merge:oo.bind(null,n.registered,r)}},jf=function t(e){for(var n="",r=0;r<e.length;r++){var i=e[r];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=t(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},Wa=Kf({key:"css"}),Jn=Wa.injectGlobal,W=Wa.css,mr,ao;function Jf(){return ao||(ao=1,mr=function(e,n){n||(n=[0,""]),e=String(e);var r=parseFloat(e,10);return n[0]=r,n[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",n}),mr}var pr,so;function th(){if(so)return pr;so=1;var t=Jf();pr=i;var e=r("in",document.body);function n(o,a){var s=t(getComputedStyle(o).getPropertyValue(a));return s[0]*i(s[1],o)}function r(o,a){var s=document.createElement("div");s.style.height="128"+o,a.appendChild(s);var c=n(s,"height")/128;return a.removeChild(s),c}function i(o,a){if(!o)return null;switch(a=a||document.body,o=(o+""||"px").trim().toLowerCase(),(a===window||a===document)&&(a=document.body),o){case"%":return a.clientHeight/100;case"ch":case"ex":return r(o,a);case"em":return n(a,"font-size");case"rem":return n(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return e;case"cm":return e/2.54;case"mm":return e/25.4;case"pt":return e/72;case"pc":return e/6;case"px":return 1}var s=t(o);if(!isNaN(s[0])&&s[1]){var c=i(s[1],a);return typeof c=="number"?s[0]*c:null}return null}return pr}th();function Ha(){const t=()=>Math.floor((1+crypto.getRandomValues(new Uint32Array(1))[0])*65536).toString(16).substring(1);return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`}function eh(t,e){const n=t.substr(4,t.length-5);return getComputedStyle(e).getPropertyValue(n)}function nh(t,e,n=0){const[r,i,o,a]=[t.x+n,t.y+t.height-2*n,t.x+t.width-2*n,t.y+n],[s,c,u,l]=[e.x+n,e.y+e.height-2*n,e.x+e.width-2*n,e.y+n];return!(i<l||c<a||o<s||u<r)}function ei(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ya(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function qe(){}var Le=.7,On=1/Le,ie="\\s*([+-]?\\d+)\\s*",Be="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",mt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",rh=/^#([0-9a-f]{3,8})$/,ih=new RegExp(`^rgb\\(${ie},${ie},${ie}\\)$`),oh=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),ah=new RegExp(`^rgba\\(${ie},${ie},${ie},${Be}\\)$`),sh=new RegExp(`^rgba\\(${mt},${mt},${mt},${Be}\\)$`),ch=new RegExp(`^hsl\\(${Be},${mt},${mt}\\)$`),uh=new RegExp(`^hsla\\(${Be},${mt},${mt},${Be}\\)$`),co={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ei(qe,Ut,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:uo,formatHex:uo,formatHex8:lh,formatHsl:fh,formatRgb:lo,toString:lo});function uo(){return this.rgb().formatHex()}function lh(){return this.rgb().formatHex8()}function fh(){return Ua(this).formatHsl()}function lo(){return this.rgb().formatRgb()}function Ut(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=rh.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?fo(e):n===3?new K(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?en(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?en(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=ih.exec(t))?new K(e[1],e[2],e[3],1):(e=oh.exec(t))?new K(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=ah.exec(t))?en(e[1],e[2],e[3],e[4]):(e=sh.exec(t))?en(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=ch.exec(t))?mo(e[1],e[2]/100,e[3]/100,1):(e=uh.exec(t))?mo(e[1],e[2]/100,e[3]/100,e[4]):co.hasOwnProperty(t)?fo(co[t]):t==="transparent"?new K(NaN,NaN,NaN,0):null}function fo(t){return new K(t>>16&255,t>>8&255,t&255,1)}function en(t,e,n,r){return r<=0&&(t=e=n=NaN),new K(t,e,n,r)}function hh(t){return t instanceof qe||(t=Ut(t)),t?(t=t.rgb(),new K(t.r,t.g,t.b,t.opacity)):new K}function $r(t,e,n,r){return arguments.length===1?hh(t):new K(t,e,n,r??1)}function K(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}ei(K,$r,Ya(qe,{brighter(t){return t=t==null?On:Math.pow(On,t),new K(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Le:Math.pow(Le,t),new K(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new K(Wt(this.r),Wt(this.g),Wt(this.b),$n(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ho,formatHex:ho,formatHex8:dh,formatRgb:go,toString:go}));function ho(){return`#${Pt(this.r)}${Pt(this.g)}${Pt(this.b)}`}function dh(){return`#${Pt(this.r)}${Pt(this.g)}${Pt(this.b)}${Pt((isNaN(this.opacity)?1:this.opacity)*255)}`}function go(){const t=$n(this.opacity);return`${t===1?"rgb(":"rgba("}${Wt(this.r)}, ${Wt(this.g)}, ${Wt(this.b)}${t===1?")":`, ${t})`}`}function $n(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Wt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Pt(t){return t=Wt(t),(t<16?"0":"")+t.toString(16)}function mo(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new st(t,e,n,r)}function Ua(t){if(t instanceof st)return new st(t.h,t.s,t.l,t.opacity);if(t instanceof qe||(t=Ut(t)),!t)return new st;if(t instanceof st)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(e===o?a=(n-r)/s+(n<r)*6:n===o?a=(r-e)/s+2:a=(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new st(a,s,c,t.opacity)}function ni(t,e,n,r){return arguments.length===1?Ua(t):new st(t,e,n,r??1)}function st(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}ei(st,ni,Ya(qe,{brighter(t){return t=t==null?On:Math.pow(On,t),new st(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Le:Math.pow(Le,t),new st(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new K(vr(t>=240?t-240:t+120,i,r),vr(t,i,r),vr(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new st(po(this.h),nn(this.s),nn(this.l),$n(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=$n(this.opacity);return`${t===1?"hsl(":"hsla("}${po(this.h)}, ${nn(this.s)*100}%, ${nn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function po(t){return t=(t||0)%360,t<0?t+360:t}function nn(t){return Math.max(0,Math.min(1,t||0))}function vr(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const ke=globalThis?.UNOVIS_COLORS||["#4D8CFD","#FF6B7E","#F4B83E","#A6CC74","#00C19A","#6859BE"],gh=globalThis?.UNOVIS_COLORS_DARK||["#4D8CFD","#FF6B7E","#FFC16D","#A6CC74","#00C19A","#7887E0"],Et=t=>`--vis-${ee(t)?`color${t%ke.length}`:t}`;function mh(t,e=.4){const n=ni(t);return n.l=n.l*(1+e),n.formatHex()}function ph(t,e=.4,n=.6){const r=ni(t);return r.s=r.s*(1-n),r.l=r.l*(1-e),r.formatHex()}const Nn=10,Nr=[{id:"stripes-diagonal",svg:'<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>'},{id:"dots",svg:'<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>'},{id:"stripes-vertical",svg:'<path d="M 5,-1 L5,11" stroke="#000"/>'},{id:"crosshatch",svg:'<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>'},{id:"waves",svg:'<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>'},{id:"circles",svg:'<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>'}],Rr=[{id:"circle",marker:'<circle cx="5" cy="5" r="5"/>',dashArray:[]},{id:"triangle",marker:'<path d="M5,0 L10,9 L0,9Z">',dashArray:[9,1]},{id:"diamond",marker:'<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">',dashArray:[2]},{id:"arrow",marker:'<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">',dashArray:[2,3,8,3]},{id:"square",marker:'<rect x="1" y="1" width="8" height="8"/>',dashArray:[6]},{id:"star",marker:'<path d="m2 9 3-9 3 9L0 3h10Z"/>',dashArray:[1,6]}];function Dt(t){return`vis-${`pattern-${t.svg?"fill":"marker"}`}-${t.id}`}const vh=t=>`<mask id="${Dt(t)}">
2
2
  <pattern id="${t.id}" viewBox="0 0 10 10" width="${Nn}" height="${Nn}" patternUnits="userSpaceOnUse">
3
3
  <rect width="100%" height="100%" fill="#fff"/>
4
4
  ${t.svg}
@@ -1 +1 @@
1
- import{N as c,c as l,G as p,R as n,a4 as u,U as d,al as s}from"./CvMqUdkl.js";const i={base:"grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0"},g={__name:"ProseCardGroup",props:{class:{type:null,required:!1}},setup(e){const a=e,o=c(),r=l(()=>s({extend:s(i),...o.ui?.prose?.cardGroup||{}}));return(t,m)=>(n(),p("div",{class:d(r.value({class:a.class}))},[u(t.$slots,"default")],2))}};export{g as default};
1
+ import{N as c,c as l,G as p,R as n,a4 as u,U as d,am as s}from"./B63LIwsW.js";const i={base:"grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0"},g={__name:"ProseCardGroup",props:{class:{type:null,required:!1}},setup(e){const a=e,o=c(),r=l(()=>s({extend:s(i),...o.ui?.prose?.cardGroup||{}}));return(t,m)=>(n(),p("div",{class:d(r.value({class:a.class}))},[u(t.$slots,"default")],2))}};export{g as default};
@@ -1 +1 @@
1
- import{N as l,c as n,G as c,R as i,a4 as p,U as u,al as s,aa as m,ae as d}from"./CvMqUdkl.js";const f={base:"*:first:mt-0 *:last:mb-0 *:my-1.5"},y={__name:"ProseTabsItem",props:{label:{type:String,required:!0},description:{type:String,required:!1},class:{type:null,required:!1}},setup(e){const a=e,t=l(),r=n(()=>s({extend:s(f),...t.ui?.prose?.tabsItem||{}}));return(o,b)=>(i(),c("div",{class:u(r.value({class:a.class}))},[p(o.$slots,"default",{},()=>[m(d(e.description),1)])],2))}};export{y as default};
1
+ import{N as l,c as n,G as c,R as i,a4 as p,U as u,am as s,aa as m,ae as d}from"./B63LIwsW.js";const f={base:"*:first:mt-0 *:last:mb-0 *:my-1.5"},y={__name:"ProseTabsItem",props:{label:{type:String,required:!0},description:{type:String,required:!1},class:{type:null,required:!1}},setup(e){const a=e,t=l(),r=n(()=>s({extend:s(f),...t.ui?.prose?.tabsItem||{}}));return(o,b)=>(i(),c("div",{class:u(r.value({class:a.class}))},[p(o.$slots,"default",{},()=>[m(d(e.description),1)])],2))}};export{y as default};
@@ -0,0 +1 @@
1
+ import{N as r,c,G as n,R as p,a4 as u,U as i,am as s}from"./B63LIwsW.js";const m={base:"list-disc ps-6 my-5 marker:text-(--ui-border-accented)"},_={__name:"ProseUl",props:{class:{type:null,required:!1}},setup(e){const a=e,t=r(),o=c(()=>s({extend:s(m),...t.ui?.prose?.ul||{}}));return(l,d)=>(p(),n("ul",{class:i(o.value({class:a.class}))},[u(l.$slots,"default")],2))}};export{_ as default};
@@ -1,4 +1,4 @@
1
- import{a as b,s as p,q as g,E as f,F as v,G as k,h as y,H as h,I as T,J as _,K as C}from"./CvMqUdkl.js";const O=Symbol.for("nuxt:client-only"),d="<div></div>",H=b({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(t,{slots:n,attrs:s}){const u=p(!1);g(()=>{u.value=!0});const o=y();return o&&(o._nuxtClientOnly=!0),C(O,!0),()=>{if(u.value){const e=n.default?.();return e&&e.length===1?[f(e[0],s)]:e}const r=n.fallback||n.placeholder;if(r)return v(r);const l=t.fallback||t.placeholder||"",a=t.fallbackTag||t.placeholderTag||"span";return k(a,s,l)}}}),m=new WeakMap;function I(t){if(m.has(t))return m.get(t);const n={...t};return n.render?n.render=(s,u,o,r,l,a)=>{if(r.mounted$??s.mounted$){const e=t.render?.bind(s)(s,u,o,r,l,a);return e.children===null||typeof e.children=="string"?f(e):v(e)}return h(s._.vnode.el,d)}:n.template&&=`
1
+ import{a as b,s as p,q as g,E as f,F as v,G as k,h as y,H as h,I as T,J as _,K as C}from"./B63LIwsW.js";const O=Symbol.for("nuxt:client-only"),d="<div></div>",H=b({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(t,{slots:n,attrs:s}){const u=p(!1);g(()=>{u.value=!0});const o=y();return o&&(o._nuxtClientOnly=!0),C(O,!0),()=>{if(u.value){const e=n.default?.();return e&&e.length===1?[f(e[0],s)]:e}const r=n.fallback||n.placeholder;if(r)return v(r);const l=t.fallback||t.placeholder||"",a=t.fallbackTag||t.placeholderTag||"span";return k(a,s,l)}}}),m=new WeakMap;function I(t){if(m.has(t))return m.get(t);const n={...t};return n.render?n.render=(s,u,o,r,l,a)=>{if(r.mounted$??s.mounted$){const e=t.render?.bind(s)(s,u,o,r,l,a);return e.children===null||typeof e.children=="string"?f(e):v(e)}return h(s._.vnode.el,d)}:n.template&&=`
2
2
  <template v-if="mounted$">${t.template}</template>
3
3
  <template v-else>${d}</template>
4
4
  `,n.setup=(s,u)=>{const o=T(),r=p(o.isHydrating===!1),l=y();if(o.isHydrating){const e={...l.attrs},c=$(l);for(const i in e)delete l.attrs[i];g(()=>{Object.assign(l.attrs,e),l.vnode.dirs=c})}g(()=>{r.value=!0});const a=t.setup?.(s,u)||{};return _(a)?Promise.resolve(a).then(e=>typeof e!="function"?(e||={},e.mounted$=r,e):(...c)=>{if(r.value||!o.isHydrating){const i=e(...c);return i.children===null||typeof i.children=="string"?f(i):v(i)}return h(l?.vnode.el,d)}):typeof a=="function"?(...e)=>{if(r.value){const c=a(...e),i=n.inheritAttrs!==!1?u.attrs:void 0;return c.children===null||typeof c.children=="string"?f(c,i):v(c,i)}return h(l?.vnode.el,d)}:Object.assign(a,{mounted$:r})},m.set(t,n),n}function $(t){if(!t||!t.vnode.dirs)return null;const n=t.vnode.dirs;return t.vnode.dirs=null,n}export{H as _,O as a,I as c};