@bitcobblers/wod-wiki-tools 0.49.2183 → 0.50.2184

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 (600) hide show
  1. package/dist/bin/wod.cjs +1 -1
  2. package/dist/bin/wod.cjs.map +1 -1
  3. package/dist/bin/wod.mjs +2 -2
  4. package/dist/{chunk-5P63S5IY.mjs → chunk-LW4ZAOT6.mjs} +3 -3
  5. package/dist/chunk-LW4ZAOT6.mjs.map +1 -0
  6. package/dist/{chunk-DHKWBU25.mjs → chunk-MJMMDEDQ.mjs} +4 -4
  7. package/dist/{chunk-DHKWBU25.mjs.map → chunk-MJMMDEDQ.mjs.map} +1 -1
  8. package/dist/index.cjs +1 -1
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.mjs +2 -2
  11. package/dist/{scaffoldFeed-R2CTKYTU.mjs → scaffoldFeed-RQC2OI5R.mjs} +3 -3
  12. package/dist/{scaffoldFeed-R2CTKYTU.mjs.map → scaffoldFeed-RQC2OI5R.mjs.map} +1 -1
  13. package/dist/web/playground/assets/{main-CCPZ_XaW.js → main-Wx40U8XN.js} +118 -117
  14. package/dist/web/playground/assets/{statementBuilderFlow-BMawdGSd.js → statementBuilderFlow-oynzUSMY.js} +2 -2
  15. package/dist/web/playground/assets/{vendor-DnqYaW-D.js → vendor-CYqjCEUX.js} +2 -2
  16. package/dist/web/playground/assets/{vendor-codemirror-DiPqXWq7.js → vendor-codemirror-Di94gjTg.js} +2 -2
  17. package/dist/web/playground/index.html +3 -3
  18. package/dist/web/{server/seed/core/chunks/canvas.d6841fce.json → playground/seed/core/chunks/canvas.25d1f94c.json} +1 -1
  19. package/dist/web/playground/seed/core/chunks/{dashboards.dbdd66dc.json → dashboards.5bfc0ae4.json} +1 -1
  20. package/dist/web/playground/seed/core/chunks/{efforts.facb7402.json → efforts.5ac62b59.json} +1 -1
  21. package/dist/web/playground/seed/core/chunks/{equipment.cda20441.json → equipment.297a488a.json} +1 -1
  22. package/dist/web/playground/seed/core/indexes/notebooks/canvas.json +180 -180
  23. package/dist/web/playground/seed/core/indexes/notebooks/dashboards.json +16 -16
  24. package/dist/web/playground/seed/core/indexes/notebooks/efforts.json +326 -326
  25. package/dist/web/playground/seed/core/indexes/notebooks/equipment.json +50 -50
  26. package/dist/web/playground/seed/core/manifest.json +27 -27
  27. package/dist/web/playground/seed/core/markdown/canvas/ai-first/README.json +1 -1
  28. package/dist/web/playground/seed/core/markdown/canvas/guide/README.json +4 -4
  29. package/dist/web/playground/seed/core/markdown/canvas/guide/clock.json +1 -1
  30. package/dist/web/playground/seed/core/markdown/canvas/guide/dashboards.json +2 -2
  31. package/dist/web/playground/seed/core/markdown/canvas/guide/metrics-summaries.json +2 -2
  32. package/dist/web/playground/seed/core/markdown/canvas/guide/metrics.json +12 -12
  33. package/dist/web/playground/seed/core/markdown/canvas/guide/protocols.json +20 -20
  34. package/dist/web/playground/seed/core/markdown/canvas/guide/sessions.json +30 -30
  35. package/dist/web/playground/seed/core/markdown/canvas/guide/start.json +10 -10
  36. package/dist/web/playground/seed/core/markdown/canvas/guide/structure.json +24 -24
  37. package/dist/web/playground/seed/core/markdown/canvas/guide/wql.json +5 -5
  38. package/dist/web/playground/seed/core/markdown/canvas/home/sample-script.json +4 -4
  39. package/dist/web/playground/seed/core/markdown/canvas/home/welcome-1.json +2 -2
  40. package/dist/web/playground/seed/core/markdown/canvas/syntax/actions-comments.json +4 -4
  41. package/dist/web/playground/seed/core/markdown/canvas/syntax/alternating-emom.json +5 -5
  42. package/dist/web/playground/seed/core/markdown/canvas/syntax/basic-emom.json +4 -4
  43. package/dist/web/playground/seed/core/markdown/canvas/syntax/calculated-metrics.json +4 -4
  44. package/dist/web/playground/seed/core/markdown/canvas/syntax/classic-amrap.json +6 -6
  45. package/dist/web/playground/seed/core/markdown/canvas/syntax/complex-barbell-cycling.json +4 -4
  46. package/dist/web/playground/seed/core/markdown/canvas/syntax/complex-full-session.json +9 -9
  47. package/dist/web/playground/seed/core/markdown/canvas/syntax/complex-nested-protocols.json +7 -7
  48. package/dist/web/playground/seed/core/markdown/canvas/syntax/complex-partner-workout.json +7 -7
  49. package/dist/web/playground/seed/core/markdown/canvas/syntax/complex-swimming.json +3 -3
  50. package/dist/web/playground/seed/core/markdown/canvas/syntax/core-rules.json +4 -4
  51. package/dist/web/playground/seed/core/markdown/canvas/syntax/custom-and-calculated-metrics.json +4 -4
  52. package/dist/web/playground/seed/core/markdown/canvas/syntax/custom-intervals.json +4 -4
  53. package/dist/web/playground/seed/core/markdown/canvas/syntax/custom-metrics-1.json +4 -4
  54. package/dist/web/playground/seed/core/markdown/canvas/syntax/custom-metrics-2.json +5 -5
  55. package/dist/web/playground/seed/core/markdown/canvas/syntax/custom-metrics-3.json +2 -2
  56. package/dist/web/playground/seed/core/markdown/canvas/syntax/custom-metrics-4.json +4 -4
  57. package/dist/web/playground/seed/core/markdown/canvas/syntax/custom-metrics-5.json +4 -4
  58. package/dist/web/playground/seed/core/markdown/canvas/syntax/dialect-climb-bouldering.json +2 -2
  59. package/dist/web/playground/seed/core/markdown/canvas/syntax/dialect-climb-hangboard.json +2 -2
  60. package/dist/web/playground/seed/core/markdown/canvas/syntax/dialect-climb-sport.json +2 -2
  61. package/dist/web/playground/seed/core/markdown/canvas/syntax/dialect-log.json +4 -4
  62. package/dist/web/playground/seed/core/markdown/canvas/syntax/dialect-plan.json +8 -8
  63. package/dist/web/playground/seed/core/markdown/canvas/syntax/dialect-wod.json +5 -5
  64. package/dist/web/playground/seed/core/markdown/canvas/syntax/distance-intervals.json +3 -3
  65. package/dist/web/playground/seed/core/markdown/canvas/syntax/document-1.json +4 -4
  66. package/dist/web/playground/seed/core/markdown/canvas/syntax/document-2.json +5 -5
  67. package/dist/web/playground/seed/core/markdown/canvas/syntax/document-3.json +10 -10
  68. package/dist/web/playground/seed/core/markdown/canvas/syntax/document-4.json +4 -4
  69. package/dist/web/playground/seed/core/markdown/canvas/syntax/effort-notes.json +4 -4
  70. package/dist/web/playground/seed/core/markdown/canvas/syntax/frontmatter-summaries.json +4 -4
  71. package/dist/web/playground/seed/core/markdown/canvas/syntax/groups-1.json +5 -5
  72. package/dist/web/playground/seed/core/markdown/canvas/syntax/groups-2.json +6 -6
  73. package/dist/web/playground/seed/core/markdown/canvas/syntax/groups-3.json +3 -3
  74. package/dist/web/playground/seed/core/markdown/canvas/syntax/groups-4.json +3 -3
  75. package/dist/web/playground/seed/core/markdown/canvas/syntax/longer-duration.json +4 -4
  76. package/dist/web/playground/seed/core/markdown/canvas/syntax/longer-intervals.json +4 -4
  77. package/dist/web/playground/seed/core/markdown/canvas/syntax/measurements.json +4 -4
  78. package/dist/web/playground/seed/core/markdown/canvas/syntax/metrics-1.json +5 -5
  79. package/dist/web/playground/seed/core/markdown/canvas/syntax/metrics-2.json +7 -7
  80. package/dist/web/playground/seed/core/markdown/canvas/syntax/metrics-3.json +8 -8
  81. package/dist/web/playground/seed/core/markdown/canvas/syntax/metrics-4.json +5 -5
  82. package/dist/web/playground/seed/core/markdown/canvas/syntax/metrics-5.json +5 -5
  83. package/dist/web/playground/seed/core/markdown/canvas/syntax/mixed-sections.json +8 -8
  84. package/dist/web/playground/seed/core/markdown/canvas/syntax/mixed-timers.json +5 -5
  85. package/dist/web/playground/seed/core/markdown/canvas/syntax/multiple-amrap-windows.json +7 -7
  86. package/dist/web/playground/seed/core/markdown/canvas/syntax/multiple-sets.json +4 -4
  87. package/dist/web/playground/seed/core/markdown/canvas/syntax/named-groups.json +5 -5
  88. package/dist/web/playground/seed/core/markdown/canvas/syntax/protocols-1.json +6 -6
  89. package/dist/web/playground/seed/core/markdown/canvas/syntax/protocols-2.json +4 -4
  90. package/dist/web/playground/seed/core/markdown/canvas/syntax/protocols-3.json +6 -6
  91. package/dist/web/playground/seed/core/markdown/canvas/syntax/protocols-4.json +3 -3
  92. package/dist/web/playground/seed/core/markdown/canvas/syntax/protocols-5.json +4 -4
  93. package/dist/web/playground/seed/core/markdown/canvas/syntax/single-movement.json +3 -3
  94. package/dist/web/playground/seed/core/markdown/canvas/syntax/supplemental-1.json +4 -4
  95. package/dist/web/playground/seed/core/markdown/canvas/syntax/supplemental-2.json +5 -5
  96. package/dist/web/playground/seed/core/markdown/canvas/syntax/supplemental-3.json +4 -4
  97. package/dist/web/playground/seed/core/markdown/canvas/syntax/supplemental-4.json +4 -4
  98. package/dist/web/playground/seed/core/markdown/canvas/syntax/time-cap.json +6 -6
  99. package/dist/web/playground/seed/core/markdown/canvas/syntax/timer-modifiers.json +6 -6
  100. package/dist/web/playground/seed/core/markdown/canvas/syntax/timers-1.json +6 -6
  101. package/dist/web/playground/seed/core/markdown/canvas/syntax/timers-2.json +4 -4
  102. package/dist/web/playground/seed/core/markdown/canvas/syntax/timers-3.json +3 -3
  103. package/dist/web/playground/seed/core/markdown/canvas/syntax/timers-4.json +4 -4
  104. package/dist/web/playground/seed/core/markdown/canvas/syntax/timers-5.json +5 -5
  105. package/dist/web/playground/seed/core/markdown/canvas/syntax/timers-rest.json +4 -4
  106. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/aggregate-by-effort.json +2 -2
  107. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/aggregate-by-week.json +2 -2
  108. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/content-fran.json +2 -2
  109. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/filter-combos.json +2 -2
  110. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/pipes-limit.json +2 -2
  111. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/session-rpe.json +2 -2
  112. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/source-journal.json +2 -2
  113. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/tis-trend.json +2 -2
  114. package/dist/web/playground/seed/core/markdown/canvas/wql-presets/where-join.json +2 -2
  115. package/dist/web/playground/seed/core/markdown/dashboards/benchmark-pr-board.json +6 -6
  116. package/dist/web/playground/seed/core/markdown/dashboards/finger-strength-v8.json +5 -5
  117. package/dist/web/playground/seed/core/markdown/dashboards/polarized-base-marathon.json +9 -9
  118. package/dist/web/playground/seed/core/markdown/dashboards/recovery-readiness.json +7 -7
  119. package/dist/web/playground/seed/core/markdown/dashboards/road-to-560-total.json +9 -9
  120. package/dist/web/playground/seed/core/markdown/dashboards/training-block-review.json +11 -11
  121. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/air-squat.json +1 -1
  122. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/box-jump.json +1 -1
  123. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/broad-jump.json +1 -1
  124. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/burpee-box-jump-over.json +1 -1
  125. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/burpee-over-dumbbell.json +1 -1
  126. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/burpee.json +1 -1
  127. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/dumbbell-squat-clean.json +1 -1
  128. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/ghd-sit-up.json +1 -1
  129. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/ground-kong.json +1 -1
  130. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/jumping-jack.json +1 -1
  131. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/kong-walk.json +1 -1
  132. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/lunge.json +1 -1
  133. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/overhead-squat.json +1 -1
  134. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/parkour-roll.json +1 -1
  135. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/parkour-squat.json +1 -1
  136. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/pistol-squat.json +1 -1
  137. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/plank.json +1 -1
  138. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/precision-burpee.json +1 -1
  139. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/precision-jump.json +1 -1
  140. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/quadrupedal-movement.json +1 -1
  141. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/russian-twist.json +1 -1
  142. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/sit-up.json +1 -1
  143. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/squat-clean.json +1 -1
  144. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/squat-hold.json +1 -1
  145. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/squat-snatch.json +1 -1
  146. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/tuck-jump.json +1 -1
  147. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/wall-ball.json +1 -1
  148. package/dist/web/playground/seed/core/markdown/efforts/bodyweight/wall-burpee.json +1 -1
  149. package/dist/web/playground/seed/core/markdown/efforts/cycling/assault-bike.json +1 -1
  150. package/dist/web/playground/seed/core/markdown/efforts/cycling/cycling-moderate.json +1 -1
  151. package/dist/web/playground/seed/core/markdown/efforts/cycling/cycling-vigorous.json +1 -1
  152. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/assisted-pull-up.json +1 -1
  153. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/burpee-pull-up.json +1 -1
  154. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/chest-to-bar-pull-up.json +1 -1
  155. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/dip.json +1 -1
  156. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/double-under.json +1 -1
  157. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/handstand-hold.json +1 -1
  158. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/handstand-push-up.json +1 -1
  159. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/handstand-walk.json +1 -1
  160. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/jump-rope.json +1 -1
  161. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/jumping-pull-up.json +1 -1
  162. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/jumping-push-up.json +1 -1
  163. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/l-sit-pull-up.json +1 -1
  164. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/muscle-up.json +1 -1
  165. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/pull-up.json +1 -1
  166. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/push-up.json +1 -1
  167. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/reverse-wall-dip.json +1 -1
  168. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/rope-climb.json +1 -1
  169. package/dist/web/playground/seed/core/markdown/efforts/gymnastics/toes-to-bar.json +1 -1
  170. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-arm-bar.json +1 -1
  171. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-around-the-world.json +1 -1
  172. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-bent-over-row.json +1 -1
  173. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-clean-and-jerk.json +1 -1
  174. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-clean-and-press.json +1 -1
  175. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-clean.json +1 -1
  176. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-deadlift.json +1 -1
  177. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-floor-press.json +1 -1
  178. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-front-squat.json +1 -1
  179. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-goblet-squat.json +1 -1
  180. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-gorilla-row.json +1 -1
  181. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-halo.json +1 -1
  182. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-jerk.json +1 -1
  183. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-overhead-squat.json +1 -1
  184. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-press.json +1 -1
  185. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-snatch.json +1 -1
  186. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-swing.json +1 -1
  187. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/kettlebell-windmill.json +1 -1
  188. package/dist/web/playground/seed/core/markdown/efforts/kettlebell/turkish-get-up.json +1 -1
  189. package/dist/web/playground/seed/core/markdown/efforts/recovery/rest.json +1 -1
  190. package/dist/web/playground/seed/core/markdown/efforts/recovery/stretching.json +1 -1
  191. package/dist/web/playground/seed/core/markdown/efforts/rowing/rowing-sprint.json +1 -1
  192. package/dist/web/playground/seed/core/markdown/efforts/rowing/rowing.json +1 -1
  193. package/dist/web/playground/seed/core/markdown/efforts/rowing/ski-erg.json +1 -1
  194. package/dist/web/playground/seed/core/markdown/efforts/running/backward-running.json +1 -1
  195. package/dist/web/playground/seed/core/markdown/efforts/running/running-6-mph.json +1 -1
  196. package/dist/web/playground/seed/core/markdown/efforts/running/running-8-mph.json +1 -1
  197. package/dist/web/playground/seed/core/markdown/efforts/running/running-sprint.json +1 -1
  198. package/dist/web/playground/seed/core/markdown/efforts/snatch.json +2 -2
  199. package/dist/web/playground/seed/core/markdown/efforts/strength/back-squat.json +1 -1
  200. package/dist/web/playground/seed/core/markdown/efforts/strength/bench-press.json +1 -1
  201. package/dist/web/playground/seed/core/markdown/efforts/strength/box-step-up.json +1 -1
  202. package/dist/web/playground/seed/core/markdown/efforts/strength/carioca.json +1 -1
  203. package/dist/web/playground/seed/core/markdown/efforts/strength/clean-and-jerk.json +1 -1
  204. package/dist/web/playground/seed/core/markdown/efforts/strength/cluster.json +1 -1
  205. package/dist/web/playground/seed/core/markdown/efforts/strength/dead-hang.json +1 -1
  206. package/dist/web/playground/seed/core/markdown/efforts/strength/deadlift.json +1 -1
  207. package/dist/web/playground/seed/core/markdown/efforts/strength/devils-press.json +1 -1
  208. package/dist/web/playground/seed/core/markdown/efforts/strength/dumbbell-box-step-up.json +1 -1
  209. package/dist/web/playground/seed/core/markdown/efforts/strength/dumbbell-clean.json +1 -1
  210. package/dist/web/playground/seed/core/markdown/efforts/strength/dumbbell-fly.json +1 -1
  211. package/dist/web/playground/seed/core/markdown/efforts/strength/dumbbell-row.json +1 -1
  212. package/dist/web/playground/seed/core/markdown/efforts/strength/dumbbell-snatch.json +1 -1
  213. package/dist/web/playground/seed/core/markdown/efforts/strength/dumbbell-thruster.json +1 -1
  214. package/dist/web/playground/seed/core/markdown/efforts/strength/elbows-to-knees.json +1 -1
  215. package/dist/web/playground/seed/core/markdown/efforts/strength/farmer-carry.json +1 -1
  216. package/dist/web/playground/seed/core/markdown/efforts/strength/frog-stand.json +1 -1
  217. package/dist/web/playground/seed/core/markdown/efforts/strength/front-squat.json +1 -1
  218. package/dist/web/playground/seed/core/markdown/efforts/strength/good-morning.json +1 -1
  219. package/dist/web/playground/seed/core/markdown/efforts/strength/hanging-leg-raise.json +1 -1
  220. package/dist/web/playground/seed/core/markdown/efforts/strength/hollow-rock.json +1 -1
  221. package/dist/web/playground/seed/core/markdown/efforts/strength/knees-to-elbows.json +1 -1
  222. package/dist/web/playground/seed/core/markdown/efforts/strength/l-sit.json +1 -1
  223. package/dist/web/playground/seed/core/markdown/efforts/strength/man-maker.json +1 -1
  224. package/dist/web/playground/seed/core/markdown/efforts/strength/medicine-ball-clean.json +1 -1
  225. package/dist/web/playground/seed/core/markdown/efforts/strength/overhead-press.json +1 -1
  226. package/dist/web/playground/seed/core/markdown/efforts/strength/parkour-vault.json +1 -1
  227. package/dist/web/playground/seed/core/markdown/efforts/strength/pig-flip.json +1 -1
  228. package/dist/web/playground/seed/core/markdown/efforts/strength/power-clean.json +1 -1
  229. package/dist/web/playground/seed/core/markdown/efforts/strength/power-snatch.json +1 -1
  230. package/dist/web/playground/seed/core/markdown/efforts/strength/push-jerk.json +1 -1
  231. package/dist/web/playground/seed/core/markdown/efforts/strength/push-press.json +1 -1
  232. package/dist/web/playground/seed/core/markdown/efforts/strength/romanian-deadlift.json +1 -1
  233. package/dist/web/playground/seed/core/markdown/efforts/strength/single-leg-deadlift.json +1 -1
  234. package/dist/web/playground/seed/core/markdown/efforts/strength/skull-crusher.json +1 -1
  235. package/dist/web/playground/seed/core/markdown/efforts/strength/slam-ball.json +1 -1
  236. package/dist/web/playground/seed/core/markdown/efforts/strength/sled-pull.json +1 -1
  237. package/dist/web/playground/seed/core/markdown/efforts/strength/sled-push.json +1 -1
  238. package/dist/web/playground/seed/core/markdown/efforts/strength/sumo-deadlift.json +1 -1
  239. package/dist/web/playground/seed/core/markdown/efforts/strength/thruster.json +1 -1
  240. package/dist/web/playground/seed/core/markdown/efforts/strength/triceps-extension.json +1 -1
  241. package/dist/web/playground/seed/core/markdown/efforts/strength/v-sit-hold.json +1 -1
  242. package/dist/web/playground/seed/core/markdown/efforts/strength/wall-walk.json +1 -1
  243. package/dist/web/playground/seed/core/markdown/efforts/strength/yoga-sun-salutation.json +1 -1
  244. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-assisted-sprint.json +1 -1
  245. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-backstroke.json +1 -1
  246. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-breaststroke-kick.json +1 -1
  247. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-breaststroke.json +1 -1
  248. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-butterfly.json +1 -1
  249. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-catch-up-drill.json +1 -1
  250. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-choice-stroke.json +1 -1
  251. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-dive-start.json +1 -1
  252. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-dolphin-kick.json +1 -1
  253. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-drafting.json +1 -1
  254. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-fingertip-drag.json +1 -1
  255. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-freestyle.json +1 -1
  256. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-individual-medley.json +1 -1
  257. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-kick.json +1 -1
  258. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-pull.json +1 -1
  259. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-resisted-sprint.json +1 -1
  260. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-rotation-drill.json +1 -1
  261. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-sighting.json +1 -1
  262. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-single-arm-drill.json +1 -1
  263. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-stroke-transition.json +1 -1
  264. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-two-kick-one-pull.json +1 -1
  265. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming-vigorous.json +1 -1
  266. package/dist/web/playground/seed/core/markdown/efforts/swimming/swimming.json +1 -1
  267. package/dist/web/playground/seed/core/markdown/efforts/unconventional/clubbell-arm-cast.json +1 -1
  268. package/dist/web/playground/seed/core/markdown/efforts/unconventional/clubbell-circles.json +1 -1
  269. package/dist/web/playground/seed/core/markdown/efforts/unconventional/clubbell-mill.json +1 -1
  270. package/dist/web/playground/seed/core/markdown/efforts/unconventional/clubbell-reverse-mill.json +1 -1
  271. package/dist/web/playground/seed/core/markdown/efforts/unconventional/clubbell-shield-cast.json +1 -1
  272. package/dist/web/playground/seed/core/markdown/efforts/unconventional/macebell-10-to-2-swing.json +1 -1
  273. package/dist/web/playground/seed/core/markdown/efforts/unconventional/macebell-360-swing.json +1 -1
  274. package/dist/web/playground/seed/core/markdown/efforts/unconventional/macebell-barbarian-squat.json +1 -1
  275. package/dist/web/playground/seed/core/markdown/efforts/unconventional/macebell-flow.json +1 -1
  276. package/dist/web/playground/seed/core/markdown/efforts/unconventional/macebell-gravedigger.json +1 -1
  277. package/dist/web/playground/seed/core/markdown/efforts/unconventional/macebell-touchdown.json +1 -1
  278. package/dist/web/playground/seed/core/markdown/efforts/unconventional/sandbag-bear-hug-carry.json +1 -1
  279. package/dist/web/playground/seed/core/markdown/efforts/unconventional/sandbag-bear-hug-extension.json +1 -1
  280. package/dist/web/playground/seed/core/markdown/efforts/unconventional/sandbag-over-shoulder.json +1 -1
  281. package/dist/web/playground/seed/core/markdown/efforts/walking/walking-3-mph.json +1 -1
  282. package/dist/web/playground/seed/core/markdown/equipment/air-bike.json +1 -1
  283. package/dist/web/playground/seed/core/markdown/equipment/barbell.json +1 -1
  284. package/dist/web/playground/seed/core/markdown/equipment/bench.json +1 -1
  285. package/dist/web/playground/seed/core/markdown/equipment/bike-erg.json +1 -1
  286. package/dist/web/playground/seed/core/markdown/equipment/climbing-rope.json +1 -1
  287. package/dist/web/playground/seed/core/markdown/equipment/clubs.json +1 -1
  288. package/dist/web/playground/seed/core/markdown/equipment/dumbbell.json +1 -1
  289. package/dist/web/playground/seed/core/markdown/equipment/ghd.json +1 -1
  290. package/dist/web/playground/seed/core/markdown/equipment/gymnastic-rings.json +1 -1
  291. package/dist/web/playground/seed/core/markdown/equipment/jump-rope.json +1 -1
  292. package/dist/web/playground/seed/core/markdown/equipment/kettlebell.json +1 -1
  293. package/dist/web/playground/seed/core/markdown/equipment/macebell.json +1 -1
  294. package/dist/web/playground/seed/core/markdown/equipment/medicine-ball.json +1 -1
  295. package/dist/web/playground/seed/core/markdown/equipment/parallettes.json +1 -1
  296. package/dist/web/playground/seed/core/markdown/equipment/plyo-box.json +1 -1
  297. package/dist/web/playground/seed/core/markdown/equipment/pull-up-bar.json +1 -1
  298. package/dist/web/playground/seed/core/markdown/equipment/rower.json +1 -1
  299. package/dist/web/playground/seed/core/markdown/equipment/sandbag.json +1 -1
  300. package/dist/web/playground/seed/core/markdown/equipment/ski-erg.json +1 -1
  301. package/dist/web/playground/seed/core/markdown/equipment/slam-ball.json +1 -1
  302. package/dist/web/playground/seed/core/markdown/equipment/sled.json +1 -1
  303. package/dist/web/playground/seed/core/markdown/equipment/sledgehammer.json +1 -1
  304. package/dist/web/playground/seed/core/markdown/equipment/weight-vest.json +1 -1
  305. package/dist/web/playground/seed/core/report.html +13 -13
  306. package/dist/web/server/assets/{main-BE3N20L7.js → main-y6U8IDTV.js} +119 -118
  307. package/dist/web/server/assets/{statementBuilderFlow-Ch2I2YKB.js → statementBuilderFlow-DxXmF4ct.js} +2 -2
  308. package/dist/web/server/assets/{vendor-DnqYaW-D.js → vendor-CYqjCEUX.js} +2 -2
  309. package/dist/web/server/assets/{vendor-codemirror-DiPqXWq7.js → vendor-codemirror-Di94gjTg.js} +2 -2
  310. package/dist/web/server/index.html +3 -3
  311. package/dist/web/{playground/seed/core/chunks/canvas.d6841fce.json → server/seed/core/chunks/canvas.25d1f94c.json} +1 -1
  312. package/dist/web/server/seed/core/chunks/{dashboards.dbdd66dc.json → dashboards.5bfc0ae4.json} +1 -1
  313. package/dist/web/server/seed/core/chunks/{efforts.facb7402.json → efforts.5ac62b59.json} +1 -1
  314. package/dist/web/server/seed/core/chunks/{equipment.cda20441.json → equipment.297a488a.json} +1 -1
  315. package/dist/web/server/seed/core/indexes/notebooks/canvas.json +180 -180
  316. package/dist/web/server/seed/core/indexes/notebooks/dashboards.json +16 -16
  317. package/dist/web/server/seed/core/indexes/notebooks/efforts.json +326 -326
  318. package/dist/web/server/seed/core/indexes/notebooks/equipment.json +50 -50
  319. package/dist/web/server/seed/core/manifest.json +27 -27
  320. package/dist/web/server/seed/core/markdown/canvas/ai-first/README.json +1 -1
  321. package/dist/web/server/seed/core/markdown/canvas/guide/README.json +4 -4
  322. package/dist/web/server/seed/core/markdown/canvas/guide/clock.json +1 -1
  323. package/dist/web/server/seed/core/markdown/canvas/guide/dashboards.json +2 -2
  324. package/dist/web/server/seed/core/markdown/canvas/guide/metrics-summaries.json +2 -2
  325. package/dist/web/server/seed/core/markdown/canvas/guide/metrics.json +12 -12
  326. package/dist/web/server/seed/core/markdown/canvas/guide/protocols.json +20 -20
  327. package/dist/web/server/seed/core/markdown/canvas/guide/sessions.json +30 -30
  328. package/dist/web/server/seed/core/markdown/canvas/guide/start.json +10 -10
  329. package/dist/web/server/seed/core/markdown/canvas/guide/structure.json +24 -24
  330. package/dist/web/server/seed/core/markdown/canvas/guide/wql.json +5 -5
  331. package/dist/web/server/seed/core/markdown/canvas/home/sample-script.json +4 -4
  332. package/dist/web/server/seed/core/markdown/canvas/home/welcome-1.json +2 -2
  333. package/dist/web/server/seed/core/markdown/canvas/syntax/actions-comments.json +4 -4
  334. package/dist/web/server/seed/core/markdown/canvas/syntax/alternating-emom.json +5 -5
  335. package/dist/web/server/seed/core/markdown/canvas/syntax/basic-emom.json +4 -4
  336. package/dist/web/server/seed/core/markdown/canvas/syntax/calculated-metrics.json +4 -4
  337. package/dist/web/server/seed/core/markdown/canvas/syntax/classic-amrap.json +6 -6
  338. package/dist/web/server/seed/core/markdown/canvas/syntax/complex-barbell-cycling.json +4 -4
  339. package/dist/web/server/seed/core/markdown/canvas/syntax/complex-full-session.json +9 -9
  340. package/dist/web/server/seed/core/markdown/canvas/syntax/complex-nested-protocols.json +7 -7
  341. package/dist/web/server/seed/core/markdown/canvas/syntax/complex-partner-workout.json +7 -7
  342. package/dist/web/server/seed/core/markdown/canvas/syntax/complex-swimming.json +3 -3
  343. package/dist/web/server/seed/core/markdown/canvas/syntax/core-rules.json +4 -4
  344. package/dist/web/server/seed/core/markdown/canvas/syntax/custom-and-calculated-metrics.json +4 -4
  345. package/dist/web/server/seed/core/markdown/canvas/syntax/custom-intervals.json +4 -4
  346. package/dist/web/server/seed/core/markdown/canvas/syntax/custom-metrics-1.json +4 -4
  347. package/dist/web/server/seed/core/markdown/canvas/syntax/custom-metrics-2.json +5 -5
  348. package/dist/web/server/seed/core/markdown/canvas/syntax/custom-metrics-3.json +2 -2
  349. package/dist/web/server/seed/core/markdown/canvas/syntax/custom-metrics-4.json +4 -4
  350. package/dist/web/server/seed/core/markdown/canvas/syntax/custom-metrics-5.json +4 -4
  351. package/dist/web/server/seed/core/markdown/canvas/syntax/dialect-climb-bouldering.json +2 -2
  352. package/dist/web/server/seed/core/markdown/canvas/syntax/dialect-climb-hangboard.json +2 -2
  353. package/dist/web/server/seed/core/markdown/canvas/syntax/dialect-climb-sport.json +2 -2
  354. package/dist/web/server/seed/core/markdown/canvas/syntax/dialect-log.json +4 -4
  355. package/dist/web/server/seed/core/markdown/canvas/syntax/dialect-plan.json +8 -8
  356. package/dist/web/server/seed/core/markdown/canvas/syntax/dialect-wod.json +5 -5
  357. package/dist/web/server/seed/core/markdown/canvas/syntax/distance-intervals.json +3 -3
  358. package/dist/web/server/seed/core/markdown/canvas/syntax/document-1.json +4 -4
  359. package/dist/web/server/seed/core/markdown/canvas/syntax/document-2.json +5 -5
  360. package/dist/web/server/seed/core/markdown/canvas/syntax/document-3.json +10 -10
  361. package/dist/web/server/seed/core/markdown/canvas/syntax/document-4.json +4 -4
  362. package/dist/web/server/seed/core/markdown/canvas/syntax/effort-notes.json +4 -4
  363. package/dist/web/server/seed/core/markdown/canvas/syntax/frontmatter-summaries.json +4 -4
  364. package/dist/web/server/seed/core/markdown/canvas/syntax/groups-1.json +5 -5
  365. package/dist/web/server/seed/core/markdown/canvas/syntax/groups-2.json +6 -6
  366. package/dist/web/server/seed/core/markdown/canvas/syntax/groups-3.json +3 -3
  367. package/dist/web/server/seed/core/markdown/canvas/syntax/groups-4.json +3 -3
  368. package/dist/web/server/seed/core/markdown/canvas/syntax/longer-duration.json +4 -4
  369. package/dist/web/server/seed/core/markdown/canvas/syntax/longer-intervals.json +4 -4
  370. package/dist/web/server/seed/core/markdown/canvas/syntax/measurements.json +4 -4
  371. package/dist/web/server/seed/core/markdown/canvas/syntax/metrics-1.json +5 -5
  372. package/dist/web/server/seed/core/markdown/canvas/syntax/metrics-2.json +7 -7
  373. package/dist/web/server/seed/core/markdown/canvas/syntax/metrics-3.json +8 -8
  374. package/dist/web/server/seed/core/markdown/canvas/syntax/metrics-4.json +5 -5
  375. package/dist/web/server/seed/core/markdown/canvas/syntax/metrics-5.json +5 -5
  376. package/dist/web/server/seed/core/markdown/canvas/syntax/mixed-sections.json +8 -8
  377. package/dist/web/server/seed/core/markdown/canvas/syntax/mixed-timers.json +5 -5
  378. package/dist/web/server/seed/core/markdown/canvas/syntax/multiple-amrap-windows.json +7 -7
  379. package/dist/web/server/seed/core/markdown/canvas/syntax/multiple-sets.json +4 -4
  380. package/dist/web/server/seed/core/markdown/canvas/syntax/named-groups.json +5 -5
  381. package/dist/web/server/seed/core/markdown/canvas/syntax/protocols-1.json +6 -6
  382. package/dist/web/server/seed/core/markdown/canvas/syntax/protocols-2.json +4 -4
  383. package/dist/web/server/seed/core/markdown/canvas/syntax/protocols-3.json +6 -6
  384. package/dist/web/server/seed/core/markdown/canvas/syntax/protocols-4.json +3 -3
  385. package/dist/web/server/seed/core/markdown/canvas/syntax/protocols-5.json +4 -4
  386. package/dist/web/server/seed/core/markdown/canvas/syntax/single-movement.json +3 -3
  387. package/dist/web/server/seed/core/markdown/canvas/syntax/supplemental-1.json +4 -4
  388. package/dist/web/server/seed/core/markdown/canvas/syntax/supplemental-2.json +5 -5
  389. package/dist/web/server/seed/core/markdown/canvas/syntax/supplemental-3.json +4 -4
  390. package/dist/web/server/seed/core/markdown/canvas/syntax/supplemental-4.json +4 -4
  391. package/dist/web/server/seed/core/markdown/canvas/syntax/time-cap.json +6 -6
  392. package/dist/web/server/seed/core/markdown/canvas/syntax/timer-modifiers.json +6 -6
  393. package/dist/web/server/seed/core/markdown/canvas/syntax/timers-1.json +6 -6
  394. package/dist/web/server/seed/core/markdown/canvas/syntax/timers-2.json +4 -4
  395. package/dist/web/server/seed/core/markdown/canvas/syntax/timers-3.json +3 -3
  396. package/dist/web/server/seed/core/markdown/canvas/syntax/timers-4.json +4 -4
  397. package/dist/web/server/seed/core/markdown/canvas/syntax/timers-5.json +5 -5
  398. package/dist/web/server/seed/core/markdown/canvas/syntax/timers-rest.json +4 -4
  399. package/dist/web/server/seed/core/markdown/canvas/wql-presets/aggregate-by-effort.json +2 -2
  400. package/dist/web/server/seed/core/markdown/canvas/wql-presets/aggregate-by-week.json +2 -2
  401. package/dist/web/server/seed/core/markdown/canvas/wql-presets/content-fran.json +2 -2
  402. package/dist/web/server/seed/core/markdown/canvas/wql-presets/filter-combos.json +2 -2
  403. package/dist/web/server/seed/core/markdown/canvas/wql-presets/pipes-limit.json +2 -2
  404. package/dist/web/server/seed/core/markdown/canvas/wql-presets/session-rpe.json +2 -2
  405. package/dist/web/server/seed/core/markdown/canvas/wql-presets/source-journal.json +2 -2
  406. package/dist/web/server/seed/core/markdown/canvas/wql-presets/tis-trend.json +2 -2
  407. package/dist/web/server/seed/core/markdown/canvas/wql-presets/where-join.json +2 -2
  408. package/dist/web/server/seed/core/markdown/dashboards/benchmark-pr-board.json +6 -6
  409. package/dist/web/server/seed/core/markdown/dashboards/finger-strength-v8.json +5 -5
  410. package/dist/web/server/seed/core/markdown/dashboards/polarized-base-marathon.json +9 -9
  411. package/dist/web/server/seed/core/markdown/dashboards/recovery-readiness.json +7 -7
  412. package/dist/web/server/seed/core/markdown/dashboards/road-to-560-total.json +9 -9
  413. package/dist/web/server/seed/core/markdown/dashboards/training-block-review.json +11 -11
  414. package/dist/web/server/seed/core/markdown/efforts/bodyweight/air-squat.json +1 -1
  415. package/dist/web/server/seed/core/markdown/efforts/bodyweight/box-jump.json +1 -1
  416. package/dist/web/server/seed/core/markdown/efforts/bodyweight/broad-jump.json +1 -1
  417. package/dist/web/server/seed/core/markdown/efforts/bodyweight/burpee-box-jump-over.json +1 -1
  418. package/dist/web/server/seed/core/markdown/efforts/bodyweight/burpee-over-dumbbell.json +1 -1
  419. package/dist/web/server/seed/core/markdown/efforts/bodyweight/burpee.json +1 -1
  420. package/dist/web/server/seed/core/markdown/efforts/bodyweight/dumbbell-squat-clean.json +1 -1
  421. package/dist/web/server/seed/core/markdown/efforts/bodyweight/ghd-sit-up.json +1 -1
  422. package/dist/web/server/seed/core/markdown/efforts/bodyweight/ground-kong.json +1 -1
  423. package/dist/web/server/seed/core/markdown/efforts/bodyweight/jumping-jack.json +1 -1
  424. package/dist/web/server/seed/core/markdown/efforts/bodyweight/kong-walk.json +1 -1
  425. package/dist/web/server/seed/core/markdown/efforts/bodyweight/lunge.json +1 -1
  426. package/dist/web/server/seed/core/markdown/efforts/bodyweight/overhead-squat.json +1 -1
  427. package/dist/web/server/seed/core/markdown/efforts/bodyweight/parkour-roll.json +1 -1
  428. package/dist/web/server/seed/core/markdown/efforts/bodyweight/parkour-squat.json +1 -1
  429. package/dist/web/server/seed/core/markdown/efforts/bodyweight/pistol-squat.json +1 -1
  430. package/dist/web/server/seed/core/markdown/efforts/bodyweight/plank.json +1 -1
  431. package/dist/web/server/seed/core/markdown/efforts/bodyweight/precision-burpee.json +1 -1
  432. package/dist/web/server/seed/core/markdown/efforts/bodyweight/precision-jump.json +1 -1
  433. package/dist/web/server/seed/core/markdown/efforts/bodyweight/quadrupedal-movement.json +1 -1
  434. package/dist/web/server/seed/core/markdown/efforts/bodyweight/russian-twist.json +1 -1
  435. package/dist/web/server/seed/core/markdown/efforts/bodyweight/sit-up.json +1 -1
  436. package/dist/web/server/seed/core/markdown/efforts/bodyweight/squat-clean.json +1 -1
  437. package/dist/web/server/seed/core/markdown/efforts/bodyweight/squat-hold.json +1 -1
  438. package/dist/web/server/seed/core/markdown/efforts/bodyweight/squat-snatch.json +1 -1
  439. package/dist/web/server/seed/core/markdown/efforts/bodyweight/tuck-jump.json +1 -1
  440. package/dist/web/server/seed/core/markdown/efforts/bodyweight/wall-ball.json +1 -1
  441. package/dist/web/server/seed/core/markdown/efforts/bodyweight/wall-burpee.json +1 -1
  442. package/dist/web/server/seed/core/markdown/efforts/cycling/assault-bike.json +1 -1
  443. package/dist/web/server/seed/core/markdown/efforts/cycling/cycling-moderate.json +1 -1
  444. package/dist/web/server/seed/core/markdown/efforts/cycling/cycling-vigorous.json +1 -1
  445. package/dist/web/server/seed/core/markdown/efforts/gymnastics/assisted-pull-up.json +1 -1
  446. package/dist/web/server/seed/core/markdown/efforts/gymnastics/burpee-pull-up.json +1 -1
  447. package/dist/web/server/seed/core/markdown/efforts/gymnastics/chest-to-bar-pull-up.json +1 -1
  448. package/dist/web/server/seed/core/markdown/efforts/gymnastics/dip.json +1 -1
  449. package/dist/web/server/seed/core/markdown/efforts/gymnastics/double-under.json +1 -1
  450. package/dist/web/server/seed/core/markdown/efforts/gymnastics/handstand-hold.json +1 -1
  451. package/dist/web/server/seed/core/markdown/efforts/gymnastics/handstand-push-up.json +1 -1
  452. package/dist/web/server/seed/core/markdown/efforts/gymnastics/handstand-walk.json +1 -1
  453. package/dist/web/server/seed/core/markdown/efforts/gymnastics/jump-rope.json +1 -1
  454. package/dist/web/server/seed/core/markdown/efforts/gymnastics/jumping-pull-up.json +1 -1
  455. package/dist/web/server/seed/core/markdown/efforts/gymnastics/jumping-push-up.json +1 -1
  456. package/dist/web/server/seed/core/markdown/efforts/gymnastics/l-sit-pull-up.json +1 -1
  457. package/dist/web/server/seed/core/markdown/efforts/gymnastics/muscle-up.json +1 -1
  458. package/dist/web/server/seed/core/markdown/efforts/gymnastics/pull-up.json +1 -1
  459. package/dist/web/server/seed/core/markdown/efforts/gymnastics/push-up.json +1 -1
  460. package/dist/web/server/seed/core/markdown/efforts/gymnastics/reverse-wall-dip.json +1 -1
  461. package/dist/web/server/seed/core/markdown/efforts/gymnastics/rope-climb.json +1 -1
  462. package/dist/web/server/seed/core/markdown/efforts/gymnastics/toes-to-bar.json +1 -1
  463. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-arm-bar.json +1 -1
  464. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-around-the-world.json +1 -1
  465. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-bent-over-row.json +1 -1
  466. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-clean-and-jerk.json +1 -1
  467. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-clean-and-press.json +1 -1
  468. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-clean.json +1 -1
  469. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-deadlift.json +1 -1
  470. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-floor-press.json +1 -1
  471. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-front-squat.json +1 -1
  472. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-goblet-squat.json +1 -1
  473. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-gorilla-row.json +1 -1
  474. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-halo.json +1 -1
  475. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-jerk.json +1 -1
  476. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-overhead-squat.json +1 -1
  477. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-press.json +1 -1
  478. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-snatch.json +1 -1
  479. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-swing.json +1 -1
  480. package/dist/web/server/seed/core/markdown/efforts/kettlebell/kettlebell-windmill.json +1 -1
  481. package/dist/web/server/seed/core/markdown/efforts/kettlebell/turkish-get-up.json +1 -1
  482. package/dist/web/server/seed/core/markdown/efforts/recovery/rest.json +1 -1
  483. package/dist/web/server/seed/core/markdown/efforts/recovery/stretching.json +1 -1
  484. package/dist/web/server/seed/core/markdown/efforts/rowing/rowing-sprint.json +1 -1
  485. package/dist/web/server/seed/core/markdown/efforts/rowing/rowing.json +1 -1
  486. package/dist/web/server/seed/core/markdown/efforts/rowing/ski-erg.json +1 -1
  487. package/dist/web/server/seed/core/markdown/efforts/running/backward-running.json +1 -1
  488. package/dist/web/server/seed/core/markdown/efforts/running/running-6-mph.json +1 -1
  489. package/dist/web/server/seed/core/markdown/efforts/running/running-8-mph.json +1 -1
  490. package/dist/web/server/seed/core/markdown/efforts/running/running-sprint.json +1 -1
  491. package/dist/web/server/seed/core/markdown/efforts/snatch.json +2 -2
  492. package/dist/web/server/seed/core/markdown/efforts/strength/back-squat.json +1 -1
  493. package/dist/web/server/seed/core/markdown/efforts/strength/bench-press.json +1 -1
  494. package/dist/web/server/seed/core/markdown/efforts/strength/box-step-up.json +1 -1
  495. package/dist/web/server/seed/core/markdown/efforts/strength/carioca.json +1 -1
  496. package/dist/web/server/seed/core/markdown/efforts/strength/clean-and-jerk.json +1 -1
  497. package/dist/web/server/seed/core/markdown/efforts/strength/cluster.json +1 -1
  498. package/dist/web/server/seed/core/markdown/efforts/strength/dead-hang.json +1 -1
  499. package/dist/web/server/seed/core/markdown/efforts/strength/deadlift.json +1 -1
  500. package/dist/web/server/seed/core/markdown/efforts/strength/devils-press.json +1 -1
  501. package/dist/web/server/seed/core/markdown/efforts/strength/dumbbell-box-step-up.json +1 -1
  502. package/dist/web/server/seed/core/markdown/efforts/strength/dumbbell-clean.json +1 -1
  503. package/dist/web/server/seed/core/markdown/efforts/strength/dumbbell-fly.json +1 -1
  504. package/dist/web/server/seed/core/markdown/efforts/strength/dumbbell-row.json +1 -1
  505. package/dist/web/server/seed/core/markdown/efforts/strength/dumbbell-snatch.json +1 -1
  506. package/dist/web/server/seed/core/markdown/efforts/strength/dumbbell-thruster.json +1 -1
  507. package/dist/web/server/seed/core/markdown/efforts/strength/elbows-to-knees.json +1 -1
  508. package/dist/web/server/seed/core/markdown/efforts/strength/farmer-carry.json +1 -1
  509. package/dist/web/server/seed/core/markdown/efforts/strength/frog-stand.json +1 -1
  510. package/dist/web/server/seed/core/markdown/efforts/strength/front-squat.json +1 -1
  511. package/dist/web/server/seed/core/markdown/efforts/strength/good-morning.json +1 -1
  512. package/dist/web/server/seed/core/markdown/efforts/strength/hanging-leg-raise.json +1 -1
  513. package/dist/web/server/seed/core/markdown/efforts/strength/hollow-rock.json +1 -1
  514. package/dist/web/server/seed/core/markdown/efforts/strength/knees-to-elbows.json +1 -1
  515. package/dist/web/server/seed/core/markdown/efforts/strength/l-sit.json +1 -1
  516. package/dist/web/server/seed/core/markdown/efforts/strength/man-maker.json +1 -1
  517. package/dist/web/server/seed/core/markdown/efforts/strength/medicine-ball-clean.json +1 -1
  518. package/dist/web/server/seed/core/markdown/efforts/strength/overhead-press.json +1 -1
  519. package/dist/web/server/seed/core/markdown/efforts/strength/parkour-vault.json +1 -1
  520. package/dist/web/server/seed/core/markdown/efforts/strength/pig-flip.json +1 -1
  521. package/dist/web/server/seed/core/markdown/efforts/strength/power-clean.json +1 -1
  522. package/dist/web/server/seed/core/markdown/efforts/strength/power-snatch.json +1 -1
  523. package/dist/web/server/seed/core/markdown/efforts/strength/push-jerk.json +1 -1
  524. package/dist/web/server/seed/core/markdown/efforts/strength/push-press.json +1 -1
  525. package/dist/web/server/seed/core/markdown/efforts/strength/romanian-deadlift.json +1 -1
  526. package/dist/web/server/seed/core/markdown/efforts/strength/single-leg-deadlift.json +1 -1
  527. package/dist/web/server/seed/core/markdown/efforts/strength/skull-crusher.json +1 -1
  528. package/dist/web/server/seed/core/markdown/efforts/strength/slam-ball.json +1 -1
  529. package/dist/web/server/seed/core/markdown/efforts/strength/sled-pull.json +1 -1
  530. package/dist/web/server/seed/core/markdown/efforts/strength/sled-push.json +1 -1
  531. package/dist/web/server/seed/core/markdown/efforts/strength/sumo-deadlift.json +1 -1
  532. package/dist/web/server/seed/core/markdown/efforts/strength/thruster.json +1 -1
  533. package/dist/web/server/seed/core/markdown/efforts/strength/triceps-extension.json +1 -1
  534. package/dist/web/server/seed/core/markdown/efforts/strength/v-sit-hold.json +1 -1
  535. package/dist/web/server/seed/core/markdown/efforts/strength/wall-walk.json +1 -1
  536. package/dist/web/server/seed/core/markdown/efforts/strength/yoga-sun-salutation.json +1 -1
  537. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-assisted-sprint.json +1 -1
  538. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-backstroke.json +1 -1
  539. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-breaststroke-kick.json +1 -1
  540. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-breaststroke.json +1 -1
  541. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-butterfly.json +1 -1
  542. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-catch-up-drill.json +1 -1
  543. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-choice-stroke.json +1 -1
  544. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-dive-start.json +1 -1
  545. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-dolphin-kick.json +1 -1
  546. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-drafting.json +1 -1
  547. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-fingertip-drag.json +1 -1
  548. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-freestyle.json +1 -1
  549. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-individual-medley.json +1 -1
  550. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-kick.json +1 -1
  551. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-pull.json +1 -1
  552. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-resisted-sprint.json +1 -1
  553. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-rotation-drill.json +1 -1
  554. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-sighting.json +1 -1
  555. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-single-arm-drill.json +1 -1
  556. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-stroke-transition.json +1 -1
  557. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-two-kick-one-pull.json +1 -1
  558. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming-vigorous.json +1 -1
  559. package/dist/web/server/seed/core/markdown/efforts/swimming/swimming.json +1 -1
  560. package/dist/web/server/seed/core/markdown/efforts/unconventional/clubbell-arm-cast.json +1 -1
  561. package/dist/web/server/seed/core/markdown/efforts/unconventional/clubbell-circles.json +1 -1
  562. package/dist/web/server/seed/core/markdown/efforts/unconventional/clubbell-mill.json +1 -1
  563. package/dist/web/server/seed/core/markdown/efforts/unconventional/clubbell-reverse-mill.json +1 -1
  564. package/dist/web/server/seed/core/markdown/efforts/unconventional/clubbell-shield-cast.json +1 -1
  565. package/dist/web/server/seed/core/markdown/efforts/unconventional/macebell-10-to-2-swing.json +1 -1
  566. package/dist/web/server/seed/core/markdown/efforts/unconventional/macebell-360-swing.json +1 -1
  567. package/dist/web/server/seed/core/markdown/efforts/unconventional/macebell-barbarian-squat.json +1 -1
  568. package/dist/web/server/seed/core/markdown/efforts/unconventional/macebell-flow.json +1 -1
  569. package/dist/web/server/seed/core/markdown/efforts/unconventional/macebell-gravedigger.json +1 -1
  570. package/dist/web/server/seed/core/markdown/efforts/unconventional/macebell-touchdown.json +1 -1
  571. package/dist/web/server/seed/core/markdown/efforts/unconventional/sandbag-bear-hug-carry.json +1 -1
  572. package/dist/web/server/seed/core/markdown/efforts/unconventional/sandbag-bear-hug-extension.json +1 -1
  573. package/dist/web/server/seed/core/markdown/efforts/unconventional/sandbag-over-shoulder.json +1 -1
  574. package/dist/web/server/seed/core/markdown/efforts/walking/walking-3-mph.json +1 -1
  575. package/dist/web/server/seed/core/markdown/equipment/air-bike.json +1 -1
  576. package/dist/web/server/seed/core/markdown/equipment/barbell.json +1 -1
  577. package/dist/web/server/seed/core/markdown/equipment/bench.json +1 -1
  578. package/dist/web/server/seed/core/markdown/equipment/bike-erg.json +1 -1
  579. package/dist/web/server/seed/core/markdown/equipment/climbing-rope.json +1 -1
  580. package/dist/web/server/seed/core/markdown/equipment/clubs.json +1 -1
  581. package/dist/web/server/seed/core/markdown/equipment/dumbbell.json +1 -1
  582. package/dist/web/server/seed/core/markdown/equipment/ghd.json +1 -1
  583. package/dist/web/server/seed/core/markdown/equipment/gymnastic-rings.json +1 -1
  584. package/dist/web/server/seed/core/markdown/equipment/jump-rope.json +1 -1
  585. package/dist/web/server/seed/core/markdown/equipment/kettlebell.json +1 -1
  586. package/dist/web/server/seed/core/markdown/equipment/macebell.json +1 -1
  587. package/dist/web/server/seed/core/markdown/equipment/medicine-ball.json +1 -1
  588. package/dist/web/server/seed/core/markdown/equipment/parallettes.json +1 -1
  589. package/dist/web/server/seed/core/markdown/equipment/plyo-box.json +1 -1
  590. package/dist/web/server/seed/core/markdown/equipment/pull-up-bar.json +1 -1
  591. package/dist/web/server/seed/core/markdown/equipment/rower.json +1 -1
  592. package/dist/web/server/seed/core/markdown/equipment/sandbag.json +1 -1
  593. package/dist/web/server/seed/core/markdown/equipment/ski-erg.json +1 -1
  594. package/dist/web/server/seed/core/markdown/equipment/slam-ball.json +1 -1
  595. package/dist/web/server/seed/core/markdown/equipment/sled.json +1 -1
  596. package/dist/web/server/seed/core/markdown/equipment/sledgehammer.json +1 -1
  597. package/dist/web/server/seed/core/markdown/equipment/weight-vest.json +1 -1
  598. package/dist/web/server/seed/core/report.html +13 -13
  599. package/package.json +6 -6
  600. package/dist/chunk-5P63S5IY.mjs.map +0 -1
@@ -125,7 +125,7 @@ performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready
125
125
  `),e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1)){n=`
126
126
  `+e;break a}n=Vi(n+(t?` [`+t+`]`:``))}return n}}switch(e){case h:return Vi(`SuspenseList`);case m:return Vi(`Suspense`)}return``}function Gi(e,t){return(500<t.byteSize||Pr(t.contentState))&&t.contentPreamble===null}function Ki(e){if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var t=e.environmentName;e=[e].slice(0),typeof e[0]==`string`?e.splice(0,1,`%c%s%c `+e[0],`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,` `+t+` `,``):e.splice(0,0,`%c%s%c`,`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,` `+t+` `,``),e.unshift(console),t=Fr.apply(console.error,e),t()}else console.error(e);return null}function qi(e,t,n,r,i,a,o,s,c,l,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=r===void 0?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=i===void 0?Ki:i,this.onPostpone=l===void 0?$r:l,this.onAllReady=a===void 0?$r:a,this.onShellReady=o===void 0?$r:o,this.onShellError=s===void 0?$r:s,this.onFatalError=c===void 0?$r:c,this.formState=u===void 0?null:u}function Ji(e,t,n,r,i,a,o,s,c,l,u,d){return t=new qi(t,n,r,i,a,o,s,c,l,u,d),n=ra(t,0,null,r,!1,!1),n.parentFlushed=!0,e=ta(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,qr,null,null),ia(e),t.pingedTasks.push(e),t}function Yi(e,t,n,r,i,a,o,s,c,l,u){return e=Ji(e,t,n,r,i,a,o,s,c,l,u,void 0),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}function Xi(e,t,n,r,i,a,o,s,c){return n=new qi(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,i,a,o,s,c,null),n.nextSegmentId=t.nextSegmentId,typeof t.replaySlots==`number`?(r=ra(n,0,null,t.rootFormatContext,!1,!1),r.parentFlushed=!0,e=ta(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,qr,null,null),ia(e),n.pingedTasks.push(e),n):(e=na(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,qr,null,null),ia(e),n.pingedTasks.push(e),n)}function Zi(e,t,n,r,i,a,o,s,c){return e=Xi(e,t,n,r,i,a,o,s,c),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}var Qi=null;function $i(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,e.trackedPostpones!==null||e.status===10?M(function(){return Ia(e)}):k(function(){return Ia(e)}))}function ea(e,t,n,r,i){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:_r(),fallbackState:_r(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null},t!==null&&(t.pendingTasks++,r=t.boundaries,r!==null&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),e=t.inheritedHoistables,e!==null&&Nr(n.contentState,e)),n}function ta(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){e.allPendingTasks++,i===null?e.pendingRootTasks++:i.pendingTasks++,p!==null&&p.pendingTasks++;var h={replay:null,node:n,childIndex:r,ping:function(){return $i(e,h)},blockedBoundary:i,blockedSegment:a,blockedPreamble:o,hoistableState:s,abortSet:c,keyPath:l,formatContext:u,context:d,treeContext:f,row:p,componentStack:m,thenableState:t};return c.add(h),h}function na(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.allPendingTasks++,a===null?e.pendingRootTasks++:a.pendingTasks++,f!==null&&f.pendingTasks++,n.pendingTasks++;var m={replay:n,node:r,childIndex:i,ping:function(){return $i(e,m)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:o,abortSet:s,keyPath:c,formatContext:l,context:u,treeContext:d,row:f,componentStack:p,thenableState:t};return s.add(m),m}function ra(e,t,n,r,i,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:a}}function ia(e){var t=e.node;if(typeof t==`object`&&t)switch(t.$$typeof){case i:e.componentStack={parent:e.componentStack,type:t.type}}}function aa(e){return e===null?null:{parent:e.parent,type:`Suspense Fallback`}}function oa(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n=``,r=e;do n+=Wi(r.type),r=r.parent;while(r);var i=n}catch(e){i=`
127
127
  Error generating stack: `+e.message+`
128
- `+e.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function sa(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function ca(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination===null?(e.status=13,e.fatalError=t):(e.status=14,H(e.destination,t))}function la(e,t){ua(e,t.next,t.hoistables)}function ua(e,t,n){for(;t!==null;){n!==null&&(Nr(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&Nr(a.contentState,n),Fa(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function da(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||Gi(e,a)){r=!1;break}}r&&ua(e,t,t.hoistables)}}function fa(e){var t={pendingTasks:1,boundaries:null,hoistables:_r(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function pa(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var c=null;if(t.replay!==null){var l=t.replay.slots;if(typeof l==`object`&&l)for(var u=0;u<n;u++){var d=i!==`backwards`&&i!==`unstable_legacy-backwards`?u:n-1-u,f=r[d];t.row=c=fa(c),t.treeContext=Jr(o,n,d);var p=l[d];typeof p==`number`?(_a(e,t,p,f,d),delete l[d]):Ea(e,t,f,d),--c.pendingTasks===0&&la(e,c)}else for(l=0;l<n;l++)u=i!==`backwards`&&i!==`unstable_legacy-backwards`?l:n-1-l,d=r[u],t.row=c=fa(c),t.treeContext=Jr(o,n,u),Ea(e,t,d,u),--c.pendingTasks===0&&la(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=fa(c),t.treeContext=Jr(o,n,i),Ea(e,t,l,i),--c.pendingTasks===0&&la(e,c);else{for(i=t.blockedSegment,l=i.children.length,u=i.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=c=fa(c),t.treeContext=Jr(o,n,d),p=ra(e,u,null,t.formatContext,d!==0||i.lastPushedText,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{Ea(e,t,f,d),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Be),p.status=1,Pa(e,t.blockedBoundary,p),--c.pendingTasks===0&&la(e,c)}catch(t){throw p.status=e.status===12?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&c!==null&&0<c.pendingTasks&&(s.pendingTasks++,c.next=s),t.treeContext=o,t.row=s,t.keyPath=a}function ma(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,oi={},si=t,ci=e,li=n,hi=mi=0,gi=-1,_i=0,vi=o,e=r(i,a);pi;)pi=!1,hi=mi=0,gi=-1,_i=0,bi+=1,di=null,e=r(i,a);return Ti(),e}function ha(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(pt):c.push(mt)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=Jr(n,1,0),Ea(e,t,r,-1),t.treeContext=n):s?Ea(e,t,r,-1):va(e,t,r,-1),t.keyPath=a}function ga(e,t,n,i,a,s){if(typeof i==`function`){if(i.prototype&&i.prototype.isReactComponent){var d=a;if(`ref`in a)for(var x in d={},a)x!==`ref`&&(d[x]=a[x]);var C=i.defaultProps;if(C)for(var E in d===a&&(d=U({},d,a)),C)d[E]===void 0&&(d[E]=C[E]);a=d,d=Rr,C=i.contextType,typeof C==`object`&&C&&(d=C._currentValue),d=new i(a,d);var D=d.state===void 0?null:d.state;if(d.updater=Kr,d.props=a,d.state=D,C={queue:[],replace:!1},d._reactInternals=C,s=i.contextType,d.context=typeof s==`object`&&s?s._currentValue:Rr,s=i.getDerivedStateFromProps,typeof s==`function`&&(s=s(a,D),D=s==null?D:U({},D,s),d.state=D),typeof i.getDerivedStateFromProps!=`function`&&typeof d.getSnapshotBeforeUpdate!=`function`&&(typeof d.UNSAFE_componentWillMount==`function`||typeof d.componentWillMount==`function`)){if(i=d.state,typeof d.componentWillMount==`function`&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount==`function`&&d.UNSAFE_componentWillMount(),i!==d.state&&Kr.enqueueReplaceState(d,d.state,null),C.queue!==null&&0<C.queue.length){if(i=C.queue,s=C.replace,C.queue=null,C.replace=!1,s&&i.length===1)d.state=i[0];else{for(C=s?i[0]:d.state,D=!0,s=+!!s;s<i.length;s++)E=i[s],E=typeof E==`function`?E.call(d,C,a,void 0):E,E!=null&&(D?(D=!1,C=U({},C,E)):U(C,E));d.state=C}}else C.queue=null}if(i=d.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,va(e,t,i,-1),t.keyPath=a}else{if(i=ma(e,t,n,i,a,void 0),e.status===12)throw null;ha(e,t,n,i,mi!==0,hi,gi)}}else if(typeof i==`string`){if(d=t.blockedSegment,d===null)d=a.children,C=t.formatContext,D=t.keyPath,t.formatContext=Ie(C,i,a),t.keyPath=n,Ea(e,t,d,-1),t.formatContext=C,t.keyPath=D;else{if(D=jt(d.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,d.lastPushedText),d.lastPushedText=!1,C=t.formatContext,s=t.keyPath,t.keyPath=n,(t.formatContext=Ie(C,i,a)).insertionMode===3){n=ra(e,0,null,t.formatContext,!1,!1),d.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,Ea(e,t,D,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Be),n.status=1,Pa(e,t.blockedBoundary,n)}finally{t.blockedSegment=d}}else Ea(e,t,D,-1);t.formatContext=C,t.keyPath=s;a:{switch(t=d.chunks,e=e.resumableState,i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(1>=C.insertionMode){e.hasBody=!0;break a}break;case`html`:if(C.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=C.insertionMode)break a}t.push(Nt(i))}d.lastPushedText=!1}}else{switch(i){case b:case c:case l:case o:i=t.keyPath,t.keyPath=n,va(e,t,a.children,-1),t.keyPath=i;return;case y:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,Ea(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(i.chunks.push(zt),i.lastPushedText=!1,d=t.keyPath,t.keyPath=n,Ea(e,t,a.children,-1),t.keyPath=d,i.chunks.push(Bt),i.lastPushedText=!1);return;case h:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(T(i)){pa(e,t,n,i,a);break a}if((d=w(i))&&(d=d.call(i))){if(C=d.next(),!C.done){do C=d.next();while(!C.done);pa(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,d=t.row,C=t.row=fa(null),C.boundaries=[],C.together=!0,t.keyPath=n,va(e,t,i,-1),--C.pendingTasks===0&&la(e,C),t.keyPath=a,t.row=d,d!==null&&0<C.pendingTasks&&(d.pendingTasks++,C.next=d)):(a=t.keyPath,t.keyPath=n,va(e,t,i,-1),t.keyPath=a)}return;case S:case v:throw Error(r(343));case m:a:if(t.replay!==null){i=t.keyPath,d=t.formatContext,C=t.row,t.keyPath=n,t.formatContext=ze(e.resumableState,d),t.row=null,n=a.children;try{Ea(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=d,t.row=C}}else{i=t.keyPath,s=t.formatContext;var O=t.row;E=t.blockedBoundary,x=t.blockedPreamble;var k=t.hoistableState,A=t.blockedSegment,j=a.fallback;a=a.children;var M=new Set,N=2>t.formatContext.insertionMode?ea(e,t.row,M,Ne(),Ne()):ea(e,t.row,M,null,null);e.trackedPostpones!==null&&(N.trackedContentKeyPath=n);var P=ra(e,A.chunks.length,N,t.formatContext,!1,!1);A.children.push(P),A.lastPushedText=!1;var F=ra(e,0,null,t.formatContext,!1,!1);if(F.parentFlushed=!0,e.trackedPostpones!==null){d=t.componentStack,C=[n[0],`Suspense Fallback`,n[2]],D=[C[1],C[2],[],null],e.trackedPostpones.workingMap.set(C,D),N.trackedFallbackNode=D,t.blockedSegment=P,t.blockedPreamble=N.fallbackPreamble,t.keyPath=C,t.formatContext=Re(e.resumableState,s),t.componentStack=aa(d),P.status=6;try{Ea(e,t,j,-1),P.lastPushedText&&P.textEmbedded&&P.chunks.push(Be),P.status=1,Pa(e,E,P)}catch(t){throw P.status=e.status===12?3:4,t}finally{t.blockedSegment=A,t.blockedPreamble=x,t.keyPath=i,t.formatContext=s}t=ta(e,null,a,-1,N,F,N.contentPreamble,N.contentState,t.abortSet,n,ze(e.resumableState,t.formatContext),t.context,t.treeContext,null,d),ia(t),e.pingedTasks.push(t)}else{t.blockedBoundary=N,t.blockedPreamble=N.contentPreamble,t.hoistableState=N.contentState,t.blockedSegment=F,t.keyPath=n,t.formatContext=ze(e.resumableState,s),t.row=null,F.status=6;try{if(Ea(e,t,a,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Be),F.status=1,Pa(e,N,F),Na(N,F),N.pendingTasks===0&&N.status===0){if(N.status=1,!Gi(e,N)){O!==null&&--O.pendingTasks===0&&la(e,O),e.pendingRootTasks===0&&t.blockedPreamble&&za(e);break a}}else O!==null&&O.together&&da(e,O)}catch(n){N.status=4,e.status===12?(F.status=3,d=e.fatalError):(F.status=4,d=n),C=oa(t.componentStack),D=sa(e,d,C),N.errorDigest=D,Ca(e,N)}finally{t.blockedBoundary=E,t.blockedPreamble=x,t.hoistableState=k,t.blockedSegment=A,t.keyPath=i,t.formatContext=s,t.row=O}t=ta(e,null,j,-1,E,P,N.fallbackPreamble,N.fallbackState,M,[n[0],`Suspense Fallback`,n[2]],Re(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,aa(t.componentStack)),ia(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case p:if(`ref`in a)for(A in d={},a)A!==`ref`&&(d[A]=a[A]);else d=a;i=ma(e,t,n,i.render,d,s),ha(e,t,n,i,mi!==0,hi,gi);return;case g:ga(e,t,n,i.type,a,s);return;case f:if(C=a.children,d=t.keyPath,a=a.value,D=i._currentValue,i._currentValue=a,s=zr,zr=i={parent:s,depth:s===null?0:s.depth+1,context:i,parentValue:D,value:a},t.context=i,t.keyPath=n,va(e,t,C,-1),e=zr,e===null)throw Error(r(403));e.context._currentValue=e.parentValue,e=zr=e.parent,t.context=e,t.keyPath=d;return;case u:a=a.children,i=a(i._context._currentValue),a=t.keyPath,t.keyPath=n,va(e,t,i,-1),t.keyPath=a;return;case _:if(d=i._init,i=d(i._payload),e.status===12)throw null;ga(e,t,n,i,a,s);return}throw Error(r(130,i==null?i:typeof i,``))}}function _a(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=ra(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,Ea(e,t,r,i),s.status=1,Pa(e,o,s),o===null?e.completedRootSegment=s:(Na(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function va(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?_a(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,ia(t),ya(e,t),t.componentStack=n)}function ya(e,t){var n=t.node,o=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case i:var s=n.type,c=n.key,l=n.props;n=l.ref;var u=n===void 0?null:n,d=Lr(s),p=c??(o===-1?0:o);if(c=[t.keyPath,d,p],t.replay!==null)a:{var h=t.replay;for(o=h.nodes,n=0;n<o.length;n++){var g=o[n];if(p===g[1]){if(g.length===4){if(d!==null&&d!==g[0])throw Error(r(490,g[0],d));var v=g[2];d=g[3],p=t.node,t.replay={nodes:v,slots:d,pendingTasks:1};try{if(ga(e,t,c,s,l,u),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===ei||typeof r.then==`function`))throw t.node===p?t.replay=h:o.splice(n,1),r;t.replay.pendingTasks--,l=oa(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=sa(c,s,l),Oa(c,e,v,d,s,l)}t.replay=h}else{if(s!==m)throw Error(r(490,`Suspense`,Lr(s)||`Unknown`));b:{h=void 0,s=g[5],u=g[2],d=g[3],p=g[4]===null?[]:g[4][2],g=g[4]===null?null:g[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,S=t.replay,C=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=2>t.formatContext.insertionMode?ea(e,t.row,k,Ne(),Ne()):ea(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=ze(e.resumableState,b),t.row=null,t.replay={nodes:u,slots:d,pendingTasks:1};try{if(Ea(e,t,D,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));if(t.replay.pendingTasks--,l.pendingTasks===0&&l.status===0){l.status=1,e.completedBoundaries.push(l);break b}}catch(n){l.status=4,v=oa(t.componentStack),h=sa(e,n,v),l.errorDigest=h,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=C,t.hoistableState=E,t.replay=S,t.keyPath=y,t.formatContext=b,t.row=x}v=na(e,null,{nodes:p,slots:g,pendingTasks:0},O,-1,C,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],Re(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,aa(t.componentStack)),ia(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else ga(e,t,c,s,l,u);return;case a:throw Error(r(257));case _:if(v=n._init,n=v(n._payload),e.status===12)throw null;va(e,t,n,o);return}if(T(n)){ba(e,t,n,o);return}if((v=w(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);ba(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,va(e,t,Pi(n),o);if(n.$$typeof===f)return va(e,t,n._currentValue,o);throw o=Object.prototype.toString.call(n),Error(r(31,o===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:o))}typeof n==`string`?(o=t.blockedSegment,o!==null&&(o.lastPushedText=Ve(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=Ve(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function ba(e,t,n,i){var a=t.keyPath;if(i!==-1&&(t.keyPath=[t.keyPath,`Fragment`,i],t.replay!==null)){for(var o=t.replay,s=o.nodes,c=0;c<s.length;c++){var l=s[c];if(l[1]===i){i=l[2],l=l[3],t.replay={nodes:i,slots:l,pendingTasks:1};try{if(ba(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===ei||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=oa(t.componentStack);var u=t.blockedBoundary,d=r;n=sa(e,d,n),Oa(e,u,i,l,d,n)}t.replay=o,s.splice(c,1);break}}t.keyPath=a;return}if(o=t.treeContext,s=n.length,t.replay!==null&&(c=t.replay.slots,typeof c==`object`&&c)){for(i=0;i<s;i++)l=n[i],t.treeContext=Jr(o,s,i),u=c[i],typeof u==`number`?(_a(e,t,u,l,i),delete c[i]):Ea(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=Jr(o,s,c),Ea(e,t,i,c);t.treeContext=o,t.keyPath=a}function xa(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(r(486));var i=n.trackedFallbackNode,a=[],o=t.workingMap.get(e);return o===void 0?(n=[e[1],e[2],a,null,i,n.rootSegmentID],t.workingMap.set(e,n),Qa(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function Sa(e,t,n,i){i.status=5;var a=n.keyPath,o=n.blockedBoundary;if(o===null)i.id=e.nextSegmentId++,t.rootSlots=i.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(o!==null&&o.status===0){var s=xa(e,t,o);if(o.trackedContentKeyPath===a&&n.childIndex===-1){i.id===-1&&(i.id=i.parentFlushed?o.rootSegmentID:e.nextSegmentId++),s[3]=i.id;return}}if(i.id===-1&&(i.id=i.parentFlushed&&o!==null?o.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)a===null?t.rootSlots=i.id:(n=t.workingMap.get(a),n===void 0?(n=[a[1],a[2],[],i.id],Qa(n,a[0],t)):n[3]=i.id);else{if(a===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(r(491))}else if(o=t.workingMap,s=o.get(a),s===void 0)e={},s=[a[1],a[2],[],e],o.set(a,s),Qa(s,a[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e==`number`)throw Error(r(491));e[n.childIndex]=i.id}}}function Ca(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function wa(e,t,n){return na(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Ta(e,t,n){var r=t.blockedSegment,i=ra(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,ta(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Ea(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.blockedSegment;if(l===null){l=t.replay;try{return va(e,t,n,r)}catch(u){if(Ti(),n=u===ei?ri():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===ei?wi():null,e=wa(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Gr(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===ei?wi():null,n=wa(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Gr(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return va(e,t,n,r)}catch(r){if(Ti(),l.children.length=u,l.chunks.length=d,n=r===ei?ri():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===ei?wi():null,e=Ta(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Gr(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===ei?wi():null,l=Ta(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Gr(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Gr(a),n}function Da(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,Fa(this,t,e.row,n))}function Oa(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)Oa(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=ea(l,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=c,d.status=4,d.errorDigest=u,d.parentFlushed&&l.clientRenderedBoundaries.push(d)}}if(n.length=0,i!==null){if(t===null)throw Error(r(487));if(t.status!==4&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof i==`object`)for(var f in i)delete i[f]}}function ka(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=oa(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,sa(t,n,a),Sa(t,r,e,i),Fa(t,null,e.row,i)):(sa(t,n,a),ca(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=sa(t,n,a),Oa(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&ja(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return sa(t,n,a),Sa(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return ka(e,t,n)}),r.fallbackAbortableTasks.clear(),Fa(t,r,e.row,i);r.status=4,i=sa(t,n,a),r.status=4,r.errorDigest=i,Ca(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&la(t,i),r.fallbackAbortableTasks.forEach(function(e){return ka(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&la(t,e),t.allPendingTasks--,t.allPendingTasks===0&&Ma(t)}function Aa(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=Er(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=ge,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:ge;else break b}}r(a?{Link:a}:{})}}}catch(t){sa(e,t,{})}}function ja(e){e.trackedPostpones===null&&Aa(e,!0),e.trackedPostpones===null&&za(e),e.onShellError=$r,e=e.onShellReady,e()}function Ma(e){Aa(e,e.trackedPostpones===null||e.completedRootSegment===null||e.completedRootSegment.status!==5),za(e),e=e.onAllReady,e()}function Na(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||Na(e,n)}else e.completedSegments.push(t)}function Pa(e,t,n){if(V!==null){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;t===null?e.byteSize+=r:t.byteSize+=r}}function Fa(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?la(e,n):n.together&&da(e,n)),e.allPendingTasks--,t===null){if(i!==null&&i.parentFlushed){if(e.completedRootSegment!==null)throw Error(r(389));e.completedRootSegment=i}e.pendingRootTasks--,e.pendingRootTasks===0&&ja(e)}else if(t.pendingTasks--,t.status!==4){if(t.pendingTasks===0){if(t.status===0&&(t.status=1),i!==null&&i.parentFlushed&&(i.status===1||i.status===3)&&Na(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&Nr(n.hoistables,t.contentState),Gi(e,t)||(t.fallbackAbortableTasks.forEach(Da,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&la(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&za(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var a=t.next;if(a!==null&&(i=a.boundaries,i!==null))for(a.boundaries=null,a=0;a<i.length;a++){var o=i[a];xa(e,n,o),Fa(e,o,null,null)}}--t.pendingTasks===0&&la(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(Na(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&da(e,t)}e.allPendingTasks===0&&Ma(e)}function Ia(e){if(e.status!==14&&e.status!==13){var t=zr,n=fe.H;fe.H=Ii;var i=fe.A;fe.A=Ri;var a=Qi;Qi=e;var o=Li;Li=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=s[c],u=e,d=l.blockedSegment;if(d===null){var f=u;if(l.replay.pendingTasks!==0){Gr(l.context);try{if(typeof l.replay.slots==`number`?_a(f,l,l.replay.slots,l.node,l.childIndex):ya(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),Fa(f,l.blockedBoundary,l.row,null)}catch(e){Ti();var p=e===ei?ri():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===ei?wi():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=oa(l.componentStack);u=void 0;var g=f,_=l.blockedBoundary,v=f.status===12?f.fatalError:p,y=l.replay.nodes,b=l.replay.slots;u=sa(g,v,h),Oa(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&ja(f),f.allPendingTasks--,f.allPendingTasks===0&&Ma(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,Gr(l.context);var x=g.children.length,S=g.chunks.length;try{ya(u,l),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Be),l.abortSet.delete(l),g.status=1,Pa(u,l.blockedBoundary,g),Fa(u,l.blockedBoundary,l.row,g)}catch(e){Ti(),g.children.length=x,g.chunks.length=S;var C=e===ei?ri():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=oa(l.componentStack);l.abortSet.delete(l),sa(u,C,T),Sa(u,w,l,g),Fa(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===ei?wi():null;var E=l.ping;C.then(E,E)}else{var D=oa(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&la(u,k),u.allPendingTasks--,f=sa(u,C,D),O===null)ca(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,Ca(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&la(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&za(u)}u.allPendingTasks===0&&Ma(u)}}}}s.splice(0,c),e.destination!==null&&qa(e,e.destination)}catch(t){sa(e,t,{}),ca(e,t)}finally{Li=o,fe.H=n,fe.A=i,n===Ii&&Gr(t),Qi=a}}}function La(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=Ra(e,t.children[i],n)||r;return r}function Ra(e,t,n){var i=t.boundary;if(i===null)return La(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(Pt(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return La(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return Pt(e.renderState,o),La(e,t,n);default:return!0}}function za(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=Ra(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function Ba(e,t,n,i){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return i=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,F(t,Lt),F(t,e.placeholderPrefix),e=z(i.toString(16)),F(t,e),I(t,Rt);case 1:n.status=2;var a=!0,o=n.chunks,s=0;n=n.children;for(var c=0;c<n.length;c++){for(a=n[c];s<a.index;s++)F(t,o[s]);a=Ha(e,t,a,i)}for(;s<o.length-1;s++)F(t,o[s]);return s<o.length&&(a=I(t,o[s])),a;case 3:return!0;default:throw Error(r(390))}}var Va=0;function Ha(e,t,n,i){var a=n.boundary;if(a===null)return Ba(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;o!==null&&--o.pendingTasks===0&&la(e,o),a=a.errorDigest,I(t,Wt),F(t,Kt),a&&(F(t,Jt),F(t,z(se(a))),F(t,qt)),I(t,Yt),Ba(e,t,n,i)}else if(a.status!==1)a.status===0&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Xt(t,e.renderState,a.rootSegmentID),i&&Nr(i,a.fallbackState),Ba(e,t,n,i);else if(!Ka&&Gi(e,a)&&(Va+a.byteSize>e.progressiveChunkSize||Pr(a.contentState)))a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Xt(t,e.renderState,a.rootSegmentID),Ba(e,t,n,i);else{if(Va+=a.byteSize,i&&Nr(i,a.contentState),n=a.row,n!==null&&Gi(e,a)&&--n.pendingTasks===0&&la(e,n),I(t,Vt),n=a.completedSegments,n.length!==1)throw Error(r(391));Ha(e,t,n[0],i)}return I(t,Gt)}function Ua(e,t,n,r){return yn(t,e.renderState,n.parentFormatContext,n.id),Ha(e,t,n,r),bn(t,n.parentFormatContext)}function Wa(e,t,n){Va=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Ga(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&Gi(e,n)&&--r.pendingTasks===0&&la(e,r),Zn(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,F(t,e.startInlineScript),F(t,ot),a?(!(r.instructions&4)&&(r.instructions|=4,F(t,Nn)),!(r.instructions&2)&&(r.instructions|=2,F(t,Tn)),r.instructions&8?F(t,On):(r.instructions|=8,F(t,Dn))):(!(r.instructions&2)&&(r.instructions|=2,F(t,Tn)),F(t,En)),r=z(i.toString(16)),F(t,e.boundaryPrefix),F(t,r),F(t,kn),F(t,e.segmentPrefix),F(t,r),a?(F(t,An),hr(t,n)):F(t,jn),n=I(t,Mn),Ft(t,e)&&n}function Ga(e,t,n,i){if(i.status===2)return!0;var a=n.contentState,o=i.id;if(o===-1){if((i.id=n.rootSegmentID)===-1)throw Error(r(392));return Ua(e,t,i,a)}return o===n.rootSegmentID?Ua(e,t,i,a):(Ua(e,t,i,a),n=e.resumableState,e=e.renderState,F(t,e.startInlineScript),F(t,ot),n.instructions&1?F(t,Sn):(n.instructions|=1,F(t,xn)),F(t,e.segmentPrefix),o=z(o.toString(16)),F(t,o),F(t,Cn),F(t,e.placeholderPrefix),F(t,o),t=I(t,wn),t)}var Ka=!1;function qa(e,t){N=new Uint8Array(2048),P=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var i=e.completedPreambleSegments;if(i===null)return;Va=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)F(t,c[u]);if(l)for(u=0;u<l.length;u++)F(t,l[u]);else F(t,kt(`head`)),F(t,ot)}else if(l)for(u=0;u<l.length;u++)F(t,l[u]);var d=o.charsetChunks;for(u=0;u<d.length;u++)F(t,d[u]);d.length=0,o.preconnects.forEach(Qn,t),o.preconnects.clear();var f=o.viewportChunks;for(u=0;u<f.length;u++)F(t,f[u]);f.length=0,o.fontPreloads.forEach(Qn,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Qn,t),o.highImagePreloads.clear(),_e=o,o.styles.forEach(or,t),_e=null;var p=o.importMapChunks;for(u=0;u<p.length;u++)F(t,p[u]);p.length=0,o.bootstrapScripts.forEach(Qn,t),o.scripts.forEach(Qn,t),o.scripts.clear(),o.bulkPreloads.forEach(Qn,t),o.bulkPreloads.clear(),c||l||(a.instructions|=32);var m=o.hoistableChunks;for(u=0;u<m.length;u++)F(t,m[u]);for(a=m.length=0;a<i.length;a++){var h=i[a];for(o=0;o<h.length;o++)Ha(e,t,h[o],null)}var g=e.renderState.preamble,_=g.headChunks;(g.htmlChunks||_)&&F(t,Nt(`head`));var v=g.bodyChunks;if(v)for(i=0;i<v.length;i++)F(t,v[i]);Ha(e,t,r,null),e.completedRootSegment=null;var y=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var b=e.resumableState;if(!(b.instructions&64)){if(b.instructions|=64,F(t,y.startInlineScript),!(b.instructions&32)){b.instructions|=32;var x=`_`+b.idPrefix+`R_`;F(t,lr),F(t,z(se(x))),F(t,Ye)}F(t,ot),F(t,It),I(t,ye)}}Ft(t,y)}var S=e.renderState;r=0;var C=S.viewportChunks;for(r=0;r<C.length;r++)F(t,C[r]);C.length=0,S.preconnects.forEach(Qn,t),S.preconnects.clear(),S.fontPreloads.forEach(Qn,t),S.fontPreloads.clear(),S.highImagePreloads.forEach(Qn,t),S.highImagePreloads.clear(),S.styles.forEach(cr,t),S.scripts.forEach(Qn,t),S.scripts.clear(),S.bulkPreloads.forEach(Qn,t),S.bulkPreloads.clear();var w=S.hoistableChunks;for(r=0;r<w.length;r++)F(t,w[r]);w.length=0;var T=e.clientRenderedBoundaries;for(n=0;n<T.length;n++){var E=T[n];S=t;var D=e.resumableState,O=e.renderState,k=E.rootSegmentID,A=E.errorDigest;F(S,O.startInlineScript),F(S,ot),D.instructions&4?F(S,Fn):(D.instructions|=4,F(S,Pn)),F(S,O.boundaryPrefix),F(S,z(k.toString(16))),F(S,In),A&&(F(S,Ln),F(S,z(Bn(A||``))));var j=I(S,Rn);if(!j){e.destination=null,n++,T.splice(0,n);return}}T.splice(0,n);var M=e.completedBoundaries;for(n=0;n<M.length;n++)if(!Wa(e,t,M[n])){e.destination=null,n++,M.splice(0,n);return}M.splice(0,n),L(t),N=new Uint8Array(2048),P=0,Ka=!0;var R=e.partialBoundaries;for(n=0;n<R.length;n++){var B=R[n];a:{T=e,E=t,Va=B.byteSize;var V=B.completedSegments;for(j=0;j<V.length;j++)if(!Ga(T,E,B,V[j])){j++,V.splice(0,j);var H=!1;break a}V.splice(0,j);var U=B.row;U!==null&&U.together&&B.pendingTasks===1&&(U.pendingTasks===1?ua(T,U,U.hoistables):U.pendingTasks--),H=Zn(E,B.contentState,T.renderState)}if(!H){e.destination=null,n++,R.splice(0,n);return}}R.splice(0,n),Ka=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!Wa(e,t,W[n])){e.destination=null,n++,W.splice(0,n);return}W.splice(0,n)}}finally{Ka=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&F(t,Nt(`body`)),n.hasHtml&&F(t,Nt(`html`)),L(t),e.status=14,t.close(),e.destination=null):L(t)}}function Ja(e){e.flushScheduled=e.destination!==null,M(function(){return Ia(e)}),k(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&Aa(e,e.pendingRootTasks===0)})}function Ya(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,k(function(){var t=e.destination;t?qa(e,t):e.flushScheduled=!1}))}function Xa(e,t){if(e.status===13)e.status=14,H(t,e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{qa(e,t)}catch(t){sa(e,t,{}),ca(e,t)}}}function Za(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var i=t===void 0?Error(r(432)):typeof t==`object`&&t&&typeof t.then==`function`?Error(r(530)):t;e.fatalError=i,n.forEach(function(t){return ka(t,e,i)}),n.clear()}e.destination!==null&&qa(e,e.destination)}catch(t){sa(e,t,{}),ca(e,t)}}function Qa(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Qa(i,t[0],n)),i[2].push(e)}}function $a(e){var t=e.trackedPostpones;if(t===null||t.rootNodes.length===0&&t.rootSlots===null)return e.trackedPostpones=null;if(e.completedRootSegment===null||e.completedRootSegment.status!==5&&e.completedPreambleSegments!==null){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var a=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:a.resets.font},i.dnsResources=a.resets.dns,i.connectResources=a.resets.connect,i.imageResources=a.resets.image,i.styleResources=a.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function eo(){var e=t.version;if(e!==`19.2.8`)throw Error(r(527,e,`19.2.8`))}eo(),eo(),e.prerender=function(e,t){return new Promise(function(n,r){var i=t?t.onHeaders:void 0,a;i&&(a=function(e){i(new Headers(e))});var o=Me(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=Yi(e,o,je(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),Fe(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(s,e)},cancel:function(e){s.destination=null,Za(s,e)}},{highWaterMark:0});e={postponed:$a(s),prelude:e},n(e)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var c=t.signal;if(c.aborted)Za(s,c.reason);else{var l=function(){Za(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}Ja(s)})},e.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,a,o=new Promise(function(e,t){a=e,i=t}),s=t?t.onHeaders:void 0,c;s&&(c=function(e){s(new Headers(e))});var l=Me(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=Ji(e,l,je(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),Fe(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(u,e)},cancel:function(e){u.destination=null,Za(u,e)}},{highWaterMark:0});e.allReady=o,n(e)},function(e){o.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Za(u,d.reason);else{var f=function(){Za(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}Ja(u)})},e.resume=function(e,t,n){return new Promise(function(r,i){var a,o,s=new Promise(function(e,t){o=e,a=t}),c=Xi(e,t,je(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,o,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(c,e)},cancel:function(e){c.destination=null,Za(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},a,n?n.onPostpone:void 0);if(n&&n.signal){var l=n.signal;if(l.aborted)Za(c,l.reason);else{var u=function(){Za(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}Ja(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Zi(e,t,je(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(a,e)},cancel:function(e){a.destination=null,Za(a,e)}},{highWaterMark:0});e={postponed:$a(a),prelude:e},r(e)},void 0,void 0,i,n?n.onPostpone:void 0);if(n&&n.signal){var o=n.signal;if(o.aborted)Za(a,o.reason);else{var s=function(){Za(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}Ja(a)})},e.version=`19.2.8`})),XY=a((e=>{var t=JY(),n=YY();e.version=t.version,e.renderToString=t.renderToString,e.renderToStaticMarkup=t.renderToStaticMarkup,e.renderToReadableStream=n.renderToReadableStream,e.resume=n.resume}));function ZY({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z`}),m.createElement(`path`,{d:`M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z`}))}var QY=m.forwardRef(ZY);function $Y({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M17 10a.75.75 0 0 1-.75.75H5.612l4.158 3.96a.75.75 0 1 1-1.04 1.08l-5.5-5.25a.75.75 0 0 1 0-1.08l5.5-5.25a.75.75 0 1 1 1.04 1.08L5.612 9.25H16.25A.75.75 0 0 1 17 10Z`,clipRule:`evenodd`}))}var eX=m.forwardRef($Y);function tX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M15.312 11.424a5.5 5.5 0 0 1-9.201 2.466l-.312-.311h2.433a.75.75 0 0 0 0-1.5H3.989a.75.75 0 0 0-.75.75v4.242a.75.75 0 0 0 1.5 0v-2.43l.31.31a7 7 0 0 0 11.712-3.138.75.75 0 0 0-1.449-.39Zm1.23-3.723a.75.75 0 0 0 .219-.53V2.929a.75.75 0 0 0-1.5 0V5.36l-.31-.31A7 7 0 0 0 3.239 8.188a.75.75 0 1 0 1.448.389A5.5 5.5 0 0 1 13.89 6.11l.311.31h-2.432a.75.75 0 0 0 0 1.5h4.243a.75.75 0 0 0 .53-.219Z`,clipRule:`evenodd`}))}var nX=m.forwardRef(tX);function rX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z`,clipRule:`evenodd`}),m.createElement(`path`,{fillRule:`evenodd`,d:`M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z`,clipRule:`evenodd`}))}var iX=m.forwardRef(rX);function aX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z`,clipRule:`evenodd`}))}var oX=m.forwardRef(aX);function sX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M8.5 3.528v4.644c0 .729-.29 1.428-.805 1.944l-1.217 1.216a8.75 8.75 0 0 1 3.55.621l.502.201a7.25 7.25 0 0 0 4.178.365l-2.403-2.403a2.75 2.75 0 0 1-.805-1.944V3.528a40.205 40.205 0 0 0-3 0Zm4.5.084.19.015a.75.75 0 1 0 .12-1.495 41.364 41.364 0 0 0-6.62 0 .75.75 0 0 0 .12 1.495L7 3.612v4.56c0 .331-.132.649-.366.883L2.6 13.09c-1.496 1.496-.817 4.15 1.403 4.475C5.961 17.852 7.963 18 10 18s4.039-.148 5.997-.436c2.22-.325 2.9-2.979 1.403-4.475l-4.034-4.034A1.25 1.25 0 0 1 13 8.172v-4.56Z`,clipRule:`evenodd`}))}var cX=m.forwardRef(sX);function lX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10.75 16.82A7.462 7.462 0 0 1 15 15.5c.71 0 1.396.098 2.046.282A.75.75 0 0 0 18 15.06v-11a.75.75 0 0 0-.546-.721A9.006 9.006 0 0 0 15 3a8.963 8.963 0 0 0-4.25 1.065V16.82ZM9.25 4.065A8.963 8.963 0 0 0 5 3c-.85 0-1.673.118-2.454.339A.75.75 0 0 0 2 4.06v11a.75.75 0 0 0 .954.721A7.506 7.506 0 0 1 5 15.5c1.579 0 3.042.487 4.25 1.32V4.065Z`}))}var uX=m.forwardRef(lX);function dX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M5.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H6a.75.75 0 0 1-.75-.75V12ZM6 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75H6ZM7.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H8a.75.75 0 0 1-.75-.75V12ZM8 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75H8ZM9.25 10a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H10a.75.75 0 0 1-.75-.75V10ZM10 11.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V12a.75.75 0 0 0-.75-.75H10ZM9.25 14a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H10a.75.75 0 0 1-.75-.75V14ZM12 9.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V10a.75.75 0 0 0-.75-.75H12ZM11.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H12a.75.75 0 0 1-.75-.75V12ZM12 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75H12ZM13.25 10a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H14a.75.75 0 0 1-.75-.75V10ZM14 11.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V12a.75.75 0 0 0-.75-.75H14Z`}),m.createElement(`path`,{fillRule:`evenodd`,d:`M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z`,clipRule:`evenodd`}))}var fX=m.forwardRef(dX);function pX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z`,clipRule:`evenodd`}))}var mX=m.forwardRef(pX);function hX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z`,clipRule:`evenodd`}))}var gX=m.forwardRef(hX);function _X({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z`,clipRule:`evenodd`}))}var vX=m.forwardRef(_X);function yX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M6.28 5.22a.75.75 0 0 1 0 1.06L2.56 10l3.72 3.72a.75.75 0 0 1-1.06 1.06L.97 10.53a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Zm7.44 0a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L17.44 10l-3.72-3.72a.75.75 0 0 1 0-1.06ZM11.377 2.011a.75.75 0 0 1 .612.867l-2.5 14.5a.75.75 0 0 1-1.478-.255l2.5-14.5a.75.75 0 0 1 .866-.612Z`,clipRule:`evenodd`}))}var bX=m.forwardRef(yX);function xX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M7 3.5A1.5 1.5 0 0 1 8.5 2h3.879a1.5 1.5 0 0 1 1.06.44l3.122 3.12A1.5 1.5 0 0 1 17 6.622V12.5a1.5 1.5 0 0 1-1.5 1.5h-1v-3.379a3 3 0 0 0-.879-2.121L10.5 5.379A3 3 0 0 0 8.379 4.5H7v-1Z`}),m.createElement(`path`,{d:`M4.5 6A1.5 1.5 0 0 0 3 7.5v9A1.5 1.5 0 0 0 4.5 18h7a1.5 1.5 0 0 0 1.5-1.5v-5.879a1.5 1.5 0 0 0-.44-1.06L9.44 6.439A1.5 1.5 0 0 0 8.378 6H4.5Z`}))}var SX=m.forwardRef(xX);function CX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M4.5 2A1.5 1.5 0 0 0 3 3.5v13A1.5 1.5 0 0 0 4.5 18h11a1.5 1.5 0 0 0 1.5-1.5V7.621a1.5 1.5 0 0 0-.44-1.06l-4.12-4.122A1.5 1.5 0 0 0 11.378 2H4.5Zm2.25 8.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Zm0 3a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Z`,clipRule:`evenodd`}))}var wX=m.forwardRef(CX);function TX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10 3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM10 8.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM11.5 15.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z`}))}var EX=m.forwardRef(TX);function DX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M9.293 2.293a1 1 0 0 1 1.414 0l7 7A1 1 0 0 1 17 11h-1v6a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6H3a1 1 0 0 1-.707-1.707l7-7Z`,clipRule:`evenodd`}))}var OX=m.forwardRef(DX);function kX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M9 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM2 9a7 7 0 1 1 12.452 4.391l3.328 3.329a.75.75 0 1 1-1.06 1.06l-3.329-3.328A7 7 0 0 1 2 9Z`,clipRule:`evenodd`}))}var AX=m.forwardRef(kX);function jX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`m5.433 13.917 1.262-3.155A4 4 0 0 1 7.58 9.42l6.92-6.918a2.121 2.121 0 0 1 3 3l-6.92 6.918c-.383.383-.84.685-1.343.886l-3.154 1.262a.5.5 0 0 1-.65-.65Z`}),m.createElement(`path`,{d:`M3.5 5.75c0-.69.56-1.25 1.25-1.25H10A.75.75 0 0 0 10 3H4.75A2.75 2.75 0 0 0 2 5.75v9.5A2.75 2.75 0 0 0 4.75 18h9.5A2.75 2.75 0 0 0 17 15.25V10a.75.75 0 0 0-1.5 0v5.25c0 .69-.56 1.25-1.25 1.25h-9.5c-.69 0-1.25-.56-1.25-1.25v-9.5Z`}))}var MX=m.forwardRef(jX);function NX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z`}))}var PX=m.forwardRef(NX);function FX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z`}))}var IX=m.forwardRef(FX);function LX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M13 4.5a2.5 2.5 0 1 1 .702 1.737L6.97 9.604a2.518 2.518 0 0 1 0 .792l6.733 3.367a2.5 2.5 0 1 1-.671 1.341l-6.733-3.367a2.5 2.5 0 1 1 0-3.475l6.733-3.366A2.52 2.52 0 0 1 13 4.5Z`}))}var RX=m.forwardRef(LX);function zX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M15.98 1.804a1 1 0 0 0-1.96 0l-.24 1.192a1 1 0 0 1-.784.785l-1.192.238a1 1 0 0 0 0 1.962l1.192.238a1 1 0 0 1 .785.785l.238 1.192a1 1 0 0 0 1.962 0l.238-1.192a1 1 0 0 1 .785-.785l1.192-.238a1 1 0 0 0 0-1.962l-1.192-.238a1 1 0 0 1-.785-.785l-.238-1.192ZM6.949 5.684a1 1 0 0 0-1.898 0l-.683 2.051a1 1 0 0 1-.633.633l-2.051.683a1 1 0 0 0 0 1.898l2.051.684a1 1 0 0 1 .633.632l.683 2.051a1 1 0 0 0 1.898 0l.683-2.051a1 1 0 0 1 .633-.633l2.051-.683a1 1 0 0 0 0-1.898l-2.051-.683a1 1 0 0 1-.633-.633L6.95 5.684ZM13.949 13.684a1 1 0 0 0-1.898 0l-.184.551a1 1 0 0 1-.632.633l-.551.183a1 1 0 0 0 0 1.898l.551.183a1 1 0 0 1 .633.633l.183.551a1 1 0 0 0 1.898 0l.184-.551a1 1 0 0 1 .632-.633l.551-.183a1 1 0 0 0 0-1.898l-.551-.184a1 1 0 0 1-.633-.632l-.183-.551Z`}))}var BX=m.forwardRef(zX);function VX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M5.25 3A2.25 2.25 0 0 0 3 5.25v9.5A2.25 2.25 0 0 0 5.25 17h9.5A2.25 2.25 0 0 0 17 14.75v-9.5A2.25 2.25 0 0 0 14.75 3h-9.5Z`}))}var HX=m.forwardRef(VX);function UX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M14.5 10a4.5 4.5 0 0 0 4.284-5.882c-.105-.324-.51-.391-.752-.15L15.34 6.66a.454.454 0 0 1-.493.11 3.01 3.01 0 0 1-1.618-1.616.455.455 0 0 1 .11-.494l2.694-2.692c.24-.241.174-.647-.15-.752a4.5 4.5 0 0 0-5.873 4.575c.055.873-.128 1.808-.8 2.368l-7.23 6.024a2.724 2.724 0 1 0 3.837 3.837l6.024-7.23c.56-.672 1.495-.855 2.368-.8.096.007.193.01.291.01ZM5 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z`,clipRule:`evenodd`}),m.createElement(`path`,{d:`M14.5 11.5c.173 0 .345-.007.514-.022l3.754 3.754a2.5 2.5 0 0 1-3.536 3.536l-4.41-4.41 2.172-2.607c.052-.063.147-.138.342-.196.202-.06.469-.087.777-.067.128.008.257.012.387.012ZM6 4.586l2.33 2.33a.452.452 0 0 1-.08.09L6.8 8.214 4.586 6H3.309a.5.5 0 0 1-.447-.276l-1.7-3.402a.5.5 0 0 1 .093-.577l.49-.49a.5.5 0 0 1 .577-.094l3.402 1.7A.5.5 0 0 1 6 3.31v1.277Z`}))}var WX=m.forwardRef(UX);function GX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`}))}var KX=m.forwardRef(GX),qX=Object.defineProperty,JX=(e,t)=>qX(e,`name`,{value:t,configurable:!0}),YX=!!(typeof window<`u`&&window.document&&window.document.createElement);function XX(e,t,{checkForDefaultPrevented:n=!0}={}){return JX(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}JX(XX,`composeEventHandlers`);function ZX(e){if(!YX)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}JX(ZX,`getOwnerWindow`);function QX(e){if(!YX)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}JX(QX,`getOwnerDocument`);function $X(e,t=!1){let{activeElement:n}=QX(e);if(!n?.nodeName)return null;if(eZ(n)&&n.contentDocument)return $X(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=QX(n).getElementById(e);if(t)return t}}return n}JX($X,`getActiveElement`);function eZ(e){return e.tagName===`IFRAME`}JX(eZ,`isFrame`);var tZ=Object.defineProperty,nZ=(e,t)=>tZ(e,`name`,{value:t,configurable:!0});function rZ(e,t){let n=m.createContext(t);n.displayName=e+`Context`;let r=nZ(e=>{let{children:t,...r}=e,i=m.useMemo(()=>r,Object.values(r));return(0,G.jsx)(n.Provider,{value:i,children:t})},`Provider`);r.displayName=e+`Provider`;function i(r,i={}){let{optional:a=!1}=i,o=m.useContext(n);if(o)return o;if(t!==void 0)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return nZ(i,`useContext`),[r,i]}nZ(rZ,`createContext`);function iZ(e,t=[]){let n=[];function r(t,r){let i=m.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=nZ(t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=m.useMemo(()=>o,Object.values(o));return(0,G.jsx)(s.Provider,{value:c,children:r})},`Provider`);o.displayName=t+`Provider`;function s(n,o,s={}){let{optional:c=!1}=s,l=o?.[e]?.[a]||i,u=m.useContext(l);if(u)return u;if(r!==void 0)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return nZ(s,`useContext`),[o,s]}nZ(r,`createContext`);let i=nZ(()=>{let t=n.map(e=>m.createContext(e));return nZ(function(n){let r=n?.[e]||t;return m.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return i.scopeName=e,[r,aZ(i,...t)]}nZ(iZ,`createContextScope`);function aZ(...e){let t=e[0];if(e.length===1)return t;let n=nZ(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return nZ(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}nZ(aZ,`composeContextScopes`);var oZ=Object.defineProperty,sZ=(e,t)=>oZ(e,`name`,{value:t,configurable:!0});function cZ(e){let t=e+`CollectionProvider`,[n,r]=iZ(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=sZ(e=>{let{scope:t,children:n}=e,r=m.useRef(null),a=m.useRef(new Map).current;return(0,G.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})},`CollectionProvider`);o.displayName=t;let s=e+`CollectionSlot`,c=Mu(s),l=m.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=ku(t,a(s,n).collectionRef);return(0,G.jsx)(c,{ref:i,children:r})});l.displayName=s;let u=e+`CollectionItemSlot`,d=`data-radix-collection-item`,f=Mu(u),p=m.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.useRef(null),s=ku(t,o),c=a(u,n);return m.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,G.jsx)(f,{[d]:``,ref:s,children:r})});p.displayName=u;function h(t){let n=a(e+`CollectionConsumer`,t);return m.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return sZ(h,`useCollection`),[{Provider:o,Slot:l,ItemSlot:p},h,r]}sZ(cZ,`createCollection`);var lZ=new WeakMap,uZ=class e extends Map{static{sZ(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],lZ.set(this,!0)}set(e,t){return lZ.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=this.#e.length,a=pZ(e),o=a>=0?a:i+a,s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||s===-1)return this.set(t,n),this;let c=this.size+ +!r;a<0&&o++;let l=[...this.#e],u,d=!1;for(let e=o;e<c;e++)if(o===e){let i=l[e];l[e]===t&&(i=l[e+1]),r&&this.delete(t),u=this.get(i),this.set(t,n)}else{!d&&l[e-1]===t&&(d=!0);let n=l[d?e:e-1],r=u;u=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=dZ(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=dZ(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return dZ(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=r===0&&e.length===1?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&e.length===1?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(t===void 0)return r;t<0&&(t+=this.size),n!==void 0&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function dZ(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=fZ(e,t);return n===-1?void 0:e[n]}sZ(dZ,`at`);function fZ(e,t){let n=e.length,r=pZ(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}sZ(fZ,`toSafeIndex`);function pZ(e){return e!==e||e===0?0:Math.trunc(e)}sZ(pZ,`toSafeInteger`);function mZ(e){let t=e+`CollectionProvider`,[n,r]=iZ(t),[i,a]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new uZ,setItemMap:sZ(()=>void 0,`setItemMap`)}),o=sZ(({state:e,...t})=>e?(0,G.jsx)(c,{...t,state:e}):(0,G.jsx)(s,{...t}),`CollectionProvider`);o.displayName=t;let s=sZ(e=>{let t=g();return(0,G.jsx)(c,{...e,state:t})},`CollectionInit`);s.displayName=t+`Init`;let c=sZ(e=>{let{scope:t,children:n,state:r}=e,a=m.useRef(null),[o,s]=m.useState(null),c=ku(a,s),[l,u]=r;return m.useEffect(()=>{if(!o)return;let e=vZ(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,G.jsx)(i,{scope:t,itemMap:l,setItemMap:u,collectionRef:c,collectionRefObject:a,collectionElement:o,children:n})},`CollectionProviderImpl`);c.displayName=t+`Impl`;let l=e+`CollectionSlot`,u=Mu(l),d=m.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=ku(t,a(l,n).collectionRef);return(0,G.jsx)(u,{ref:i,children:r})});d.displayName=l;let f=e+`CollectionItemSlot`,p=Mu(f),h=m.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.useRef(null),[s,c]=m.useState(null),l=ku(t,o,c),{setItemMap:u}=a(f,n),d=m.useRef(i);hZ(d.current,i)||(d.current=i);let h=d.current;return m.useEffect(()=>{let e=h;return u(t=>s?t.has(s)?t.set(s,{...e,element:s}).toSorted(_Z):(t.set(s,{...e,element:s}),t.toSorted(_Z)):t),()=>{u(e=>!s||!e.has(s)?e:(e.delete(s),new uZ(e)))}},[s,h,u]),(0,G.jsx)(p,{"data-radix-collection-item":``,ref:l,children:r})});h.displayName=f;function g(){return m.useState(new uZ)}sZ(g,`useInitCollection`);function _(t){let{itemMap:n}=a(e+`CollectionConsumer`,t);return n}return sZ(_,`useCollection`),[{Provider:o,Slot:d,ItemSlot:h},{createCollectionScope:r,useCollection:_,useInitCollection:g}]}sZ(mZ,`createCollection`);function hZ(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}sZ(hZ,`shallowEqual`);function gZ(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}sZ(gZ,`isElementPreceding`);function _Z(e,t){return!e[1].element||!t[1].element?0:gZ(e[1].element,t[1].element)?-1:1}sZ(_Z,`sortByDocumentPosition`);function vZ(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}sZ(vZ,`getChildListObserver`);var yZ=Object.defineProperty,bZ=(e,t)=>yZ(e,`name`,{value:t,configurable:!0}),xZ=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Mu(`Primitive.${t}`),r=m.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,G.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function SZ(e,t){e&&Fr.flushSync(()=>e.dispatchEvent(t))}bZ(SZ,`dispatchDiscreteCustomEvent`);var CZ=Object.defineProperty,wZ=(e,t)=>CZ(e,`name`,{value:t,configurable:!0});function TZ(e){let t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>((...e)=>t.current?.(...e)),[])}wZ(TZ,`useCallbackRef`);var EZ=Object.defineProperty,DZ=(e,t)=>EZ(e,`name`,{value:t,configurable:!0}),OZ=`dismissableLayer.update`,kZ=`dismissableLayer.pointerDownOutside`,AZ=`dismissableLayer.focusOutside`,jZ,MZ=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),NZ=m.forwardRef(DZ(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:c,...l}=e,u=m.useContext(MZ),[d,f]=m.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=m.useState({}),g=ku(t,f),_=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v?_.indexOf(v):-1,b=d?_.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,S=b>=y,C=m.useRef(!1),w=LZ(e=>{a?.(e),s?.(e),e.defaultPrevented||c?.()},{ownerDocument:p,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:m.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...u.branches].some(t=>t.contains(e));return S&&!t},[u.branches,S])}),T=RZ(e=>{if(r&&C.current)return;let t=e.target;[...u.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||c?.())},p),E=d?b===_.length-1:!1,D=TZ(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))});return m.useEffect(()=>{if(E)return p.addEventListener(`keydown`,D,{capture:!0}),()=>p.removeEventListener(`keydown`,D,{capture:!0})},[p,E,D]),m.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(jZ=p.body.style.pointerEvents,p.body.style.pointerEvents=`none`),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),zZ(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=jZ))}},[d,p,n,u]),m.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),zZ())},[d,u]),m.useEffect(()=>{let e=DZ(()=>h({}),`handleUpdate`);return document.addEventListener(OZ,e),()=>document.removeEventListener(OZ,e)},[]),(0,G.jsx)(xZ.div,{...l,ref:g,style:{pointerEvents:x?S?`auto`:`none`:void 0,...e.style},onFocusCapture:XX(e.onFocusCapture,T.onFocusCapture),onBlurCapture:XX(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:XX(e.onPointerDownCapture,w.onPointerDownCapture)})},`DismissableLayer`)),PZ=m.forwardRef(DZ(function(e,t){let n=m.useContext(MZ),r=m.useRef(null),i=ku(t,r);return m.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,G.jsx)(xZ.div,{...e,ref:i})},`DismissableLayerBranch`));function FZ(){let e=m.useContext(MZ),[t,n]=m.useState(null);return m.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}DZ(FZ,`useDismissableLayerSurface`);var IZ=DZ(()=>!0,`IS_TRUE`);function LZ(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=IZ}=t,s=TZ(e),c=m.useRef(!1),l=m.useRef(!1),u=m.useRef(new Map),d=m.useRef(()=>{});return m.useEffect(()=>{function e(){l.current=!1,i.current=!1,u.current.clear()}DZ(e,`resetOutsideInteraction`);function t(){return Array.from(u.current.values()).some(Boolean)}DZ(t,`isOutsideInteractionIntercepted`);function f(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||u.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{l.current&&d.current()},0)}DZ(f,`handleInteractionCapture`);function p(e){l.current&&u.current.set(e.type,!1)}DZ(p,`handleInteractionBubble`);let m=DZ(a=>{if(a.target&&!c.current){let f=function(){n.removeEventListener(`click`,d.current);let r=t();e(),r||BZ(kZ,s,p,{discrete:!0})};if(DZ(f,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,d.current),e(),c.current=!1;return}let p={originalEvent:a};l.current=!0,i.current=r&&a.button===0,u.current.clear(),!r||a.button!==0?f():(n.removeEventListener(`click`,d.current),d.current=f,n.addEventListener(`click`,d.current,{once:!0}))}else n.removeEventListener(`click`,d.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,f,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,d.current);for(let e of h)n.removeEventListener(e,f,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:DZ(()=>c.current=!0,`onPointerDownCapture`)}}DZ(LZ,`usePointerDownOutside`);function RZ(e,t=globalThis?.document){let n=TZ(e),r=m.useRef(!1);return m.useEffect(()=>{let e=DZ(e=>{e.target&&!r.current&&BZ(AZ,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:DZ(()=>r.current=!0,`onFocusCapture`),onBlurCapture:DZ(()=>r.current=!1,`onBlurCapture`)}}DZ(RZ,`useFocusOutside`);function zZ(){let e=new CustomEvent(OZ);document.dispatchEvent(e)}DZ(zZ,`dispatchUpdate`);function BZ(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?SZ(i,a):i.dispatchEvent(a)}DZ(BZ,`handleAndDispatchCustomEvent`);var VZ=NZ,HZ=PZ,UZ=globalThis?.document?m.useLayoutEffect:()=>{},WZ=Object.defineProperty,GZ=m.forwardRef(((e,t)=>WZ(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=m.useState(!1);UZ(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?Fr.createPortal((0,G.jsx)(xZ.div,{...r,ref:t}),o):null},`Portal`)),KZ=Object.defineProperty,qZ=(e,t)=>KZ(e,`name`,{value:t,configurable:!0});function JZ(e,t){return m.useReducer((e,n)=>t[e][n]??e,e)}qZ(JZ,`useStateMachine`);var YZ=qZ(e=>{let{present:t,children:n}=e,r=XZ(t),i=typeof n==`function`?n({present:r.isPresent}):m.Children.only(n),a=QZ(r.ref,eQ(i));return typeof n==`function`||r.isPresent?m.cloneElement(i,{ref:a}):null},`Presence`);function XZ(e){let[t,n]=m.useState(),r=m.useRef(null),i=m.useRef(e),a=m.useRef(`none`),o=m.useRef(void 0),[s,c]=JZ(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return m.useEffect(()=>{s===`mounted`?(a.current=o.current??$Z(r.current),o.current=void 0):a.current=`none`},[s]),UZ(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=$Z(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),UZ(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=qZ(a=>{let o=$Z(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=qZ(e=>{e.target===t&&(a.current=$Z(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:m.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=$Z(t)}else r.current=null;n(e)},[])}}qZ(XZ,`usePresence`);function ZZ(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}qZ(ZZ,`setRef`);function QZ(...e){let t=m.useRef(e);return t.current=e,m.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=ZZ(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():ZZ(n[e],null)}}},[])}qZ(QZ,`useStableComposedRefs`);function $Z(e){return e?.animationName||`none`}qZ($Z,`getAnimationName`);function eQ(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}qZ(eQ,`getElementRef`);var tQ=Object.defineProperty,nQ=(e,t)=>tQ(e,`name`,{value:t,configurable:!0}),rQ=m.useEffectEvent,iQ=m.useInsertionEffect;function aQ(e){if(typeof rQ==`function`)return rQ(e);let t=m.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof iQ==`function`?iQ(()=>{t.current=e}):UZ(()=>{t.current=e}),m.useMemo(()=>((...e)=>t.current?.(...e)),[])}nQ(aQ,`useEffectEvent`);var oQ=Object.defineProperty,sQ=(e,t)=>oQ(e,`name`,{value:t,configurable:!0}),cQ=m.useInsertionEffect||UZ;function lQ({prop:e,defaultProp:t,onChange:n=sQ(()=>{},`onChange`),caller:r}){let[i,a,o]=uQ({defaultProp:t,onChange:n}),s=e!==void 0;return[s?e:i,m.useCallback(t=>{if(s){let n=dQ(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}sQ(lQ,`useControllableState`);function uQ({defaultProp:e,onChange:t}){let[n,r]=m.useState(e),i=m.useRef(n),a=m.useRef(t);return cQ(()=>{a.current=t},[t]),m.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}sQ(uQ,`useUncontrolledState`);function dQ(e){return typeof e==`function`}sQ(dQ,`isFunction`);var fQ=Symbol(`RADIX:SYNC_STATE`);function pQ(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:s}=t,c=i!==void 0,l=aQ(o),u=[{...n,state:a}];r&&u.push(r);let[d,f]=m.useReducer((t,n)=>{if(n.type===fQ)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&l(r.state),r},...u),p=d.state,h=m.useRef(p);m.useEffect(()=>{h.current!==p&&(h.current=p,c||l(p))},[p,h,c]);let g=m.useMemo(()=>i===void 0?d:{...d,state:i},[d,i]);return m.useEffect(()=>{c&&!Object.is(i,d.state)&&f({type:fQ,state:i})},[i,d.state,c]),[g,f]}sQ(pQ,`useControllableStateReducer`);var mQ=Object.defineProperty,hQ=(e,t)=>mQ(e,`name`,{value:t,configurable:!0}),gQ=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),_Q=m.forwardRef(hQ(function(e,t){return(0,G.jsx)(xZ.span,{...e,ref:t,style:{...gQ,...e.style}})},`VisuallyHidden`)),vQ=Object.defineProperty,yQ=(e,t)=>vQ(e,`name`,{value:t,configurable:!0}),bQ=`ToastProvider`,[xQ,SQ,CQ]=cZ(`Toast`),[wQ,Wle]=iZ(`Toast`,[CQ]),[TQ,EQ]=wQ(bQ),DQ=yQ(e=>{let{__scopeToast:t,label:n=`Notification`,duration:r=5e3,swipeDirection:i=`right`,swipeThreshold:a=50,announcerContainer:o,children:s}=e,[c,l]=m.useState(null),[u,d]=m.useState(0),f=m.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${bQ}\`. Expected non-empty \`string\`.`),(0,G.jsx)(xQ.Provider,{scope:t,children:(0,G.jsx)(TQ,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:u,viewport:c,onViewportChange:l,onToastAdd:m.useCallback(()=>d(e=>e+1),[]),onToastRemove:m.useCallback(()=>d(e=>e-1),[]),isClosePausedRef:f,announcerContainer:o,children:s})})},`ToastProvider`),OQ=`ToastViewport`,kQ=[`F8`],AQ=`toast.viewportPause`,jQ=`toast.viewportResume`,MQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,hotkey:r=kQ,label:i=`Notifications ({hotkey})`,...a}=e,o=EQ(OQ,n),s=SQ(n),c=m.useRef(null),l=m.useRef(null),u=m.useRef(null),d=m.useRef(null),f=ku(t,d,o.onViewportChange),p=r.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),h=o.toastCount>0;m.useEffect(()=>{let e=yQ(e=>{r.length!==0&&r.every(t=>e[t]||e.code===t)&&d.current?.focus()},`handleKeyDown`);return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[r]),m.useEffect(()=>{let e=c.current,t=d.current;if(h&&e&&t){let n=yQ(()=>{if(!o.isClosePausedRef.current){let e=new CustomEvent(AQ);t.dispatchEvent(e),o.isClosePausedRef.current=!0}},`handlePause`),r=yQ(()=>{if(o.isClosePausedRef.current){let e=new CustomEvent(jQ);t.dispatchEvent(e),o.isClosePausedRef.current=!1}},`handleResume`),i=yQ(t=>{e.contains(t.relatedTarget)||r()},`handleFocusOutResume`),a=yQ(()=>{e.contains(document.activeElement)||r()},`handlePointerLeaveResume`);return e.addEventListener(`focusin`,n),e.addEventListener(`focusout`,i),e.addEventListener(`pointermove`,n),e.addEventListener(`pointerleave`,a),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),()=>{e.removeEventListener(`focusin`,n),e.removeEventListener(`focusout`,i),e.removeEventListener(`pointermove`,n),e.removeEventListener(`pointerleave`,a),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)}}},[h,o.isClosePausedRef]);let g=m.useCallback(({tabbingDirection:e})=>{let t=s().map(t=>{let n=t.ref.current,r=[n,...r$(n)];return e===`forwards`?r:r.reverse()});return(e===`forwards`?t.reverse():t).flat()},[s]);return m.useEffect(()=>{let e=d.current;if(e){let t=yQ(t=>{let n=t.altKey||t.ctrlKey||t.metaKey;if(t.key===`Tab`&&!n){let n=document.activeElement,r=t.shiftKey;if(t.target===e&&r){l.current?.focus();return}let i=g({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);i$(i.slice(a+1))?t.preventDefault():r?l.current?.focus():u.current?.focus()}},`handleKeyDown`);return e.addEventListener(`keydown`,t),()=>e.removeEventListener(`keydown`,t)}},[s,g]),(0,G.jsxs)(HZ,{ref:c,role:`region`,"aria-label":i.replace(`{hotkey}`,p),tabIndex:-1,style:{pointerEvents:h?void 0:`none`},children:[h&&(0,G.jsx)(PQ,{ref:l,onFocusFromOutsideViewport:()=>{i$(g({tabbingDirection:`forwards`}))}}),(0,G.jsx)(xQ.Slot,{scope:n,children:(0,G.jsx)(xZ.ol,{tabIndex:-1,...a,ref:f})}),h&&(0,G.jsx)(PQ,{ref:u,onFocusFromOutsideViewport:()=>{i$(g({tabbingDirection:`backwards`}))}})]})},`ToastViewport`)),NQ=`ToastFocusProxy`,PQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=EQ(NQ,n);return(0,G.jsx)(_Q,{tabIndex:0,...i,ref:t,style:{position:`fixed`},onFocus:e=>{let t=e.relatedTarget;a.viewport?.contains(t)||r()}})},`ToastFocusProxy`)),FQ=`Toast`,IQ=`toast.swipeStart`,LQ=`toast.swipeMove`,RQ=`toast.swipeCancel`,zQ=`toast.swipeEnd`,BQ=m.forwardRef(yQ(function(e,t){let{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...o}=e,[s,c]=lQ({prop:r,defaultProp:i??!0,onChange:a,caller:FQ});return(0,G.jsx)(YZ,{present:n||s,children:(0,G.jsx)(UQ,{open:s,...o,ref:t,onClose:()=>c(!1),onPause:TZ(e.onPause),onResume:TZ(e.onResume),onSwipeStart:XX(e.onSwipeStart,e=>{e.currentTarget.setAttribute(`data-swipe`,`start`)}),onSwipeMove:XX(e.onSwipeMove,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`move`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-y`,`${n}px`)}),onSwipeCancel:XX(e.onSwipeCancel,e=>{e.currentTarget.setAttribute(`data-swipe`,`cancel`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-y`)}),onSwipeEnd:XX(e.onSwipeEnd,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`end`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-y`,`${n}px`),c(!1)})})})},`Toast`)),[VQ,HQ]=wQ(FQ,{onClose(){}}),UQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,type:r=`foreground`,duration:i,open:a,onClose:o,onEscapeKeyDown:s,onPause:c,onResume:l,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...h}=e,g=EQ(FQ,n),_=SQ(n),[v,y]=m.useState(null),b=ku(t,y),x=m.useRef(null),S=m.useRef(null),C=i||g.duration,w=m.useRef(0),T=m.useRef(C),E=m.useRef(0),{onToastAdd:D,onToastRemove:O}=g,k=TZ(()=>{v?.contains(document.activeElement)&&g.viewport?.focus(),o()}),A=m.useCallback(e=>{!e||e===1/0||(window.clearTimeout(E.current),w.current=new Date().getTime(),E.current=window.setTimeout(k,e))},[k]);m.useEffect(()=>{let e=g.viewport;if(e){let t=yQ(()=>{A(T.current),l?.()},`handleResume`),n=yQ(()=>{let e=new Date().getTime()-w.current;T.current-=e,window.clearTimeout(E.current),c?.()},`handlePause`);return e.addEventListener(AQ,n),e.addEventListener(jQ,t),()=>{e.removeEventListener(AQ,n),e.removeEventListener(jQ,t)}}},[g.viewport,C,c,l,A]),m.useEffect(()=>{a&&!g.isClosePausedRef.current&&A(C)},[a,C,g.isClosePausedRef,A]),m.useEffect(()=>()=>{window.clearTimeout(E.current)},[]),m.useEffect(()=>(D(),()=>O()),[D,O]);let j=m.useMemo(()=>v?QQ(v):null,[v]);return g.viewport?(0,G.jsxs)(G.Fragment,{children:[j&&(0,G.jsx)(WQ,{__scopeToast:n,role:`status`,"aria-live":r===`foreground`?`assertive`:`polite`,children:j}),(0,G.jsx)(VQ,{scope:n,onClose:k,children:Fr.createPortal((0,G.jsx)(xQ.ItemSlot,{scope:n,children:(0,G.jsx)(VZ,{asChild:!0,onEscapeKeyDown:XX(s,e=>{_().some(t=>t.ref.current?.contains(e.target))||k()}),children:(0,G.jsx)(xZ.li,{tabIndex:0,"data-state":a?`open`:`closed`,"data-swipe-direction":g.swipeDirection,...h,ref:b,style:{userSelect:`none`,touchAction:`none`,...e.style},onKeyDown:XX(e.onKeyDown,e=>{e.key===`Escape`&&(s?.(e.nativeEvent),e.nativeEvent.defaultPrevented||k())}),onPointerDown:XX(e.onPointerDown,e=>{e.button===0&&(x.current={x:e.clientX,y:e.clientY})}),onPointerMove:XX(e.onPointerMove,e=>{if(!x.current)return;let t=e.clientX-x.current.x,n=e.clientY-x.current.y,r=!!S.current,i=[`left`,`right`].includes(g.swipeDirection),a=[`left`,`up`].includes(g.swipeDirection)?Math.min:Math.max,o=i?a(0,t):0,s=i?0:a(0,n),c=e.pointerType===`touch`?10:2,l={x:o,y:s},f={originalEvent:e,delta:l};r?(S.current=l,$Q(LQ,d,f,{discrete:!1})):e$(l,g.swipeDirection,c)?(S.current=l,$Q(IQ,u,f,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>c||Math.abs(n)>c)&&(x.current=null)}),onPointerUp:XX(e.onPointerUp,e=>{let t=S.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),S.current=null,x.current=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};e$(t,g.swipeDirection,g.swipeThreshold)?$Q(zQ,p,r,{discrete:!0}):$Q(RQ,f,r,{discrete:!0}),n.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null},`ToastImpl`)),WQ=yQ(e=>{let{__scopeToast:t,children:n,...r}=e,i=EQ(FQ,t),[a,o]=m.useState(!1),[s,c]=m.useState(!1);return t$(()=>o(!0)),m.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),s?null:(0,G.jsx)(GZ,{asChild:!0,container:i.announcerContainer||void 0,children:(0,G.jsx)(_Q,{...r,children:a&&(0,G.jsxs)(G.Fragment,{children:[i.label,` `,n]})})})},`ToastAnnounce`),GQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,...r}=e;return(0,G.jsx)(xZ.div,{...r,ref:t})},`ToastTitle`)),KQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,...r}=e;return(0,G.jsx)(xZ.div,{...r,ref:t})},`ToastDescription`)),qQ=`ToastAction`,JQ=m.forwardRef(yQ(function(e,t){let{altText:n,...r}=e;return n.trim()?(0,G.jsx)(ZQ,{altText:n,asChild:!0,children:(0,G.jsx)(XQ,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${qQ}\`. Expected non-empty \`string\`.`),null)},`ToastAction`)),YQ=`ToastClose`,XQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,...r}=e,i=HQ(YQ,n);return(0,G.jsx)(ZQ,{asChild:!0,children:(0,G.jsx)(xZ.button,{type:`button`,...r,ref:t,onClick:XX(e.onClick,i.onClose)})})},`ToastClose`)),ZQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,altText:r,...i}=e;return(0,G.jsx)(xZ.div,{"data-radix-toast-announce-exclude":``,"data-radix-toast-announce-alt":r||void 0,...i,ref:t})},`ToastAnnounceExclude`));function QQ(e){let t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),n$(e)){let n=e.ariaHidden||e.hidden||e.style.display===`none`,r=e.dataset.radixToastAnnounceExclude===``;if(!n){if(r){let n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)}else t.push(...QQ(e))}}}),t}yQ(QQ,`getAnnounceTextContent`);function $Q(e,t,n,{discrete:r}){let i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?SZ(i,a):i.dispatchEvent(a)}yQ($Q,`handleAndDispatchCustomEvent`);var e$=yQ((e,t,n=0)=>{let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t===`left`||t===`right`?a&&r>n:!a&&i>n},`isDeltaInDirection`);function t$(e=()=>{}){let t=TZ(e);UZ(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}yQ(t$,`useNextFrame`);function n$(e){return e.nodeType===e.ELEMENT_NODE}yQ(n$,`isHTMLElement`);function r$(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:yQ(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}yQ(r$,`getTabbableCandidates`);function i$(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}yQ(i$,`focusFirst`);var a$=DQ,o$=MQ,s$=BQ,c$=GQ,l$=KQ,u$=JQ,d$=XQ,f$=(0,m.createContext)({});function p$(e){let t=(0,m.useRef)(null);return t.current===null&&(t.current=e()),t.current}var m$=typeof window<`u`?m.useLayoutEffect:m.useEffect,h$=(0,m.createContext)(null);function g$(e,t){e.indexOf(t)===-1&&e.push(t)}function _$(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var v$=(e,t,n)=>n>t?t:n<e?e:n,y$={},b$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),x$=e=>typeof e==`object`&&!!e,S$=e=>/^0[^.\s]+$/u.test(e);function C$(e){let t;return()=>(t===void 0&&(t=e()),t)}var w$=e=>e,T$=(...e)=>e.reduce((e,t)=>n=>t(e(n))),E$=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},D$=class{constructor(){this.subscriptions=[]}add(e){return g$(this.subscriptions,e),()=>_$(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},O$=e=>e*1e3,k$=e=>e/1e3,A$=(e,t)=>t?1e3/t*e:0,j$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,M$=1e-7,N$=12;function P$(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=j$(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>M$&&++s<N$);return o}function F$(e,t,n,r){if(e===t&&n===r)return w$;let i=t=>P$(t,0,1,e,n);return e=>e===0||e===1?e:j$(i(e),t,r)}var I$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,L$=e=>t=>1-e(1-t),R$=F$(.33,1.53,.69,.99),z$=L$(R$),B$=I$(z$),V$=e=>e>=1?1:(e*=2)<1?.5*z$(e):.5*(2-2**(-10*(e-1))),H$=e=>1-Math.sin(Math.acos(e)),U$=L$(H$),W$=I$(H$),G$=F$(.42,0,1,1),K$=F$(0,0,.58,1),q$=F$(.42,0,.58,1),J$=e=>Array.isArray(e)&&typeof e[0]!=`number`,Y$=e=>Array.isArray(e)&&typeof e[0]==`number`,X$={linear:w$,easeIn:G$,easeInOut:q$,easeOut:K$,circIn:H$,circInOut:W$,circOut:U$,backIn:z$,backInOut:B$,backOut:R$,anticipate:V$},Z$=e=>typeof e==`string`,Q$=e=>{if(Y$(e)){e.length;let[t,n,r,i]=e;return F$(t,n,r,i)}return Z$(e)?(X$[e],`${e}`,X$[e]):e},$$=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function e1(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var t1=40;function n1(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=$$.reduce((e,t)=>(e[t]=e1(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=y$.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,t1),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:$$.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<$$.length;t++)o[$$[t]].cancel(e)},state:i,steps:o}}var{schedule:r1,cancel:i1,state:a1,steps:o1}=n1(typeof requestAnimationFrame<`u`?requestAnimationFrame:w$,!0),s1;function c1(){s1=void 0}var l1={now:()=>(s1===void 0&&l1.set(a1.isProcessing||y$.useManualTiming?a1.timestamp:performance.now()),s1),set:e=>{s1=e,queueMicrotask(c1)}},u1=e=>t=>typeof t==`string`&&t.startsWith(e),d1=u1(`--`),f1=u1(`var(--`),p1=e=>f1(e)?Gle.test(e.split(`/*`)[0].trim()):!1,Gle=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function m1(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var h1={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},g1={...h1,transform:e=>v$(0,1,e)},_1={...h1,default:1},v1=e=>Math.round(e*1e5)/1e5,y1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Kle(e){return e==null}var qle=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,b1=(e,t)=>n=>!!(typeof n==`string`&&qle.test(n)&&n.startsWith(e)||t&&!Kle(n)&&Object.prototype.hasOwnProperty.call(n,t)),x1=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(y1);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Jle=e=>v$(0,255,e),S1={...h1,transform:e=>Math.round(Jle(e))},C1={test:b1(`rgb`,`red`),parse:x1(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+S1.transform(e)+`, `+S1.transform(t)+`, `+S1.transform(n)+`, `+v1(g1.transform(r))+`)`};function Yle(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var w1={test:b1(`#`),parse:Yle,transform:C1.transform},T1=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),E1=T1(`deg`),D1=T1(`%`),Q=T1(`px`),Xle=T1(`vh`),Zle=T1(`vw`),O1={...D1,parse:e=>D1.parse(e)/100,transform:e=>D1.transform(e*100)},k1={test:b1(`hsl`,`hue`),parse:x1(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+D1.transform(v1(t))+`, `+D1.transform(v1(n))+`, `+v1(g1.transform(r))+`)`},A1={test:e=>C1.test(e)||w1.test(e)||k1.test(e),parse:e=>C1.test(e)?C1.parse(e):k1.test(e)?k1.parse(e):w1.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?C1.transform(e):k1.transform(e),getAnimatableNone:e=>{let t=A1.parse(e);return t.alpha=0,A1.transform(t)}},Qle=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $le(e){return isNaN(e)&&typeof e==`string`&&(e.match(y1)?.length||0)+(e.match(Qle)?.length||0)>0}var j1=`number`,M1=`color`,eue=`var`,tue=`var(`,N1="${}",nue=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function P1(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(nue,e=>(A1.test(e)?(r.color.push(a),i.push(M1),n.push(A1.parse(e))):e.startsWith(tue)?(r.var.push(a),i.push(eue),n.push(e)):(r.number.push(a),i.push(j1),n.push(parseFloat(e))),++a,N1)).split(N1),indexes:r,types:i}}function rue(e){return P1(e).values}function F1({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===j1?v1(r[a]):e===M1?A1.transform(r[a]):r[a]}return i}}function iue(e){return F1(P1(e))}var aue=e=>typeof e==`number`?0:A1.test(e)?A1.getAnimatableNone(e):e,oue=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:aue(e);function sue(e){let t=P1(e);return F1(t)(t.values.map((e,n)=>oue(e,t.split[n])))}var I1={test:$le,parse:rue,createTransformer:iue,getAnimatableNone:sue};function L1(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function cue({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=L1(s,r,e+1/3),a=L1(s,r,e),o=L1(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function R1(e,t){return n=>n>0?t:e}var z1=(e,t,n)=>e+(t-e)*n,B1=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},lue=[w1,C1,k1],uue=e=>lue.find(t=>t.test(e));function V1(e){let t=uue(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===k1&&(n=cue(n)),n}var H1=(e,t)=>{let n=V1(e),r=V1(t);if(!n||!r)return R1(e,t);let i={...n};return e=>(i.red=B1(n.red,r.red,e),i.green=B1(n.green,r.green,e),i.blue=B1(n.blue,r.blue,e),i.alpha=z1(n.alpha,r.alpha,e),C1.transform(i))},U1=new Set([`none`,`hidden`]);function due(e,t){return U1.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function fue(e,t){return n=>z1(e,t,n)}function W1(e){return typeof e==`number`?fue:typeof e==`string`?p1(e)?R1:A1.test(e)?H1:hue:Array.isArray(e)?G1:typeof e==`object`?A1.test(e)?H1:pue:R1}function G1(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>W1(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function pue(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=W1(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function mue(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var hue=(e,t)=>{let n=I1.createTransformer(t),r=P1(e),i=P1(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?U1.has(e)&&!i.values.length||U1.has(t)&&!r.values.length?due(e,t):T$(G1(mue(r,i),i.values),n):(`${e}${t}`,R1(e,t))};function K1(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?z1(e,t,n):W1(e)(e,t)}var gue=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>r1.update(t,e),stop:()=>i1(t),now:()=>a1.isProcessing?a1.timestamp:l1.now()}},q1=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},J1=2e4;function Y1(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function _ue(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Y1(r),J1);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:k$(i)}}var X1={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Z1(e,t){return e*Math.sqrt(1-t*t)}var vue=12;function yue(e,t,n){let r=n;for(let n=1;n<vue;n++)r-=e(r)/t(r);return r}var Q1=.001;function bue({duration:e=X1.duration,bounce:t=X1.bounce,velocity:n=X1.velocity,mass:r=X1.mass}){let i,a;X1.maxDuration;let o=1-t;o=v$(X1.minDamping,X1.maxDamping,o),e=v$(X1.minDuration,X1.maxDuration,k$(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Z1(t,o),c=Math.exp(-i);return Q1-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Z1(t**2,o);return(-i(t)+Q1>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=yue(i,a,s);if(e=O$(e),isNaN(c))return{stiffness:X1.stiffness,damping:X1.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var xue=[`duration`,`bounce`],Sue=[`stiffness`,`damping`,`mass`];function $1(e,t){return t.some(t=>e[t]!==void 0)}function Cue(e){let t={velocity:X1.velocity,stiffness:X1.stiffness,damping:X1.damping,mass:X1.mass,isResolvedFromDuration:!1,...e};if(!$1(e,Sue)&&$1(e,xue)){if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*v$(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:X1.mass,stiffness:i,damping:a}}else{let n=bue({...e,velocity:0});t={...t,...n,mass:X1.mass},t.isResolvedFromDuration=!0}}return t}function e0(e=X1.visualDuration,t=X1.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Cue({...n,velocity:-k$(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=k$(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?X1.restSpeed.granular:X1.restSpeed.default,i||=v?X1.restDelta.granular:X1.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Z1(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>O$(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=O$(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=O$(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Y1(T),J1),t=q1(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}e0.applyToOptions=e=>{let t=_ue(e,100,e0);return e.ease=t.ease,e.duration=O$(t.duration),e.type=`keyframes`,e};var wue=5;function t0(e,t,n){let r=Math.max(t-wue,0);return A$(n-e(r),t-r)}function n0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=e0({keyframes:[f.value,m(f.value)],velocity:t0(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Tue(e,t,n){let r=[],i=n||y$.mix||K1,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=T$(Array.isArray(t)?t[n]||w$:t,a)),r.push(a)}return r}function Eue(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Tue(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=E$(e[r],e[r+1],n);return s[r](i)};return n?t=>l(v$(e[0],e[a-1],t)):l}function Due(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=E$(0,t,r);e.push(z1(n,1,i))}}function Oue(e){let t=[0];return Due(t,e.length-1),t}function kue(e,t){return e.map(e=>e*t)}function Aue(e,t){return e.map(()=>t||q$).splice(0,e.length-1)}function r0({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=J$(r)?r.map(Q$):Q$(r),a={done:!1,value:t[0]},o=Eue(kue(n&&n.length===t.length?n:Oue(t),e),t,{ease:Array.isArray(i)?i:Aue(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var jue=e=>e!==null;function i0(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(jue),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Mue={decay:n0,inertia:n0,tween:r0,keyframes:r0,spring:e0};function a0(e){typeof e.type==`string`&&(e.type=Mue[e.type])}var o0=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},Nue=e=>e/100,s0=class extends o0{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==l1.now()&&this.tick(l1.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;a0(e);let{type:t=r0,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||r0;s!==r0&&typeof o[0]!=`number`&&(this.mixKeyframes=T$(Nue,K1(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Y1(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=v$(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==n0&&(b.value=i0(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return k$(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+k$(e)}get time(){return k$(this.currentTime)}set time(e){e=O$(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return t0(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(l1.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=k$(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=gue,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(l1.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function Pue(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var c0=e=>e*180/Math.PI,l0=e=>u0(c0(Math.atan2(e[1],e[0]))),Fue={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:l0,rotateZ:l0,skewX:e=>c0(Math.atan(e[1])),skewY:e=>c0(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},u0=e=>(e%=360,e<0&&(e+=360),e),d0=l0,f0=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),p0=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Iue={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:f0,scaleY:p0,scale:e=>(f0(e)+p0(e))/2,rotateX:e=>u0(c0(Math.atan2(e[6],e[5]))),rotateY:e=>u0(c0(Math.atan2(-e[2],e[0]))),rotateZ:d0,rotate:d0,skewX:e=>c0(Math.atan(e[4])),skewY:e=>c0(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function m0(e){return+!!e.includes(`scale`)}function h0(e,t){if(!e||e===`none`)return m0(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Iue,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Fue,i=t}if(!i)return m0(t);let a=r[t],o=i[1].split(`,`).map(Rue);return typeof a==`function`?a(o):o[a]}var Lue=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return h0(n,t)};function Rue(e){return parseFloat(e.trim())}var g0=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],_0=new Set([...g0,`pathRotation`]),v0=e=>e===h1||e===Q,zue=new Set([`x`,`y`,`z`]),Bue=g0.filter(e=>!zue.has(e));function Vue(e){let t=[];return Bue.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var y0={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>h0(t,`x`),y:(e,{transform:t})=>h0(t,`y`)};y0.translateX=y0.x,y0.translateY=y0.y;var b0=new Set,x0=!1,S0=!1,C0=!1;function w0(){if(S0){let e=Array.from(b0).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Vue(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}S0=!1,x0=!1,b0.forEach(e=>e.complete(C0)),b0.clear()}function T0(){b0.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(S0=!0)})}function Hue(){C0=!0,T0(),w0(),C0=!1}var E0=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(b0.add(this),x0||(x0=!0,r1.read(T0),r1.resolveKeyframes(w0))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Pue(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),b0.delete(this)}cancel(){this.state===`scheduled`&&(b0.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Uue=e=>e.startsWith(`--`);function D0(e,t,n){Uue(t)?e.style.setProperty(t,n):e.style[t]=n}var Wue={};function O0(e,t){let n=C$(e);return()=>Wue[t]??n()}var Gue=O0(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),k0=O0(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),A0=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,j0={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:A0([0,.65,.55,1]),circOut:A0([.55,0,1,.45]),backIn:A0([.31,.01,.66,-.59]),backOut:A0([.33,1.53,.69,.99])};function M0(e,t){if(e)return typeof e==`function`?k0()?q1(e,t):`ease-out`:Y$(e)?A0(e):Array.isArray(e)?e.map(e=>M0(e,t)||j0.easeOut):j0[e]}function Kue(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=M0(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function N0(e){return typeof e==`function`&&`applyToOptions`in e}function que({type:e,...t}){return N0(e)&&k0()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var P0=class extends o0{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=que(e);this.animation=Kue(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=i0(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),D0(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return k$(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+k$(e)}get time(){return k$(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=O$(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Gue()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),w$):r(this)}},F0={anticipate:V$,backInOut:B$,circInOut:W$};function Jue(e){return e in F0}function Yue(e){typeof e.ease==`string`&&Jue(e.ease)&&(e.ease=F0[e.ease])}var I0=10,Xue=class extends P0{constructor(e){Yue(e),a0(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new s0({...a,autoplay:!1}),s=Math.max(I0,l1.now()-this.startTime),c=v$(0,I0,s-I0),l=o.sample(s).value,{name:u}=this.options;i&&u&&D0(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},L0=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(I1.test(e)||e===`0`)&&!e.startsWith(`url(`));function Zue(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Que(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=L0(i,t),s=L0(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Zue(e)||(n===`spring`||N0(n))&&r}function R0(e){e.duration=0,e.type=`keyframes`}var z0=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),$ue=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function ede(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&$ue.test(e[t]))return!0;return!1}var tde=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),nde=C$(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function rde(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return nde()&&n&&(z0.has(n)||tde.has(n)&&ede(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var ide=40,ade=class extends o0{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=l1.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||E0;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=l1.now();let u=!0;Que(e,i,a,o)||(u=!1,(y$.instantAnimations||!s)&&l?.(i0(e,n,t)),e[0]=e[e.length-1],R0(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>ide?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&rde(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Xue({...d,element:p})}catch{m=new s0(d)}else m=new s0(d);m.finished.then(()=>{this.notifyFinished()}).catch(w$),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Hue()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function B0(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var V0=30,ode=e=>!isNaN(parseFloat(e)),H0={current:void 0},sde=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=l1.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=l1.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ode(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new D$);let n=this.events[e].add(t);return e===`change`?()=>{n(),r1.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return H0.current&&H0.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=l1.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>V0)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,V0);return A$(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function U0(e,t){return new sde(e,t)}function W0(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function G0(e,t){let n=e?.[t]??e?.default??e;return n===e?n:W0(n,e)}var cde={type:`spring`,stiffness:500,damping:25,restSpeed:10},lde=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ude={type:`keyframes`,duration:.8},dde={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},fde=(e,{keyframes:t})=>t.length>2?ude:_0.has(e)?e.startsWith(`scale`)?lde(t[1]):cde:dde,pde=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function mde(e){for(let t in e)if(!pde.has(t))return!0;return!1}var K0=(e,t,n,r={},i,a)=>o=>{let s=G0(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=O$(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};mde(s)||Object.assign(u,fde(e,u)),u.duration&&=O$(u.duration),u.repeatDelay&&=O$(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(R0(u),u.delay===0&&(d=!0)),(y$.instantAnimations||y$.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,R0(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=i0(u.keyframes,s);if(e!==void 0){r1.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new s0(u):new ade(u)},hde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gde(e){let t=hde.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function q0(e,t,n=1){`${e}`;let[r,i]=gde(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return b$(e)?parseFloat(e):e}return p1(i)?q0(i,t,n+1):i}function J0(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Y0(e,t,n,r){if(typeof t==`function`){let[i,a]=J0(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=J0(r);t=t(n===void 0?e.custom:n,i,a)}return t}function X0(e,t,n){let r=e.getProps();return Y0(r,t,n===void 0?r.custom:n,e)}var Z0=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...g0]),Q0=e=>Array.isArray(e);function _de(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,U0(n))}function vde(e){return Q0(e)?e[e.length-1]||0:e}function yde(e,t){let{transitionEnd:n={},transition:r={},...i}=X0(e,t)||{};i={...i,...n};for(let t in i)_de(e,t,vde(i[t]))}var $0=e=>!!(e&&e.getVelocity);function bde(e){return!!($0(e)&&e.add)}function e2(e,t){let n=e.getValue(`willChange`);if(bde(n))return n.add(t);if(!n&&y$.WillChange){let n=new y$.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function t2(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var n2=`data-`+t2(`framerAppearId`);function r2(e){return e.props[n2]}function xde({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function i2(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?W0(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&xde(f,t))continue;let o={delay:n,...G0(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){r1.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=r2(e);if(n){let e=window.MotionHandoffAnimation(n,t,r1);e!==null&&(o.startTime=e,p=!0)}}e2(e,t);let m=l??e.shouldReduceMotion;r.start(K0(t,r,i,m&&Z0.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>r1.update(()=>{o&&yde(e,o)});d.length?Promise.all(d).then(t):t()}return d}function a2(e,t,n={}){let r=X0(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(i2(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Sde(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function Sde(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(a2(c,t,{...o,delay:n+(typeof r==`function`?0:r)+B0(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Cde(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>a2(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=a2(e,t,n);else{let i=typeof t==`function`?X0(e,t,n.custom):t;r=Promise.all(i2(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var wde={test:e=>e===`auto`,parse:e=>e},o2=e=>t=>t.test(e),s2=[h1,Q,D1,E1,Zle,Xle,wde],c2=e=>s2.find(o2(e));function Tde(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||S$(e)}var Ede=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Dde(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(y1)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Ede.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Ode=/\b([a-z-]*)\(.*?\)/gu,l2={...I1,getAnimatableNone:e=>{let t=e.match(Ode);return t?t.map(Dde).join(` `):e}},u2={...I1,getAnimatableNone:e=>{let t=I1.parse(e);return I1.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},d2={...h1,transform:Math.round},f2={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,inset:Q,insetBlock:Q,insetBlockStart:Q,insetBlockEnd:Q,insetInline:Q,insetInlineStart:Q,insetInlineEnd:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,paddingBlock:Q,paddingBlockStart:Q,paddingBlockEnd:Q,paddingInline:Q,paddingInlineStart:Q,paddingInlineEnd:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,marginBlock:Q,marginBlockStart:Q,marginBlockEnd:Q,marginInline:Q,marginInlineStart:Q,marginInlineEnd:Q,fontSize:Q,backgroundPositionX:Q,backgroundPositionY:Q,rotate:E1,pathRotation:E1,rotateX:E1,rotateY:E1,rotateZ:E1,scale:_1,scaleX:_1,scaleY:_1,scaleZ:_1,skew:E1,skewX:E1,skewY:E1,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:g1,originX:O1,originY:O1,originZ:Q,zIndex:d2,fillOpacity:g1,strokeOpacity:g1,numOctaves:d2},kde={...f2,color:A1,backgroundColor:A1,outlineColor:A1,fill:A1,stroke:A1,borderColor:A1,borderTopColor:A1,borderRightColor:A1,borderBottomColor:A1,borderLeftColor:A1,filter:l2,WebkitFilter:l2,mask:u2,WebkitMask:u2},p2=e=>kde[e],Ade=new Set([l2,u2]);function m2(e,t){let n=p2(e);return Ade.has(n)||(n=I1),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var jde=new Set([`auto`,`none`,`0`]);function Mde(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!jde.has(t)&&P1(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=m2(n,i)}var Nde=class extends E0{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),p1(r))){let i=q0(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Z0.has(n)||e.length!==2)return;let[r,i]=e,a=c2(r),o=c2(i);if(m1(r)!==m1(i)&&y0[n]){this.needsMeasurement=!0;return}if(a!==o){if(v0(a)&&v0(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else y0[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Tde(e[t]))&&n.push(t);n.length&&Mde(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=y0[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=y0[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},h2=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function g2(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var _2=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Pde(e){return x$(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:v2,cancel:Fde}=n1(queueMicrotask,!1),y2={x:!1,y:!1};function b2(){return y2.x||y2.y}function Ide(e){return e===`x`||e===`y`?y2[e]?null:(y2[e]=!0,()=>{y2[e]=!1}):y2.x||y2.y?null:(y2.x=y2.y=!0,()=>{y2.x=y2.y=!1})}function x2(e,t){let n=g2(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Lde(e){return!(e.pointerType===`touch`||b2())}function Rde(e,t,n={}){let[r,i,a]=x2(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Lde(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var S2=(e,t)=>t?e===t||S2(e,t.parentElement):!1,C2=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,zde=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Bde(e){return zde.has(e.tagName)||e.isContentEditable===!0}var Vde=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Hde(e){return Vde.has(e.tagName)||e.isContentEditable===!0}var w2=new WeakSet;function T2(e){return t=>{t.key===`Enter`&&e(t)}}function E2(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Ude=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=T2(()=>{if(w2.has(n))return;E2(n,`down`);let e=T2(()=>{E2(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>E2(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function D2(e){return C2(e)&&!b2()}var O2=new WeakSet;function Wde(e,t,n={}){let[r,i,a]=x2(e,n),o=e=>{let r=e.currentTarget;if(!D2(e)||O2.has(e))return;w2.add(r),n.stopPropagation&&O2.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),w2.has(r)&&w2.delete(r),D2(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||S2(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Pde(e)&&(e.addEventListener(`focus`,e=>Ude(e,i)),!Bde(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function k2(e){return x$(e)&&`ownerSVGElement`in e}var A2=new WeakMap,j2,M2=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:k2(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Gde=M2(`inline`,`width`,`offsetWidth`),Kde=M2(`block`,`height`,`offsetHeight`);function qde({target:e,borderBoxSize:t}){A2.get(e)?.forEach(n=>{n(e,{get width(){return Gde(e,t)},get height(){return Kde(e,t)}})})}function Jde(e){e.forEach(qde)}function Yde(){typeof ResizeObserver>`u`||(j2=new ResizeObserver(Jde))}function Xde(e,t){j2||Yde();let n=g2(e);return n.forEach(e=>{let n=A2.get(e);n||(n=new Set,A2.set(e,n)),n.add(t),j2?.observe(e)}),()=>{n.forEach(e=>{let n=A2.get(e);n?.delete(t),n?.size||j2?.unobserve(e)})}}var N2=new Set,P2;function Zde(){P2=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};N2.forEach(t=>t(e))},window.addEventListener(`resize`,P2)}function Qde(e){return N2.add(e),P2||Zde(),()=>{N2.delete(e),!N2.size&&typeof P2==`function`&&(window.removeEventListener(`resize`,P2),P2=void 0)}}function F2(e,t){return typeof e==`function`?Qde(e):Xde(e,t)}var I2={value:null,addProjectionMetrics:null};function $de(e){return k2(e)&&e.tagName===`svg`}var efe=[...s2,A1,I1],tfe=e=>efe.find(o2(e)),L2=()=>({translate:0,scale:1,origin:0,originPoint:0}),R2=()=>({x:L2(),y:L2()}),z2=()=>({min:0,max:0}),B2=()=>({x:z2(),y:z2()}),nfe=new WeakMap;function V2(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function H2(e){return typeof e==`string`||Array.isArray(e)}var U2=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],W2=[`initial`,...U2];function G2(e){return V2(e.animate)||W2.some(t=>H2(e[t]))}function K2(e){return!!(G2(e)||e.variants)}function rfe(e,t,n){for(let r in t){let i=t[r],a=n[r];if($0(i))e.addValue(r,i);else if($0(a))e.addValue(r,U0(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,U0(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var q2={current:null},J2={current:!1},ife=typeof window<`u`;function afe(){if(J2.current=!0,ife){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>q2.current=e.matches;e.addEventListener(`change`,t),t()}else q2.current=!1}}var Y2=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],X2={};function Z2(e){X2=e}function ofe(){return X2}var sfe=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=E0,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=l1.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,r1.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=G2(t),this.isVariantNode=K2(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&$0(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,nfe.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(J2.current||afe(),this.shouldReduceMotion=q2.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),i1(this.notifyUpdate),i1(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&z0.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new P0({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:O$(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=_0.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&r1.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in X2){let t=X2[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):B2()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Y2.length;t++){let n=Y2[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=rfe(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=U0(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(b$(n)||S$(n))?n=parseFloat(n):!tfe(n)&&I1.test(t)&&(n=m2(e,t)),this.setBaseTarget(e,$0(n)?n.get():n)),$0(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Y0(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!$0(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new D$),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){v2.render(this.render)}},Q2=class extends sfe{constructor(){super(...arguments),this.KeyframeResolver=Nde}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;$0(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},$2=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function e4({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function cfe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function lfe(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function t4(e){return e===void 0||e===1}function n4({scale:e,scaleX:t,scaleY:n}){return!t4(e)||!t4(t)||!t4(n)}function r4(e){return n4(e)||i4(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function i4(e){return a4(e.x)||a4(e.y)}function a4(e){return e&&e!==`0%`}function o4(e,t,n){return n+t*(e-n)}function s4(e,t,n,r,i){return i!==void 0&&(e=o4(e,i,r)),o4(e,n,r)+t}function c4(e,t=0,n=1,r,i){e.min=s4(e.min,t,n,r,i),e.max=s4(e.max,t,n,r,i)}function l4(e,{x:t,y:n}){c4(e.x,t.translate,t.scale,t.originPoint),c4(e.y,n.translate,n.scale,n.originPoint)}var u4=.999999999999,d4=1.0000000000001;function ufe(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(f4(e.x,-a.scroll.offset.x),f4(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,l4(e,o)),r&&r4(a.latestValues)&&h4(e,a.latestValues,a.layout?.layoutBox))}t.x<d4&&t.x>u4&&(t.x=1),t.y<d4&&t.y>u4&&(t.y=1)}function f4(e,t){e.min+=t,e.max+=t}function p4(e,t,n,r,i=.5){c4(e,t,n,z1(e.min,e.max,i),r)}function m4(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function h4(e,t,n){let r=n??e;p4(e.x,m4(t.x,r.x),t.scaleX,t.scale,t.originX),p4(e.y,m4(t.y,r.y),t.scaleY,t.scale,t.originY)}function g4(e,t){return e4(lfe(e.getBoundingClientRect(),t))}function dfe(e,t,n){let r=g4(e,n),{scroll:i}=t;return i&&(f4(r.x,i.offset.x),f4(r.y,i.offset.y)),r}var ffe={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},pfe=g0.length;function mfe(e,t,n){let r=``,i=!0;for(let a=0;a<pfe;a++){let o=g0[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=_2(s,f2[o]);if(!c){i=!1;let t=ffe[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${_2(a,f2.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function _4(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(_0.has(e)){o=!0;continue}if(d1(e)){i[e]=n;continue}{let t=_2(n,f2[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=mfe(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function v4(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function y4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var b4={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(Q.test(e))e=parseFloat(e);else return e}return`${y4(e,t.target.x)}% ${y4(e,t.target.y)}%`}},hfe={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=I1.parse(e);if(i.length>5)return r;let a=I1.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=z1(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},x4={borderRadius:{...b4,applyTo:[...h2]},borderTopLeftRadius:b4,borderTopRightRadius:b4,borderBottomLeftRadius:b4,borderBottomRightRadius:b4,boxShadow:hfe};function S4(e,{layout:t,layoutId:n}){return _0.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!x4[e]||e===`opacity`)}function C4(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)($0(r[t])||i&&$0(i[t])||S4(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function gfe(e){return window.getComputedStyle(e)}var _fe=class extends Q2{constructor(){super(...arguments),this.type=`html`,this.renderInstance=v4}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(_0.has(t))return this.projection?.isProjecting?m0(t):Lue(e,t);{let n=gfe(e),r=(d1(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return g4(e,t)}build(e,t,n){_4(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return C4(e,t,n)}},vfe={offset:`stroke-dashoffset`,array:`stroke-dasharray`},yfe={offset:`strokeDashoffset`,array:`strokeDasharray`};function bfe(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?vfe:yfe;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var xfe=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function w4(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(_4(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of xfe)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&bfe(d,i,a,o,!1)}var T4=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),E4=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Sfe(e,t,n,r){v4(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(T4.has(n)?n:t2(n),t.attrs[n])}function D4(e,t,n){let r=C4(e,t,n);for(let n in e)if($0(e[n])||$0(t[n])){let t=g0.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Cfe=class extends Q2{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=B2}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(_0.has(t)){let e=p2(t);return e&&e.default||0}return t=T4.has(t)?t:t2(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return D4(e,t,n)}build(e,t,n){w4(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Sfe(e,t,n,r)}mount(e){this.isSVGTag=E4(e.tagName),super.mount(e)}},wfe=W2.length;function O4(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&O4(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<wfe;n++){let r=W2[n],i=e.props[r];(H2(i)||i===!1)&&(t[r]=i)}return t}function k4(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Tfe=[...U2].reverse(),Efe=U2.length;function Dfe(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Cde(e,t,n)))}function Ofe(e){let t=Dfe(e),n=j4(),r=!0,i=!1,a=t=>(n,r)=>{let i=X0(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=O4(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Efe;t++){let p=Tfe[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=H2(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||V2(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=kfe(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Q0(t)&&Q0(n)?!k4(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=X0(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=B0(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=X0(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=j4(),i=!0}}}function kfe(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!k4(t,e):!1}function A4(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function j4(){return{animate:A4(!0),whileInView:A4(),whileHover:A4(),whileTap:A4(),whileDrag:A4(),whileFocus:A4(),exit:A4()}}function M4(e,t){e.min=t.min,e.max=t.max}function N4(e,t){M4(e.x,t.x),M4(e.y,t.y)}function P4(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Afe=.9999,jfe=1.0001,Mfe=-.01,Nfe=.01;function F4(e){return e.max-e.min}function Pfe(e,t,n){return Math.abs(e-t)<=n}function I4(e,t,n,r=.5){e.origin=r,e.originPoint=z1(t.min,t.max,e.origin),e.scale=F4(n)/F4(t),e.translate=z1(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Afe&&e.scale<=jfe||isNaN(e.scale))&&(e.scale=1),(e.translate>=Mfe&&e.translate<=Nfe||isNaN(e.translate))&&(e.translate=0)}function L4(e,t,n,r){I4(e.x,t.x,n.x,r?r.originX:void 0),I4(e.y,t.y,n.y,r?r.originY:void 0)}function R4(e,t,n,r=0){e.min=(r?z1(n.min,n.max,r):n.min)+t.min,e.max=e.min+F4(t)}function Ffe(e,t,n,r){R4(e.x,t.x,n.x,r?.x),R4(e.y,t.y,n.y,r?.y)}function z4(e,t,n,r=0){let i=r?z1(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+F4(t)}function B4(e,t,n,r){z4(e.x,t.x,n.x,r?.x),z4(e.y,t.y,n.y,r?.y)}function V4(e,t,n,r,i){return e-=t,e=o4(e,1/n,r),i!==void 0&&(e=o4(e,1/i,r)),e}function Ife(e,t=0,n=1,r=.5,i,a=e,o=e){if(D1.test(t)&&(t=parseFloat(t),t=z1(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=z1(a.min,a.max,r);e===a&&(s-=t),e.min=V4(e.min,t,n,s,i),e.max=V4(e.max,t,n,s,i)}function H4(e,t,[n,r,i],a,o){Ife(e,t[n],t[r],t[i],t.scale,a,o)}var Lfe=[`x`,`scaleX`,`originX`],Rfe=[`y`,`scaleY`,`originY`];function U4(e,t,n,r){H4(e.x,t,Lfe,n?n.x:void 0,r?r.x:void 0),H4(e.y,t,Rfe,n?n.y:void 0,r?r.y:void 0)}function W4(e){return e.translate===0&&e.scale===1}function G4(e){return W4(e.x)&&W4(e.y)}function K4(e,t){return e.min===t.min&&e.max===t.max}function zfe(e,t){return K4(e.x,t.x)&&K4(e.y,t.y)}function q4(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function J4(e,t){return q4(e.x,t.x)&&q4(e.y,t.y)}function Y4(e){return F4(e.x)/F4(e.y)}function X4(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Z4(e){return[e(`x`),e(`y`)]}function Bfe(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Vfe=h2.length,Q4=e=>typeof e==`string`?parseFloat(e):e,$4=e=>typeof e==`number`||Q.test(e);function Hfe(e,t,n,r,i,a){i?(e.opacity=z1(0,n.opacity??1,Ufe(r)),e.opacityExit=z1(t.opacity??1,0,Wfe(r))):a&&(e.opacity=z1(t.opacity??1,n.opacity??1,r));for(let i=0;i<Vfe;i++){let a=h2[i],o=e3(t,a),s=e3(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||$4(o)===$4(s)?(e[a]=Math.max(z1(Q4(o),Q4(s),r),0),(D1.test(s)||D1.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=z1(t.rotate||0,n.rotate||0,r))}function e3(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ufe=t3(0,.5,U$),Wfe=t3(.5,.95,w$);function t3(e,t,n){return r=>r<e?0:r>t?1:n(E$(e,t,r))}function Gfe(e,t,n){let r=$0(e)?e:U0(e);return r.start(K0(``,r,t,n)),r.animation}function n3(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Kfe=(e,t)=>e.depth-t.depth,qfe=class{constructor(){this.children=[],this.isDirty=!1}add(e){g$(this.children,e),this.isDirty=!0}remove(e){_$(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Kfe),this.isDirty=!1,this.children.forEach(e)}};function Jfe(e,t){let n=l1.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(i1(r),e(a-t))};return r1.setup(r,!0),()=>i1(r)}function r3(e){return $0(e)?e.get():e}var Yfe=class{constructor(){this.members=[]}add(e){g$(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(_$(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(_$(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},i3={hasAnimatedSinceResize:!0,hasEverUpdated:!1},a3={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},o3=[``,`X`,`Y`,`Z`],Xfe=1e3,Zfe=0;function s3(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function c3(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=r2(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,r1,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&c3(r)}function l3({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Zfe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,I2.value&&(a3.nodes=a3.calculatedTargetDeltas=a3.calculatedProjections=0),this.nodes.forEach(epe),this.nodes.forEach(ope),this.nodes.forEach(spe),this.nodes.forEach(tpe),I2.addProjectionMetrics&&I2.addProjectionMetrics(a3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new qfe)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new D$),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=k2(t)&&!$de(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;r1.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Jfe(i,250),i3.hasAnimatedSinceResize&&(i3.hasAnimatedSinceResize=!1,this.nodes.forEach(f3)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||fpe,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!J4(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...G0(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||f3(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),i1(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(cpe),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&c3(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(rpe),this.nodes.forEach(u3);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(d3);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ipe),this.nodes.forEach(ape),this.nodes.forEach(Qfe),this.nodes.forEach($fe)):this.nodes.forEach(d3),this.clearAllSnapshots();let e=l1.now();a1.delta=v$(0,1e3/60,e-a1.timestamp),a1.timestamp=e,a1.isProcessing=!0,o1.update.process(a1),o1.preRender.process(a1),o1.render.process(a1),a1.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,v2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(npe),this.sharedNodes.forEach(lpe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,r1.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){r1.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!F4(this.snapshot.measuredBox.x)&&!F4(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=B2(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!G4(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||r4(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),ppe(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return B2();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(mpe))){let{scroll:e}=this.root;e&&(f4(t.x,e.offset.x),f4(t.y,e.offset.y))}return t}removeElementScroll(e){let t=B2();if(N4(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&N4(t,e),f4(t.x,i.offset.x),f4(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||B2();N4(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(f4(r.x,-n.scroll.offset.x),f4(r.y,-n.scroll.offset.y)),r4(n.latestValues)&&h4(r,n.latestValues,n.layout?.layoutBox)}return r4(this.latestValues)&&h4(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=B2();N4(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!r4(n.latestValues))continue;let r;n.instance&&(n4(n.latestValues)&&n.updateSnapshot(),r=B2(),N4(r,n.measurePageBox())),U4(t,n.latestValues,n.snapshot?.layoutBox,r)}return r4(this.latestValues)&&U4(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==a1.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=a1.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=B2(),this.targetWithTransforms=B2()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ffe(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):N4(this.target,this.layout.layoutBox),l4(this.target,this.targetDelta)):N4(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),I2.value&&a3.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||n4(this.parent.latestValues)||i4(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=B2(),this.relativeTargetOrigin=B2(),B4(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),N4(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===a1.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;N4(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;ufe(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=B2());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(P4(this.prevProjectionDelta.x,this.projectionDelta.x),P4(this.prevProjectionDelta.y,this.projectionDelta.y)),L4(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!X4(this.projectionDelta.x,this.prevProjectionDelta.x)||!X4(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),I2.value&&a3.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=R2(),this.projectionDelta=R2(),this.projectionDeltaWithTransform=R2()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=R2();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=B2(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(dpe));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=z1(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=z1(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(p3(o.x,e.x,n),p3(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B4(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),upe(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&zfe(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=B2(),N4(f,this.relativeTarget)),c&&(this.animationValues=a,Hfe(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(i1(this.pendingAnimation),void 0),this.pendingAnimation=r1.update(()=>{i3.hasAnimatedSinceResize=!0,this.motionValue||=U0(0),this.motionValue.jump(0,!1),this.currentAnimation=Gfe(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Xfe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&v3(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||B2();let t=F4(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=F4(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}N4(t,n),h4(t,i),L4(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Yfe),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&s3(`z`,e,r,this.animationValues);for(let t=0;t<o3.length;t++)s3(`rotate${o3[t]}`,e,r,this.animationValues),s3(`skew${o3[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=r3(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=r3(t?.pointerEvents)||``),this.hasProjected&&!r4(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Bfe(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in x4){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=x4[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?r3(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(u3),this.root.sharedNodes.clear()}}}function Qfe(e){e.updateLayout()}function $fe(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Z4(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=F4(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;M4(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else v3(i,t.layoutBox,n)&&Z4(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=F4(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=R2();L4(o,n,t.layoutBox);let s=R2();a?L4(s,e.applyTransform(r,!0),t.measuredBox):L4(s,n,t.layoutBox);let c=!G4(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=B2();B4(s,t.layoutBox,i.layoutBox,o);let c=B2();B4(c,n,a.layoutBox,o),J4(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function epe(e){I2.value&&a3.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function tpe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function npe(e){e.clearSnapshot()}function u3(e){e.clearMeasurements()}function rpe(e){e.isLayoutDirty=!0,e.updateLayout()}function d3(e){e.isLayoutDirty=!1}function ipe(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function ape(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function f3(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ope(e){e.resolveTargetDelta()}function spe(e){e.calcProjection()}function cpe(e){e.resetSkewAndRotation()}function lpe(e){e.removeLeadSnapshot()}function p3(e,t,n){e.translate=z1(t.translate,0,n),e.scale=z1(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function m3(e,t,n,r){e.min=z1(t.min,n.min,r),e.max=z1(t.max,n.max,r)}function upe(e,t,n,r){m3(e.x,t.x,n.x,r),m3(e.y,t.y,n.y,r)}function dpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var fpe={duration:.45,ease:[.4,0,.1,1]},h3=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),g3=h3(`applewebkit/`)&&!h3(`chrome/`)?Math.round:w$;function _3(e){e.min=g3(e.min),e.max=g3(e.max)}function ppe(e){_3(e.x),_3(e.y)}function v3(e,t,n){return e===`position`||e===`preserve-aspect`&&!Pfe(Y4(t),Y4(n),.2)}function mpe(e){return e!==e.root&&e.scroll?.wasRoot}var hpe=l3({attachResizeListener:(e,t)=>n3(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),gpe=e=>!e.isLayoutDirty&&e.willUpdate(!1);function _pe(){let e=new Set,t=new WeakMap,n=()=>e.forEach(gpe);return{add:r=>{e.add(r),t.set(r,r.addEventListener(`willUpdate`,n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var y3={current:void 0},b3=l3({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!y3.current){let e=new hpe({});e.mount(window),e.setOptions({layoutScroll:!0}),y3.current=e}return y3.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),x3=(0,m.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function vpe(e=!0){let t=(0,m.useContext)(h$);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,m.useId)();(0,m.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,m.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var ype=(0,m.createContext)(null);function bpe(){let e=(0,m.useRef)(!1);return m$(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function xpe(){let e=bpe(),[t,n]=(0,m.useState)(0),r=(0,m.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,m.useCallback)(()=>r1.postRender(r),[r]),t]}var S3=e=>e===!0,Spe=e=>S3(e===!0)||e===`id`,Cpe=({children:e,id:t,inherit:n=!0})=>{let r=(0,m.useContext)(f$),i=(0,m.useContext)(ype),[a,o]=xpe(),s=(0,m.useRef)(null),c=r.id||i;s.current===null&&(Spe(n)&&c&&(t=t?c+`-`+t:c),s.current={id:t,group:S3(n)&&r.group||_pe()});let l=(0,m.useMemo)(()=>({...s.current,forceRender:a}),[o]);return(0,G.jsx)(f$.Provider,{value:l,children:e})},C3=(0,m.createContext)({strict:!1}),w3={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},T3=!1;function wpe(){if(T3)return;let e={};for(let t in w3)e[t]={isEnabled:e=>w3[t].some(t=>!!e[t])};Z2(e),T3=!0}function E3(){return wpe(),ofe()}function Tpe(e){let t=E3();for(let n in e)t[n]={...t[n],...e[n]};Z2(t)}var Epe=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function D3(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Epe.has(e)}var Dpe=i({default:()=>O3}),O3,Ope=n((()=>{throw O3={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),k3=e=>!D3(e);function kpe(e){typeof e==`function`&&(k3=t=>t.startsWith(`on`)?!D3(t):e(t))}try{kpe((Ope(),e(Dpe)).default)}catch{}function Ape(e,t,n){let r={};for(let i in e)(i!==`values`||typeof e.values!=`object`)&&($0(e[i])||(k3(i)||n===!0&&D3(i)||!t&&!D3(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]));return r}var A3=(0,m.createContext)({});function jpe(e,t){if(G2(e)){let{initial:t,animate:n}=e;return{initial:t===!1||H2(t)?t:void 0,animate:H2(n)?n:void 0}}return e.inherit===!1?{}:t}function Mpe(e){let{initial:t,animate:n}=jpe(e,(0,m.useContext)(A3));return(0,m.useMemo)(()=>({initial:t,animate:n}),[j3(t),j3(n)])}function j3(e){return Array.isArray(e)?e.join(` `):e}var M3=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function N3(e,t,n){for(let r in t)!$0(t[r])&&!S4(r,n)&&(e[r]=t[r])}function Npe({transformTemplate:e},t){return(0,m.useMemo)(()=>{let n=M3();return _4(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Ppe(e,t){let n=e.style||{},r={};return N3(r,n,e),Object.assign(r,Npe(e,t)),r}function Fpe(e,t){let n={},r=Ppe(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var P3=()=>({...M3(),attrs:{}});function Ipe(e,t,n,r){let i=(0,m.useMemo)(()=>{let n=P3();return w4(n,t,E4(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};N3(t,e.style,e),i.style={...t,...i.style}}return i}var Lpe=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function F3(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Lpe.indexOf(e)>-1||/[A-Z]/u.test(e))}function Rpe(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??F3(e)?Ipe:Fpe)(t,r,i,e),c=Ape(t,typeof e==`string`,a),l=e===m.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,m.useMemo)(()=>$0(u)?u.get():u,[u]);return(0,m.createElement)(e,{...l,children:d})}function zpe({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Bpe(n,r,i,e),renderState:t()}}function Bpe(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=r3(a[e]);let{initial:o,animate:s}=e,c=G2(e),l=K2(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!V2(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Y0(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var I3=e=>(t,n)=>{let r=(0,m.useContext)(A3),i=(0,m.useContext)(h$),a=()=>zpe(e,t,r,i);return n?a():p$(a)},Vpe=I3({scrapeMotionValuesFromProps:C4,createRenderState:M3}),Hpe=I3({scrapeMotionValuesFromProps:D4,createRenderState:P3}),Upe=Symbol.for(`motionComponentSymbol`);function Wpe(e,t,n){let r=(0,m.useRef)(n);(0,m.useInsertionEffect)(()=>{r.current=n});let i=(0,m.useRef)(null);return(0,m.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var L3=(0,m.createContext)({});function R3(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Gpe(e,t,n,r,i,a){let{visualElement:o}=(0,m.useContext)(A3),s=(0,m.useContext)(C3),c=(0,m.useContext)(h$),l=(0,m.useContext)(x3),u=l.reducedMotion,d=l.skipAnimations,f=(0,m.useRef)(null),p=(0,m.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let h=f.current,g=(0,m.useContext)(L3);h&&!h.projection&&i&&(h.type===`html`||h.type===`svg`)&&Kpe(f.current,n,i,g);let _=(0,m.useRef)(!1);(0,m.useInsertionEffect)(()=>{h&&_.current&&h.update(n,c)});let v=n[n2],y=(0,m.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return m$(()=>{p.current=!0,h&&(_.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),y.current&&h.animationState&&h.animationState.animateChanges())}),(0,m.useEffect)(()=>{h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),h.enteringChildren=void 0)}),h}function Kpe(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:z3(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&R3(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function z3(e){if(e)return e.options.allowProjection===!1?z3(e.parent):e.projection}function B3(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Tpe(r);let a=n?n===`svg`:F3(e),o=a?Hpe:Vpe;function s(n,s){let c,l={...(0,m.useContext)(x3),...n,layoutId:qpe(n)},{isStatic:u}=l,d=Mpe(n),f=o(n,u);if(!u&&typeof window<`u`){Jpe(l,r);let t=Ype(l);c=t.MeasureLayout,d.visualElement=Gpe(e,f,l,i,t.ProjectionNode,a)}return(0,G.jsxs)(A3.Provider,{value:d,children:[c&&d.visualElement?(0,G.jsx)(c,{visualElement:d.visualElement,...l}):null,Rpe(e,n,Wpe(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,m.forwardRef)(s);return c[Upe]=e,c}function qpe({layoutId:e}){let t=(0,m.useContext)(f$).id;return t&&e!==void 0?t+`-`+e:e}function Jpe(e,t){(0,m.useContext)(C3).strict}function Ype(e){let{drag:t,layout:n}=E3();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Xpe(e,t){if(typeof Proxy>`u`)return B3;let n=new Map,r=(n,r)=>B3(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,B3(a,void 0,e,t)),n.get(a))})}var Zpe=(e,t)=>t.isSVG??F3(e)?new Cfe(t):new _fe(t,{allowProjection:e!==m.Fragment}),Qpe=class extends $2{constructor(e){super(e),e.animationState||=Ofe(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();V2(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},$pe=0,eme={animation:{Feature:Qpe},exit:{Feature:class extends $2{constructor(){super(...arguments),this.id=$pe++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=X0(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function V3(e){return{point:{x:e.pageX,y:e.pageY}}}var tme=e=>t=>C2(t)&&e(t,V3(t));function H3(e,t,n,r){return n3(e,t,tme(n),r)}var U3=({current:e})=>e?e.ownerDocument.defaultView:null,W3=(e,t)=>Math.abs(e-t);function nme(e,t){let n=W3(e.x,t.x),r=W3(e.y,t.y);return Math.sqrt(n**2+r**2)}var G3=new Set([`auto`,`scroll`]),K3=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=q3(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Y3(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=nme(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=a1;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=q3(t,this.transformPagePoint),r1.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Y3(e.type===`pointercancel`?this.lastMoveEventInfo:q3(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!C2(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=q3(V3(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=a1;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Y3(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=T$(H3(this.contextWindow,`pointermove`,this.handlePointerMove,d),H3(this.contextWindow,`pointerup`,this.handlePointerUp,d),H3(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(G3.has(e.overflowX)||G3.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(i.x!==0||i.y!==0)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),r1.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),i1(this.updatePoint)}};function q3(e,t){return t?{point:t(e.point)}:e}function J3(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Y3({point:e},t){return{point:e,delta:J3(e,X3(t)),offset:J3(e,rme(t)),velocity:ime(t,.1)}}function rme(e){return e[0]}function X3(e){return e[e.length-1]}function ime(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=X3(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>O$(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>O$(t)*2&&(r=e[1]);let a=k$(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ame(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?z1(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?z1(n,e,r.max):Math.min(e,n)),e}function Z3(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function ome(e,{top:t,left:n,bottom:r,right:i}){return{x:Z3(e.x,n,i),y:Z3(e.y,t,r)}}function Q3(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function sme(e,t){return{x:Q3(e.x,t.x),y:Q3(e.y,t.y)}}function cme(e,t){let n=.5,r=F4(e),i=F4(t);return i>r?n=E$(t.min,t.max-r,e.min):r>i&&(n=E$(e.min,e.max-i,t.min)),v$(0,1,n)}function lme(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var $3=.35;function ume(e=$3){return e===!1?e=0:e===!0&&(e=$3),{x:e6(e,`left`,`right`),y:e6(e,`top`,`bottom`)}}function e6(e,t,n){return{min:t6(e,t),max:t6(e,n)}}function t6(e,t){return typeof e==`number`?e:e[t]||0}var dme=new WeakMap,fme=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=B2(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(V3(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Ide(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Z4(e=>{let t=this.getAxisMotionValue(e).get()||0;if(D1.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=F4(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&r1.update(()=>i(e,t),!1,!0),e2(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=mme(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&r1.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new K3(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:U3(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&r1.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!r6(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=ame(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&R3(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?ome(n.layoutBox,e):!1,this.elastic=ume(t),r!==this.constraints&&!R3(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Z4(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=lme(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!R3(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=dfe(n,r.root,this.visualElement.getTransformPagePoint()),a=sme(r.layout.layoutBox,i);if(t){let e=t(cfe(a));this.hasMutatedConstraints=!!e,e&&(a=e4(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Z4(o=>{if(!r6(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return e2(this.visualElement,e),n.start(K0(e,n,0,t,this.visualElement,!1))}stopAnimation(){Z4(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Z4(t=>{let{drag:n}=this.getProps();if(!r6(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-z1(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!R3(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Z4(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=cme({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Z4(t=>{if(!r6(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(z1(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;dme.set(this.visualElement,this);let e=this.visualElement.current,t=H3(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Hde(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();R3(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=pme(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r1.read(r);let o=n3(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Z4(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=$3,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function n6(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function pme(e,t,n){let r=F2(e,n6(n)),i=F2(t,n6(n));return()=>{r(),i()}}function r6(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function mme(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var hme=class extends $2{constructor(e){super(e),this.removeGroupControls=w$,this.removeListeners=w$,this.controls=new fme(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||w$}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},i6=e=>(t,n)=>{e&&r1.update(()=>e(t,n),!1,!0)},gme=class extends $2{constructor(){super(...arguments),this.removePointerDownListener=w$}onPointerDown(e){this.session=new K3(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:U3(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:i6(e),onStart:i6(t),onMove:i6(n),onEnd:(e,t)=>{delete this.session,r&&r1.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=H3(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},a6=!1,_me=class extends m.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),a6&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),i3.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),a6=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||r1.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),v2.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;a6=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function o6(e){let[t,n]=vpe(),r=(0,m.useContext)(f$);return(0,G.jsx)(_me,{...e,layoutGroup:r,switchLayoutGroup:(0,m.useContext)(L3),isPresent:t,safeToRemove:n})}var vme={pan:{Feature:gme},drag:{Feature:hme,ProjectionNode:b3,MeasureLayout:o6}};function s6(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&r1.postRender(()=>i(t,V3(t)))}var yme=class extends $2{mount(){let{current:e}=this.node;e&&(this.unmount=Rde(e,(e,t)=>(s6(this.node,t,`Start`),e=>s6(this.node,e,`End`))))}unmount(){}},bme=class extends $2{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=T$(n3(this.node.current,`focus`,()=>this.onFocus()),n3(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function c6(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&r1.postRender(()=>i(t,V3(t)))}var xme=class extends $2{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Wde(e,(e,t)=>(c6(this.node,t,`Start`),(e,{success:t})=>c6(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},l6=new WeakMap,u6=new WeakMap,Sme=e=>{let t=l6.get(e.target);t&&t(e)},Cme=e=>{e.forEach(Sme)};function wme({root:e,...t}){let n=e||document;u6.has(n)||u6.set(n,{});let r=u6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Cme,{root:e,...t})),r[i]}function Tme(e,t,n){let r=wme(t);return l6.set(e,n),r.observe(e),()=>{l6.delete(e),r.unobserve(e)}}var Eme={some:0,all:1},Dme=class extends $2{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Eme[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=Tme(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Ome(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Ome({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var kme={inView:{Feature:Dme},tap:{Feature:xme},focus:{Feature:bme},hover:{Feature:yme}},Ame={layout:{ProjectionNode:b3,MeasureLayout:o6}},jme=Xpe({...eme,...kme,...vme,...Ame},Zpe);function d6(e,t){return Object.hasOwn(e,t)?e[t]:void 0}function Mme(e,t){return d6(e,t)??t}function f6(e,t,n){try{return e(t)}catch(e){return n?Dn(25,t,e,n):Dn(24,t,e),null}}function p6(e){function t(t){if(t===void 0)return null;let n=Array.isArray(t);return n&&t[0]===void 0?null:(t=n?t[0]:typeof t==`string`?t:``,f6(e.parse,t))}return{type:`single`,eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide(n){return t(n)??e}}},withOptions(e){return{...this,...e}}}}p6({parse:e=>e,serialize:String}),p6({parse:e=>{let t=parseInt(e);return t==t?t:null},serialize:e=>``+Math.round(e)}),p6({parse:e=>{let t=parseInt(e);return t==t?t-1:null},serialize:e=>``+Math.round(e+1)}),p6({parse:e=>{let t=parseInt(e,16);return t==t?t:null},serialize:e=>{let t=Math.round(e).toString(16);return t<`0`||!(t.length&1)?t:`0`+t}}),p6({parse:e=>{let t=parseFloat(e);return t==t?t:null},serialize:String}),p6({parse:e=>e.toLowerCase()===`true`,serialize:String});function m6(e,t){return e.valueOf()===t.valueOf()}p6({parse:e=>{let t=new Date(parseInt(e));return+t==+t?t:null},serialize:e=>``+e.valueOf(),eq:m6}),p6({parse:e=>{let t=new Date(e);return+t==+t&&h6.parse(e)?t:null},serialize:e=>e.toISOString(),eq:m6});var h6=p6({parse:e=>{let t=new Date(e.slice(0,10));return+t==+t&&h6.serialize(t)===e.slice(0,10)?t:null},serialize:e=>e.toISOString().slice(0,10),eq:m6}),g6=Pn(`sync-emitter`,()=>qn()),Nme={},_6=(e,t)=>e===`defaultValue`?void 0:t;function Pme(e,t={}){let n=(0,m.useId)(),r=zn(),i=Bn(),{history:a=r?.history??`replace`,scroll:o=r?.scroll??!1,shallow:s=r?.shallow??!0,throttleMs:c=Un.timeMs,limitUrlUpdates:l=r?.limitUrlUpdates,clearOnDefault:u=r?.clearOnDefault??!0,startTransition:d,urlKeys:f=Nme}=t,p=Object.keys(e).join(`,`),h=(0,m.useRef)(e),g=h.current,_=JSON.stringify(Object.entries(g),_6)===JSON.stringify(Object.entries(e),_6)&&Object.entries(e).every(([e,t])=>{if(g[e]?.startTransition!==t.startTransition)return!1;let n=g[e]?.defaultValue,r=t.defaultValue;return Object.is(n,r)?!0:n!==void 0&&r!==void 0&&t.eq?.(n,r)===!0})?g:e;h.current=_;let v=(0,m.useMemo)(()=>Object.fromEntries(Object.keys(e).map(e=>[e,Mme(f,e)])),[p,JSON.stringify(f)]),y=Object.values(v),b=Rn(y),x=b.searchParams,S=(0,m.useRef)(null),C=(0,m.useRef)(null),w=ir(y),[T]=(0,m.useState)(()=>{let t={},[,n]=v6(e,v,x,w,t);return[n,t]}),E=(0,m.useRef)(T[1]),[D,O]=(0,m.useState)(T[0]),k=(0,m.useRef)(D),A=e=>JSON.stringify([y.map(t=>[t,e.getAll(t)]),w]),j=A(x),M=()=>{let[t,r]=v6(e,v,x,w,E.current,k.current);return t&&(En(1,n,p,r),k.current=r,O(r)),t},N=Object.keys(E.current).join(`&`)!==y.join(`&`),P=C.current===null||C.current===(b.pathname??location.pathname);if(N)S.current=j,M(),E.current=Object.fromEntries(Object.entries(v).map(([t,n])=>[n,e[t]?.type===`multi`?x.getAll(n):x.get(n)]));else{let e=!1;P&&S.current!==j&&(S.current=j,e=M()),!e&&D!==k.current&&(P||b.pathname===void 0&&S.current===A(new URLSearchParams(location.search)))&&O(k.current)}(0,m.useEffect)(()=>{C.current=b.pathname??location.pathname,M()},[j,b.pathname]),(0,m.useEffect)(()=>{let t=[];for(let[r,i]of Object.entries(v)){let a=({state:t,query:a})=>{O(o=>Object.is(o[r]??null,t)?(En(2,n,p,i,t,e[r]?.defaultValue,k.current),o):(k.current={...k.current,[r]:t},E.current[i]=a,En(3,n,p,i,t,e[r]?.defaultValue,k.current),k.current))};En(4,n,i,p),g6.on(i,a),t.push([i,a])}return()=>{for(let[e,r]of t)En(5,n,e,p),g6.off(e,r)}},[p,v]);let F=(0,m.useCallback)((e,t={})=>{let r=(typeof e==`function`?e(y6(k.current,_)):e)??Object.fromEntries(Object.keys(_).map(e=>[e,null]));En(6,n,p,r);let f,m=0,h=[];for(let[e,n]of Object.entries(r)){let r=d6(_,e),p=v[e];if(!r||p===void 0||n===void 0)continue;(t.clearOnDefault??r.clearOnDefault??u)&&n!==null&&r.defaultValue!==void 0&&(r.eq??lr)(n,r.defaultValue)&&(n=null);let g=n===null?null:(r.serialize??String)(n);g6.emit(p,{state:n,query:g});let y={key:p,query:g,options:{history:t.history??r.history??a,shallow:t.shallow??r.shallow??s,scroll:t.scroll??r.scroll??o,startTransition:t.startTransition??r.startTransition??d}},x=t.limitUrlUpdates??r.limitUrlUpdates??l;if(x?.method===`debounce`){let e=x.timeMs??Un.timeMs,t=rr.push(y,e,b,i);m<e&&(f=t,m=e)}else{let e=x?.timeMs??t.throttleMs??r.throttleMs??c;h.push(rr.abort(p)),$n.push(y,e)}}let g=h.length?$n.flush(b,i):$n.getPendingPromise(b);for(let e of h)g=e(g);return f??g},[p,a,s,o,c,l?.method,l?.timeMs,d,u,_,v,b.updateUrl,b.getSearchParamsSnapshot,b.rateLimitFactor,i]);return[(0,m.useMemo)(()=>y6(D,_),[D,_]),F]}function v6(e,t,n,r,i={},a={}){let o=!1,s=Object.entries(e).reduce((e,[s,c])=>{let l=t[s],u=d6(r,l),d=c.type===`multi`?[]:null,f=u===void 0?c.type===`multi`?n.getAll(l):n.get(l):u,p=d6(a,s);return p!==void 0&&ur(d6(i,l)??d,f)?(e[s]=p,e):(o=!0,e[s]=(Wn(f)?null:f6(c.parse,f,l))??null,i[l]=f,e)},{});return o||=Object.keys(s).length!==Object.keys(a).length,[o,s]}function y6(e,t){return Object.fromEntries(Object.keys(e).map(n=>[n,e[n]??t[n]?.defaultValue??null]))}function Fme(e,t={}){let{parse:n=e=>e,type:r,serialize:i,eq:a,defaultValue:o,...s}=t,c={parse:n,type:r,serialize:i,eq:a,defaultValue:o},[{[e]:l},u]=Pme({[e]:c},s);return[l,(0,m.useCallback)((t,n={})=>u(n=>({[e]:typeof t==`function`?t(n[e]):t}),n),[e,u])]}var b6=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},x6=(e=>e?b6(e):b6),Ime=e=>e;function S6(e,t=Ime){let n=m.useSyncExternalStore(e.subscribe,m.useCallback(()=>t(e.getState()),[e,t]),m.useCallback(()=>t(e.getInitialState()),[e,t]));return m.useDebugValue(n),n}var C6=e=>{let t=x6(e),n=e=>S6(t,e);return Object.assign(n,t),n},Lme=(e=>e?C6(e):C6),Rme=Object.defineProperty,zme=(e,t)=>Rme(e,`name`,{value:t,configurable:!0}),Bme=m.useId||(()=>void 0),Vme=0;function w6(e){let[t,n]=m.useState(Bme());return UZ(()=>{e||n(e=>e??String(Vme++))},[e]),e||(t?`radix-${t}`:``)}zme(w6,`useId`);var Hme=Object.defineProperty,T6=(e,t)=>Hme(e,`name`,{value:t,configurable:!0}),E6=`focusScope.autoFocusOnMount`,D6=`focusScope.autoFocusOnUnmount`,O6={bubbles:!1,cancelable:!0},Ume=m.forwardRef(T6(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=m.useState(null),l=TZ(i),u=TZ(a),d=m.useRef(null),f=ku(t,c),p=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let e=function(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:F6(d.current,{select:!0})},t=function(e){if(p.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||F6(d.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&F6(s)};T6(e,`handleFocusIn`),T6(t,`handleFocusOut`),T6(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,p.paused]),m.useEffect(()=>{if(s){I6.add(p);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(E6,O6);s.addEventListener(E6,l),s.dispatchEvent(t),t.defaultPrevented||(k6(z6(j6(s)),{select:!0}),document.activeElement===e&&F6(s))}return()=>{s.removeEventListener(E6,l),setTimeout(()=>{let t=new CustomEvent(D6,O6);s.addEventListener(D6,u),s.dispatchEvent(t),t.defaultPrevented||F6(e??document.body,{select:!0}),s.removeEventListener(D6,u),I6.remove(p)},0)}}},[s,l,u,p]);let h=m.useCallback(e=>{if(!n&&!r||p.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=A6(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&F6(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&F6(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,p.paused]);return(0,G.jsx)(xZ.div,{tabIndex:-1,...o,ref:f,onKeyDown:h})},`FocusScope`));function k6(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(F6(r,{select:t}),document.activeElement!==n)return}T6(k6,`focusFirst`);function A6(e){let t=j6(e);return[M6(t,e),M6(t.reverse(),e)]}T6(A6,`getTabbableEdges`);function j6(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:T6(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}T6(j6,`getTabbableCandidates`);function M6(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):N6(r,{upTo:t})))return r}T6(M6,`findVisible`);function N6(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}T6(N6,`isHidden`);function P6(e){return e instanceof HTMLInputElement&&`select`in e}T6(P6,`isSelectableInput`);function F6(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&P6(e)&&t&&e.select()}}T6(F6,`focus`);var I6=L6();function L6(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=R6(e,t),e.unshift(t)},remove(t){e=R6(e,t),e[0]?.resume()}}}T6(L6,`createFocusScopesStack`);function R6(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}T6(R6,`arrayRemove`);function z6(e){return e.filter(e=>e.tagName!==`A`)}T6(z6,`removeLinks`);var Wme=Object.defineProperty,B6=(e,t)=>Wme(e,`name`,{value:t,configurable:!0}),V6=0,H6=null;function Gme(e){return U6(),e.children}B6(Gme,`FocusGuards`);function U6(){m.useEffect(()=>{H6||={start:W6(),end:W6()};let{start:e,end:t}=H6;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),V6++,()=>{V6===1&&(H6?.start.remove(),H6?.end.remove(),H6=null),V6=Math.max(0,V6-1)}},[])}B6(U6,`useFocusGuards`);function W6(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}B6(W6,`createFocusGuard`);var G6=function(){return G6=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},G6.apply(this,arguments)};function K6(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Kme(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var q6=`right-scroll-bar-position`,J6=`width-before-scroll-bar`,qme=`with-scroll-bars-hidden`,Jme=`--removed-body-scroll-bar-size`;function Y6(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function Yme(e,t){var n=(0,m.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var Xme=typeof window<`u`?m.useLayoutEffect:m.useEffect,X6=new WeakMap;function Zme(e,t){var n=Yme(t||null,function(t){return e.forEach(function(e){return Y6(e,t)})});return Xme(function(){var t=X6.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||Y6(e,null)}),i.forEach(function(e){r.has(e)||Y6(e,a)})}X6.set(n,e)},[e]),n}function Qme(e){return e}function $me(e,t){t===void 0&&(t=Qme);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function ehe(e){e===void 0&&(e={});var t=$me(null);return t.options=G6({async:!0,ssr:!1},e),t}var Z6=function(e){var t=e.sideCar,n=K6(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return m.createElement(r,G6({},n))};Z6.isSideCarExport=!0;function the(e,t){return e.useMedium(t),Z6}var Q6=ehe(),$6=function(){},e8=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:$6,onWheelCapture:$6,onTouchMoveCapture:$6}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=K6(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=f,C=Zme([n,t]),w=G6(G6({},x),i);return m.createElement(m.Fragment,null,u&&m.createElement(S,{sideCar:Q6,removeScrollBar:l,shards:d,noRelative:p,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),o?m.cloneElement(m.Children.only(s),G6(G6({},w),{ref:C})):m.createElement(y,G6({},w,{className:c,ref:C}),s))});e8.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},e8.classNames={fullWidth:J6,zeroRight:q6};var nhe=function(){if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function rhe(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=nhe();return t&&e.setAttribute(`nonce`,t),e}function ihe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ahe(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var ohe=function(){var e=0,t=null;return{add:function(n){e==0&&(t=rhe())&&(ihe(t,n),ahe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},she=function(){var e=ohe();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},t8=function(){var e=she();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},che={left:0,top:0,right:0,gap:0},n8=function(e){return parseInt(e||``,10)||0},lhe=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[n8(n),n8(r),n8(i)]},uhe=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return che;var t=lhe(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},dhe=t8(),r8=`data-scroll-locked`,fhe=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
128
+ `+e.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function sa(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function ca(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination===null?(e.status=13,e.fatalError=t):(e.status=14,H(e.destination,t))}function la(e,t){ua(e,t.next,t.hoistables)}function ua(e,t,n){for(;t!==null;){n!==null&&(Nr(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&Nr(a.contentState,n),Fa(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function da(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||Gi(e,a)){r=!1;break}}r&&ua(e,t,t.hoistables)}}function fa(e){var t={pendingTasks:1,boundaries:null,hoistables:_r(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function pa(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var c=null;if(t.replay!==null){var l=t.replay.slots;if(typeof l==`object`&&l)for(var u=0;u<n;u++){var d=i!==`backwards`&&i!==`unstable_legacy-backwards`?u:n-1-u,f=r[d];t.row=c=fa(c),t.treeContext=Jr(o,n,d);var p=l[d];typeof p==`number`?(_a(e,t,p,f,d),delete l[d]):Ea(e,t,f,d),--c.pendingTasks===0&&la(e,c)}else for(l=0;l<n;l++)u=i!==`backwards`&&i!==`unstable_legacy-backwards`?l:n-1-l,d=r[u],t.row=c=fa(c),t.treeContext=Jr(o,n,u),Ea(e,t,d,u),--c.pendingTasks===0&&la(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=fa(c),t.treeContext=Jr(o,n,i),Ea(e,t,l,i),--c.pendingTasks===0&&la(e,c);else{for(i=t.blockedSegment,l=i.children.length,u=i.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=c=fa(c),t.treeContext=Jr(o,n,d),p=ra(e,u,null,t.formatContext,d!==0||i.lastPushedText,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{Ea(e,t,f,d),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Be),p.status=1,Pa(e,t.blockedBoundary,p),--c.pendingTasks===0&&la(e,c)}catch(t){throw p.status=e.status===12?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&c!==null&&0<c.pendingTasks&&(s.pendingTasks++,c.next=s),t.treeContext=o,t.row=s,t.keyPath=a}function ma(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,oi={},si=t,ci=e,li=n,hi=mi=0,gi=-1,_i=0,vi=o,e=r(i,a);pi;)pi=!1,hi=mi=0,gi=-1,_i=0,bi+=1,di=null,e=r(i,a);return Ti(),e}function ha(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(pt):c.push(mt)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=Jr(n,1,0),Ea(e,t,r,-1),t.treeContext=n):s?Ea(e,t,r,-1):va(e,t,r,-1),t.keyPath=a}function ga(e,t,n,i,a,s){if(typeof i==`function`){if(i.prototype&&i.prototype.isReactComponent){var d=a;if(`ref`in a)for(var x in d={},a)x!==`ref`&&(d[x]=a[x]);var C=i.defaultProps;if(C)for(var E in d===a&&(d=U({},d,a)),C)d[E]===void 0&&(d[E]=C[E]);a=d,d=Rr,C=i.contextType,typeof C==`object`&&C&&(d=C._currentValue),d=new i(a,d);var D=d.state===void 0?null:d.state;if(d.updater=Kr,d.props=a,d.state=D,C={queue:[],replace:!1},d._reactInternals=C,s=i.contextType,d.context=typeof s==`object`&&s?s._currentValue:Rr,s=i.getDerivedStateFromProps,typeof s==`function`&&(s=s(a,D),D=s==null?D:U({},D,s),d.state=D),typeof i.getDerivedStateFromProps!=`function`&&typeof d.getSnapshotBeforeUpdate!=`function`&&(typeof d.UNSAFE_componentWillMount==`function`||typeof d.componentWillMount==`function`)){if(i=d.state,typeof d.componentWillMount==`function`&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount==`function`&&d.UNSAFE_componentWillMount(),i!==d.state&&Kr.enqueueReplaceState(d,d.state,null),C.queue!==null&&0<C.queue.length){if(i=C.queue,s=C.replace,C.queue=null,C.replace=!1,s&&i.length===1)d.state=i[0];else{for(C=s?i[0]:d.state,D=!0,s=+!!s;s<i.length;s++)E=i[s],E=typeof E==`function`?E.call(d,C,a,void 0):E,E!=null&&(D?(D=!1,C=U({},C,E)):U(C,E));d.state=C}}else C.queue=null}if(i=d.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,va(e,t,i,-1),t.keyPath=a}else{if(i=ma(e,t,n,i,a,void 0),e.status===12)throw null;ha(e,t,n,i,mi!==0,hi,gi)}}else if(typeof i==`string`){if(d=t.blockedSegment,d===null)d=a.children,C=t.formatContext,D=t.keyPath,t.formatContext=Ie(C,i,a),t.keyPath=n,Ea(e,t,d,-1),t.formatContext=C,t.keyPath=D;else{if(D=jt(d.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,d.lastPushedText),d.lastPushedText=!1,C=t.formatContext,s=t.keyPath,t.keyPath=n,(t.formatContext=Ie(C,i,a)).insertionMode===3){n=ra(e,0,null,t.formatContext,!1,!1),d.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,Ea(e,t,D,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Be),n.status=1,Pa(e,t.blockedBoundary,n)}finally{t.blockedSegment=d}}else Ea(e,t,D,-1);t.formatContext=C,t.keyPath=s;a:{switch(t=d.chunks,e=e.resumableState,i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(1>=C.insertionMode){e.hasBody=!0;break a}break;case`html`:if(C.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=C.insertionMode)break a}t.push(Nt(i))}d.lastPushedText=!1}}else{switch(i){case b:case c:case l:case o:i=t.keyPath,t.keyPath=n,va(e,t,a.children,-1),t.keyPath=i;return;case y:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,Ea(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(i.chunks.push(zt),i.lastPushedText=!1,d=t.keyPath,t.keyPath=n,Ea(e,t,a.children,-1),t.keyPath=d,i.chunks.push(Bt),i.lastPushedText=!1);return;case h:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(T(i)){pa(e,t,n,i,a);break a}if((d=w(i))&&(d=d.call(i))){if(C=d.next(),!C.done){do C=d.next();while(!C.done);pa(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,d=t.row,C=t.row=fa(null),C.boundaries=[],C.together=!0,t.keyPath=n,va(e,t,i,-1),--C.pendingTasks===0&&la(e,C),t.keyPath=a,t.row=d,d!==null&&0<C.pendingTasks&&(d.pendingTasks++,C.next=d)):(a=t.keyPath,t.keyPath=n,va(e,t,i,-1),t.keyPath=a)}return;case S:case v:throw Error(r(343));case m:a:if(t.replay!==null){i=t.keyPath,d=t.formatContext,C=t.row,t.keyPath=n,t.formatContext=ze(e.resumableState,d),t.row=null,n=a.children;try{Ea(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=d,t.row=C}}else{i=t.keyPath,s=t.formatContext;var O=t.row;E=t.blockedBoundary,x=t.blockedPreamble;var k=t.hoistableState,A=t.blockedSegment,j=a.fallback;a=a.children;var M=new Set,N=2>t.formatContext.insertionMode?ea(e,t.row,M,Ne(),Ne()):ea(e,t.row,M,null,null);e.trackedPostpones!==null&&(N.trackedContentKeyPath=n);var P=ra(e,A.chunks.length,N,t.formatContext,!1,!1);A.children.push(P),A.lastPushedText=!1;var F=ra(e,0,null,t.formatContext,!1,!1);if(F.parentFlushed=!0,e.trackedPostpones!==null){d=t.componentStack,C=[n[0],`Suspense Fallback`,n[2]],D=[C[1],C[2],[],null],e.trackedPostpones.workingMap.set(C,D),N.trackedFallbackNode=D,t.blockedSegment=P,t.blockedPreamble=N.fallbackPreamble,t.keyPath=C,t.formatContext=Re(e.resumableState,s),t.componentStack=aa(d),P.status=6;try{Ea(e,t,j,-1),P.lastPushedText&&P.textEmbedded&&P.chunks.push(Be),P.status=1,Pa(e,E,P)}catch(t){throw P.status=e.status===12?3:4,t}finally{t.blockedSegment=A,t.blockedPreamble=x,t.keyPath=i,t.formatContext=s}t=ta(e,null,a,-1,N,F,N.contentPreamble,N.contentState,t.abortSet,n,ze(e.resumableState,t.formatContext),t.context,t.treeContext,null,d),ia(t),e.pingedTasks.push(t)}else{t.blockedBoundary=N,t.blockedPreamble=N.contentPreamble,t.hoistableState=N.contentState,t.blockedSegment=F,t.keyPath=n,t.formatContext=ze(e.resumableState,s),t.row=null,F.status=6;try{if(Ea(e,t,a,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Be),F.status=1,Pa(e,N,F),Na(N,F),N.pendingTasks===0&&N.status===0){if(N.status=1,!Gi(e,N)){O!==null&&--O.pendingTasks===0&&la(e,O),e.pendingRootTasks===0&&t.blockedPreamble&&za(e);break a}}else O!==null&&O.together&&da(e,O)}catch(n){N.status=4,e.status===12?(F.status=3,d=e.fatalError):(F.status=4,d=n),C=oa(t.componentStack),D=sa(e,d,C),N.errorDigest=D,Ca(e,N)}finally{t.blockedBoundary=E,t.blockedPreamble=x,t.hoistableState=k,t.blockedSegment=A,t.keyPath=i,t.formatContext=s,t.row=O}t=ta(e,null,j,-1,E,P,N.fallbackPreamble,N.fallbackState,M,[n[0],`Suspense Fallback`,n[2]],Re(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,aa(t.componentStack)),ia(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case p:if(`ref`in a)for(A in d={},a)A!==`ref`&&(d[A]=a[A]);else d=a;i=ma(e,t,n,i.render,d,s),ha(e,t,n,i,mi!==0,hi,gi);return;case g:ga(e,t,n,i.type,a,s);return;case f:if(C=a.children,d=t.keyPath,a=a.value,D=i._currentValue,i._currentValue=a,s=zr,zr=i={parent:s,depth:s===null?0:s.depth+1,context:i,parentValue:D,value:a},t.context=i,t.keyPath=n,va(e,t,C,-1),e=zr,e===null)throw Error(r(403));e.context._currentValue=e.parentValue,e=zr=e.parent,t.context=e,t.keyPath=d;return;case u:a=a.children,i=a(i._context._currentValue),a=t.keyPath,t.keyPath=n,va(e,t,i,-1),t.keyPath=a;return;case _:if(d=i._init,i=d(i._payload),e.status===12)throw null;ga(e,t,n,i,a,s);return}throw Error(r(130,i==null?i:typeof i,``))}}function _a(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=ra(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,Ea(e,t,r,i),s.status=1,Pa(e,o,s),o===null?e.completedRootSegment=s:(Na(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function va(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?_a(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,ia(t),ya(e,t),t.componentStack=n)}function ya(e,t){var n=t.node,o=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case i:var s=n.type,c=n.key,l=n.props;n=l.ref;var u=n===void 0?null:n,d=Lr(s),p=c??(o===-1?0:o);if(c=[t.keyPath,d,p],t.replay!==null)a:{var h=t.replay;for(o=h.nodes,n=0;n<o.length;n++){var g=o[n];if(p===g[1]){if(g.length===4){if(d!==null&&d!==g[0])throw Error(r(490,g[0],d));var v=g[2];d=g[3],p=t.node,t.replay={nodes:v,slots:d,pendingTasks:1};try{if(ga(e,t,c,s,l,u),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===ei||typeof r.then==`function`))throw t.node===p?t.replay=h:o.splice(n,1),r;t.replay.pendingTasks--,l=oa(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=sa(c,s,l),Oa(c,e,v,d,s,l)}t.replay=h}else{if(s!==m)throw Error(r(490,`Suspense`,Lr(s)||`Unknown`));b:{h=void 0,s=g[5],u=g[2],d=g[3],p=g[4]===null?[]:g[4][2],g=g[4]===null?null:g[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,S=t.replay,C=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=2>t.formatContext.insertionMode?ea(e,t.row,k,Ne(),Ne()):ea(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=ze(e.resumableState,b),t.row=null,t.replay={nodes:u,slots:d,pendingTasks:1};try{if(Ea(e,t,D,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));if(t.replay.pendingTasks--,l.pendingTasks===0&&l.status===0){l.status=1,e.completedBoundaries.push(l);break b}}catch(n){l.status=4,v=oa(t.componentStack),h=sa(e,n,v),l.errorDigest=h,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=C,t.hoistableState=E,t.replay=S,t.keyPath=y,t.formatContext=b,t.row=x}v=na(e,null,{nodes:p,slots:g,pendingTasks:0},O,-1,C,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],Re(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,aa(t.componentStack)),ia(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else ga(e,t,c,s,l,u);return;case a:throw Error(r(257));case _:if(v=n._init,n=v(n._payload),e.status===12)throw null;va(e,t,n,o);return}if(T(n)){ba(e,t,n,o);return}if((v=w(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);ba(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,va(e,t,Pi(n),o);if(n.$$typeof===f)return va(e,t,n._currentValue,o);throw o=Object.prototype.toString.call(n),Error(r(31,o===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:o))}typeof n==`string`?(o=t.blockedSegment,o!==null&&(o.lastPushedText=Ve(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=Ve(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function ba(e,t,n,i){var a=t.keyPath;if(i!==-1&&(t.keyPath=[t.keyPath,`Fragment`,i],t.replay!==null)){for(var o=t.replay,s=o.nodes,c=0;c<s.length;c++){var l=s[c];if(l[1]===i){i=l[2],l=l[3],t.replay={nodes:i,slots:l,pendingTasks:1};try{if(ba(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===ei||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=oa(t.componentStack);var u=t.blockedBoundary,d=r;n=sa(e,d,n),Oa(e,u,i,l,d,n)}t.replay=o,s.splice(c,1);break}}t.keyPath=a;return}if(o=t.treeContext,s=n.length,t.replay!==null&&(c=t.replay.slots,typeof c==`object`&&c)){for(i=0;i<s;i++)l=n[i],t.treeContext=Jr(o,s,i),u=c[i],typeof u==`number`?(_a(e,t,u,l,i),delete c[i]):Ea(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=Jr(o,s,c),Ea(e,t,i,c);t.treeContext=o,t.keyPath=a}function xa(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(r(486));var i=n.trackedFallbackNode,a=[],o=t.workingMap.get(e);return o===void 0?(n=[e[1],e[2],a,null,i,n.rootSegmentID],t.workingMap.set(e,n),Qa(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function Sa(e,t,n,i){i.status=5;var a=n.keyPath,o=n.blockedBoundary;if(o===null)i.id=e.nextSegmentId++,t.rootSlots=i.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(o!==null&&o.status===0){var s=xa(e,t,o);if(o.trackedContentKeyPath===a&&n.childIndex===-1){i.id===-1&&(i.id=i.parentFlushed?o.rootSegmentID:e.nextSegmentId++),s[3]=i.id;return}}if(i.id===-1&&(i.id=i.parentFlushed&&o!==null?o.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)a===null?t.rootSlots=i.id:(n=t.workingMap.get(a),n===void 0?(n=[a[1],a[2],[],i.id],Qa(n,a[0],t)):n[3]=i.id);else{if(a===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(r(491))}else if(o=t.workingMap,s=o.get(a),s===void 0)e={},s=[a[1],a[2],[],e],o.set(a,s),Qa(s,a[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e==`number`)throw Error(r(491));e[n.childIndex]=i.id}}}function Ca(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function wa(e,t,n){return na(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Ta(e,t,n){var r=t.blockedSegment,i=ra(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,ta(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Ea(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.blockedSegment;if(l===null){l=t.replay;try{return va(e,t,n,r)}catch(u){if(Ti(),n=u===ei?ri():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===ei?wi():null,e=wa(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Gr(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===ei?wi():null,n=wa(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Gr(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return va(e,t,n,r)}catch(r){if(Ti(),l.children.length=u,l.chunks.length=d,n=r===ei?ri():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===ei?wi():null,e=Ta(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Gr(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===ei?wi():null,l=Ta(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Gr(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Gr(a),n}function Da(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,Fa(this,t,e.row,n))}function Oa(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)Oa(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=ea(l,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=c,d.status=4,d.errorDigest=u,d.parentFlushed&&l.clientRenderedBoundaries.push(d)}}if(n.length=0,i!==null){if(t===null)throw Error(r(487));if(t.status!==4&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof i==`object`)for(var f in i)delete i[f]}}function ka(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=oa(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,sa(t,n,a),Sa(t,r,e,i),Fa(t,null,e.row,i)):(sa(t,n,a),ca(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=sa(t,n,a),Oa(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&ja(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return sa(t,n,a),Sa(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return ka(e,t,n)}),r.fallbackAbortableTasks.clear(),Fa(t,r,e.row,i);r.status=4,i=sa(t,n,a),r.status=4,r.errorDigest=i,Ca(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&la(t,i),r.fallbackAbortableTasks.forEach(function(e){return ka(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&la(t,e),t.allPendingTasks--,t.allPendingTasks===0&&Ma(t)}function Aa(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=Er(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=ge,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:ge;else break b}}r(a?{Link:a}:{})}}}catch(t){sa(e,t,{})}}function ja(e){e.trackedPostpones===null&&Aa(e,!0),e.trackedPostpones===null&&za(e),e.onShellError=$r,e=e.onShellReady,e()}function Ma(e){Aa(e,e.trackedPostpones===null||e.completedRootSegment===null||e.completedRootSegment.status!==5),za(e),e=e.onAllReady,e()}function Na(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||Na(e,n)}else e.completedSegments.push(t)}function Pa(e,t,n){if(V!==null){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;t===null?e.byteSize+=r:t.byteSize+=r}}function Fa(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?la(e,n):n.together&&da(e,n)),e.allPendingTasks--,t===null){if(i!==null&&i.parentFlushed){if(e.completedRootSegment!==null)throw Error(r(389));e.completedRootSegment=i}e.pendingRootTasks--,e.pendingRootTasks===0&&ja(e)}else if(t.pendingTasks--,t.status!==4){if(t.pendingTasks===0){if(t.status===0&&(t.status=1),i!==null&&i.parentFlushed&&(i.status===1||i.status===3)&&Na(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&Nr(n.hoistables,t.contentState),Gi(e,t)||(t.fallbackAbortableTasks.forEach(Da,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&la(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&za(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var a=t.next;if(a!==null&&(i=a.boundaries,i!==null))for(a.boundaries=null,a=0;a<i.length;a++){var o=i[a];xa(e,n,o),Fa(e,o,null,null)}}--t.pendingTasks===0&&la(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(Na(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&da(e,t)}e.allPendingTasks===0&&Ma(e)}function Ia(e){if(e.status!==14&&e.status!==13){var t=zr,n=fe.H;fe.H=Ii;var i=fe.A;fe.A=Ri;var a=Qi;Qi=e;var o=Li;Li=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=s[c],u=e,d=l.blockedSegment;if(d===null){var f=u;if(l.replay.pendingTasks!==0){Gr(l.context);try{if(typeof l.replay.slots==`number`?_a(f,l,l.replay.slots,l.node,l.childIndex):ya(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),Fa(f,l.blockedBoundary,l.row,null)}catch(e){Ti();var p=e===ei?ri():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===ei?wi():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=oa(l.componentStack);u=void 0;var g=f,_=l.blockedBoundary,v=f.status===12?f.fatalError:p,y=l.replay.nodes,b=l.replay.slots;u=sa(g,v,h),Oa(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&ja(f),f.allPendingTasks--,f.allPendingTasks===0&&Ma(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,Gr(l.context);var x=g.children.length,S=g.chunks.length;try{ya(u,l),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Be),l.abortSet.delete(l),g.status=1,Pa(u,l.blockedBoundary,g),Fa(u,l.blockedBoundary,l.row,g)}catch(e){Ti(),g.children.length=x,g.chunks.length=S;var C=e===ei?ri():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=oa(l.componentStack);l.abortSet.delete(l),sa(u,C,T),Sa(u,w,l,g),Fa(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===ei?wi():null;var E=l.ping;C.then(E,E)}else{var D=oa(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&la(u,k),u.allPendingTasks--,f=sa(u,C,D),O===null)ca(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,Ca(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&la(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&za(u)}u.allPendingTasks===0&&Ma(u)}}}}s.splice(0,c),e.destination!==null&&qa(e,e.destination)}catch(t){sa(e,t,{}),ca(e,t)}finally{Li=o,fe.H=n,fe.A=i,n===Ii&&Gr(t),Qi=a}}}function La(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=Ra(e,t.children[i],n)||r;return r}function Ra(e,t,n){var i=t.boundary;if(i===null)return La(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(Pt(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return La(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return Pt(e.renderState,o),La(e,t,n);default:return!0}}function za(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=Ra(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function Ba(e,t,n,i){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return i=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,F(t,Lt),F(t,e.placeholderPrefix),e=z(i.toString(16)),F(t,e),I(t,Rt);case 1:n.status=2;var a=!0,o=n.chunks,s=0;n=n.children;for(var c=0;c<n.length;c++){for(a=n[c];s<a.index;s++)F(t,o[s]);a=Ha(e,t,a,i)}for(;s<o.length-1;s++)F(t,o[s]);return s<o.length&&(a=I(t,o[s])),a;case 3:return!0;default:throw Error(r(390))}}var Va=0;function Ha(e,t,n,i){var a=n.boundary;if(a===null)return Ba(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;o!==null&&--o.pendingTasks===0&&la(e,o),a=a.errorDigest,I(t,Wt),F(t,Kt),a&&(F(t,Jt),F(t,z(se(a))),F(t,qt)),I(t,Yt),Ba(e,t,n,i)}else if(a.status!==1)a.status===0&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Xt(t,e.renderState,a.rootSegmentID),i&&Nr(i,a.fallbackState),Ba(e,t,n,i);else if(!Ka&&Gi(e,a)&&(Va+a.byteSize>e.progressiveChunkSize||Pr(a.contentState)))a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Xt(t,e.renderState,a.rootSegmentID),Ba(e,t,n,i);else{if(Va+=a.byteSize,i&&Nr(i,a.contentState),n=a.row,n!==null&&Gi(e,a)&&--n.pendingTasks===0&&la(e,n),I(t,Vt),n=a.completedSegments,n.length!==1)throw Error(r(391));Ha(e,t,n[0],i)}return I(t,Gt)}function Ua(e,t,n,r){return yn(t,e.renderState,n.parentFormatContext,n.id),Ha(e,t,n,r),bn(t,n.parentFormatContext)}function Wa(e,t,n){Va=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Ga(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&Gi(e,n)&&--r.pendingTasks===0&&la(e,r),Zn(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,F(t,e.startInlineScript),F(t,ot),a?(!(r.instructions&4)&&(r.instructions|=4,F(t,Nn)),!(r.instructions&2)&&(r.instructions|=2,F(t,Tn)),r.instructions&8?F(t,On):(r.instructions|=8,F(t,Dn))):(!(r.instructions&2)&&(r.instructions|=2,F(t,Tn)),F(t,En)),r=z(i.toString(16)),F(t,e.boundaryPrefix),F(t,r),F(t,kn),F(t,e.segmentPrefix),F(t,r),a?(F(t,An),hr(t,n)):F(t,jn),n=I(t,Mn),Ft(t,e)&&n}function Ga(e,t,n,i){if(i.status===2)return!0;var a=n.contentState,o=i.id;if(o===-1){if((i.id=n.rootSegmentID)===-1)throw Error(r(392));return Ua(e,t,i,a)}return o===n.rootSegmentID?Ua(e,t,i,a):(Ua(e,t,i,a),n=e.resumableState,e=e.renderState,F(t,e.startInlineScript),F(t,ot),n.instructions&1?F(t,Sn):(n.instructions|=1,F(t,xn)),F(t,e.segmentPrefix),o=z(o.toString(16)),F(t,o),F(t,Cn),F(t,e.placeholderPrefix),F(t,o),t=I(t,wn),t)}var Ka=!1;function qa(e,t){N=new Uint8Array(2048),P=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var i=e.completedPreambleSegments;if(i===null)return;Va=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)F(t,c[u]);if(l)for(u=0;u<l.length;u++)F(t,l[u]);else F(t,kt(`head`)),F(t,ot)}else if(l)for(u=0;u<l.length;u++)F(t,l[u]);var d=o.charsetChunks;for(u=0;u<d.length;u++)F(t,d[u]);d.length=0,o.preconnects.forEach(Qn,t),o.preconnects.clear();var f=o.viewportChunks;for(u=0;u<f.length;u++)F(t,f[u]);f.length=0,o.fontPreloads.forEach(Qn,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Qn,t),o.highImagePreloads.clear(),_e=o,o.styles.forEach(or,t),_e=null;var p=o.importMapChunks;for(u=0;u<p.length;u++)F(t,p[u]);p.length=0,o.bootstrapScripts.forEach(Qn,t),o.scripts.forEach(Qn,t),o.scripts.clear(),o.bulkPreloads.forEach(Qn,t),o.bulkPreloads.clear(),c||l||(a.instructions|=32);var m=o.hoistableChunks;for(u=0;u<m.length;u++)F(t,m[u]);for(a=m.length=0;a<i.length;a++){var h=i[a];for(o=0;o<h.length;o++)Ha(e,t,h[o],null)}var g=e.renderState.preamble,_=g.headChunks;(g.htmlChunks||_)&&F(t,Nt(`head`));var v=g.bodyChunks;if(v)for(i=0;i<v.length;i++)F(t,v[i]);Ha(e,t,r,null),e.completedRootSegment=null;var y=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var b=e.resumableState;if(!(b.instructions&64)){if(b.instructions|=64,F(t,y.startInlineScript),!(b.instructions&32)){b.instructions|=32;var x=`_`+b.idPrefix+`R_`;F(t,lr),F(t,z(se(x))),F(t,Ye)}F(t,ot),F(t,It),I(t,ye)}}Ft(t,y)}var S=e.renderState;r=0;var C=S.viewportChunks;for(r=0;r<C.length;r++)F(t,C[r]);C.length=0,S.preconnects.forEach(Qn,t),S.preconnects.clear(),S.fontPreloads.forEach(Qn,t),S.fontPreloads.clear(),S.highImagePreloads.forEach(Qn,t),S.highImagePreloads.clear(),S.styles.forEach(cr,t),S.scripts.forEach(Qn,t),S.scripts.clear(),S.bulkPreloads.forEach(Qn,t),S.bulkPreloads.clear();var w=S.hoistableChunks;for(r=0;r<w.length;r++)F(t,w[r]);w.length=0;var T=e.clientRenderedBoundaries;for(n=0;n<T.length;n++){var E=T[n];S=t;var D=e.resumableState,O=e.renderState,k=E.rootSegmentID,A=E.errorDigest;F(S,O.startInlineScript),F(S,ot),D.instructions&4?F(S,Fn):(D.instructions|=4,F(S,Pn)),F(S,O.boundaryPrefix),F(S,z(k.toString(16))),F(S,In),A&&(F(S,Ln),F(S,z(Bn(A||``))));var j=I(S,Rn);if(!j){e.destination=null,n++,T.splice(0,n);return}}T.splice(0,n);var M=e.completedBoundaries;for(n=0;n<M.length;n++)if(!Wa(e,t,M[n])){e.destination=null,n++,M.splice(0,n);return}M.splice(0,n),L(t),N=new Uint8Array(2048),P=0,Ka=!0;var R=e.partialBoundaries;for(n=0;n<R.length;n++){var B=R[n];a:{T=e,E=t,Va=B.byteSize;var V=B.completedSegments;for(j=0;j<V.length;j++)if(!Ga(T,E,B,V[j])){j++,V.splice(0,j);var H=!1;break a}V.splice(0,j);var U=B.row;U!==null&&U.together&&B.pendingTasks===1&&(U.pendingTasks===1?ua(T,U,U.hoistables):U.pendingTasks--),H=Zn(E,B.contentState,T.renderState)}if(!H){e.destination=null,n++,R.splice(0,n);return}}R.splice(0,n),Ka=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!Wa(e,t,W[n])){e.destination=null,n++,W.splice(0,n);return}W.splice(0,n)}}finally{Ka=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&F(t,Nt(`body`)),n.hasHtml&&F(t,Nt(`html`)),L(t),e.status=14,t.close(),e.destination=null):L(t)}}function Ja(e){e.flushScheduled=e.destination!==null,M(function(){return Ia(e)}),k(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&Aa(e,e.pendingRootTasks===0)})}function Ya(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,k(function(){var t=e.destination;t?qa(e,t):e.flushScheduled=!1}))}function Xa(e,t){if(e.status===13)e.status=14,H(t,e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{qa(e,t)}catch(t){sa(e,t,{}),ca(e,t)}}}function Za(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var i=t===void 0?Error(r(432)):typeof t==`object`&&t&&typeof t.then==`function`?Error(r(530)):t;e.fatalError=i,n.forEach(function(t){return ka(t,e,i)}),n.clear()}e.destination!==null&&qa(e,e.destination)}catch(t){sa(e,t,{}),ca(e,t)}}function Qa(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Qa(i,t[0],n)),i[2].push(e)}}function $a(e){var t=e.trackedPostpones;if(t===null||t.rootNodes.length===0&&t.rootSlots===null)return e.trackedPostpones=null;if(e.completedRootSegment===null||e.completedRootSegment.status!==5&&e.completedPreambleSegments!==null){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var a=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:a.resets.font},i.dnsResources=a.resets.dns,i.connectResources=a.resets.connect,i.imageResources=a.resets.image,i.styleResources=a.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function eo(){var e=t.version;if(e!==`19.2.8`)throw Error(r(527,e,`19.2.8`))}eo(),eo(),e.prerender=function(e,t){return new Promise(function(n,r){var i=t?t.onHeaders:void 0,a;i&&(a=function(e){i(new Headers(e))});var o=Me(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=Yi(e,o,je(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),Fe(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(s,e)},cancel:function(e){s.destination=null,Za(s,e)}},{highWaterMark:0});e={postponed:$a(s),prelude:e},n(e)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var c=t.signal;if(c.aborted)Za(s,c.reason);else{var l=function(){Za(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}Ja(s)})},e.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,a,o=new Promise(function(e,t){a=e,i=t}),s=t?t.onHeaders:void 0,c;s&&(c=function(e){s(new Headers(e))});var l=Me(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=Ji(e,l,je(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),Fe(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(u,e)},cancel:function(e){u.destination=null,Za(u,e)}},{highWaterMark:0});e.allReady=o,n(e)},function(e){o.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Za(u,d.reason);else{var f=function(){Za(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}Ja(u)})},e.resume=function(e,t,n){return new Promise(function(r,i){var a,o,s=new Promise(function(e,t){o=e,a=t}),c=Xi(e,t,je(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,o,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(c,e)},cancel:function(e){c.destination=null,Za(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},a,n?n.onPostpone:void 0);if(n&&n.signal){var l=n.signal;if(l.aborted)Za(c,l.reason);else{var u=function(){Za(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}Ja(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Zi(e,t,je(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Xa(a,e)},cancel:function(e){a.destination=null,Za(a,e)}},{highWaterMark:0});e={postponed:$a(a),prelude:e},r(e)},void 0,void 0,i,n?n.onPostpone:void 0);if(n&&n.signal){var o=n.signal;if(o.aborted)Za(a,o.reason);else{var s=function(){Za(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}Ja(a)})},e.version=`19.2.8`})),XY=a((e=>{var t=JY(),n=YY();e.version=t.version,e.renderToString=t.renderToString,e.renderToStaticMarkup=t.renderToStaticMarkup,e.renderToReadableStream=n.renderToReadableStream,e.resume=n.resume}));function ZY({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z`}),m.createElement(`path`,{d:`M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z`}))}var QY=m.forwardRef(ZY);function $Y({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z`,clipRule:`evenodd`}),m.createElement(`path`,{fillRule:`evenodd`,d:`M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z`,clipRule:`evenodd`}))}var eX=m.forwardRef($Y);function tX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z`,clipRule:`evenodd`}))}var nX=m.forwardRef(tX);function rX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M8.5 3.528v4.644c0 .729-.29 1.428-.805 1.944l-1.217 1.216a8.75 8.75 0 0 1 3.55.621l.502.201a7.25 7.25 0 0 0 4.178.365l-2.403-2.403a2.75 2.75 0 0 1-.805-1.944V3.528a40.205 40.205 0 0 0-3 0Zm4.5.084.19.015a.75.75 0 1 0 .12-1.495 41.364 41.364 0 0 0-6.62 0 .75.75 0 0 0 .12 1.495L7 3.612v4.56c0 .331-.132.649-.366.883L2.6 13.09c-1.496 1.496-.817 4.15 1.403 4.475C5.961 17.852 7.963 18 10 18s4.039-.148 5.997-.436c2.22-.325 2.9-2.979 1.403-4.475l-4.034-4.034A1.25 1.25 0 0 1 13 8.172v-4.56Z`,clipRule:`evenodd`}))}var iX=m.forwardRef(rX);function aX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10.75 16.82A7.462 7.462 0 0 1 15 15.5c.71 0 1.396.098 2.046.282A.75.75 0 0 0 18 15.06v-11a.75.75 0 0 0-.546-.721A9.006 9.006 0 0 0 15 3a8.963 8.963 0 0 0-4.25 1.065V16.82ZM9.25 4.065A8.963 8.963 0 0 0 5 3c-.85 0-1.673.118-2.454.339A.75.75 0 0 0 2 4.06v11a.75.75 0 0 0 .954.721A7.506 7.506 0 0 1 5 15.5c1.579 0 3.042.487 4.25 1.32V4.065Z`}))}var oX=m.forwardRef(aX);function sX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M5.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H6a.75.75 0 0 1-.75-.75V12ZM6 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75H6ZM7.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H8a.75.75 0 0 1-.75-.75V12ZM8 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75H8ZM9.25 10a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H10a.75.75 0 0 1-.75-.75V10ZM10 11.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V12a.75.75 0 0 0-.75-.75H10ZM9.25 14a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H10a.75.75 0 0 1-.75-.75V14ZM12 9.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V10a.75.75 0 0 0-.75-.75H12ZM11.25 12a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H12a.75.75 0 0 1-.75-.75V12ZM12 13.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V14a.75.75 0 0 0-.75-.75H12ZM13.25 10a.75.75 0 0 1 .75-.75h.01a.75.75 0 0 1 .75.75v.01a.75.75 0 0 1-.75.75H14a.75.75 0 0 1-.75-.75V10ZM14 11.25a.75.75 0 0 0-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 0 0 .75-.75V12a.75.75 0 0 0-.75-.75H14Z`}),m.createElement(`path`,{fillRule:`evenodd`,d:`M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z`,clipRule:`evenodd`}))}var cX=m.forwardRef(sX);function lX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M15.5 2A1.5 1.5 0 0 0 14 3.5v13a1.5 1.5 0 0 0 1.5 1.5h1a1.5 1.5 0 0 0 1.5-1.5v-13A1.5 1.5 0 0 0 16.5 2h-1ZM9.5 6A1.5 1.5 0 0 0 8 7.5v9A1.5 1.5 0 0 0 9.5 18h1a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 10.5 6h-1ZM3.5 10A1.5 1.5 0 0 0 2 11.5v5A1.5 1.5 0 0 0 3.5 18h1A1.5 1.5 0 0 0 6 16.5v-5A1.5 1.5 0 0 0 4.5 10h-1Z`}))}var uX=m.forwardRef(lX);function dX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z`,clipRule:`evenodd`}))}var fX=m.forwardRef(dX);function pX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z`,clipRule:`evenodd`}))}var mX=m.forwardRef(pX);function hX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z`,clipRule:`evenodd`}))}var gX=m.forwardRef(hX);function _X({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M6.28 5.22a.75.75 0 0 1 0 1.06L2.56 10l3.72 3.72a.75.75 0 0 1-1.06 1.06L.97 10.53a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Zm7.44 0a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L17.44 10l-3.72-3.72a.75.75 0 0 1 0-1.06ZM11.377 2.011a.75.75 0 0 1 .612.867l-2.5 14.5a.75.75 0 0 1-1.478-.255l2.5-14.5a.75.75 0 0 1 .866-.612Z`,clipRule:`evenodd`}))}var vX=m.forwardRef(_X);function yX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M7 3.5A1.5 1.5 0 0 1 8.5 2h3.879a1.5 1.5 0 0 1 1.06.44l3.122 3.12A1.5 1.5 0 0 1 17 6.622V12.5a1.5 1.5 0 0 1-1.5 1.5h-1v-3.379a3 3 0 0 0-.879-2.121L10.5 5.379A3 3 0 0 0 8.379 4.5H7v-1Z`}),m.createElement(`path`,{d:`M4.5 6A1.5 1.5 0 0 0 3 7.5v9A1.5 1.5 0 0 0 4.5 18h7a1.5 1.5 0 0 0 1.5-1.5v-5.879a1.5 1.5 0 0 0-.44-1.06L9.44 6.439A1.5 1.5 0 0 0 8.378 6H4.5Z`}))}var bX=m.forwardRef(yX);function xX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M4.5 2A1.5 1.5 0 0 0 3 3.5v13A1.5 1.5 0 0 0 4.5 18h11a1.5 1.5 0 0 0 1.5-1.5V7.621a1.5 1.5 0 0 0-.44-1.06l-4.12-4.122A1.5 1.5 0 0 0 11.378 2H4.5Zm2.25 8.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Zm0 3a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Z`,clipRule:`evenodd`}))}var SX=m.forwardRef(xX);function CX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10 3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM10 8.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM11.5 15.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z`}))}var wX=m.forwardRef(CX);function TX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M9.293 2.293a1 1 0 0 1 1.414 0l7 7A1 1 0 0 1 17 11h-1v6a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6H3a1 1 0 0 1-.707-1.707l7-7Z`,clipRule:`evenodd`}))}var EX=m.forwardRef(TX);function DX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M9 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM2 9a7 7 0 1 1 12.452 4.391l3.328 3.329a.75.75 0 1 1-1.06 1.06l-3.329-3.328A7 7 0 0 1 2 9Z`,clipRule:`evenodd`}))}var OX=m.forwardRef(DX);function kX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`m5.433 13.917 1.262-3.155A4 4 0 0 1 7.58 9.42l6.92-6.918a2.121 2.121 0 0 1 3 3l-6.92 6.918c-.383.383-.84.685-1.343.886l-3.154 1.262a.5.5 0 0 1-.65-.65Z`}),m.createElement(`path`,{d:`M3.5 5.75c0-.69.56-1.25 1.25-1.25H10A.75.75 0 0 0 10 3H4.75A2.75 2.75 0 0 0 2 5.75v9.5A2.75 2.75 0 0 0 4.75 18h9.5A2.75 2.75 0 0 0 17 15.25V10a.75.75 0 0 0-1.5 0v5.25c0 .69-.56 1.25-1.25 1.25h-9.5c-.69 0-1.25-.56-1.25-1.25v-9.5Z`}))}var AX=m.forwardRef(kX);function jX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z`}))}var MX=m.forwardRef(jX);function NX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z`}))}var PX=m.forwardRef(NX);function FX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M5.127 3.502 5.25 3.5h9.5c.041 0 .082 0 .123.002A2.251 2.251 0 0 0 12.75 2h-5.5a2.25 2.25 0 0 0-2.123 1.502ZM1 10.25A2.25 2.25 0 0 1 3.25 8h13.5A2.25 2.25 0 0 1 19 10.25v5.5A2.25 2.25 0 0 1 16.75 18H3.25A2.25 2.25 0 0 1 1 15.75v-5.5ZM3.25 6.5c-.04 0-.082 0-.123.002A2.25 2.25 0 0 1 5.25 5h9.5c.98 0 1.814.627 2.123 1.502a3.819 3.819 0 0 0-.123-.002H3.25Z`}))}var IX=m.forwardRef(FX);function LX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M13 4.5a2.5 2.5 0 1 1 .702 1.737L6.97 9.604a2.518 2.518 0 0 1 0 .792l6.733 3.367a2.5 2.5 0 1 1-.671 1.341l-6.733-3.367a2.5 2.5 0 1 1 0-3.475l6.733-3.366A2.52 2.52 0 0 1 13 4.5Z`}))}var RX=m.forwardRef(LX);function zX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M15.98 1.804a1 1 0 0 0-1.96 0l-.24 1.192a1 1 0 0 1-.784.785l-1.192.238a1 1 0 0 0 0 1.962l1.192.238a1 1 0 0 1 .785.785l.238 1.192a1 1 0 0 0 1.962 0l.238-1.192a1 1 0 0 1 .785-.785l1.192-.238a1 1 0 0 0 0-1.962l-1.192-.238a1 1 0 0 1-.785-.785l-.238-1.192ZM6.949 5.684a1 1 0 0 0-1.898 0l-.683 2.051a1 1 0 0 1-.633.633l-2.051.683a1 1 0 0 0 0 1.898l2.051.684a1 1 0 0 1 .633.632l.683 2.051a1 1 0 0 0 1.898 0l.683-2.051a1 1 0 0 1 .633-.633l2.051-.683a1 1 0 0 0 0-1.898l-2.051-.683a1 1 0 0 1-.633-.633L6.95 5.684ZM13.949 13.684a1 1 0 0 0-1.898 0l-.184.551a1 1 0 0 1-.632.633l-.551.183a1 1 0 0 0 0 1.898l.551.183a1 1 0 0 1 .633.633l.183.551a1 1 0 0 0 1.898 0l.184-.551a1 1 0 0 1 .632-.633l.551-.183a1 1 0 0 0 0-1.898l-.551-.184a1 1 0 0 1-.633-.632l-.183-.551Z`}))}var BX=m.forwardRef(zX);function VX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M5.25 3A2.25 2.25 0 0 0 3 5.25v9.5A2.25 2.25 0 0 0 5.25 17h9.5A2.25 2.25 0 0 0 17 14.75v-9.5A2.25 2.25 0 0 0 14.75 3h-9.5Z`}))}var HX=m.forwardRef(VX);function UX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{fillRule:`evenodd`,d:`M14.5 10a4.5 4.5 0 0 0 4.284-5.882c-.105-.324-.51-.391-.752-.15L15.34 6.66a.454.454 0 0 1-.493.11 3.01 3.01 0 0 1-1.618-1.616.455.455 0 0 1 .11-.494l2.694-2.692c.24-.241.174-.647-.15-.752a4.5 4.5 0 0 0-5.873 4.575c.055.873-.128 1.808-.8 2.368l-7.23 6.024a2.724 2.724 0 1 0 3.837 3.837l6.024-7.23c.56-.672 1.495-.855 2.368-.8.096.007.193.01.291.01ZM5 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z`,clipRule:`evenodd`}),m.createElement(`path`,{d:`M14.5 11.5c.173 0 .345-.007.514-.022l3.754 3.754a2.5 2.5 0 0 1-3.536 3.536l-4.41-4.41 2.172-2.607c.052-.063.147-.138.342-.196.202-.06.469-.087.777-.067.128.008.257.012.387.012ZM6 4.586l2.33 2.33a.452.452 0 0 1-.08.09L6.8 8.214 4.586 6H3.309a.5.5 0 0 1-.447-.276l-1.7-3.402a.5.5 0 0 1 .093-.577l.49-.49a.5.5 0 0 1 .577-.094l3.402 1.7A.5.5 0 0 1 6 3.31v1.277Z`}))}var WX=m.forwardRef(UX);function GX({title:e,titleId:t,...n},r){return m.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?m.createElement(`title`,{id:t},e):null,m.createElement(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`}))}var KX=m.forwardRef(GX),qX=Object.defineProperty,JX=(e,t)=>qX(e,`name`,{value:t,configurable:!0}),YX=!!(typeof window<`u`&&window.document&&window.document.createElement);function XX(e,t,{checkForDefaultPrevented:n=!0}={}){return JX(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}JX(XX,`composeEventHandlers`);function ZX(e){if(!YX)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}JX(ZX,`getOwnerWindow`);function QX(e){if(!YX)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}JX(QX,`getOwnerDocument`);function $X(e,t=!1){let{activeElement:n}=QX(e);if(!n?.nodeName)return null;if(eZ(n)&&n.contentDocument)return $X(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=QX(n).getElementById(e);if(t)return t}}return n}JX($X,`getActiveElement`);function eZ(e){return e.tagName===`IFRAME`}JX(eZ,`isFrame`);var tZ=Object.defineProperty,nZ=(e,t)=>tZ(e,`name`,{value:t,configurable:!0});function rZ(e,t){let n=m.createContext(t);n.displayName=e+`Context`;let r=nZ(e=>{let{children:t,...r}=e,i=m.useMemo(()=>r,Object.values(r));return(0,G.jsx)(n.Provider,{value:i,children:t})},`Provider`);r.displayName=e+`Provider`;function i(r,i={}){let{optional:a=!1}=i,o=m.useContext(n);if(o)return o;if(t!==void 0)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return nZ(i,`useContext`),[r,i]}nZ(rZ,`createContext`);function iZ(e,t=[]){let n=[];function r(t,r){let i=m.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=nZ(t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=m.useMemo(()=>o,Object.values(o));return(0,G.jsx)(s.Provider,{value:c,children:r})},`Provider`);o.displayName=t+`Provider`;function s(n,o,s={}){let{optional:c=!1}=s,l=o?.[e]?.[a]||i,u=m.useContext(l);if(u)return u;if(r!==void 0)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return nZ(s,`useContext`),[o,s]}nZ(r,`createContext`);let i=nZ(()=>{let t=n.map(e=>m.createContext(e));return nZ(function(n){let r=n?.[e]||t;return m.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return i.scopeName=e,[r,aZ(i,...t)]}nZ(iZ,`createContextScope`);function aZ(...e){let t=e[0];if(e.length===1)return t;let n=nZ(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return nZ(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}nZ(aZ,`composeContextScopes`);var oZ=Object.defineProperty,sZ=(e,t)=>oZ(e,`name`,{value:t,configurable:!0});function cZ(e){let t=e+`CollectionProvider`,[n,r]=iZ(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=sZ(e=>{let{scope:t,children:n}=e,r=m.useRef(null),a=m.useRef(new Map).current;return(0,G.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})},`CollectionProvider`);o.displayName=t;let s=e+`CollectionSlot`,c=Mu(s),l=m.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=ku(t,a(s,n).collectionRef);return(0,G.jsx)(c,{ref:i,children:r})});l.displayName=s;let u=e+`CollectionItemSlot`,d=`data-radix-collection-item`,f=Mu(u),p=m.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.useRef(null),s=ku(t,o),c=a(u,n);return m.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,G.jsx)(f,{[d]:``,ref:s,children:r})});p.displayName=u;function h(t){let n=a(e+`CollectionConsumer`,t);return m.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return sZ(h,`useCollection`),[{Provider:o,Slot:l,ItemSlot:p},h,r]}sZ(cZ,`createCollection`);var lZ=new WeakMap,uZ=class e extends Map{static{sZ(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],lZ.set(this,!0)}set(e,t){return lZ.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=this.#e.length,a=pZ(e),o=a>=0?a:i+a,s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||s===-1)return this.set(t,n),this;let c=this.size+ +!r;a<0&&o++;let l=[...this.#e],u,d=!1;for(let e=o;e<c;e++)if(o===e){let i=l[e];l[e]===t&&(i=l[e+1]),r&&this.delete(t),u=this.get(i),this.set(t,n)}else{!d&&l[e-1]===t&&(d=!0);let n=l[d?e:e-1],r=u;u=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=dZ(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=dZ(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return dZ(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=r===0&&e.length===1?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&e.length===1?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(t===void 0)return r;t<0&&(t+=this.size),n!==void 0&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function dZ(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=fZ(e,t);return n===-1?void 0:e[n]}sZ(dZ,`at`);function fZ(e,t){let n=e.length,r=pZ(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}sZ(fZ,`toSafeIndex`);function pZ(e){return e!==e||e===0?0:Math.trunc(e)}sZ(pZ,`toSafeInteger`);function mZ(e){let t=e+`CollectionProvider`,[n,r]=iZ(t),[i,a]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new uZ,setItemMap:sZ(()=>void 0,`setItemMap`)}),o=sZ(({state:e,...t})=>e?(0,G.jsx)(c,{...t,state:e}):(0,G.jsx)(s,{...t}),`CollectionProvider`);o.displayName=t;let s=sZ(e=>{let t=g();return(0,G.jsx)(c,{...e,state:t})},`CollectionInit`);s.displayName=t+`Init`;let c=sZ(e=>{let{scope:t,children:n,state:r}=e,a=m.useRef(null),[o,s]=m.useState(null),c=ku(a,s),[l,u]=r;return m.useEffect(()=>{if(!o)return;let e=vZ(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,G.jsx)(i,{scope:t,itemMap:l,setItemMap:u,collectionRef:c,collectionRefObject:a,collectionElement:o,children:n})},`CollectionProviderImpl`);c.displayName=t+`Impl`;let l=e+`CollectionSlot`,u=Mu(l),d=m.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=ku(t,a(l,n).collectionRef);return(0,G.jsx)(u,{ref:i,children:r})});d.displayName=l;let f=e+`CollectionItemSlot`,p=Mu(f),h=m.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.useRef(null),[s,c]=m.useState(null),l=ku(t,o,c),{setItemMap:u}=a(f,n),d=m.useRef(i);hZ(d.current,i)||(d.current=i);let h=d.current;return m.useEffect(()=>{let e=h;return u(t=>s?t.has(s)?t.set(s,{...e,element:s}).toSorted(_Z):(t.set(s,{...e,element:s}),t.toSorted(_Z)):t),()=>{u(e=>!s||!e.has(s)?e:(e.delete(s),new uZ(e)))}},[s,h,u]),(0,G.jsx)(p,{"data-radix-collection-item":``,ref:l,children:r})});h.displayName=f;function g(){return m.useState(new uZ)}sZ(g,`useInitCollection`);function _(t){let{itemMap:n}=a(e+`CollectionConsumer`,t);return n}return sZ(_,`useCollection`),[{Provider:o,Slot:d,ItemSlot:h},{createCollectionScope:r,useCollection:_,useInitCollection:g}]}sZ(mZ,`createCollection`);function hZ(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}sZ(hZ,`shallowEqual`);function gZ(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}sZ(gZ,`isElementPreceding`);function _Z(e,t){return!e[1].element||!t[1].element?0:gZ(e[1].element,t[1].element)?-1:1}sZ(_Z,`sortByDocumentPosition`);function vZ(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}sZ(vZ,`getChildListObserver`);var yZ=Object.defineProperty,bZ=(e,t)=>yZ(e,`name`,{value:t,configurable:!0}),xZ=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Mu(`Primitive.${t}`),r=m.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,G.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function SZ(e,t){e&&Fr.flushSync(()=>e.dispatchEvent(t))}bZ(SZ,`dispatchDiscreteCustomEvent`);var CZ=Object.defineProperty,wZ=(e,t)=>CZ(e,`name`,{value:t,configurable:!0});function TZ(e){let t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>((...e)=>t.current?.(...e)),[])}wZ(TZ,`useCallbackRef`);var EZ=Object.defineProperty,DZ=(e,t)=>EZ(e,`name`,{value:t,configurable:!0}),OZ=`dismissableLayer.update`,kZ=`dismissableLayer.pointerDownOutside`,AZ=`dismissableLayer.focusOutside`,jZ,MZ=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),NZ=m.forwardRef(DZ(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:c,...l}=e,u=m.useContext(MZ),[d,f]=m.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=m.useState({}),g=ku(t,f),_=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v?_.indexOf(v):-1,b=d?_.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,S=b>=y,C=m.useRef(!1),w=LZ(e=>{a?.(e),s?.(e),e.defaultPrevented||c?.()},{ownerDocument:p,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:m.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...u.branches].some(t=>t.contains(e));return S&&!t},[u.branches,S])}),T=RZ(e=>{if(r&&C.current)return;let t=e.target;[...u.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||c?.())},p),E=d?b===_.length-1:!1,D=TZ(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))});return m.useEffect(()=>{if(E)return p.addEventListener(`keydown`,D,{capture:!0}),()=>p.removeEventListener(`keydown`,D,{capture:!0})},[p,E,D]),m.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(jZ=p.body.style.pointerEvents,p.body.style.pointerEvents=`none`),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),zZ(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=jZ))}},[d,p,n,u]),m.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),zZ())},[d,u]),m.useEffect(()=>{let e=DZ(()=>h({}),`handleUpdate`);return document.addEventListener(OZ,e),()=>document.removeEventListener(OZ,e)},[]),(0,G.jsx)(xZ.div,{...l,ref:g,style:{pointerEvents:x?S?`auto`:`none`:void 0,...e.style},onFocusCapture:XX(e.onFocusCapture,T.onFocusCapture),onBlurCapture:XX(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:XX(e.onPointerDownCapture,w.onPointerDownCapture)})},`DismissableLayer`)),PZ=m.forwardRef(DZ(function(e,t){let n=m.useContext(MZ),r=m.useRef(null),i=ku(t,r);return m.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,G.jsx)(xZ.div,{...e,ref:i})},`DismissableLayerBranch`));function FZ(){let e=m.useContext(MZ),[t,n]=m.useState(null);return m.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}DZ(FZ,`useDismissableLayerSurface`);var IZ=DZ(()=>!0,`IS_TRUE`);function LZ(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=IZ}=t,s=TZ(e),c=m.useRef(!1),l=m.useRef(!1),u=m.useRef(new Map),d=m.useRef(()=>{});return m.useEffect(()=>{function e(){l.current=!1,i.current=!1,u.current.clear()}DZ(e,`resetOutsideInteraction`);function t(){return Array.from(u.current.values()).some(Boolean)}DZ(t,`isOutsideInteractionIntercepted`);function f(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||u.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{l.current&&d.current()},0)}DZ(f,`handleInteractionCapture`);function p(e){l.current&&u.current.set(e.type,!1)}DZ(p,`handleInteractionBubble`);let m=DZ(a=>{if(a.target&&!c.current){let f=function(){n.removeEventListener(`click`,d.current);let r=t();e(),r||BZ(kZ,s,p,{discrete:!0})};if(DZ(f,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,d.current),e(),c.current=!1;return}let p={originalEvent:a};l.current=!0,i.current=r&&a.button===0,u.current.clear(),!r||a.button!==0?f():(n.removeEventListener(`click`,d.current),d.current=f,n.addEventListener(`click`,d.current,{once:!0}))}else n.removeEventListener(`click`,d.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,f,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,d.current);for(let e of h)n.removeEventListener(e,f,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:DZ(()=>c.current=!0,`onPointerDownCapture`)}}DZ(LZ,`usePointerDownOutside`);function RZ(e,t=globalThis?.document){let n=TZ(e),r=m.useRef(!1);return m.useEffect(()=>{let e=DZ(e=>{e.target&&!r.current&&BZ(AZ,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:DZ(()=>r.current=!0,`onFocusCapture`),onBlurCapture:DZ(()=>r.current=!1,`onBlurCapture`)}}DZ(RZ,`useFocusOutside`);function zZ(){let e=new CustomEvent(OZ);document.dispatchEvent(e)}DZ(zZ,`dispatchUpdate`);function BZ(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?SZ(i,a):i.dispatchEvent(a)}DZ(BZ,`handleAndDispatchCustomEvent`);var VZ=NZ,HZ=PZ,UZ=globalThis?.document?m.useLayoutEffect:()=>{},WZ=Object.defineProperty,GZ=m.forwardRef(((e,t)=>WZ(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=m.useState(!1);UZ(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?Fr.createPortal((0,G.jsx)(xZ.div,{...r,ref:t}),o):null},`Portal`)),KZ=Object.defineProperty,qZ=(e,t)=>KZ(e,`name`,{value:t,configurable:!0});function JZ(e,t){return m.useReducer((e,n)=>t[e][n]??e,e)}qZ(JZ,`useStateMachine`);var YZ=qZ(e=>{let{present:t,children:n}=e,r=XZ(t),i=typeof n==`function`?n({present:r.isPresent}):m.Children.only(n),a=QZ(r.ref,eQ(i));return typeof n==`function`||r.isPresent?m.cloneElement(i,{ref:a}):null},`Presence`);function XZ(e){let[t,n]=m.useState(),r=m.useRef(null),i=m.useRef(e),a=m.useRef(`none`),o=m.useRef(void 0),[s,c]=JZ(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return m.useEffect(()=>{s===`mounted`?(a.current=o.current??$Z(r.current),o.current=void 0):a.current=`none`},[s]),UZ(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=$Z(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),UZ(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=qZ(a=>{let o=$Z(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=qZ(e=>{e.target===t&&(a.current=$Z(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:m.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=$Z(t)}else r.current=null;n(e)},[])}}qZ(XZ,`usePresence`);function ZZ(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}qZ(ZZ,`setRef`);function QZ(...e){let t=m.useRef(e);return t.current=e,m.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=ZZ(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():ZZ(n[e],null)}}},[])}qZ(QZ,`useStableComposedRefs`);function $Z(e){return e?.animationName||`none`}qZ($Z,`getAnimationName`);function eQ(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}qZ(eQ,`getElementRef`);var tQ=Object.defineProperty,nQ=(e,t)=>tQ(e,`name`,{value:t,configurable:!0}),rQ=m.useEffectEvent,iQ=m.useInsertionEffect;function aQ(e){if(typeof rQ==`function`)return rQ(e);let t=m.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof iQ==`function`?iQ(()=>{t.current=e}):UZ(()=>{t.current=e}),m.useMemo(()=>((...e)=>t.current?.(...e)),[])}nQ(aQ,`useEffectEvent`);var oQ=Object.defineProperty,sQ=(e,t)=>oQ(e,`name`,{value:t,configurable:!0}),cQ=m.useInsertionEffect||UZ;function lQ({prop:e,defaultProp:t,onChange:n=sQ(()=>{},`onChange`),caller:r}){let[i,a,o]=uQ({defaultProp:t,onChange:n}),s=e!==void 0;return[s?e:i,m.useCallback(t=>{if(s){let n=dQ(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}sQ(lQ,`useControllableState`);function uQ({defaultProp:e,onChange:t}){let[n,r]=m.useState(e),i=m.useRef(n),a=m.useRef(t);return cQ(()=>{a.current=t},[t]),m.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}sQ(uQ,`useUncontrolledState`);function dQ(e){return typeof e==`function`}sQ(dQ,`isFunction`);var fQ=Symbol(`RADIX:SYNC_STATE`);function pQ(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:s}=t,c=i!==void 0,l=aQ(o),u=[{...n,state:a}];r&&u.push(r);let[d,f]=m.useReducer((t,n)=>{if(n.type===fQ)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&l(r.state),r},...u),p=d.state,h=m.useRef(p);m.useEffect(()=>{h.current!==p&&(h.current=p,c||l(p))},[p,h,c]);let g=m.useMemo(()=>i===void 0?d:{...d,state:i},[d,i]);return m.useEffect(()=>{c&&!Object.is(i,d.state)&&f({type:fQ,state:i})},[i,d.state,c]),[g,f]}sQ(pQ,`useControllableStateReducer`);var mQ=Object.defineProperty,hQ=(e,t)=>mQ(e,`name`,{value:t,configurable:!0}),gQ=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),_Q=m.forwardRef(hQ(function(e,t){return(0,G.jsx)(xZ.span,{...e,ref:t,style:{...gQ,...e.style}})},`VisuallyHidden`)),vQ=Object.defineProperty,yQ=(e,t)=>vQ(e,`name`,{value:t,configurable:!0}),bQ=`ToastProvider`,[xQ,SQ,CQ]=cZ(`Toast`),[wQ,Wle]=iZ(`Toast`,[CQ]),[TQ,EQ]=wQ(bQ),DQ=yQ(e=>{let{__scopeToast:t,label:n=`Notification`,duration:r=5e3,swipeDirection:i=`right`,swipeThreshold:a=50,announcerContainer:o,children:s}=e,[c,l]=m.useState(null),[u,d]=m.useState(0),f=m.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${bQ}\`. Expected non-empty \`string\`.`),(0,G.jsx)(xQ.Provider,{scope:t,children:(0,G.jsx)(TQ,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:u,viewport:c,onViewportChange:l,onToastAdd:m.useCallback(()=>d(e=>e+1),[]),onToastRemove:m.useCallback(()=>d(e=>e-1),[]),isClosePausedRef:f,announcerContainer:o,children:s})})},`ToastProvider`),OQ=`ToastViewport`,kQ=[`F8`],AQ=`toast.viewportPause`,jQ=`toast.viewportResume`,MQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,hotkey:r=kQ,label:i=`Notifications ({hotkey})`,...a}=e,o=EQ(OQ,n),s=SQ(n),c=m.useRef(null),l=m.useRef(null),u=m.useRef(null),d=m.useRef(null),f=ku(t,d,o.onViewportChange),p=r.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),h=o.toastCount>0;m.useEffect(()=>{let e=yQ(e=>{r.length!==0&&r.every(t=>e[t]||e.code===t)&&d.current?.focus()},`handleKeyDown`);return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[r]),m.useEffect(()=>{let e=c.current,t=d.current;if(h&&e&&t){let n=yQ(()=>{if(!o.isClosePausedRef.current){let e=new CustomEvent(AQ);t.dispatchEvent(e),o.isClosePausedRef.current=!0}},`handlePause`),r=yQ(()=>{if(o.isClosePausedRef.current){let e=new CustomEvent(jQ);t.dispatchEvent(e),o.isClosePausedRef.current=!1}},`handleResume`),i=yQ(t=>{e.contains(t.relatedTarget)||r()},`handleFocusOutResume`),a=yQ(()=>{e.contains(document.activeElement)||r()},`handlePointerLeaveResume`);return e.addEventListener(`focusin`,n),e.addEventListener(`focusout`,i),e.addEventListener(`pointermove`,n),e.addEventListener(`pointerleave`,a),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),()=>{e.removeEventListener(`focusin`,n),e.removeEventListener(`focusout`,i),e.removeEventListener(`pointermove`,n),e.removeEventListener(`pointerleave`,a),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)}}},[h,o.isClosePausedRef]);let g=m.useCallback(({tabbingDirection:e})=>{let t=s().map(t=>{let n=t.ref.current,r=[n,...r$(n)];return e===`forwards`?r:r.reverse()});return(e===`forwards`?t.reverse():t).flat()},[s]);return m.useEffect(()=>{let e=d.current;if(e){let t=yQ(t=>{let n=t.altKey||t.ctrlKey||t.metaKey;if(t.key===`Tab`&&!n){let n=document.activeElement,r=t.shiftKey;if(t.target===e&&r){l.current?.focus();return}let i=g({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);i$(i.slice(a+1))?t.preventDefault():r?l.current?.focus():u.current?.focus()}},`handleKeyDown`);return e.addEventListener(`keydown`,t),()=>e.removeEventListener(`keydown`,t)}},[s,g]),(0,G.jsxs)(HZ,{ref:c,role:`region`,"aria-label":i.replace(`{hotkey}`,p),tabIndex:-1,style:{pointerEvents:h?void 0:`none`},children:[h&&(0,G.jsx)(PQ,{ref:l,onFocusFromOutsideViewport:()=>{i$(g({tabbingDirection:`forwards`}))}}),(0,G.jsx)(xQ.Slot,{scope:n,children:(0,G.jsx)(xZ.ol,{tabIndex:-1,...a,ref:f})}),h&&(0,G.jsx)(PQ,{ref:u,onFocusFromOutsideViewport:()=>{i$(g({tabbingDirection:`backwards`}))}})]})},`ToastViewport`)),NQ=`ToastFocusProxy`,PQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=EQ(NQ,n);return(0,G.jsx)(_Q,{tabIndex:0,...i,ref:t,style:{position:`fixed`},onFocus:e=>{let t=e.relatedTarget;a.viewport?.contains(t)||r()}})},`ToastFocusProxy`)),FQ=`Toast`,IQ=`toast.swipeStart`,LQ=`toast.swipeMove`,RQ=`toast.swipeCancel`,zQ=`toast.swipeEnd`,BQ=m.forwardRef(yQ(function(e,t){let{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...o}=e,[s,c]=lQ({prop:r,defaultProp:i??!0,onChange:a,caller:FQ});return(0,G.jsx)(YZ,{present:n||s,children:(0,G.jsx)(UQ,{open:s,...o,ref:t,onClose:()=>c(!1),onPause:TZ(e.onPause),onResume:TZ(e.onResume),onSwipeStart:XX(e.onSwipeStart,e=>{e.currentTarget.setAttribute(`data-swipe`,`start`)}),onSwipeMove:XX(e.onSwipeMove,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`move`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-y`,`${n}px`)}),onSwipeCancel:XX(e.onSwipeCancel,e=>{e.currentTarget.setAttribute(`data-swipe`,`cancel`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-y`)}),onSwipeEnd:XX(e.onSwipeEnd,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`end`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-y`,`${n}px`),c(!1)})})})},`Toast`)),[VQ,HQ]=wQ(FQ,{onClose(){}}),UQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,type:r=`foreground`,duration:i,open:a,onClose:o,onEscapeKeyDown:s,onPause:c,onResume:l,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...h}=e,g=EQ(FQ,n),_=SQ(n),[v,y]=m.useState(null),b=ku(t,y),x=m.useRef(null),S=m.useRef(null),C=i||g.duration,w=m.useRef(0),T=m.useRef(C),E=m.useRef(0),{onToastAdd:D,onToastRemove:O}=g,k=TZ(()=>{v?.contains(document.activeElement)&&g.viewport?.focus(),o()}),A=m.useCallback(e=>{!e||e===1/0||(window.clearTimeout(E.current),w.current=new Date().getTime(),E.current=window.setTimeout(k,e))},[k]);m.useEffect(()=>{let e=g.viewport;if(e){let t=yQ(()=>{A(T.current),l?.()},`handleResume`),n=yQ(()=>{let e=new Date().getTime()-w.current;T.current-=e,window.clearTimeout(E.current),c?.()},`handlePause`);return e.addEventListener(AQ,n),e.addEventListener(jQ,t),()=>{e.removeEventListener(AQ,n),e.removeEventListener(jQ,t)}}},[g.viewport,C,c,l,A]),m.useEffect(()=>{a&&!g.isClosePausedRef.current&&A(C)},[a,C,g.isClosePausedRef,A]),m.useEffect(()=>()=>{window.clearTimeout(E.current)},[]),m.useEffect(()=>(D(),()=>O()),[D,O]);let j=m.useMemo(()=>v?QQ(v):null,[v]);return g.viewport?(0,G.jsxs)(G.Fragment,{children:[j&&(0,G.jsx)(WQ,{__scopeToast:n,role:`status`,"aria-live":r===`foreground`?`assertive`:`polite`,children:j}),(0,G.jsx)(VQ,{scope:n,onClose:k,children:Fr.createPortal((0,G.jsx)(xQ.ItemSlot,{scope:n,children:(0,G.jsx)(VZ,{asChild:!0,onEscapeKeyDown:XX(s,e=>{_().some(t=>t.ref.current?.contains(e.target))||k()}),children:(0,G.jsx)(xZ.li,{tabIndex:0,"data-state":a?`open`:`closed`,"data-swipe-direction":g.swipeDirection,...h,ref:b,style:{userSelect:`none`,touchAction:`none`,...e.style},onKeyDown:XX(e.onKeyDown,e=>{e.key===`Escape`&&(s?.(e.nativeEvent),e.nativeEvent.defaultPrevented||k())}),onPointerDown:XX(e.onPointerDown,e=>{e.button===0&&(x.current={x:e.clientX,y:e.clientY})}),onPointerMove:XX(e.onPointerMove,e=>{if(!x.current)return;let t=e.clientX-x.current.x,n=e.clientY-x.current.y,r=!!S.current,i=[`left`,`right`].includes(g.swipeDirection),a=[`left`,`up`].includes(g.swipeDirection)?Math.min:Math.max,o=i?a(0,t):0,s=i?0:a(0,n),c=e.pointerType===`touch`?10:2,l={x:o,y:s},f={originalEvent:e,delta:l};r?(S.current=l,$Q(LQ,d,f,{discrete:!1})):e$(l,g.swipeDirection,c)?(S.current=l,$Q(IQ,u,f,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>c||Math.abs(n)>c)&&(x.current=null)}),onPointerUp:XX(e.onPointerUp,e=>{let t=S.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),S.current=null,x.current=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};e$(t,g.swipeDirection,g.swipeThreshold)?$Q(zQ,p,r,{discrete:!0}):$Q(RQ,f,r,{discrete:!0}),n.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null},`ToastImpl`)),WQ=yQ(e=>{let{__scopeToast:t,children:n,...r}=e,i=EQ(FQ,t),[a,o]=m.useState(!1),[s,c]=m.useState(!1);return t$(()=>o(!0)),m.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),s?null:(0,G.jsx)(GZ,{asChild:!0,container:i.announcerContainer||void 0,children:(0,G.jsx)(_Q,{...r,children:a&&(0,G.jsxs)(G.Fragment,{children:[i.label,` `,n]})})})},`ToastAnnounce`),GQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,...r}=e;return(0,G.jsx)(xZ.div,{...r,ref:t})},`ToastTitle`)),KQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,...r}=e;return(0,G.jsx)(xZ.div,{...r,ref:t})},`ToastDescription`)),qQ=`ToastAction`,JQ=m.forwardRef(yQ(function(e,t){let{altText:n,...r}=e;return n.trim()?(0,G.jsx)(ZQ,{altText:n,asChild:!0,children:(0,G.jsx)(XQ,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${qQ}\`. Expected non-empty \`string\`.`),null)},`ToastAction`)),YQ=`ToastClose`,XQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,...r}=e,i=HQ(YQ,n);return(0,G.jsx)(ZQ,{asChild:!0,children:(0,G.jsx)(xZ.button,{type:`button`,...r,ref:t,onClick:XX(e.onClick,i.onClose)})})},`ToastClose`)),ZQ=m.forwardRef(yQ(function(e,t){let{__scopeToast:n,altText:r,...i}=e;return(0,G.jsx)(xZ.div,{"data-radix-toast-announce-exclude":``,"data-radix-toast-announce-alt":r||void 0,...i,ref:t})},`ToastAnnounceExclude`));function QQ(e){let t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),n$(e)){let n=e.ariaHidden||e.hidden||e.style.display===`none`,r=e.dataset.radixToastAnnounceExclude===``;if(!n){if(r){let n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)}else t.push(...QQ(e))}}}),t}yQ(QQ,`getAnnounceTextContent`);function $Q(e,t,n,{discrete:r}){let i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?SZ(i,a):i.dispatchEvent(a)}yQ($Q,`handleAndDispatchCustomEvent`);var e$=yQ((e,t,n=0)=>{let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t===`left`||t===`right`?a&&r>n:!a&&i>n},`isDeltaInDirection`);function t$(e=()=>{}){let t=TZ(e);UZ(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}yQ(t$,`useNextFrame`);function n$(e){return e.nodeType===e.ELEMENT_NODE}yQ(n$,`isHTMLElement`);function r$(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:yQ(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}yQ(r$,`getTabbableCandidates`);function i$(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}yQ(i$,`focusFirst`);var a$=DQ,o$=MQ,s$=BQ,c$=GQ,l$=KQ,u$=JQ,d$=XQ,f$=(0,m.createContext)({});function p$(e){let t=(0,m.useRef)(null);return t.current===null&&(t.current=e()),t.current}var m$=typeof window<`u`?m.useLayoutEffect:m.useEffect,h$=(0,m.createContext)(null);function g$(e,t){e.indexOf(t)===-1&&e.push(t)}function _$(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var v$=(e,t,n)=>n>t?t:n<e?e:n,y$={},b$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),x$=e=>typeof e==`object`&&!!e,S$=e=>/^0[^.\s]+$/u.test(e);function C$(e){let t;return()=>(t===void 0&&(t=e()),t)}var w$=e=>e,T$=(...e)=>e.reduce((e,t)=>n=>t(e(n))),E$=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},D$=class{constructor(){this.subscriptions=[]}add(e){return g$(this.subscriptions,e),()=>_$(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},O$=e=>e*1e3,k$=e=>e/1e3,A$=(e,t)=>t?1e3/t*e:0,j$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,M$=1e-7,N$=12;function P$(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=j$(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>M$&&++s<N$);return o}function F$(e,t,n,r){if(e===t&&n===r)return w$;let i=t=>P$(t,0,1,e,n);return e=>e===0||e===1?e:j$(i(e),t,r)}var I$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,L$=e=>t=>1-e(1-t),R$=F$(.33,1.53,.69,.99),z$=L$(R$),B$=I$(z$),V$=e=>e>=1?1:(e*=2)<1?.5*z$(e):.5*(2-2**(-10*(e-1))),H$=e=>1-Math.sin(Math.acos(e)),U$=L$(H$),W$=I$(H$),G$=F$(.42,0,1,1),K$=F$(0,0,.58,1),q$=F$(.42,0,.58,1),J$=e=>Array.isArray(e)&&typeof e[0]!=`number`,Y$=e=>Array.isArray(e)&&typeof e[0]==`number`,X$={linear:w$,easeIn:G$,easeInOut:q$,easeOut:K$,circIn:H$,circInOut:W$,circOut:U$,backIn:z$,backInOut:B$,backOut:R$,anticipate:V$},Z$=e=>typeof e==`string`,Q$=e=>{if(Y$(e)){e.length;let[t,n,r,i]=e;return F$(t,n,r,i)}return Z$(e)?(X$[e],`${e}`,X$[e]):e},$$=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function e1(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var t1=40;function n1(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=$$.reduce((e,t)=>(e[t]=e1(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=y$.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,t1),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:$$.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<$$.length;t++)o[$$[t]].cancel(e)},state:i,steps:o}}var{schedule:r1,cancel:i1,state:a1,steps:o1}=n1(typeof requestAnimationFrame<`u`?requestAnimationFrame:w$,!0),s1;function c1(){s1=void 0}var l1={now:()=>(s1===void 0&&l1.set(a1.isProcessing||y$.useManualTiming?a1.timestamp:performance.now()),s1),set:e=>{s1=e,queueMicrotask(c1)}},u1=e=>t=>typeof t==`string`&&t.startsWith(e),d1=u1(`--`),f1=u1(`var(--`),p1=e=>f1(e)?Gle.test(e.split(`/*`)[0].trim()):!1,Gle=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function m1(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var h1={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},g1={...h1,transform:e=>v$(0,1,e)},_1={...h1,default:1},v1=e=>Math.round(e*1e5)/1e5,y1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Kle(e){return e==null}var qle=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,b1=(e,t)=>n=>!!(typeof n==`string`&&qle.test(n)&&n.startsWith(e)||t&&!Kle(n)&&Object.prototype.hasOwnProperty.call(n,t)),x1=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(y1);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Jle=e=>v$(0,255,e),S1={...h1,transform:e=>Math.round(Jle(e))},C1={test:b1(`rgb`,`red`),parse:x1(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+S1.transform(e)+`, `+S1.transform(t)+`, `+S1.transform(n)+`, `+v1(g1.transform(r))+`)`};function Yle(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var w1={test:b1(`#`),parse:Yle,transform:C1.transform},T1=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),E1=T1(`deg`),D1=T1(`%`),Q=T1(`px`),Xle=T1(`vh`),Zle=T1(`vw`),O1={...D1,parse:e=>D1.parse(e)/100,transform:e=>D1.transform(e*100)},k1={test:b1(`hsl`,`hue`),parse:x1(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+D1.transform(v1(t))+`, `+D1.transform(v1(n))+`, `+v1(g1.transform(r))+`)`},A1={test:e=>C1.test(e)||w1.test(e)||k1.test(e),parse:e=>C1.test(e)?C1.parse(e):k1.test(e)?k1.parse(e):w1.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?C1.transform(e):k1.transform(e),getAnimatableNone:e=>{let t=A1.parse(e);return t.alpha=0,A1.transform(t)}},Qle=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $le(e){return isNaN(e)&&typeof e==`string`&&(e.match(y1)?.length||0)+(e.match(Qle)?.length||0)>0}var j1=`number`,M1=`color`,eue=`var`,tue=`var(`,N1="${}",nue=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function P1(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(nue,e=>(A1.test(e)?(r.color.push(a),i.push(M1),n.push(A1.parse(e))):e.startsWith(tue)?(r.var.push(a),i.push(eue),n.push(e)):(r.number.push(a),i.push(j1),n.push(parseFloat(e))),++a,N1)).split(N1),indexes:r,types:i}}function rue(e){return P1(e).values}function F1({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===j1?v1(r[a]):e===M1?A1.transform(r[a]):r[a]}return i}}function iue(e){return F1(P1(e))}var aue=e=>typeof e==`number`?0:A1.test(e)?A1.getAnimatableNone(e):e,oue=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:aue(e);function sue(e){let t=P1(e);return F1(t)(t.values.map((e,n)=>oue(e,t.split[n])))}var I1={test:$le,parse:rue,createTransformer:iue,getAnimatableNone:sue};function L1(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function cue({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=L1(s,r,e+1/3),a=L1(s,r,e),o=L1(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function R1(e,t){return n=>n>0?t:e}var z1=(e,t,n)=>e+(t-e)*n,B1=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},lue=[w1,C1,k1],uue=e=>lue.find(t=>t.test(e));function V1(e){let t=uue(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===k1&&(n=cue(n)),n}var H1=(e,t)=>{let n=V1(e),r=V1(t);if(!n||!r)return R1(e,t);let i={...n};return e=>(i.red=B1(n.red,r.red,e),i.green=B1(n.green,r.green,e),i.blue=B1(n.blue,r.blue,e),i.alpha=z1(n.alpha,r.alpha,e),C1.transform(i))},U1=new Set([`none`,`hidden`]);function due(e,t){return U1.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function fue(e,t){return n=>z1(e,t,n)}function W1(e){return typeof e==`number`?fue:typeof e==`string`?p1(e)?R1:A1.test(e)?H1:hue:Array.isArray(e)?G1:typeof e==`object`?A1.test(e)?H1:pue:R1}function G1(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>W1(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function pue(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=W1(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function mue(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var hue=(e,t)=>{let n=I1.createTransformer(t),r=P1(e),i=P1(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?U1.has(e)&&!i.values.length||U1.has(t)&&!r.values.length?due(e,t):T$(G1(mue(r,i),i.values),n):(`${e}${t}`,R1(e,t))};function K1(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?z1(e,t,n):W1(e)(e,t)}var gue=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>r1.update(t,e),stop:()=>i1(t),now:()=>a1.isProcessing?a1.timestamp:l1.now()}},q1=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},J1=2e4;function Y1(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function _ue(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Y1(r),J1);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:k$(i)}}var X1={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Z1(e,t){return e*Math.sqrt(1-t*t)}var vue=12;function yue(e,t,n){let r=n;for(let n=1;n<vue;n++)r-=e(r)/t(r);return r}var Q1=.001;function bue({duration:e=X1.duration,bounce:t=X1.bounce,velocity:n=X1.velocity,mass:r=X1.mass}){let i,a;X1.maxDuration;let o=1-t;o=v$(X1.minDamping,X1.maxDamping,o),e=v$(X1.minDuration,X1.maxDuration,k$(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Z1(t,o),c=Math.exp(-i);return Q1-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Z1(t**2,o);return(-i(t)+Q1>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=yue(i,a,s);if(e=O$(e),isNaN(c))return{stiffness:X1.stiffness,damping:X1.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var xue=[`duration`,`bounce`],Sue=[`stiffness`,`damping`,`mass`];function $1(e,t){return t.some(t=>e[t]!==void 0)}function Cue(e){let t={velocity:X1.velocity,stiffness:X1.stiffness,damping:X1.damping,mass:X1.mass,isResolvedFromDuration:!1,...e};if(!$1(e,Sue)&&$1(e,xue)){if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*v$(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:X1.mass,stiffness:i,damping:a}}else{let n=bue({...e,velocity:0});t={...t,...n,mass:X1.mass},t.isResolvedFromDuration=!0}}return t}function e0(e=X1.visualDuration,t=X1.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Cue({...n,velocity:-k$(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=k$(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?X1.restSpeed.granular:X1.restSpeed.default,i||=v?X1.restDelta.granular:X1.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Z1(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>O$(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=O$(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=O$(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Y1(T),J1),t=q1(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}e0.applyToOptions=e=>{let t=_ue(e,100,e0);return e.ease=t.ease,e.duration=O$(t.duration),e.type=`keyframes`,e};var wue=5;function t0(e,t,n){let r=Math.max(t-wue,0);return A$(n-e(r),t-r)}function n0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=e0({keyframes:[f.value,m(f.value)],velocity:t0(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Tue(e,t,n){let r=[],i=n||y$.mix||K1,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=T$(Array.isArray(t)?t[n]||w$:t,a)),r.push(a)}return r}function Eue(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Tue(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=E$(e[r],e[r+1],n);return s[r](i)};return n?t=>l(v$(e[0],e[a-1],t)):l}function Due(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=E$(0,t,r);e.push(z1(n,1,i))}}function Oue(e){let t=[0];return Due(t,e.length-1),t}function kue(e,t){return e.map(e=>e*t)}function Aue(e,t){return e.map(()=>t||q$).splice(0,e.length-1)}function r0({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=J$(r)?r.map(Q$):Q$(r),a={done:!1,value:t[0]},o=Eue(kue(n&&n.length===t.length?n:Oue(t),e),t,{ease:Array.isArray(i)?i:Aue(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var jue=e=>e!==null;function i0(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(jue),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Mue={decay:n0,inertia:n0,tween:r0,keyframes:r0,spring:e0};function a0(e){typeof e.type==`string`&&(e.type=Mue[e.type])}var o0=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},Nue=e=>e/100,s0=class extends o0{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==l1.now()&&this.tick(l1.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;a0(e);let{type:t=r0,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||r0;s!==r0&&typeof o[0]!=`number`&&(this.mixKeyframes=T$(Nue,K1(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Y1(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=v$(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==n0&&(b.value=i0(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return k$(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+k$(e)}get time(){return k$(this.currentTime)}set time(e){e=O$(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return t0(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(l1.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=k$(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=gue,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(l1.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function Pue(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var c0=e=>e*180/Math.PI,l0=e=>u0(c0(Math.atan2(e[1],e[0]))),Fue={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:l0,rotateZ:l0,skewX:e=>c0(Math.atan(e[1])),skewY:e=>c0(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},u0=e=>(e%=360,e<0&&(e+=360),e),d0=l0,f0=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),p0=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Iue={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:f0,scaleY:p0,scale:e=>(f0(e)+p0(e))/2,rotateX:e=>u0(c0(Math.atan2(e[6],e[5]))),rotateY:e=>u0(c0(Math.atan2(-e[2],e[0]))),rotateZ:d0,rotate:d0,skewX:e=>c0(Math.atan(e[4])),skewY:e=>c0(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function m0(e){return+!!e.includes(`scale`)}function h0(e,t){if(!e||e===`none`)return m0(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Iue,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Fue,i=t}if(!i)return m0(t);let a=r[t],o=i[1].split(`,`).map(Rue);return typeof a==`function`?a(o):o[a]}var Lue=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return h0(n,t)};function Rue(e){return parseFloat(e.trim())}var g0=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],_0=new Set([...g0,`pathRotation`]),v0=e=>e===h1||e===Q,zue=new Set([`x`,`y`,`z`]),Bue=g0.filter(e=>!zue.has(e));function Vue(e){let t=[];return Bue.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var y0={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>h0(t,`x`),y:(e,{transform:t})=>h0(t,`y`)};y0.translateX=y0.x,y0.translateY=y0.y;var b0=new Set,x0=!1,S0=!1,C0=!1;function w0(){if(S0){let e=Array.from(b0).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Vue(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}S0=!1,x0=!1,b0.forEach(e=>e.complete(C0)),b0.clear()}function T0(){b0.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(S0=!0)})}function Hue(){C0=!0,T0(),w0(),C0=!1}var E0=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(b0.add(this),x0||(x0=!0,r1.read(T0),r1.resolveKeyframes(w0))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Pue(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),b0.delete(this)}cancel(){this.state===`scheduled`&&(b0.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Uue=e=>e.startsWith(`--`);function D0(e,t,n){Uue(t)?e.style.setProperty(t,n):e.style[t]=n}var Wue={};function O0(e,t){let n=C$(e);return()=>Wue[t]??n()}var Gue=O0(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),k0=O0(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),A0=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,j0={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:A0([0,.65,.55,1]),circOut:A0([.55,0,1,.45]),backIn:A0([.31,.01,.66,-.59]),backOut:A0([.33,1.53,.69,.99])};function M0(e,t){if(e)return typeof e==`function`?k0()?q1(e,t):`ease-out`:Y$(e)?A0(e):Array.isArray(e)?e.map(e=>M0(e,t)||j0.easeOut):j0[e]}function Kue(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=M0(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function N0(e){return typeof e==`function`&&`applyToOptions`in e}function que({type:e,...t}){return N0(e)&&k0()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var P0=class extends o0{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=que(e);this.animation=Kue(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=i0(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),D0(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return k$(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+k$(e)}get time(){return k$(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=O$(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Gue()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),w$):r(this)}},F0={anticipate:V$,backInOut:B$,circInOut:W$};function Jue(e){return e in F0}function Yue(e){typeof e.ease==`string`&&Jue(e.ease)&&(e.ease=F0[e.ease])}var I0=10,Xue=class extends P0{constructor(e){Yue(e),a0(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new s0({...a,autoplay:!1}),s=Math.max(I0,l1.now()-this.startTime),c=v$(0,I0,s-I0),l=o.sample(s).value,{name:u}=this.options;i&&u&&D0(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},L0=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(I1.test(e)||e===`0`)&&!e.startsWith(`url(`));function Zue(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Que(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=L0(i,t),s=L0(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Zue(e)||(n===`spring`||N0(n))&&r}function R0(e){e.duration=0,e.type=`keyframes`}var z0=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),$ue=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function ede(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&$ue.test(e[t]))return!0;return!1}var tde=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),nde=C$(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function rde(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return nde()&&n&&(z0.has(n)||tde.has(n)&&ede(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var ide=40,ade=class extends o0{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=l1.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||E0;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=l1.now();let u=!0;Que(e,i,a,o)||(u=!1,(y$.instantAnimations||!s)&&l?.(i0(e,n,t)),e[0]=e[e.length-1],R0(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>ide?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&rde(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Xue({...d,element:p})}catch{m=new s0(d)}else m=new s0(d);m.finished.then(()=>{this.notifyFinished()}).catch(w$),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Hue()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function B0(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var V0=30,ode=e=>!isNaN(parseFloat(e)),H0={current:void 0},sde=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=l1.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=l1.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ode(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new D$);let n=this.events[e].add(t);return e===`change`?()=>{n(),r1.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return H0.current&&H0.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=l1.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>V0)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,V0);return A$(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function U0(e,t){return new sde(e,t)}function W0(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function G0(e,t){let n=e?.[t]??e?.default??e;return n===e?n:W0(n,e)}var cde={type:`spring`,stiffness:500,damping:25,restSpeed:10},lde=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ude={type:`keyframes`,duration:.8},dde={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},fde=(e,{keyframes:t})=>t.length>2?ude:_0.has(e)?e.startsWith(`scale`)?lde(t[1]):cde:dde,pde=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function mde(e){for(let t in e)if(!pde.has(t))return!0;return!1}var K0=(e,t,n,r={},i,a)=>o=>{let s=G0(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=O$(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};mde(s)||Object.assign(u,fde(e,u)),u.duration&&=O$(u.duration),u.repeatDelay&&=O$(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(R0(u),u.delay===0&&(d=!0)),(y$.instantAnimations||y$.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,R0(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=i0(u.keyframes,s);if(e!==void 0){r1.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new s0(u):new ade(u)},hde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gde(e){let t=hde.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function q0(e,t,n=1){`${e}`;let[r,i]=gde(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return b$(e)?parseFloat(e):e}return p1(i)?q0(i,t,n+1):i}function J0(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Y0(e,t,n,r){if(typeof t==`function`){let[i,a]=J0(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=J0(r);t=t(n===void 0?e.custom:n,i,a)}return t}function X0(e,t,n){let r=e.getProps();return Y0(r,t,n===void 0?r.custom:n,e)}var Z0=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...g0]),Q0=e=>Array.isArray(e);function _de(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,U0(n))}function vde(e){return Q0(e)?e[e.length-1]||0:e}function yde(e,t){let{transitionEnd:n={},transition:r={},...i}=X0(e,t)||{};i={...i,...n};for(let t in i)_de(e,t,vde(i[t]))}var $0=e=>!!(e&&e.getVelocity);function bde(e){return!!($0(e)&&e.add)}function e2(e,t){let n=e.getValue(`willChange`);if(bde(n))return n.add(t);if(!n&&y$.WillChange){let n=new y$.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function t2(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var n2=`data-`+t2(`framerAppearId`);function r2(e){return e.props[n2]}function xde({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function i2(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?W0(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&xde(f,t))continue;let o={delay:n,...G0(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){r1.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=r2(e);if(n){let e=window.MotionHandoffAnimation(n,t,r1);e!==null&&(o.startTime=e,p=!0)}}e2(e,t);let m=l??e.shouldReduceMotion;r.start(K0(t,r,i,m&&Z0.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>r1.update(()=>{o&&yde(e,o)});d.length?Promise.all(d).then(t):t()}return d}function a2(e,t,n={}){let r=X0(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(i2(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Sde(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function Sde(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(a2(c,t,{...o,delay:n+(typeof r==`function`?0:r)+B0(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Cde(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>a2(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=a2(e,t,n);else{let i=typeof t==`function`?X0(e,t,n.custom):t;r=Promise.all(i2(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var wde={test:e=>e===`auto`,parse:e=>e},o2=e=>t=>t.test(e),s2=[h1,Q,D1,E1,Zle,Xle,wde],c2=e=>s2.find(o2(e));function Tde(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||S$(e)}var Ede=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Dde(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(y1)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Ede.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Ode=/\b([a-z-]*)\(.*?\)/gu,l2={...I1,getAnimatableNone:e=>{let t=e.match(Ode);return t?t.map(Dde).join(` `):e}},u2={...I1,getAnimatableNone:e=>{let t=I1.parse(e);return I1.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},d2={...h1,transform:Math.round},f2={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,inset:Q,insetBlock:Q,insetBlockStart:Q,insetBlockEnd:Q,insetInline:Q,insetInlineStart:Q,insetInlineEnd:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,paddingBlock:Q,paddingBlockStart:Q,paddingBlockEnd:Q,paddingInline:Q,paddingInlineStart:Q,paddingInlineEnd:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,marginBlock:Q,marginBlockStart:Q,marginBlockEnd:Q,marginInline:Q,marginInlineStart:Q,marginInlineEnd:Q,fontSize:Q,backgroundPositionX:Q,backgroundPositionY:Q,rotate:E1,pathRotation:E1,rotateX:E1,rotateY:E1,rotateZ:E1,scale:_1,scaleX:_1,scaleY:_1,scaleZ:_1,skew:E1,skewX:E1,skewY:E1,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:g1,originX:O1,originY:O1,originZ:Q,zIndex:d2,fillOpacity:g1,strokeOpacity:g1,numOctaves:d2},kde={...f2,color:A1,backgroundColor:A1,outlineColor:A1,fill:A1,stroke:A1,borderColor:A1,borderTopColor:A1,borderRightColor:A1,borderBottomColor:A1,borderLeftColor:A1,filter:l2,WebkitFilter:l2,mask:u2,WebkitMask:u2},p2=e=>kde[e],Ade=new Set([l2,u2]);function m2(e,t){let n=p2(e);return Ade.has(n)||(n=I1),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var jde=new Set([`auto`,`none`,`0`]);function Mde(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!jde.has(t)&&P1(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=m2(n,i)}var Nde=class extends E0{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),p1(r))){let i=q0(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Z0.has(n)||e.length!==2)return;let[r,i]=e,a=c2(r),o=c2(i);if(m1(r)!==m1(i)&&y0[n]){this.needsMeasurement=!0;return}if(a!==o){if(v0(a)&&v0(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else y0[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Tde(e[t]))&&n.push(t);n.length&&Mde(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=y0[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=y0[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},h2=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function g2(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var _2=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Pde(e){return x$(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:v2,cancel:Fde}=n1(queueMicrotask,!1),y2={x:!1,y:!1};function b2(){return y2.x||y2.y}function Ide(e){return e===`x`||e===`y`?y2[e]?null:(y2[e]=!0,()=>{y2[e]=!1}):y2.x||y2.y?null:(y2.x=y2.y=!0,()=>{y2.x=y2.y=!1})}function x2(e,t){let n=g2(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Lde(e){return!(e.pointerType===`touch`||b2())}function Rde(e,t,n={}){let[r,i,a]=x2(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Lde(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var S2=(e,t)=>t?e===t||S2(e,t.parentElement):!1,C2=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,zde=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Bde(e){return zde.has(e.tagName)||e.isContentEditable===!0}var Vde=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Hde(e){return Vde.has(e.tagName)||e.isContentEditable===!0}var w2=new WeakSet;function T2(e){return t=>{t.key===`Enter`&&e(t)}}function E2(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Ude=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=T2(()=>{if(w2.has(n))return;E2(n,`down`);let e=T2(()=>{E2(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>E2(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function D2(e){return C2(e)&&!b2()}var O2=new WeakSet;function Wde(e,t,n={}){let[r,i,a]=x2(e,n),o=e=>{let r=e.currentTarget;if(!D2(e)||O2.has(e))return;w2.add(r),n.stopPropagation&&O2.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),w2.has(r)&&w2.delete(r),D2(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||S2(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Pde(e)&&(e.addEventListener(`focus`,e=>Ude(e,i)),!Bde(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function k2(e){return x$(e)&&`ownerSVGElement`in e}var A2=new WeakMap,j2,M2=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:k2(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Gde=M2(`inline`,`width`,`offsetWidth`),Kde=M2(`block`,`height`,`offsetHeight`);function qde({target:e,borderBoxSize:t}){A2.get(e)?.forEach(n=>{n(e,{get width(){return Gde(e,t)},get height(){return Kde(e,t)}})})}function Jde(e){e.forEach(qde)}function Yde(){typeof ResizeObserver>`u`||(j2=new ResizeObserver(Jde))}function Xde(e,t){j2||Yde();let n=g2(e);return n.forEach(e=>{let n=A2.get(e);n||(n=new Set,A2.set(e,n)),n.add(t),j2?.observe(e)}),()=>{n.forEach(e=>{let n=A2.get(e);n?.delete(t),n?.size||j2?.unobserve(e)})}}var N2=new Set,P2;function Zde(){P2=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};N2.forEach(t=>t(e))},window.addEventListener(`resize`,P2)}function Qde(e){return N2.add(e),P2||Zde(),()=>{N2.delete(e),!N2.size&&typeof P2==`function`&&(window.removeEventListener(`resize`,P2),P2=void 0)}}function F2(e,t){return typeof e==`function`?Qde(e):Xde(e,t)}var I2={value:null,addProjectionMetrics:null};function $de(e){return k2(e)&&e.tagName===`svg`}var efe=[...s2,A1,I1],tfe=e=>efe.find(o2(e)),L2=()=>({translate:0,scale:1,origin:0,originPoint:0}),R2=()=>({x:L2(),y:L2()}),z2=()=>({min:0,max:0}),B2=()=>({x:z2(),y:z2()}),nfe=new WeakMap;function V2(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function H2(e){return typeof e==`string`||Array.isArray(e)}var U2=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],W2=[`initial`,...U2];function G2(e){return V2(e.animate)||W2.some(t=>H2(e[t]))}function K2(e){return!!(G2(e)||e.variants)}function rfe(e,t,n){for(let r in t){let i=t[r],a=n[r];if($0(i))e.addValue(r,i);else if($0(a))e.addValue(r,U0(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,U0(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var q2={current:null},J2={current:!1},ife=typeof window<`u`;function afe(){if(J2.current=!0,ife){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>q2.current=e.matches;e.addEventListener(`change`,t),t()}else q2.current=!1}}var Y2=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],X2={};function Z2(e){X2=e}function ofe(){return X2}var sfe=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=E0,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=l1.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,r1.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=G2(t),this.isVariantNode=K2(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&$0(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,nfe.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(J2.current||afe(),this.shouldReduceMotion=q2.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),i1(this.notifyUpdate),i1(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&z0.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new P0({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:O$(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=_0.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&r1.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in X2){let t=X2[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):B2()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Y2.length;t++){let n=Y2[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=rfe(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=U0(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(b$(n)||S$(n))?n=parseFloat(n):!tfe(n)&&I1.test(t)&&(n=m2(e,t)),this.setBaseTarget(e,$0(n)?n.get():n)),$0(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Y0(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!$0(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new D$),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){v2.render(this.render)}},Q2=class extends sfe{constructor(){super(...arguments),this.KeyframeResolver=Nde}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;$0(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},$2=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function e4({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function cfe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function lfe(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function t4(e){return e===void 0||e===1}function n4({scale:e,scaleX:t,scaleY:n}){return!t4(e)||!t4(t)||!t4(n)}function r4(e){return n4(e)||i4(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function i4(e){return a4(e.x)||a4(e.y)}function a4(e){return e&&e!==`0%`}function o4(e,t,n){return n+t*(e-n)}function s4(e,t,n,r,i){return i!==void 0&&(e=o4(e,i,r)),o4(e,n,r)+t}function c4(e,t=0,n=1,r,i){e.min=s4(e.min,t,n,r,i),e.max=s4(e.max,t,n,r,i)}function l4(e,{x:t,y:n}){c4(e.x,t.translate,t.scale,t.originPoint),c4(e.y,n.translate,n.scale,n.originPoint)}var u4=.999999999999,d4=1.0000000000001;function ufe(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(f4(e.x,-a.scroll.offset.x),f4(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,l4(e,o)),r&&r4(a.latestValues)&&h4(e,a.latestValues,a.layout?.layoutBox))}t.x<d4&&t.x>u4&&(t.x=1),t.y<d4&&t.y>u4&&(t.y=1)}function f4(e,t){e.min+=t,e.max+=t}function p4(e,t,n,r,i=.5){c4(e,t,n,z1(e.min,e.max,i),r)}function m4(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function h4(e,t,n){let r=n??e;p4(e.x,m4(t.x,r.x),t.scaleX,t.scale,t.originX),p4(e.y,m4(t.y,r.y),t.scaleY,t.scale,t.originY)}function g4(e,t){return e4(lfe(e.getBoundingClientRect(),t))}function dfe(e,t,n){let r=g4(e,n),{scroll:i}=t;return i&&(f4(r.x,i.offset.x),f4(r.y,i.offset.y)),r}var ffe={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},pfe=g0.length;function mfe(e,t,n){let r=``,i=!0;for(let a=0;a<pfe;a++){let o=g0[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=_2(s,f2[o]);if(!c){i=!1;let t=ffe[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${_2(a,f2.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function _4(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(_0.has(e)){o=!0;continue}if(d1(e)){i[e]=n;continue}{let t=_2(n,f2[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=mfe(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function v4(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function y4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var b4={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(Q.test(e))e=parseFloat(e);else return e}return`${y4(e,t.target.x)}% ${y4(e,t.target.y)}%`}},hfe={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=I1.parse(e);if(i.length>5)return r;let a=I1.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=z1(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},x4={borderRadius:{...b4,applyTo:[...h2]},borderTopLeftRadius:b4,borderTopRightRadius:b4,borderBottomLeftRadius:b4,borderBottomRightRadius:b4,boxShadow:hfe};function S4(e,{layout:t,layoutId:n}){return _0.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!x4[e]||e===`opacity`)}function C4(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)($0(r[t])||i&&$0(i[t])||S4(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function gfe(e){return window.getComputedStyle(e)}var _fe=class extends Q2{constructor(){super(...arguments),this.type=`html`,this.renderInstance=v4}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(_0.has(t))return this.projection?.isProjecting?m0(t):Lue(e,t);{let n=gfe(e),r=(d1(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return g4(e,t)}build(e,t,n){_4(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return C4(e,t,n)}},vfe={offset:`stroke-dashoffset`,array:`stroke-dasharray`},yfe={offset:`strokeDashoffset`,array:`strokeDasharray`};function bfe(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?vfe:yfe;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var xfe=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function w4(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(_4(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of xfe)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&bfe(d,i,a,o,!1)}var T4=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),E4=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Sfe(e,t,n,r){v4(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(T4.has(n)?n:t2(n),t.attrs[n])}function D4(e,t,n){let r=C4(e,t,n);for(let n in e)if($0(e[n])||$0(t[n])){let t=g0.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Cfe=class extends Q2{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=B2}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(_0.has(t)){let e=p2(t);return e&&e.default||0}return t=T4.has(t)?t:t2(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return D4(e,t,n)}build(e,t,n){w4(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Sfe(e,t,n,r)}mount(e){this.isSVGTag=E4(e.tagName),super.mount(e)}},wfe=W2.length;function O4(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&O4(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<wfe;n++){let r=W2[n],i=e.props[r];(H2(i)||i===!1)&&(t[r]=i)}return t}function k4(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Tfe=[...U2].reverse(),Efe=U2.length;function Dfe(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Cde(e,t,n)))}function Ofe(e){let t=Dfe(e),n=j4(),r=!0,i=!1,a=t=>(n,r)=>{let i=X0(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=O4(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Efe;t++){let p=Tfe[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=H2(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||V2(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=kfe(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Q0(t)&&Q0(n)?!k4(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=X0(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=B0(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=X0(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=j4(),i=!0}}}function kfe(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!k4(t,e):!1}function A4(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function j4(){return{animate:A4(!0),whileInView:A4(),whileHover:A4(),whileTap:A4(),whileDrag:A4(),whileFocus:A4(),exit:A4()}}function M4(e,t){e.min=t.min,e.max=t.max}function N4(e,t){M4(e.x,t.x),M4(e.y,t.y)}function P4(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Afe=.9999,jfe=1.0001,Mfe=-.01,Nfe=.01;function F4(e){return e.max-e.min}function Pfe(e,t,n){return Math.abs(e-t)<=n}function I4(e,t,n,r=.5){e.origin=r,e.originPoint=z1(t.min,t.max,e.origin),e.scale=F4(n)/F4(t),e.translate=z1(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Afe&&e.scale<=jfe||isNaN(e.scale))&&(e.scale=1),(e.translate>=Mfe&&e.translate<=Nfe||isNaN(e.translate))&&(e.translate=0)}function L4(e,t,n,r){I4(e.x,t.x,n.x,r?r.originX:void 0),I4(e.y,t.y,n.y,r?r.originY:void 0)}function R4(e,t,n,r=0){e.min=(r?z1(n.min,n.max,r):n.min)+t.min,e.max=e.min+F4(t)}function Ffe(e,t,n,r){R4(e.x,t.x,n.x,r?.x),R4(e.y,t.y,n.y,r?.y)}function z4(e,t,n,r=0){let i=r?z1(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+F4(t)}function B4(e,t,n,r){z4(e.x,t.x,n.x,r?.x),z4(e.y,t.y,n.y,r?.y)}function V4(e,t,n,r,i){return e-=t,e=o4(e,1/n,r),i!==void 0&&(e=o4(e,1/i,r)),e}function Ife(e,t=0,n=1,r=.5,i,a=e,o=e){if(D1.test(t)&&(t=parseFloat(t),t=z1(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=z1(a.min,a.max,r);e===a&&(s-=t),e.min=V4(e.min,t,n,s,i),e.max=V4(e.max,t,n,s,i)}function H4(e,t,[n,r,i],a,o){Ife(e,t[n],t[r],t[i],t.scale,a,o)}var Lfe=[`x`,`scaleX`,`originX`],Rfe=[`y`,`scaleY`,`originY`];function U4(e,t,n,r){H4(e.x,t,Lfe,n?n.x:void 0,r?r.x:void 0),H4(e.y,t,Rfe,n?n.y:void 0,r?r.y:void 0)}function W4(e){return e.translate===0&&e.scale===1}function G4(e){return W4(e.x)&&W4(e.y)}function K4(e,t){return e.min===t.min&&e.max===t.max}function zfe(e,t){return K4(e.x,t.x)&&K4(e.y,t.y)}function q4(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function J4(e,t){return q4(e.x,t.x)&&q4(e.y,t.y)}function Y4(e){return F4(e.x)/F4(e.y)}function X4(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Z4(e){return[e(`x`),e(`y`)]}function Bfe(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Vfe=h2.length,Q4=e=>typeof e==`string`?parseFloat(e):e,$4=e=>typeof e==`number`||Q.test(e);function Hfe(e,t,n,r,i,a){i?(e.opacity=z1(0,n.opacity??1,Ufe(r)),e.opacityExit=z1(t.opacity??1,0,Wfe(r))):a&&(e.opacity=z1(t.opacity??1,n.opacity??1,r));for(let i=0;i<Vfe;i++){let a=h2[i],o=e3(t,a),s=e3(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||$4(o)===$4(s)?(e[a]=Math.max(z1(Q4(o),Q4(s),r),0),(D1.test(s)||D1.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=z1(t.rotate||0,n.rotate||0,r))}function e3(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ufe=t3(0,.5,U$),Wfe=t3(.5,.95,w$);function t3(e,t,n){return r=>r<e?0:r>t?1:n(E$(e,t,r))}function Gfe(e,t,n){let r=$0(e)?e:U0(e);return r.start(K0(``,r,t,n)),r.animation}function n3(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Kfe=(e,t)=>e.depth-t.depth,qfe=class{constructor(){this.children=[],this.isDirty=!1}add(e){g$(this.children,e),this.isDirty=!0}remove(e){_$(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Kfe),this.isDirty=!1,this.children.forEach(e)}};function Jfe(e,t){let n=l1.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(i1(r),e(a-t))};return r1.setup(r,!0),()=>i1(r)}function r3(e){return $0(e)?e.get():e}var Yfe=class{constructor(){this.members=[]}add(e){g$(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(_$(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(_$(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},i3={hasAnimatedSinceResize:!0,hasEverUpdated:!1},a3={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},o3=[``,`X`,`Y`,`Z`],Xfe=1e3,Zfe=0;function s3(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function c3(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=r2(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,r1,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&c3(r)}function l3({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Zfe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,I2.value&&(a3.nodes=a3.calculatedTargetDeltas=a3.calculatedProjections=0),this.nodes.forEach(epe),this.nodes.forEach(ope),this.nodes.forEach(spe),this.nodes.forEach(tpe),I2.addProjectionMetrics&&I2.addProjectionMetrics(a3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new qfe)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new D$),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=k2(t)&&!$de(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;r1.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Jfe(i,250),i3.hasAnimatedSinceResize&&(i3.hasAnimatedSinceResize=!1,this.nodes.forEach(f3)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||fpe,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!J4(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...G0(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||f3(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),i1(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(cpe),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&c3(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(rpe),this.nodes.forEach(u3);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(d3);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ipe),this.nodes.forEach(ape),this.nodes.forEach(Qfe),this.nodes.forEach($fe)):this.nodes.forEach(d3),this.clearAllSnapshots();let e=l1.now();a1.delta=v$(0,1e3/60,e-a1.timestamp),a1.timestamp=e,a1.isProcessing=!0,o1.update.process(a1),o1.preRender.process(a1),o1.render.process(a1),a1.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,v2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(npe),this.sharedNodes.forEach(lpe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,r1.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){r1.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!F4(this.snapshot.measuredBox.x)&&!F4(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=B2(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!G4(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||r4(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),ppe(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return B2();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(mpe))){let{scroll:e}=this.root;e&&(f4(t.x,e.offset.x),f4(t.y,e.offset.y))}return t}removeElementScroll(e){let t=B2();if(N4(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&N4(t,e),f4(t.x,i.offset.x),f4(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||B2();N4(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(f4(r.x,-n.scroll.offset.x),f4(r.y,-n.scroll.offset.y)),r4(n.latestValues)&&h4(r,n.latestValues,n.layout?.layoutBox)}return r4(this.latestValues)&&h4(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=B2();N4(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!r4(n.latestValues))continue;let r;n.instance&&(n4(n.latestValues)&&n.updateSnapshot(),r=B2(),N4(r,n.measurePageBox())),U4(t,n.latestValues,n.snapshot?.layoutBox,r)}return r4(this.latestValues)&&U4(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==a1.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=a1.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=B2(),this.targetWithTransforms=B2()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ffe(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):N4(this.target,this.layout.layoutBox),l4(this.target,this.targetDelta)):N4(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),I2.value&&a3.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||n4(this.parent.latestValues)||i4(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=B2(),this.relativeTargetOrigin=B2(),B4(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),N4(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===a1.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;N4(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;ufe(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=B2());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(P4(this.prevProjectionDelta.x,this.projectionDelta.x),P4(this.prevProjectionDelta.y,this.projectionDelta.y)),L4(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!X4(this.projectionDelta.x,this.prevProjectionDelta.x)||!X4(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),I2.value&&a3.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=R2(),this.projectionDelta=R2(),this.projectionDeltaWithTransform=R2()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=R2();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=B2(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(dpe));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=z1(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=z1(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(p3(o.x,e.x,n),p3(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B4(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),upe(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&zfe(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=B2(),N4(f,this.relativeTarget)),c&&(this.animationValues=a,Hfe(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(i1(this.pendingAnimation),void 0),this.pendingAnimation=r1.update(()=>{i3.hasAnimatedSinceResize=!0,this.motionValue||=U0(0),this.motionValue.jump(0,!1),this.currentAnimation=Gfe(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Xfe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&v3(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||B2();let t=F4(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=F4(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}N4(t,n),h4(t,i),L4(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Yfe),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&s3(`z`,e,r,this.animationValues);for(let t=0;t<o3.length;t++)s3(`rotate${o3[t]}`,e,r,this.animationValues),s3(`skew${o3[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=r3(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=r3(t?.pointerEvents)||``),this.hasProjected&&!r4(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Bfe(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in x4){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=x4[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?r3(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(u3),this.root.sharedNodes.clear()}}}function Qfe(e){e.updateLayout()}function $fe(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Z4(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=F4(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;M4(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else v3(i,t.layoutBox,n)&&Z4(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=F4(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=R2();L4(o,n,t.layoutBox);let s=R2();a?L4(s,e.applyTransform(r,!0),t.measuredBox):L4(s,n,t.layoutBox);let c=!G4(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=B2();B4(s,t.layoutBox,i.layoutBox,o);let c=B2();B4(c,n,a.layoutBox,o),J4(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function epe(e){I2.value&&a3.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function tpe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function npe(e){e.clearSnapshot()}function u3(e){e.clearMeasurements()}function rpe(e){e.isLayoutDirty=!0,e.updateLayout()}function d3(e){e.isLayoutDirty=!1}function ipe(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function ape(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function f3(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ope(e){e.resolveTargetDelta()}function spe(e){e.calcProjection()}function cpe(e){e.resetSkewAndRotation()}function lpe(e){e.removeLeadSnapshot()}function p3(e,t,n){e.translate=z1(t.translate,0,n),e.scale=z1(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function m3(e,t,n,r){e.min=z1(t.min,n.min,r),e.max=z1(t.max,n.max,r)}function upe(e,t,n,r){m3(e.x,t.x,n.x,r),m3(e.y,t.y,n.y,r)}function dpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var fpe={duration:.45,ease:[.4,0,.1,1]},h3=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),g3=h3(`applewebkit/`)&&!h3(`chrome/`)?Math.round:w$;function _3(e){e.min=g3(e.min),e.max=g3(e.max)}function ppe(e){_3(e.x),_3(e.y)}function v3(e,t,n){return e===`position`||e===`preserve-aspect`&&!Pfe(Y4(t),Y4(n),.2)}function mpe(e){return e!==e.root&&e.scroll?.wasRoot}var hpe=l3({attachResizeListener:(e,t)=>n3(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),gpe=e=>!e.isLayoutDirty&&e.willUpdate(!1);function _pe(){let e=new Set,t=new WeakMap,n=()=>e.forEach(gpe);return{add:r=>{e.add(r),t.set(r,r.addEventListener(`willUpdate`,n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var y3={current:void 0},b3=l3({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!y3.current){let e=new hpe({});e.mount(window),e.setOptions({layoutScroll:!0}),y3.current=e}return y3.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),x3=(0,m.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function vpe(e=!0){let t=(0,m.useContext)(h$);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,m.useId)();(0,m.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,m.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var ype=(0,m.createContext)(null);function bpe(){let e=(0,m.useRef)(!1);return m$(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function xpe(){let e=bpe(),[t,n]=(0,m.useState)(0),r=(0,m.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,m.useCallback)(()=>r1.postRender(r),[r]),t]}var S3=e=>e===!0,Spe=e=>S3(e===!0)||e===`id`,Cpe=({children:e,id:t,inherit:n=!0})=>{let r=(0,m.useContext)(f$),i=(0,m.useContext)(ype),[a,o]=xpe(),s=(0,m.useRef)(null),c=r.id||i;s.current===null&&(Spe(n)&&c&&(t=t?c+`-`+t:c),s.current={id:t,group:S3(n)&&r.group||_pe()});let l=(0,m.useMemo)(()=>({...s.current,forceRender:a}),[o]);return(0,G.jsx)(f$.Provider,{value:l,children:e})},C3=(0,m.createContext)({strict:!1}),w3={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},T3=!1;function wpe(){if(T3)return;let e={};for(let t in w3)e[t]={isEnabled:e=>w3[t].some(t=>!!e[t])};Z2(e),T3=!0}function E3(){return wpe(),ofe()}function Tpe(e){let t=E3();for(let n in e)t[n]={...t[n],...e[n]};Z2(t)}var Epe=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function D3(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Epe.has(e)}var Dpe=i({default:()=>O3}),O3,Ope=n((()=>{throw O3={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),k3=e=>!D3(e);function kpe(e){typeof e==`function`&&(k3=t=>t.startsWith(`on`)?!D3(t):e(t))}try{kpe((Ope(),e(Dpe)).default)}catch{}function Ape(e,t,n){let r={};for(let i in e)(i!==`values`||typeof e.values!=`object`)&&($0(e[i])||(k3(i)||n===!0&&D3(i)||!t&&!D3(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]));return r}var A3=(0,m.createContext)({});function jpe(e,t){if(G2(e)){let{initial:t,animate:n}=e;return{initial:t===!1||H2(t)?t:void 0,animate:H2(n)?n:void 0}}return e.inherit===!1?{}:t}function Mpe(e){let{initial:t,animate:n}=jpe(e,(0,m.useContext)(A3));return(0,m.useMemo)(()=>({initial:t,animate:n}),[j3(t),j3(n)])}function j3(e){return Array.isArray(e)?e.join(` `):e}var M3=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function N3(e,t,n){for(let r in t)!$0(t[r])&&!S4(r,n)&&(e[r]=t[r])}function Npe({transformTemplate:e},t){return(0,m.useMemo)(()=>{let n=M3();return _4(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Ppe(e,t){let n=e.style||{},r={};return N3(r,n,e),Object.assign(r,Npe(e,t)),r}function Fpe(e,t){let n={},r=Ppe(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var P3=()=>({...M3(),attrs:{}});function Ipe(e,t,n,r){let i=(0,m.useMemo)(()=>{let n=P3();return w4(n,t,E4(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};N3(t,e.style,e),i.style={...t,...i.style}}return i}var Lpe=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function F3(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Lpe.indexOf(e)>-1||/[A-Z]/u.test(e))}function Rpe(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??F3(e)?Ipe:Fpe)(t,r,i,e),c=Ape(t,typeof e==`string`,a),l=e===m.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,m.useMemo)(()=>$0(u)?u.get():u,[u]);return(0,m.createElement)(e,{...l,children:d})}function zpe({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Bpe(n,r,i,e),renderState:t()}}function Bpe(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=r3(a[e]);let{initial:o,animate:s}=e,c=G2(e),l=K2(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!V2(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Y0(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var I3=e=>(t,n)=>{let r=(0,m.useContext)(A3),i=(0,m.useContext)(h$),a=()=>zpe(e,t,r,i);return n?a():p$(a)},Vpe=I3({scrapeMotionValuesFromProps:C4,createRenderState:M3}),Hpe=I3({scrapeMotionValuesFromProps:D4,createRenderState:P3}),Upe=Symbol.for(`motionComponentSymbol`);function Wpe(e,t,n){let r=(0,m.useRef)(n);(0,m.useInsertionEffect)(()=>{r.current=n});let i=(0,m.useRef)(null);return(0,m.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var L3=(0,m.createContext)({});function R3(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Gpe(e,t,n,r,i,a){let{visualElement:o}=(0,m.useContext)(A3),s=(0,m.useContext)(C3),c=(0,m.useContext)(h$),l=(0,m.useContext)(x3),u=l.reducedMotion,d=l.skipAnimations,f=(0,m.useRef)(null),p=(0,m.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let h=f.current,g=(0,m.useContext)(L3);h&&!h.projection&&i&&(h.type===`html`||h.type===`svg`)&&Kpe(f.current,n,i,g);let _=(0,m.useRef)(!1);(0,m.useInsertionEffect)(()=>{h&&_.current&&h.update(n,c)});let v=n[n2],y=(0,m.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return m$(()=>{p.current=!0,h&&(_.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),y.current&&h.animationState&&h.animationState.animateChanges())}),(0,m.useEffect)(()=>{h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),h.enteringChildren=void 0)}),h}function Kpe(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:z3(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&R3(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function z3(e){if(e)return e.options.allowProjection===!1?z3(e.parent):e.projection}function B3(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Tpe(r);let a=n?n===`svg`:F3(e),o=a?Hpe:Vpe;function s(n,s){let c,l={...(0,m.useContext)(x3),...n,layoutId:qpe(n)},{isStatic:u}=l,d=Mpe(n),f=o(n,u);if(!u&&typeof window<`u`){Jpe(l,r);let t=Ype(l);c=t.MeasureLayout,d.visualElement=Gpe(e,f,l,i,t.ProjectionNode,a)}return(0,G.jsxs)(A3.Provider,{value:d,children:[c&&d.visualElement?(0,G.jsx)(c,{visualElement:d.visualElement,...l}):null,Rpe(e,n,Wpe(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,m.forwardRef)(s);return c[Upe]=e,c}function qpe({layoutId:e}){let t=(0,m.useContext)(f$).id;return t&&e!==void 0?t+`-`+e:e}function Jpe(e,t){(0,m.useContext)(C3).strict}function Ype(e){let{drag:t,layout:n}=E3();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Xpe(e,t){if(typeof Proxy>`u`)return B3;let n=new Map,r=(n,r)=>B3(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,B3(a,void 0,e,t)),n.get(a))})}var Zpe=(e,t)=>t.isSVG??F3(e)?new Cfe(t):new _fe(t,{allowProjection:e!==m.Fragment}),Qpe=class extends $2{constructor(e){super(e),e.animationState||=Ofe(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();V2(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},$pe=0,eme={animation:{Feature:Qpe},exit:{Feature:class extends $2{constructor(){super(...arguments),this.id=$pe++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=X0(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function V3(e){return{point:{x:e.pageX,y:e.pageY}}}var tme=e=>t=>C2(t)&&e(t,V3(t));function H3(e,t,n,r){return n3(e,t,tme(n),r)}var U3=({current:e})=>e?e.ownerDocument.defaultView:null,W3=(e,t)=>Math.abs(e-t);function nme(e,t){let n=W3(e.x,t.x),r=W3(e.y,t.y);return Math.sqrt(n**2+r**2)}var G3=new Set([`auto`,`scroll`]),K3=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=q3(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Y3(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=nme(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=a1;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=q3(t,this.transformPagePoint),r1.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Y3(e.type===`pointercancel`?this.lastMoveEventInfo:q3(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!C2(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=q3(V3(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=a1;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Y3(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=T$(H3(this.contextWindow,`pointermove`,this.handlePointerMove,d),H3(this.contextWindow,`pointerup`,this.handlePointerUp,d),H3(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(G3.has(e.overflowX)||G3.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(i.x!==0||i.y!==0)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),r1.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),i1(this.updatePoint)}};function q3(e,t){return t?{point:t(e.point)}:e}function J3(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Y3({point:e},t){return{point:e,delta:J3(e,X3(t)),offset:J3(e,rme(t)),velocity:ime(t,.1)}}function rme(e){return e[0]}function X3(e){return e[e.length-1]}function ime(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=X3(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>O$(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>O$(t)*2&&(r=e[1]);let a=k$(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ame(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?z1(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?z1(n,e,r.max):Math.min(e,n)),e}function Z3(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function ome(e,{top:t,left:n,bottom:r,right:i}){return{x:Z3(e.x,n,i),y:Z3(e.y,t,r)}}function Q3(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function sme(e,t){return{x:Q3(e.x,t.x),y:Q3(e.y,t.y)}}function cme(e,t){let n=.5,r=F4(e),i=F4(t);return i>r?n=E$(t.min,t.max-r,e.min):r>i&&(n=E$(e.min,e.max-i,t.min)),v$(0,1,n)}function lme(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var $3=.35;function ume(e=$3){return e===!1?e=0:e===!0&&(e=$3),{x:e6(e,`left`,`right`),y:e6(e,`top`,`bottom`)}}function e6(e,t,n){return{min:t6(e,t),max:t6(e,n)}}function t6(e,t){return typeof e==`number`?e:e[t]||0}var dme=new WeakMap,fme=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=B2(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(V3(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Ide(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Z4(e=>{let t=this.getAxisMotionValue(e).get()||0;if(D1.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=F4(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&r1.update(()=>i(e,t),!1,!0),e2(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=mme(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&r1.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new K3(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:U3(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&r1.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!r6(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=ame(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&R3(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?ome(n.layoutBox,e):!1,this.elastic=ume(t),r!==this.constraints&&!R3(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Z4(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=lme(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!R3(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=dfe(n,r.root,this.visualElement.getTransformPagePoint()),a=sme(r.layout.layoutBox,i);if(t){let e=t(cfe(a));this.hasMutatedConstraints=!!e,e&&(a=e4(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Z4(o=>{if(!r6(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return e2(this.visualElement,e),n.start(K0(e,n,0,t,this.visualElement,!1))}stopAnimation(){Z4(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Z4(t=>{let{drag:n}=this.getProps();if(!r6(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-z1(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!R3(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Z4(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=cme({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Z4(t=>{if(!r6(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(z1(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;dme.set(this.visualElement,this);let e=this.visualElement.current,t=H3(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Hde(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();R3(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=pme(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r1.read(r);let o=n3(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Z4(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=$3,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function n6(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function pme(e,t,n){let r=F2(e,n6(n)),i=F2(t,n6(n));return()=>{r(),i()}}function r6(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function mme(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var hme=class extends $2{constructor(e){super(e),this.removeGroupControls=w$,this.removeListeners=w$,this.controls=new fme(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||w$}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},i6=e=>(t,n)=>{e&&r1.update(()=>e(t,n),!1,!0)},gme=class extends $2{constructor(){super(...arguments),this.removePointerDownListener=w$}onPointerDown(e){this.session=new K3(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:U3(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:i6(e),onStart:i6(t),onMove:i6(n),onEnd:(e,t)=>{delete this.session,r&&r1.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=H3(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},a6=!1,_me=class extends m.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),a6&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),i3.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),a6=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||r1.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),v2.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;a6=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function o6(e){let[t,n]=vpe(),r=(0,m.useContext)(f$);return(0,G.jsx)(_me,{...e,layoutGroup:r,switchLayoutGroup:(0,m.useContext)(L3),isPresent:t,safeToRemove:n})}var vme={pan:{Feature:gme},drag:{Feature:hme,ProjectionNode:b3,MeasureLayout:o6}};function s6(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&r1.postRender(()=>i(t,V3(t)))}var yme=class extends $2{mount(){let{current:e}=this.node;e&&(this.unmount=Rde(e,(e,t)=>(s6(this.node,t,`Start`),e=>s6(this.node,e,`End`))))}unmount(){}},bme=class extends $2{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=T$(n3(this.node.current,`focus`,()=>this.onFocus()),n3(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function c6(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&r1.postRender(()=>i(t,V3(t)))}var xme=class extends $2{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Wde(e,(e,t)=>(c6(this.node,t,`Start`),(e,{success:t})=>c6(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},l6=new WeakMap,u6=new WeakMap,Sme=e=>{let t=l6.get(e.target);t&&t(e)},Cme=e=>{e.forEach(Sme)};function wme({root:e,...t}){let n=e||document;u6.has(n)||u6.set(n,{});let r=u6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Cme,{root:e,...t})),r[i]}function Tme(e,t,n){let r=wme(t);return l6.set(e,n),r.observe(e),()=>{l6.delete(e),r.unobserve(e)}}var Eme={some:0,all:1},Dme=class extends $2{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Eme[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=Tme(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Ome(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Ome({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var kme={inView:{Feature:Dme},tap:{Feature:xme},focus:{Feature:bme},hover:{Feature:yme}},Ame={layout:{ProjectionNode:b3,MeasureLayout:o6}},jme=Xpe({...eme,...kme,...vme,...Ame},Zpe);function d6(e,t){return Object.hasOwn(e,t)?e[t]:void 0}function Mme(e,t){return d6(e,t)??t}function f6(e,t,n){try{return e(t)}catch(e){return n?Dn(25,t,e,n):Dn(24,t,e),null}}function p6(e){function t(t){if(t===void 0)return null;let n=Array.isArray(t);return n&&t[0]===void 0?null:(t=n?t[0]:typeof t==`string`?t:``,f6(e.parse,t))}return{type:`single`,eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide(n){return t(n)??e}}},withOptions(e){return{...this,...e}}}}p6({parse:e=>e,serialize:String}),p6({parse:e=>{let t=parseInt(e);return t==t?t:null},serialize:e=>``+Math.round(e)}),p6({parse:e=>{let t=parseInt(e);return t==t?t-1:null},serialize:e=>``+Math.round(e+1)}),p6({parse:e=>{let t=parseInt(e,16);return t==t?t:null},serialize:e=>{let t=Math.round(e).toString(16);return t<`0`||!(t.length&1)?t:`0`+t}}),p6({parse:e=>{let t=parseFloat(e);return t==t?t:null},serialize:String}),p6({parse:e=>e.toLowerCase()===`true`,serialize:String});function m6(e,t){return e.valueOf()===t.valueOf()}p6({parse:e=>{let t=new Date(parseInt(e));return+t==+t?t:null},serialize:e=>``+e.valueOf(),eq:m6}),p6({parse:e=>{let t=new Date(e);return+t==+t&&h6.parse(e)?t:null},serialize:e=>e.toISOString(),eq:m6});var h6=p6({parse:e=>{let t=new Date(e.slice(0,10));return+t==+t&&h6.serialize(t)===e.slice(0,10)?t:null},serialize:e=>e.toISOString().slice(0,10),eq:m6}),g6=Pn(`sync-emitter`,()=>qn()),Nme={},_6=(e,t)=>e===`defaultValue`?void 0:t;function Pme(e,t={}){let n=(0,m.useId)(),r=zn(),i=Bn(),{history:a=r?.history??`replace`,scroll:o=r?.scroll??!1,shallow:s=r?.shallow??!0,throttleMs:c=Un.timeMs,limitUrlUpdates:l=r?.limitUrlUpdates,clearOnDefault:u=r?.clearOnDefault??!0,startTransition:d,urlKeys:f=Nme}=t,p=Object.keys(e).join(`,`),h=(0,m.useRef)(e),g=h.current,_=JSON.stringify(Object.entries(g),_6)===JSON.stringify(Object.entries(e),_6)&&Object.entries(e).every(([e,t])=>{if(g[e]?.startTransition!==t.startTransition)return!1;let n=g[e]?.defaultValue,r=t.defaultValue;return Object.is(n,r)?!0:n!==void 0&&r!==void 0&&t.eq?.(n,r)===!0})?g:e;h.current=_;let v=(0,m.useMemo)(()=>Object.fromEntries(Object.keys(e).map(e=>[e,Mme(f,e)])),[p,JSON.stringify(f)]),y=Object.values(v),b=Rn(y),x=b.searchParams,S=(0,m.useRef)(null),C=(0,m.useRef)(null),w=ir(y),[T]=(0,m.useState)(()=>{let t={},[,n]=v6(e,v,x,w,t);return[n,t]}),E=(0,m.useRef)(T[1]),[D,O]=(0,m.useState)(T[0]),k=(0,m.useRef)(D),A=e=>JSON.stringify([y.map(t=>[t,e.getAll(t)]),w]),j=A(x),M=()=>{let[t,r]=v6(e,v,x,w,E.current,k.current);return t&&(En(1,n,p,r),k.current=r,O(r)),t},N=Object.keys(E.current).join(`&`)!==y.join(`&`),P=C.current===null||C.current===(b.pathname??location.pathname);if(N)S.current=j,M(),E.current=Object.fromEntries(Object.entries(v).map(([t,n])=>[n,e[t]?.type===`multi`?x.getAll(n):x.get(n)]));else{let e=!1;P&&S.current!==j&&(S.current=j,e=M()),!e&&D!==k.current&&(P||b.pathname===void 0&&S.current===A(new URLSearchParams(location.search)))&&O(k.current)}(0,m.useEffect)(()=>{C.current=b.pathname??location.pathname,M()},[j,b.pathname]),(0,m.useEffect)(()=>{let t=[];for(let[r,i]of Object.entries(v)){let a=({state:t,query:a})=>{O(o=>Object.is(o[r]??null,t)?(En(2,n,p,i,t,e[r]?.defaultValue,k.current),o):(k.current={...k.current,[r]:t},E.current[i]=a,En(3,n,p,i,t,e[r]?.defaultValue,k.current),k.current))};En(4,n,i,p),g6.on(i,a),t.push([i,a])}return()=>{for(let[e,r]of t)En(5,n,e,p),g6.off(e,r)}},[p,v]);let F=(0,m.useCallback)((e,t={})=>{let r=(typeof e==`function`?e(y6(k.current,_)):e)??Object.fromEntries(Object.keys(_).map(e=>[e,null]));En(6,n,p,r);let f,m=0,h=[];for(let[e,n]of Object.entries(r)){let r=d6(_,e),p=v[e];if(!r||p===void 0||n===void 0)continue;(t.clearOnDefault??r.clearOnDefault??u)&&n!==null&&r.defaultValue!==void 0&&(r.eq??lr)(n,r.defaultValue)&&(n=null);let g=n===null?null:(r.serialize??String)(n);g6.emit(p,{state:n,query:g});let y={key:p,query:g,options:{history:t.history??r.history??a,shallow:t.shallow??r.shallow??s,scroll:t.scroll??r.scroll??o,startTransition:t.startTransition??r.startTransition??d}},x=t.limitUrlUpdates??r.limitUrlUpdates??l;if(x?.method===`debounce`){let e=x.timeMs??Un.timeMs,t=rr.push(y,e,b,i);m<e&&(f=t,m=e)}else{let e=x?.timeMs??t.throttleMs??r.throttleMs??c;h.push(rr.abort(p)),$n.push(y,e)}}let g=h.length?$n.flush(b,i):$n.getPendingPromise(b);for(let e of h)g=e(g);return f??g},[p,a,s,o,c,l?.method,l?.timeMs,d,u,_,v,b.updateUrl,b.getSearchParamsSnapshot,b.rateLimitFactor,i]);return[(0,m.useMemo)(()=>y6(D,_),[D,_]),F]}function v6(e,t,n,r,i={},a={}){let o=!1,s=Object.entries(e).reduce((e,[s,c])=>{let l=t[s],u=d6(r,l),d=c.type===`multi`?[]:null,f=u===void 0?c.type===`multi`?n.getAll(l):n.get(l):u,p=d6(a,s);return p!==void 0&&ur(d6(i,l)??d,f)?(e[s]=p,e):(o=!0,e[s]=(Wn(f)?null:f6(c.parse,f,l))??null,i[l]=f,e)},{});return o||=Object.keys(s).length!==Object.keys(a).length,[o,s]}function y6(e,t){return Object.fromEntries(Object.keys(e).map(n=>[n,e[n]??t[n]?.defaultValue??null]))}function Fme(e,t={}){let{parse:n=e=>e,type:r,serialize:i,eq:a,defaultValue:o,...s}=t,c={parse:n,type:r,serialize:i,eq:a,defaultValue:o},[{[e]:l},u]=Pme({[e]:c},s);return[l,(0,m.useCallback)((t,n={})=>u(n=>({[e]:typeof t==`function`?t(n[e]):t}),n),[e,u])]}var b6=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},x6=(e=>e?b6(e):b6),Ime=e=>e;function S6(e,t=Ime){let n=m.useSyncExternalStore(e.subscribe,m.useCallback(()=>t(e.getState()),[e,t]),m.useCallback(()=>t(e.getInitialState()),[e,t]));return m.useDebugValue(n),n}var C6=e=>{let t=x6(e),n=e=>S6(t,e);return Object.assign(n,t),n},Lme=(e=>e?C6(e):C6),Rme=Object.defineProperty,zme=(e,t)=>Rme(e,`name`,{value:t,configurable:!0}),Bme=m.useId||(()=>void 0),Vme=0;function w6(e){let[t,n]=m.useState(Bme());return UZ(()=>{e||n(e=>e??String(Vme++))},[e]),e||(t?`radix-${t}`:``)}zme(w6,`useId`);var Hme=Object.defineProperty,T6=(e,t)=>Hme(e,`name`,{value:t,configurable:!0}),E6=`focusScope.autoFocusOnMount`,D6=`focusScope.autoFocusOnUnmount`,O6={bubbles:!1,cancelable:!0},Ume=m.forwardRef(T6(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=m.useState(null),l=TZ(i),u=TZ(a),d=m.useRef(null),f=ku(t,c),p=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let e=function(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:F6(d.current,{select:!0})},t=function(e){if(p.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||F6(d.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&F6(s)};T6(e,`handleFocusIn`),T6(t,`handleFocusOut`),T6(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,p.paused]),m.useEffect(()=>{if(s){I6.add(p);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(E6,O6);s.addEventListener(E6,l),s.dispatchEvent(t),t.defaultPrevented||(k6(z6(j6(s)),{select:!0}),document.activeElement===e&&F6(s))}return()=>{s.removeEventListener(E6,l),setTimeout(()=>{let t=new CustomEvent(D6,O6);s.addEventListener(D6,u),s.dispatchEvent(t),t.defaultPrevented||F6(e??document.body,{select:!0}),s.removeEventListener(D6,u),I6.remove(p)},0)}}},[s,l,u,p]);let h=m.useCallback(e=>{if(!n&&!r||p.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=A6(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&F6(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&F6(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,p.paused]);return(0,G.jsx)(xZ.div,{tabIndex:-1,...o,ref:f,onKeyDown:h})},`FocusScope`));function k6(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(F6(r,{select:t}),document.activeElement!==n)return}T6(k6,`focusFirst`);function A6(e){let t=j6(e);return[M6(t,e),M6(t.reverse(),e)]}T6(A6,`getTabbableEdges`);function j6(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:T6(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}T6(j6,`getTabbableCandidates`);function M6(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):N6(r,{upTo:t})))return r}T6(M6,`findVisible`);function N6(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}T6(N6,`isHidden`);function P6(e){return e instanceof HTMLInputElement&&`select`in e}T6(P6,`isSelectableInput`);function F6(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&P6(e)&&t&&e.select()}}T6(F6,`focus`);var I6=L6();function L6(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=R6(e,t),e.unshift(t)},remove(t){e=R6(e,t),e[0]?.resume()}}}T6(L6,`createFocusScopesStack`);function R6(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}T6(R6,`arrayRemove`);function z6(e){return e.filter(e=>e.tagName!==`A`)}T6(z6,`removeLinks`);var Wme=Object.defineProperty,B6=(e,t)=>Wme(e,`name`,{value:t,configurable:!0}),V6=0,H6=null;function Gme(e){return U6(),e.children}B6(Gme,`FocusGuards`);function U6(){m.useEffect(()=>{H6||={start:W6(),end:W6()};let{start:e,end:t}=H6;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),V6++,()=>{V6===1&&(H6?.start.remove(),H6?.end.remove(),H6=null),V6=Math.max(0,V6-1)}},[])}B6(U6,`useFocusGuards`);function W6(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}B6(W6,`createFocusGuard`);var G6=function(){return G6=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},G6.apply(this,arguments)};function K6(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Kme(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var q6=`right-scroll-bar-position`,J6=`width-before-scroll-bar`,qme=`with-scroll-bars-hidden`,Jme=`--removed-body-scroll-bar-size`;function Y6(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function Yme(e,t){var n=(0,m.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var Xme=typeof window<`u`?m.useLayoutEffect:m.useEffect,X6=new WeakMap;function Zme(e,t){var n=Yme(t||null,function(t){return e.forEach(function(e){return Y6(e,t)})});return Xme(function(){var t=X6.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||Y6(e,null)}),i.forEach(function(e){r.has(e)||Y6(e,a)})}X6.set(n,e)},[e]),n}function Qme(e){return e}function $me(e,t){t===void 0&&(t=Qme);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function ehe(e){e===void 0&&(e={});var t=$me(null);return t.options=G6({async:!0,ssr:!1},e),t}var Z6=function(e){var t=e.sideCar,n=K6(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return m.createElement(r,G6({},n))};Z6.isSideCarExport=!0;function the(e,t){return e.useMedium(t),Z6}var Q6=ehe(),$6=function(){},e8=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:$6,onWheelCapture:$6,onTouchMoveCapture:$6}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=K6(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=f,C=Zme([n,t]),w=G6(G6({},x),i);return m.createElement(m.Fragment,null,u&&m.createElement(S,{sideCar:Q6,removeScrollBar:l,shards:d,noRelative:p,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),o?m.cloneElement(m.Children.only(s),G6(G6({},w),{ref:C})):m.createElement(y,G6({},w,{className:c,ref:C}),s))});e8.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},e8.classNames={fullWidth:J6,zeroRight:q6};var nhe=function(){if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function rhe(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=nhe();return t&&e.setAttribute(`nonce`,t),e}function ihe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ahe(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var ohe=function(){var e=0,t=null;return{add:function(n){e==0&&(t=rhe())&&(ihe(t,n),ahe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},she=function(){var e=ohe();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},t8=function(){var e=she();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},che={left:0,top:0,right:0,gap:0},n8=function(e){return parseInt(e||``,10)||0},lhe=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[n8(n),n8(r),n8(i)]},uhe=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return che;var t=lhe(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},dhe=t8(),r8=`data-scroll-locked`,fhe=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
129
129
  .${qme} {
130
130
  overflow: hidden ${r};
131
131
  padding-right: ${s}px ${r};
@@ -195,4 +195,4 @@ Error generating stack: `+e.message+`
195
195
  `,...a.current()});return/^[\t ]/.test(l)&&(l=x9(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}w9.peek=exe;function w9(e){return e.value||``}function exe(){return`<`}T9.peek=txe;function T9(e,t,n,r){let i=b9(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function txe(){return`!`}E9.peek=nxe;function E9(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function nxe(){return`!`}D9.peek=rxe;function D9(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function rxe(){return"`"}function O9(e,t){let n=x5(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}k9.peek=ixe;function k9(e,t,n,r){let i=b9(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(O9(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function ixe(e,t,n){return O9(e,n)?`<`:`[`}A9.peek=axe;function A9(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function axe(){return`[`}function j9(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function oxe(e){let t=j9(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function sxe(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function M9(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function cxe(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?sxe(n):j9(n),s=e.ordered?o===`.`?`)`:`.`:oxe(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),M9(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function lxe(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function uxe(e,t,n,r){let i=lxe(n),a=n.bulletCurrent||j9(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function dxe(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var fxe=F7([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function pxe(e,t,n,r){return(e.children.some(function(e){return fxe(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function mxe(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}N9.peek=hxe;function N9(e,t,n,r){let i=mxe(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=S9(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=x9(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=S9(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+x9(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function hxe(e,t,n){return n.options.strong||`*`}function gxe(e,t,n,r){return n.safe(e.value,r)}function _xe(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function vxe(e,t,n){let r=(M9(n)+(n.options.ruleSpaces?` `:``)).repeat(_xe(n));return n.options.ruleSpaces?r.slice(0,-1):r}var P9={blockquote:Vbe,break:y9,code:qbe,definition:Ybe,emphasis:C9,hardBreak:y9,heading:$be,html:w9,image:T9,imageReference:E9,inlineCode:D9,link:k9,linkReference:A9,list:cxe,listItem:uxe,paragraph:dxe,root:pxe,strong:N9,text:gxe,thematicBreak:vxe};function yxe(){return{enter:{table:bxe,tableData:I9,tableHeader:I9,tableRow:Sxe},exit:{codeText:Cxe,table:xxe,tableData:F9,tableHeader:F9,tableRow:F9}}}function bxe(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function xxe(e){this.exit(e),this.data.inTable=void 0}function Sxe(e){this.enter({type:`tableRow`,children:[]},e)}function F9(e){this.exit(e)}function I9(e){this.enter({type:`tableCell`,children:[]},e)}function Cxe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,wxe));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function wxe(e,t){return t===`|`?t:e}function Txe(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
196
196
  `,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
197
197
  `))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return zbe(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=P9.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function Exe(){return{exit:{taskListCheckValueChecked:L9,taskListCheckValueUnchecked:L9,paragraph:Oxe}}}function Dxe(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:kxe}}}function L9(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function Oxe(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function kxe(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=P9.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function Axe(){return[cbe(),kbe(),Nbe(),yxe(),Exe()]}function jxe(e){return{extensions:[lbe(),Abe(e),Pbe(),Txe(e),Dxe()]}}var Mxe={tokenize:Rxe,partial:!0},R9={tokenize:zxe,partial:!0},z9={tokenize:Bxe,partial:!0},B9={tokenize:Vxe,partial:!0},Nxe={tokenize:Hxe,partial:!0},V9={name:`wwwAutolink`,tokenize:Ixe,previous:K9},H9={name:`protocolAutolink`,tokenize:Lxe,previous:q9},U9={name:`emailAutolink`,tokenize:Fxe,previous:J9},W9={};function Pxe(){return{text:W9}}for(var G9=48;G9<123;)W9[G9]=U9,G9++,G9===58?G9=65:G9===91&&(G9=97);W9[43]=U9,W9[45]=U9,W9[46]=U9,W9[95]=U9,W9[72]=[U9,H9],W9[104]=[U9,H9],W9[87]=[U9,V9],W9[119]=[U9,V9];function Fxe(e,t,n){let r=this,i,a;return o;function o(t){return!Y9(t)||!J9.call(r,r.previous)||X9(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return Y9(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(Nxe,u,l)(t):t===45||t===95||N5(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&M5(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Ixe(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!K9.call(r,r.previous)||X9(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(Mxe,e.attempt(R9,e.attempt(z9,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Lxe(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&q9.call(r,r.previous)&&!X9(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(M5(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||P5(t)||L5(t)||B5(t)||z5(t)?n(t):e.attempt(R9,e.attempt(z9,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Rxe(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function zxe(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(B9,c,s)(t):t===null||L5(t)||B5(t)||t!==45&&z5(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function Bxe(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(B9,t,a)(o):o===null||L5(o)||B5(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Vxe(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||L5(o)||B5(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||L5(e)||B5(e)?t(e):r(e)}function a(e){return M5(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):M5(t)?(e.consume(t),o):n(t)}}function Hxe(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return N5(e)?n(e):t(e)}}function K9(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||L5(e)}function q9(e){return!M5(e)}function J9(e){return!(e===47||Y9(e))}function Y9(e){return e===43||e===45||e===46||e===95||N5(e)}function X9(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var Uxe={tokenize:Zxe,partial:!0};function Wxe(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:Jxe,continuation:{tokenize:Yxe},exit:Xxe}},text:{91:{name:`gfmFootnoteCall`,tokenize:qxe},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:Gxe,resolveTo:Kxe}}}}function Gxe(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=j5(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function Kxe(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function qxe(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||L5(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(j5(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return L5(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function Jxe(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||L5(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=j5(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return L5(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),U5(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function Yxe(e,t,n){return e.check(Y5,t,e.attempt(Uxe,t,n))}function Xxe(e){e.exit(`gfmFootnoteDefinition`)}function Zxe(e,t,n){let r=this;return U5(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function Qxe(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&E5(o,o.length,0,K5(s,e.slice(r+1,n),t)),E5(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),E5(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=G5(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=G5(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var $xe=class{constructor(){this.map=[]}add(e,t,n){eSe(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function eSe(e,t,n,r){let i=0;if(n!==0||r.length!==0){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function tSe(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function nSe(){return{flow:{null:{name:`table`,tokenize:rSe,resolveAll:iSe}}}}function rSe(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):I5(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):R5(t)?U5(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||L5(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,R5(t)?U5(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return R5(t)?U5(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||I5(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return R5(t)?U5(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||I5(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||I5(n)?(e.exit(`tableRow`),t(n)):R5(n)?U5(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||L5(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function iSe(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new $xe;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(Q9(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=Z9(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=Z9(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=Z9(f,t,o,i,n,d)):(o[0]=o[1],d=Z9(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&Q9(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=tSe(t.events,n))}return e}function Z9(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},$9(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=$9(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=$9(t.events,n[2]),a=$9(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},$9(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function Q9(e,t,n,r,i){let a=[],o=$9(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function $9(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var aSe={name:`tasklistCheck`,tokenize:sSe};function oSe(){return{text:{91:aSe}}}function sSe(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return L5(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return I5(r)?t(r):R5(r)?e.check({tokenize:cSe},t,n)(r):n(r)}}function cSe(e,t,n){return U5(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function lSe(e){return k5([Pxe(),Wxe(),Qxe(e),nSe(),oSe()])}var uSe={};function dSe(e){let t=this,n=e||uSe,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(lSe(n)),a.push(Axe()),o.push(jxe(n))}export{Nq as $,dp as $n,Wc as $r,tm as $t,PX as A,Pp as An,Pf as Ar,Mee as At,mX as B,wp as Bn,wu as Br,See as Bt,o$ as C,Vp as Cn,Vf as Cr,lne as Ct,BX as D,Lp as Dn,Lf as Dr,ane as Dt,HX as E,Rp as En,Rf as Er,one as Et,wX as F,kp as Fn,Ju as Fr,wm as Ft,iX as G,yp as Gn,Nl as Gr,_ee as Gt,uX as H,Sp as Hn,ql as Hr,bee as Ht,SX as I,Op as In,Nu as Ir,ym as It,QY as J,gp as Jn,ll as Jr,mee as Jt,nX as K,vp as Kn,Pl as Kr,gee as Kt,bX as L,Dp as Ln,bu as Lr,hm as Lt,AX as M,Mp as Mn,Mf as Mr,Dee as Mt,OX as N,jp as Nn,jf as Nr,Tm as Nt,RX as O,Ip as On,If as Or,ene as Ot,EX as P,Ap as Pn,xf as Pr,vm as Pt,TY as Q,fp as Qn,cl as Qr,uee as Qt,vX as R,Ep as Rn,Cu as Rr,Tee as Rt,c$ as S,Hp as Sn,Hf as Sr,une as St,WX as T,zp as Tn,zf as Tr,sne as Tt,cX as U,xp as Un,Bl as Ur,yee as Ut,fX as V,Cp as Vn,Su as Vr,xee as Vt,oX as W,bp as Wn,Ll as Wr,vee as Wt,qY as X,mp as Xn,fl as Xr,fee as Xt,XY as Y,hp as Yn,ul as Yr,pee as Yt,DY as Z,pp as Zn,dl as Zr,dee as Zt,u$ as _,p as _i,nee as _n,qf as _r,hne as _t,Fhe as a,Sr as ai,Yp as an,ap as ar,jL as at,a$ as b,Wp as bn,Wf as br,fne as bt,Rhe as c,pn as ci,Kp as cn,np as cr,zie as ct,Lme as d,Tt as di,cee as dn,$f as dr,xne as dt,Uc as ei,em as en,up as er,vq as et,S6 as f,Ye as fi,see as fn,Qf as fr,bne as ft,Cpe as g,v as gi,ree as gn,Jf as gr,gne as gt,jme as h,yn as hi,iee as hn,Yf as hr,_ne as ht,Jhe as i,Lr as ii,Xp as in,op as ir,JV as it,MX as j,Np as jn,Nf as jr,Lm as jt,IX as k,Fp as kn,Ff as kr,Vee as kt,Lhe as l,St as li,Gp as ln,tp as lr,Cne as lt,Fme as m,et as mi,aee as mn,Xf as mr,vne as mt,$ye as n,uo as ni,Qp as nn,cp as nr,BG as nt,Vhe as o,br as oi,Jp as on,ip as or,AL as ot,x6 as p,Qe as pi,oee as pn,Zf as pr,yne as pt,eX as q,_p as qn,Ml as qr,hee as qt,c9 as r,la as ri,Zp as rn,sp as rr,IW as rt,qhe as s,fn as si,qp as sn,rp as sr,QT as st,dSe as t,sc as ti,$p as tn,lp as tr,ZK as tt,Ghe as u,Ct as ui,lee as un,ep as ur,Sne as ut,d$ as v,d as vi,tee as vn,Kf as vr,mne as vt,KX as w,Bp as wn,Bf as wr,cne as wt,s$ as x,Up as xn,Uf as xr,dne as xt,l$ as y,s as yi,eee as yn,Gf as yr,pne as yt,gX as z,Tp as zn,xu as zr,Cee as zt};
198
- //# sourceMappingURL=vendor-DnqYaW-D.js.map
198
+ //# sourceMappingURL=vendor-CYqjCEUX.js.map