@pi-chamber/web 1.0.3 → 1.0.4-rc.2

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 (303) hide show
  1. package/dist/assets/DiagramView-GKGxPczP.js +1 -0
  2. package/dist/assets/{DiffView-D19Jps0i.js → DiffView-Cay8VAqL.js} +6 -6
  3. package/dist/assets/FileSaveConflictDialog-BRM9TJo0.js +3 -0
  4. package/dist/assets/FilesView-CEeQzjc6.js +6 -0
  5. package/dist/assets/GitHubDetailScaffold-q4YP8iyJ.js +11 -0
  6. package/dist/assets/GitHubLinkPicker-B9xgIW8y.js +1 -0
  7. package/dist/assets/GitHubListPrimitives-XkALat1v.js +1 -0
  8. package/dist/assets/GitView-DV3d0oSJ.js +9 -0
  9. package/dist/assets/IssuesSurface-OTyt9f3A.js +7 -0
  10. package/dist/assets/JsonTreeView-X2Auiy_q.js +1 -0
  11. package/dist/assets/MarkdownRendererImpl-1HameF6j.js +12 -0
  12. package/dist/assets/PatchDiff-GMQAv4en.js +1 -0
  13. package/dist/assets/PierreDiffViewer-0X__nypk.js +134 -0
  14. package/dist/assets/PullRequestsSurface-Dec20SIg.js +2 -0
  15. package/dist/assets/SessionSwitcherContent-DEw4nz7K.js +1 -0
  16. package/dist/assets/SessionSwitcherDropdown-DmLhbRzE.js +2 -0
  17. package/dist/assets/SessionUnreadDot-CJFawQpo.js +1 -0
  18. package/dist/assets/SettingsView-CwSspvq-.js +6 -0
  19. package/dist/assets/SettingsWindow-DkPv9MaU.js +1 -0
  20. package/dist/assets/ToolOutputDialog-DDwbOpTO.js +8 -0
  21. package/dist/assets/ToolPartDiffPreview-DZRP7p-Q.js +1 -0
  22. package/dist/assets/{VirtualizedFileDiff-CJondRlh.js → VirtualizedFileDiff-CUWx7JVZ.js} +3 -3
  23. package/dist/assets/Virtualizer-wpC51ZBQ.js +1 -0
  24. package/dist/assets/collapsible-Ce85nuXX.js +1 -0
  25. package/dist/assets/computeVirtualFileMetrics-3PpRLd5B.js +3 -0
  26. package/dist/assets/{contextFileOpenGuard-CsZL8yie.js → contextFileOpenGuard-PoBklHMz.js} +1 -1
  27. package/dist/assets/gitStatusPredicates-BvzxqidP.js +1 -0
  28. package/dist/assets/githubLink-iQ51wqRa.js +10 -0
  29. package/dist/assets/index-CkMnC_GK.js +1 -0
  30. package/dist/assets/index-Dd2OcIUY.js +10 -0
  31. package/dist/assets/index-DvN8zlLT.css +1 -0
  32. package/dist/assets/main-FasHq7Ck.js +2 -0
  33. package/dist/assets/main-PSCt716b.js +136 -0
  34. package/dist/assets/markdownCore-BH56o6Wu.js +2 -0
  35. package/dist/assets/miniChat-BzfobBDq.js +2 -0
  36. package/dist/assets/mobile-DAzZE2EL.js +2 -0
  37. package/dist/assets/permissionStore-B9Hkrqny.js +1 -0
  38. package/dist/assets/pi-session-focus-preference-D2-1HWmY.js +10 -0
  39. package/dist/assets/renderDiffWithHighlighter-l8hZWWBO.js +1 -0
  40. package/dist/assets/renderElectronMiniChatApp-DGYSIihR.js +2 -0
  41. package/dist/assets/renderFileWithHighlighter-BvDoP7ob.js +1 -0
  42. package/dist/assets/renderMobileApp-CwgWG0lU.js +11 -0
  43. package/dist/assets/runtimeEndpointReset-CmI6dBKM.js +62 -0
  44. package/dist/assets/{runtimeSurface-BdndJV2m.js → runtimeSurface-B1GRkkKC.js} +1 -1
  45. package/dist/assets/shell-CjFT_Tl9.js +1 -0
  46. package/dist/assets/sprite-HGQGInUp.js +6510 -0
  47. package/dist/assets/useAppFontEffects--lKKtKVo.js +212 -0
  48. package/dist/assets/{useFilesViewSearch-DJ3psTKU.js → useFilesViewSearch-D1jsGQrN.js} +3 -3
  49. package/dist/assets/useGitHubRemoteSearch-zNgy2bSt.js +1 -0
  50. package/dist/assets/useSwitcherItems-OCRYcHeu.js +1 -0
  51. package/dist/assets/vendor-base-ui-DIkTOIJS.js +1 -0
  52. package/dist/assets/{vendor-beautiful-mermaid-D3YCkKz7.js → vendor-beautiful-mermaid-DApbjBp2.js} +1 -1
  53. package/dist/assets/vendor-boot-DyL2td56.js +69 -0
  54. package/dist/assets/vendor-codemirror-autocomplete-DsFn4GLp.js +1 -0
  55. package/dist/assets/vendor-codemirror-lang-angular-B_NMmBbS.js +1 -0
  56. package/dist/assets/vendor-codemirror-lang-cpp-GOE7Gjd0.js +1 -0
  57. package/dist/assets/vendor-codemirror-lang-css-Dwf2XpnZ.js +1 -0
  58. package/dist/assets/vendor-codemirror-lang-go-C2KHbcll.js +7 -0
  59. package/dist/assets/vendor-codemirror-lang-html-DcKqyeGk.js +1 -0
  60. package/dist/assets/vendor-codemirror-lang-java-6eGbyB2k.js +1 -0
  61. package/dist/assets/vendor-codemirror-lang-javascript-DpTUrvx8.js +13 -0
  62. package/dist/assets/vendor-codemirror-lang-jinja-xSUJjXhr.js +1 -0
  63. package/dist/assets/vendor-codemirror-lang-json-CLGxdOCz.js +1 -0
  64. package/dist/assets/vendor-codemirror-lang-less-6nXi1rS9.js +1 -0
  65. package/dist/assets/vendor-codemirror-lang-liquid-B9hmb9P8.js +1 -0
  66. package/dist/assets/vendor-codemirror-lang-markdown-DmFP9s6x.js +1 -0
  67. package/dist/assets/vendor-codemirror-lang-php-DC6To8iX.js +1 -0
  68. package/dist/assets/vendor-codemirror-lang-python-yuxIkjit.js +3 -0
  69. package/dist/assets/vendor-codemirror-lang-rust-di1Sjz-0.js +1 -0
  70. package/dist/assets/vendor-codemirror-lang-sass-BWpV9NPV.js +1 -0
  71. package/dist/assets/{vendor-codemirror-lang-sql-HpQWHJjv.js → vendor-codemirror-lang-sql-C_RazIaB.js} +2 -2
  72. package/dist/assets/vendor-codemirror-lang-vue-BYL0r7KR.js +1 -0
  73. package/dist/assets/vendor-codemirror-lang-wast-BiVarhcz.js +1 -0
  74. package/dist/assets/vendor-codemirror-lang-xml-Cn1lY1ts.js +1 -0
  75. package/dist/assets/vendor-codemirror-lang-yaml-BZ6mZw9L.js +1 -0
  76. package/dist/assets/vendor-codemirror-language-data-DglcKYWT.js +2 -0
  77. package/dist/assets/vendor-codemirror-search-DaE6R5gH.js +2 -0
  78. package/dist/assets/{vendor-elkjs-mzfkf0ML.js → vendor-elkjs-D27273Ms.js} +1 -1
  79. package/dist/assets/{vendor-heic2any-BHsbokcA.js → vendor-heic2any-pq-UTQQR.js} +1 -1
  80. package/dist/assets/vendor-lezer-cpp-Dt99h3WT.js +1 -0
  81. package/dist/assets/vendor-lezer-css-DNU_fzPI.js +1 -0
  82. package/dist/assets/vendor-lezer-go-BEFtcNyS.js +1 -0
  83. package/dist/assets/vendor-lezer-html-DDGRhRUz.js +1 -0
  84. package/dist/assets/vendor-lezer-java-DmfZtW09.js +1 -0
  85. package/dist/assets/vendor-lezer-javascript-oje4tdp_.js +1 -0
  86. package/dist/assets/vendor-lezer-json-BRXb_bDX.js +1 -0
  87. package/dist/assets/vendor-lezer-lr-BU2qmu_5.js +1 -0
  88. package/dist/assets/{vendor-lezer-markdown-C6g-d6P3.js → vendor-lezer-markdown-CicYv7V9.js} +4 -4
  89. package/dist/assets/vendor-lezer-php-COORrTpE.js +1 -0
  90. package/dist/assets/vendor-lezer-python-Cuvm9X9Y.js +1 -0
  91. package/dist/assets/vendor-lezer-rust-C_zOfHbX.js +1 -0
  92. package/dist/assets/vendor-lezer-sass-DWP4w7O1.js +1 -0
  93. package/dist/assets/vendor-lezer-xml-Br6nOYeG.js +1 -0
  94. package/dist/assets/vendor-lezer-yaml-CYQmm6Sb.js +1 -0
  95. package/dist/assets/{vendor-lru_map-Cy8fTs3_.js → vendor-lru_map-DOPmc7GU.js} +1 -1
  96. package/dist/assets/{vendor-qrcode-B0KNSajT.js → vendor-qrcode-Dv4uniC1.js} +1 -1
  97. package/dist/assets/vendor-react-DASdDPIk.js +1 -0
  98. package/dist/assets/{vendor-react-drawio-BYDptOsj.js → vendor-react-drawio-Duu5LgQA.js} +1 -1
  99. package/dist/assets/{vendor-replit-codemirror-vim-DaSwPsXt.js → vendor-replit-codemirror-vim-CZy3BUVv.js} +15 -15
  100. package/dist/assets/vendor-zustand-CUi8eEds.js +6 -0
  101. package/dist/assets/{web-components-CCKlju0Z.js → web-components-v9fuidaX.js} +4 -4
  102. package/dist/index.html +7 -9
  103. package/dist/mini-chat.html +6 -8
  104. package/dist/mobile.html +6 -8
  105. package/package.json +2 -2
  106. package/server/index.js +3 -1
  107. package/server/lib/fs/DOCUMENTATION.md +1 -1
  108. package/server/lib/fs/routes.js +1 -50
  109. package/server/lib/git/DOCUMENTATION.md +18 -11
  110. package/server/lib/git/index.js +8 -3
  111. package/server/lib/git/routes.js +0 -129
  112. package/server/lib/git/service.js +40 -152
  113. package/server/lib/git/service.test.js +42 -18
  114. package/server/lib/github/DOCUMENTATION.md +271 -0
  115. package/server/lib/github/cache.js +164 -0
  116. package/server/lib/github/checks.js +230 -0
  117. package/server/lib/github/client.js +305 -0
  118. package/server/lib/github/context.js +177 -0
  119. package/server/lib/github/contracts.test.js +235 -0
  120. package/server/lib/github/correctness.test.js +356 -0
  121. package/server/lib/github/credential.js +46 -0
  122. package/server/lib/github/errors.js +151 -0
  123. package/server/lib/github/gh-cli.js +336 -0
  124. package/server/lib/github/index.js +27 -0
  125. package/server/lib/github/issues.js +495 -0
  126. package/server/lib/github/pulls.js +699 -0
  127. package/server/lib/github/repo-scope.js +688 -0
  128. package/server/lib/github/routes.js +599 -0
  129. package/server/lib/github/security.test.js +275 -0
  130. package/server/lib/github/templates.js +153 -0
  131. package/server/lib/package-manager-detect-child.js +12 -0
  132. package/server/lib/package-manager.js +366 -92
  133. package/server/lib/package-manager.test.js +109 -0
  134. package/server/lib/pi/routes-extension-events.test.js +268 -4
  135. package/server/lib/pi/routes.js +109 -25
  136. package/server/lib/pi/routes.test.js +118 -0
  137. package/server/lib/pi/session-daemon/DOCUMENTATION.md +24 -9
  138. package/server/lib/pi/session-daemon/builtin-extensions.js +37 -0
  139. package/server/lib/pi/session-daemon/daemon-process.js +6 -0
  140. package/server/lib/pi/session-daemon/extension-bridge-draft.test.js +222 -0
  141. package/server/lib/pi/session-daemon/extension-bridge.js +415 -42
  142. package/server/lib/pi/session-daemon/extension-name.js +87 -0
  143. package/server/lib/pi/session-daemon/extension-name.test.js +143 -0
  144. package/server/lib/pi/session-daemon/extension-theme.js +217 -0
  145. package/server/lib/pi/session-daemon/extension-theme.test.js +164 -0
  146. package/server/lib/pi/session-daemon/extension-tool-render.js +365 -0
  147. package/server/lib/pi/session-daemon/extension-tool-render.test.js +607 -0
  148. package/server/lib/pi/session-daemon/prompt-operations.test.js +3 -3
  149. package/server/lib/pi/session-daemon/prompt-preflight.test.js +12 -14
  150. package/server/lib/pi/session-daemon/sdk-upgrade.test.js +118 -2
  151. package/server/lib/pi/session-daemon/send-operation-dedup.test.js +1 -1
  152. package/server/lib/pi/session-daemon/session-daemon-extensions.test.js +323 -3
  153. package/server/lib/pi/session-daemon/session-daemon-list-live.test.js +244 -0
  154. package/server/lib/pi/session-daemon/session-daemon-mcp.e2e.test.js +638 -0
  155. package/server/lib/pi/session-daemon/session-daemon-turn.e2e.test.js +437 -0
  156. package/server/lib/pi/session-daemon/session-daemon.js +265 -75
  157. package/server/lib/pi/session-daemon/session-daemon.test.js +271 -5
  158. package/server/lib/pi/session-daemon/session-idle-residency.test.js +1 -1
  159. package/server/lib/pi/session-daemon/session-replay.test.js +1 -1
  160. package/server/lib/pi/session-persistence-gap.test.js +2 -3
  161. package/server/lib/pi/ui-settings-store.js +2 -1
  162. package/server/lib/pi/ui-settings-store.test.js +27 -0
  163. package/server/lib/static-cache-control.js +18 -0
  164. package/server/lib/static-cache-control.test.js +25 -0
  165. package/server/lib/workspace/host.js +2 -0
  166. package/dist/assets/DiagramView-Bj1ZrdhI.js +0 -1
  167. package/dist/assets/FileSaveConflictDialog-2Z4V_gZU.js +0 -3
  168. package/dist/assets/FilesView-K18gBSws.js +0 -6
  169. package/dist/assets/GitView-Hm1KBPaD.js +0 -8
  170. package/dist/assets/JsonTreeView-fNsiZEIo.js +0 -1
  171. package/dist/assets/MarkdownRendererImpl-DV5Xkj8N.js +0 -12
  172. package/dist/assets/PatchDiff-DZaJG6jj.js +0 -1
  173. package/dist/assets/SessionSwitcherContent-RAsmsuYk.js +0 -1
  174. package/dist/assets/SessionSwitcherDropdown-DuLPlIF_.js +0 -2
  175. package/dist/assets/SessionUnreadDot-Dm6k5OCd.js +0 -1
  176. package/dist/assets/SettingsView-Chu4zbWo.js +0 -6
  177. package/dist/assets/SettingsWindow-CJzFmmfu.js +0 -1
  178. package/dist/assets/ToolOutputDialog-uYeXsAGc.js +0 -8
  179. package/dist/assets/ToolPartDiffPreview-DnAHVRs-.js +0 -1
  180. package/dist/assets/Virtualizer-BSHVMKgK.js +0 -1
  181. package/dist/assets/collapsible-BH1vXEAI.js +0 -1
  182. package/dist/assets/computeVirtualFileMetrics-DXkR5jdw.js +0 -3
  183. package/dist/assets/gitStatusPredicates-BW8heN1a.js +0 -134
  184. package/dist/assets/index-5fyXnZFi.css +0 -1
  185. package/dist/assets/index-BrgKwTb0.js +0 -1
  186. package/dist/assets/index-C-sV_9sb.js +0 -8
  187. package/dist/assets/isDiffPlainText-DZFr1Tta.js +0 -1
  188. package/dist/assets/isFilePlainText-KNpEMvb-.js +0 -1
  189. package/dist/assets/main-BPY2ug1A.js +0 -135
  190. package/dist/assets/main-BRIjzIRl.js +0 -2
  191. package/dist/assets/markdownCore-DYizLr1N.js +0 -3
  192. package/dist/assets/miniChat-Dva4MINl.js +0 -2
  193. package/dist/assets/mobile-6jNUNv_x.js +0 -2
  194. package/dist/assets/permissionStore-iKN1K2_x.js +0 -1
  195. package/dist/assets/renderElectronMiniChatApp-BIeBrZmO.js +0 -2
  196. package/dist/assets/renderMobileApp-BDCtZpeS.js +0 -11
  197. package/dist/assets/runtimeEndpointReset-DqdGOWp8.js +0 -53
  198. package/dist/assets/useAppFontEffects-BABx-DxZ.js +0 -6722
  199. package/dist/assets/usePushVisibilityBeacon-BciEu3HS.js +0 -10
  200. package/dist/assets/useSwitcherItems-C7_5TB_n.js +0 -1
  201. package/dist/assets/vendor-aria-hidden-DvXkyWUv.js +0 -1
  202. package/dist/assets/vendor-base-ui-DXSHfszQ.js +0 -1
  203. package/dist/assets/vendor-class-variance-authority-5VPnzWs2.js +0 -1
  204. package/dist/assets/vendor-cmdk-zXx6sGnS.js +0 -1
  205. package/dist/assets/vendor-codemirror-autocomplete-wd6iRebq.js +0 -1
  206. package/dist/assets/vendor-codemirror-commands-CNlncqrr.js +0 -1
  207. package/dist/assets/vendor-codemirror-lang-angular-DU_4KiiW.js +0 -1
  208. package/dist/assets/vendor-codemirror-lang-cpp-CmIT9Z5_.js +0 -1
  209. package/dist/assets/vendor-codemirror-lang-css-djiuoTi8.js +0 -1
  210. package/dist/assets/vendor-codemirror-lang-go-COZSwZYW.js +0 -7
  211. package/dist/assets/vendor-codemirror-lang-html-CKHqhW5R.js +0 -1
  212. package/dist/assets/vendor-codemirror-lang-java-CNMP5hyC.js +0 -1
  213. package/dist/assets/vendor-codemirror-lang-javascript-DuOEwJ3f.js +0 -13
  214. package/dist/assets/vendor-codemirror-lang-jinja-DaKn_b1k.js +0 -1
  215. package/dist/assets/vendor-codemirror-lang-json-CZ07HmNC.js +0 -1
  216. package/dist/assets/vendor-codemirror-lang-less-wJdQiDBf.js +0 -1
  217. package/dist/assets/vendor-codemirror-lang-liquid-0z48Roi8.js +0 -1
  218. package/dist/assets/vendor-codemirror-lang-markdown-DtcZDGqe.js +0 -1
  219. package/dist/assets/vendor-codemirror-lang-php-W8plS-JQ.js +0 -1
  220. package/dist/assets/vendor-codemirror-lang-python-DzzokVau.js +0 -3
  221. package/dist/assets/vendor-codemirror-lang-rust-C4ulBVpf.js +0 -1
  222. package/dist/assets/vendor-codemirror-lang-sass-BkZJYEwS.js +0 -1
  223. package/dist/assets/vendor-codemirror-lang-vue-DiBPljCc.js +0 -1
  224. package/dist/assets/vendor-codemirror-lang-wast-DoABsogh.js +0 -1
  225. package/dist/assets/vendor-codemirror-lang-xml-BhLJhOCH.js +0 -1
  226. package/dist/assets/vendor-codemirror-lang-yaml-D95i1Y5R.js +0 -1
  227. package/dist/assets/vendor-codemirror-language-BByA_dGF.js +0 -3
  228. package/dist/assets/vendor-codemirror-language-data-BB5mQv-R.js +0 -2
  229. package/dist/assets/vendor-codemirror-search-BV44140v.js +0 -2
  230. package/dist/assets/vendor-codemirror-state-CNWM3Q8V.js +0 -5
  231. package/dist/assets/vendor-codemirror-view-Ct4T37Ue.js +0 -4
  232. package/dist/assets/vendor-crelt-C8TCjufn.js +0 -1
  233. package/dist/assets/vendor-detect-node-es-l0sNRNKZ.js +0 -1
  234. package/dist/assets/vendor-dnd-kit-accessibility-DZKKhs9S.js +0 -1
  235. package/dist/assets/vendor-dnd-kit-core-C9qcAm_1.js +0 -5
  236. package/dist/assets/vendor-dnd-kit-sortable-D8ozj8M-.js +0 -1
  237. package/dist/assets/vendor-dnd-kit-utilities-DTY1C6ST.js +0 -1
  238. package/dist/assets/vendor-floating-ui-core-CXmKXOXc.js +0 -1
  239. package/dist/assets/vendor-floating-ui-dom-WyXykhNi.js +0 -1
  240. package/dist/assets/vendor-floating-ui-react-dom-BZOGXAGe.js +0 -1
  241. package/dist/assets/vendor-floating-ui-utils-BzXdqYpP.js +0 -1
  242. package/dist/assets/vendor-framer-motion-CfplGuM0.js +0 -1
  243. package/dist/assets/vendor-get-nonce-C-Z93AgS.js +0 -1
  244. package/dist/assets/vendor-lezer-common-B3-cUCR_.js +0 -1
  245. package/dist/assets/vendor-lezer-cpp-BleAU9o-.js +0 -1
  246. package/dist/assets/vendor-lezer-css-C5xB6jxd.js +0 -1
  247. package/dist/assets/vendor-lezer-go-CXK1UKk8.js +0 -1
  248. package/dist/assets/vendor-lezer-highlight-CDMHUZ74.js +0 -1
  249. package/dist/assets/vendor-lezer-html-C0I1p52t.js +0 -1
  250. package/dist/assets/vendor-lezer-java-D_zzj-NV.js +0 -1
  251. package/dist/assets/vendor-lezer-javascript-D7Tj24ot.js +0 -1
  252. package/dist/assets/vendor-lezer-json-Iaex0UN-.js +0 -1
  253. package/dist/assets/vendor-lezer-lr-bhwg1HMg.js +0 -1
  254. package/dist/assets/vendor-lezer-php-_DHrbsZG.js +0 -1
  255. package/dist/assets/vendor-lezer-python-CvuFxeZl.js +0 -1
  256. package/dist/assets/vendor-lezer-rust-Lqgd5SAo.js +0 -1
  257. package/dist/assets/vendor-lezer-sass-Dnm2lY4t.js +0 -1
  258. package/dist/assets/vendor-lezer-xml-hUDuAyS5.js +0 -1
  259. package/dist/assets/vendor-lezer-yaml-BNIl6S_O.js +0 -1
  260. package/dist/assets/vendor-marijn-find-cluster-break-DXwl3gUT.js +0 -1
  261. package/dist/assets/vendor-motion-dom-DhJ-sYS5.js +0 -1
  262. package/dist/assets/vendor-motion-l0sNRNKZ.js +0 -1
  263. package/dist/assets/vendor-motion-utils-CKEGc_YG.js +0 -1
  264. package/dist/assets/vendor-radix-ui-primitive-Dc_FVRD7.js +0 -1
  265. package/dist/assets/vendor-radix-ui-react-compose-refs-8xy6TJML.js +0 -1
  266. package/dist/assets/vendor-radix-ui-react-context-CFsX-AUC.js +0 -1
  267. package/dist/assets/vendor-radix-ui-react-dialog-D2yhEu2p.js +0 -5
  268. package/dist/assets/vendor-radix-ui-react-dismissable-layer-DrorBNg9.js +0 -1
  269. package/dist/assets/vendor-radix-ui-react-focus-guards-BfdFmL7c.js +0 -1
  270. package/dist/assets/vendor-radix-ui-react-focus-scope-D2BkImwt.js +0 -1
  271. package/dist/assets/vendor-radix-ui-react-id-D2kS9K1j.js +0 -1
  272. package/dist/assets/vendor-radix-ui-react-portal-YgCRIyi7.js +0 -1
  273. package/dist/assets/vendor-radix-ui-react-presence-D432pCMB.js +0 -1
  274. package/dist/assets/vendor-radix-ui-react-primitive-DkH8dMOR.js +0 -1
  275. package/dist/assets/vendor-radix-ui-react-slot-BIDFZX0-.js +0 -1
  276. package/dist/assets/vendor-radix-ui-react-use-callback-ref-BwDcSoGV.js +0 -1
  277. package/dist/assets/vendor-radix-ui-react-use-controllable-state-LiqmKSXO.js +0 -1
  278. package/dist/assets/vendor-radix-ui-react-use-effect-event-D94va83M.js +0 -1
  279. package/dist/assets/vendor-radix-ui-react-use-escape-keydown-DTkqjenV.js +0 -1
  280. package/dist/assets/vendor-radix-ui-react-use-layout-effect-C8Yrsaph.js +0 -1
  281. package/dist/assets/vendor-react-B5Z1Mdn3.js +0 -9
  282. package/dist/assets/vendor-react-remove-scroll-bar-CSAHp1YF.js +0 -38
  283. package/dist/assets/vendor-react-remove-scroll-vR1dy1aP.js +0 -4
  284. package/dist/assets/vendor-react-style-singleton-Ctw6HnYx.js +0 -1
  285. package/dist/assets/vendor-reselect-l0sNRNKZ.js +0 -1
  286. package/dist/assets/vendor-scheduler-7OC5HNn7.js +0 -1
  287. package/dist/assets/vendor-simplewebauthn-browser-VDA66rT_.js +0 -2
  288. package/dist/assets/vendor-sonner-BDtm25td.js +0 -1
  289. package/dist/assets/vendor-style-mod-NZ5MEPvj.js +0 -3
  290. package/dist/assets/vendor-tanstack-react-virtual-2skouoFw.js +0 -1
  291. package/dist/assets/vendor-tanstack-virtual-core-Dubg10g5.js +0 -1
  292. package/dist/assets/vendor-tslib-De9GV7Vy.js +0 -1
  293. package/dist/assets/vendor-use-callback-ref-CVVuCyLj.js +0 -1
  294. package/dist/assets/vendor-use-sidecar-Vv4V8Nd1.js +0 -1
  295. package/dist/assets/vendor-use-sync-external-store-D0AXkdQC.js +0 -1
  296. package/dist/assets/vendor-w3c-keyname-Vcq4gwWv.js +0 -1
  297. package/dist/assets/vendor-zustand-GVb4H8HE.js +0 -6
  298. package/server/lib/git/credentials.js +0 -41
  299. package/server/lib/git/identity-storage.js +0 -122
  300. /package/dist/assets/{vendor-katex-CNckGUMB.js → vendor-katex-DZG0Ov6p.js} +0 -0
  301. /package/dist/assets/{vendor-katex-Cp579UoJ.css → vendor-katex-css-Cp579UoJ.css} +0 -0
  302. /package/dist/assets/{vendor-xterm-xterm-CrXqRur4.js → vendor-xterm-xterm-B-qIQCd3.js} +0 -0
  303. /package/dist/assets/{vendor-xterm-xterm-DDGTF8rc.css → vendor-xterm-xterm-css-DDGTF8rc.css} +0 -0
@@ -1 +0,0 @@
1
- import{L as p,E as i,C as _}from"./vendor-lezer-lr-bhwg1HMg.js";import{s as b,a as $}from"./vendor-lezer-highlight-CDMHUZ74.js";const U=168,s=169,v=170,u=1,W=2,h=3,x=171,g=172,Y=4,w=173,V=5,E=174,z=175,T=176,X=177,Z=6,G=7,N=8,C=9,c=0,r=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],I=58,D=40,P=95,F=91,l=45,L=46,m=35,K=37,k=123,A=125,S=47,d=42,n=10,q=61,B=43,H=38;function o(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function y(O){return O>=48&&O<=57}function f(O){let e;return O.next==S&&((e=O.peek(1))==S||e==d)}const M=new i((O,e)=>{if(e.dialectEnabled(c)){let Q;if(O.next<0&&e.canShift(T))O.acceptToken(T);else if(((Q=O.peek(-1))==n||Q<0)&&e.canShift(z)){let t=0;for(;O.next!=n&&r.includes(O.next);)O.advance(),t++;O.next==n||f(O)?O.acceptToken(z,-t):t&&O.acceptToken(X)}else if(O.next==n)O.acceptToken(E,1);else if(r.includes(O.next)){for(O.advance();O.next!=n&&r.includes(O.next);)O.advance();O.acceptToken(X)}}else{let Q=0;for(;r.includes(O.next);)O.advance(),Q++;Q&&O.acceptToken(X)}},{contextual:!0}),J=new i((O,e)=>{if(f(O)){if(O.advance(),e.dialectEnabled(c)){let Q=-1;for(let t=1;;t++){let a=O.peek(-t-1);if(a==n||a<0){Q=t+1;break}else if(!r.includes(a))break}if(Q>-1){let t=O.next==d,a=0;for(O.advance();O.next>=0;)if(O.next==n){O.advance();let R=0;for(;O.next!=n&&r.includes(O.next);)R++,O.advance();if(R<Q){a=-R-1;break}}else if(t&&O.next==d&&O.peek(1)==S){a=2;break}else O.advance();O.acceptToken(t?G:Z,a);return}}if(O.next==S){for(;O.next!=n&&O.next>=0;)O.advance();O.acceptToken(Z)}else{for(O.advance();O.next>=0;){let{next:Q}=O;if(O.advance(),Q==d&&O.next==S){O.advance();break}}O.acceptToken(G)}}}),OO=new i((O,e)=>{(O.next==B||O.next==q)&&e.dialectEnabled(c)&&O.acceptToken(O.next==q?N:C,1)}),$O=new i((O,e)=>{if(!e.dialectEnabled(c))return;let Q=e.context.depth;if(O.next<0&&Q){O.acceptToken(s);return}if(O.peek(-1)==n){let a=0;for(;O.next!=n&&r.includes(O.next);)O.advance(),a++;a!=Q&&O.next!=n&&!f(O)&&(a<Q?O.acceptToken(s,-a):O.acceptToken(U))}}),eO=new i((O,e)=>{for(let Q=!1,t=0,a=0;;a++){let{next:R}=O;if(o(R)||R==l||R==P||Q&&y(R))!Q&&(R!=l||a>0)&&(Q=!0),t===a&&R==l&&t++,O.advance();else if(R==m&&O.peek(1)==k){O.acceptToken(V,2);break}else{Q&&O.acceptToken(t==2&&e.canShift(Y)?Y:e.canShift(w)?w:R==D?x:g);break}}}),QO=new i(O=>{if(O.next==A){for(O.advance();o(O.next)||O.next==l||O.next==P||y(O.next);)O.advance();O.next==m&&O.peek(1)==k?O.acceptToken(W,2):O.acceptToken(u)}}),tO=new i(O=>{if(r.includes(O.peek(-1))){let{next:e}=O;(o(e)||e==P||e==m||e==L||e==F||e==I&&o(O.peek(1))||e==l||e==H||e==d)&&O.acceptToken(v)}}),aO=new i(O=>{if(!r.includes(O.peek(-1))){let{next:e}=O;if(e==K&&(O.advance(),O.acceptToken(h)),o(e)){do O.advance();while(o(O.next)||y(O.next));O.acceptToken(h)}}});function j(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const RO=new j(null,0),nO=new _({start:RO,shift(O,e,Q,t){return e==U?new j(O,Q.pos-t.pos):e==s?O.parent:O},hash(O){return O.hash}}),rO=b({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.definitionKeyword,"Keyword selector":$.keyword,ControlKeyword:$.controlKeyword,NamespaceName:$.namespace,KeyframeName:$.labelName,KeyframeRangeName:$.operatorKeyword,TagName:$.tagName,"ClassName Suffix":$.className,PseudoClassName:$.constant($.className),IdName:$.labelName,"FeatureName PropertyName":$.propertyName,AttributeName:$.attributeName,NumberLiteral:$.number,KeywordQuery:$.keyword,UnaryQueryOp:$.operatorKeyword,"CallTag ValueName":$.atom,VariableName:$.variableName,SassVariableName:$.special($.variableName),Callee:$.operatorKeyword,Unit:$.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.definitionOperator,MatchOp:$.compareOperator,"ChildOp SiblingOp, LogicOp":$.logicOperator,BinOp:$.arithmeticOperator,"Important Global Default":$.modifier,Comment:$.blockComment,LineComment:$.lineComment,ColorLiteral:$.color,"ParenthesizedContent StringLiteral":$.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.meta,': "..."':$.punctuation,"PseudoOp #":$.derefOperator,"; ,":$.separator,"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace}),iO={__proto__:null,not:62,using:197,as:207,with:211,without:211,hide:225,show:225,if:263,from:269,to:271,through:273,in:279},oO={__proto__:null,url:82,"url-prefix":82,domain:82,regexp:82,lang:104,"nth-child":104,"nth-last-child":104,"nth-of-type":104,"nth-last-of-type":104,dir:104,"host-context":104},lO={__proto__:null,"@import":162,"@include":194,"@mixin":200,"@function":200,"@use":204,"@extend":214,"@at-root":218,"@forward":222,"@media":228,"@charset":232,"@namespace":236,"@keyframes":242,"@supports":254,"@if":258,"@else":260,"@for":266,"@each":276,"@while":282,"@debug":286,"@warn":286,"@error":286,"@return":286},SO={__proto__:null,layer:166,not:184,only:184,selector:190},XO=p.deserialize({version:14,states:"!$WQ`Q+tOOO#fQ+tOOP#mOpOOOOQ#U'#Ch'#ChO#rQ(pO'#CjOOQ#U'#Ci'#CiO%_Q)QO'#GXO%rQ.jO'#CnO&mQ#dO'#D]O'dQ(pO'#CgO'kQ)OO'#D_O'vQ#dO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%u$O$a%v&Q&j'S'V'^'t(U(Y(^(w)UQ&S$cS&W$e&YQ&g$wQ&{%_Q'O%bQ'X%{Q'f&XQ(`'bQ(h'qQ(t(QR(u(SR%x$OR&R$aR&P$`QzPQ$^!fR%}$_X#ly#j#m%eQ#VhQ#_mQ$h!uR&^$iW#Rhm!u$iQ#^lQ$|#QQ%S#SQ&m%PQ&n%QQ'p&dR(f'oQ%O#QQ'v&kR)R(nQ#apQ$k!vQ$n!xQ$q!zQ$v#OQ%V#WQ%W#YQ%]#_Q%d#hQ&]$hQ&f$uQ&q%XQ'k&^Q'l&_S'm&`&bQ(k'sQ(}(eR)Q(jR&h$wR#ft",nodeNames:"⚠ InterpolationEnd InterpolationContinue Unit VariableName InterpolationStart LineComment Comment IndentedMixin IndentedInclude StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector SuffixedSelector Suffix Interpolation SassVariableName ValueName ) ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp LogicOp UnaryExpression LogicOp NamespacedValue . CallExpression Callee ArgList : ... , CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName ClassSelector ClassName PseudoClassSelector :: PseudoClassName PseudoClassName ArgList PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp PlaceholderSelector ClassName Block { Declaration PropertyName Map Important Global Default ; } ImportStatement AtKeyword import Layer layer LayerName KeywordQuery FeatureQuery FeatureName BinaryQuery ComparisonQuery CompareOp UnaryQuery LogicOp ParenthesizedQuery SelectorQuery selector IncludeStatement include Keyword MixinStatement mixin UseStatement use Keyword Star Keyword ExtendStatement extend RootStatement at-root ForwardStatement forward Keyword MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports IfStatement ControlKeyword ControlKeyword Keyword ForStatement ControlKeyword Keyword Keyword Keyword EachStatement ControlKeyword Keyword WhileStatement ControlKeyword OutputStatement ControlKeyword AtRule Styles",maxTerm:196,context:nO,nodeProps:[["openedBy",1,"InterpolationStart",5,"InterpolationEnd",21,"(",43,"[",78,"{"],["isolate",-3,6,7,26,""],["closedBy",22,")",44,"]",70,"}"]],propSources:[rO],skippedNodes:[0,6,7,146],repeatNodeCount:21,tokenData:"!$Q~RyOq#rqr$jrs0jst2^tu8{uv;hvw;{wx<^xy={yz>^z{>c{|>||}Co}!ODQ!O!PDo!P!QFY!Q![Fk![!]Gf!]!^Hb!^!_Hs!_!`Is!`!aJ^!a!b#r!b!cKa!c!}#r!}#OMn#O#P#r#P#QNP#Q#RNb#R#T#r#T#UNw#U#c#r#c#d!!Y#d#o#r#o#p!!o#p#qNb#q#r!#Q#r#s!#c#s;'S#r;'S;=`!#z<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSzWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSzWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UzWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUzWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UzWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUzWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UzWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUzWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!nQzWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UzWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUzWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UzWOy$Rz#U$R#U#V*r#V;'S$R;'S;=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_NUS{VOy$Rz;'S$R;'S;=`$d<%lO$R[NeUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RkNzUOy$Rz#b$R#b#c! ^#c;'S$R;'S;=`$d<%lO$Rk! cUzWOy$Rz#W$R#W#X! u#X;'S$R;'S;=`$d<%lO$Rk! |SmczWOy$Rz;'S$R;'S;=`$d<%lO$Rk!!]UOy$Rz#f$R#f#g! u#g;'S$R;'S;=`$d<%lO$RZ!!tS!hROy$Rz;'S$R;'S;=`$d<%lO$RZ!#VS!pROy$Rz;'S$R;'S;=`$d<%lO$R]!#hU!dPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!#}P;=`<%l#r",tokenizers:[$O,tO,QO,aO,eO,M,J,OO,0,1,2,3,4],topRules:{StyleSheet:[0,10],Styles:[1,145]},dialects:{indented:0},specialized:[{term:172,get:O=>iO[O]||-1},{term:171,get:O=>oO[O]||-1},{term:80,get:O=>lO[O]||-1},{term:173,get:O=>SO[O]||-1}],tokenPrec:3217});export{XO as p};
@@ -1 +0,0 @@
1
- import{L as c,E as i,C as g}from"./vendor-lezer-lr-bhwg1HMg.js";import{s as W,a as t}from"./vendor-lezer-highlight-CDMHUZ74.js";const $=1,T=2,v=3,w=4,C=5,d=36,p=37,Q=38,m=11,X=13;function V(O){return O==45||O==46||O==58||O>=65&&O<=90||O==95||O>=97&&O<=122||O>=161}function _(O){return O==9||O==10||O==13||O==32}let l=null,q=null,x=0;function S(O,o){let r=O.pos+o;if(q==O&&x==r)return l;for(;_(O.peek(o));)o++;let e="";for(;;){let s=O.peek(o);if(!V(s))break;e+=String.fromCharCode(s),o++}return q=O,x=r,l=e||null}function P(O,o){this.name=O,this.parent=o}const b=new g({start:null,shift(O,o,r,e){return o==$?new P(S(e,1)||"",O):O},reduce(O,o){return o==m&&O?O.parent:O},reuse(O,o,r,e){let s=o.type.id;return s==$||s==X?new P(S(e,1)||"",O):O},strict:!1}),f=new i((O,o)=>{if(O.next==60){if(O.advance(),O.next==47){O.advance();let r=S(O,0);if(!r)return O.acceptToken(C);if(o.context&&r==o.context.name)return O.acceptToken(T);for(let e=o.context;e;e=e.parent)if(e.name==r)return O.acceptToken(v,-2);O.acceptToken(w)}else if(O.next!=33&&O.next!=63)return O.acceptToken($)}},{contextual:!0});function n(O,o){return new i(r=>{let e=0,s=o.charCodeAt(0);O:for(;!(r.next<0);r.advance(),e++)if(r.next==s){for(let a=1;a<o.length;a++)if(r.peek(a)!=o.charCodeAt(a))continue O;break}e&&r.acceptToken(O)})}const u=n(d,"-->"),R=n(p,"?>"),z=n(Q,"]]>"),G=W({Text:t.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":t.angleBracket,TagName:t.tagName,"MismatchedCloseTag/TagName":[t.tagName,t.invalid],AttributeName:t.attributeName,AttributeValue:t.attributeValue,Is:t.definitionOperator,"EntityReference CharacterReference":t.character,Comment:t.blockComment,ProcessingInst:t.processingInstruction,DoctypeDecl:t.documentMeta,Cdata:t.special(t.string)}),y=c.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS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bXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:50,context:b,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[G],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP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(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[f,u,R,z,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});export{y as p};
@@ -1 +0,0 @@
1
- import{L as G,E as k,C as V}from"./vendor-lezer-lr-bhwg1HMg.js";import{s as _,a as r}from"./vendor-lezer-highlight-CDMHUZ74.js";const f=63,D=64,Z=1,w=2,U=3,E=4,W=5,L=6,B=7,Y=65,M=66,j=8,A=9,H=10,N=11,I=12,y=13,K=19,F=20,J=29,u=33,OO=34,eO=47,aO=0,T=1,x=2,R=3,i=4;class n{constructor(e,a,Q){this.parent=e,this.depth=a,this.type=Q,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+Q}}n.top=new n(null,-1,aO);function X(O,e){for(let a=0,Q=e-O.pos-1;;Q--,a++){let t=O.peek(Q);if(s(t)||t==-1)return a}}function g(O){return O==32||O==9}function s(O){return O==10||O==13}function p(O){return g(O)||s(O)}function c(O){return O<0||p(O)}const QO=new V({start:n.top,reduce(O,e){return O.type==R&&(e==F||e==OO)?O.parent:O},shift(O,e,a,Q){if(e==U)return new n(O,X(Q,Q.pos),T);if(e==Y||e==W)return new n(O,X(Q,Q.pos),x);if(e==f)return O.parent;if(e==K||e==u)return new n(O,0,R);if(e==y&&O.type==i)return O.parent;if(e==eO){let t=/[1-9]/.exec(Q.read(Q.pos,a.pos));if(t)return new n(O,O.depth+ +t[0],i)}return O},hash(O){return O.hash}});function l(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&c(O.peek(a+3))}const PO=new k((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((s(a)||a<0)&&e.context.type!=R){if(l(O,45))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(Z,3);if(l(O,46))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(w,3);let Q=0;for(;O.next==32;)Q++,O.advance();(Q<e.context.depth||Q==e.context.depth&&e.context.type==T&&(O.next!=45||!c(O.peek(1))))&&O.next!=-1&&!s(O.next)&&O.next!=35&&O.acceptToken(f,-Q)}},{contextual:!0}),rO=new k((O,e)=>{if(e.context.type==R){O.next==63&&(O.advance(),c(O.next)&&O.acceptToken(B));return}if(O.next==45)O.advance(),c(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?E:U);else if(O.next==63)O.advance(),c(O.next)&&O.acceptToken(e.context.type==x&&e.context.depth==X(O,O.pos-1)?L:W);else{let a=O.pos;for(;;)if(g(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)z(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(h(O,!0))break;return}else if(O.next==91||O.next==123){if(!sO(O))return;break}else{C(O,!0,!1,0);break}for(;g(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(J))return;let Q=O.peek(1);c(Q)&&O.acceptTokenTo(e.context.type==x&&e.context.depth==X(O,a)?M:Y,a)}}},{contextual:!0});function tO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function m(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):tO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function z(O){if(O.advance(),O.next==60){for(O.advance();;)if(!m(O,!0)){O.next==62&&O.advance();break}}else for(;m(O,!1););}function $(O){for(O.advance();!c(O.next)&&S(O.next)!="f";)O.advance()}function h(O,e){let a=O.next,Q=!1,t=O.pos;for(O.advance();;){let P=O.next;if(P<0)break;if(O.advance(),P==a)if(P==39)if(O.next==39)O.advance();else break;else break;else if(P==92&&a==34)O.next>=0&&O.advance();else if(s(P)){if(e)return!1;Q=!0}else if(e&&O.pos>=t+1024)return!1}return!Q}function sO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!h(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||s(O.next))return!1;O.advance()}}const oO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":oO[O-33]}function b(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function C(O,e,a,Q){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&b(O.peek(1),a))O.advance();else return!1;let t=O.pos;for(;;){let P=O.next,o=0,d=Q+1;for(;p(P);){if(s(P)){if(e)return!1;d=0}else d++;P=O.peek(++o)}if(!(P>=0&&(P==58?b(O.peek(o+1),a):P==35?O.peek(o-1)!=32:b(P,a)))||!a&&d<=Q||d==0&&!a&&(l(O,45,o)||l(O,46,o)))break;if(e&&S(P)=="f")return!1;for(let v=o;v>=0;v--)O.advance();if(e&&O.pos>t+1024)return!1}return!0}const nO=new k((O,e)=>{if(O.next==33)z(O),O.acceptToken(I);else if(O.next==38||O.next==42){let a=O.next==38?H:N;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(h(O,!1),O.acceptToken(A)):C(O,!1,e.context.type==R,e.context.depth)&&O.acceptToken(j)}),cO=new k((O,e)=>{let a=e.context.type==i?e.context.depth:-1,Q=O.pos;O:for(;;){let t=0,P=O.next;for(;P==32;)P=O.peek(++t);if(!t&&(l(O,45,t)||l(O,46,t))||!s(P)&&(a<0&&(a=Math.max(e.context.depth+1,t)),t<a))break;for(;;){if(O.next<0)break O;let o=s(O.next);if(O.advance(),o)continue O;Q=O.pos}}O.acceptTokenTo(y,Q)}),fO=_({DirectiveName:r.keyword,DirectiveContent:r.attributeValue,"DirectiveEnd DocEnd":r.meta,QuotedLiteral:r.string,BlockLiteralHeader:r.special(r.string),BlockLiteralContent:r.content,Literal:r.content,"Key/Literal Key/QuotedLiteral":r.definition(r.propertyName),"Anchor Alias":r.labelName,Tag:r.typeName,Comment:r.lineComment,": , -":r.separator,"?":r.punctuation,"[ ]":r.squareBracket,"{ }":r.brace}),dO=G.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR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PPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:QO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"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,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,n=0;e<t.length;e++)(e%2?d:a).push(n=n+t[e])})();function h(t){if(t<768)return!1;for(let e=0,n=a.length;;){let r=e+n>>1;if(t<a[r])n=r;else if(t>=d[r])e=r+1;else return!0;if(e==n)return!1}}function c(t){return t>=127462&&t<=127487}const g=8205;function w(t,e,n=!0,r=!0){return(n?b:k)(t,e,r)}function b(t,e,n){if(e==t.length)return e;e&&o(t.charCodeAt(e))&&m(t.charCodeAt(e-1))&&e--;let r=u(t,e);for(e+=x(r);e<t.length;){let f=u(t,e);if(r==g||f==g||n&&h(f))e+=x(f),r=f;else if(c(f)){let l=0,i=e-2;for(;i>=0&&c(u(t,i));)l++,i-=2;if(l%2==0)break;e+=2}else break}return e}function k(t,e,n){for(;e>0;){let r=b(t,e-2,n);if(r<e)return r;e--}return 0}function u(t,e){let n=t.charCodeAt(e);if(!m(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return o(r)?(n-55296<<10)+(r-56320)+65536:n}function o(t){return t>=56320&&t<57344}function m(t){return t>=55296&&t<56320}function x(t){return t<65536?1:2}export{w as f};
@@ -1 +0,0 @@
1
- import{M as _,n as ht,c as X,p as ye,m as K,v as Us,s as $,i as Ks,a as ge,b as rn,e as je,d as on,f as Ws,g as an,h as ln,j as cn,k as un,l as $s,S as Te,o as zs,q as _s,r as hn,t as Xs,u as Gt}from"./vendor-motion-utils-CKEGc_YG.js";const Vt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function fn(t,e){let s=new Set,i=new Set,n=!1,a=!1;const r=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(u){r.has(u)&&(c.schedule(u),t()),u(o)}const c={schedule:(u,h=!1,f=!1)=>{const m=f&&n?s:i;return h&&r.add(u),m.has(u)||m.add(u),u},cancel:u=>{i.delete(u),r.delete(u)},process:u=>{if(o=u,n){a=!0;return}n=!0,[s,i]=[i,s],s.forEach(l),s.clear(),n=!1,a&&(a=!1,c.process(u))}};return c}const dn=40;function Ys(t,e){let s=!1,i=!0;const n={delta:0,timestamp:0,isProcessing:!1},a=()=>s=!0,r=Vt.reduce((y,V)=>(y[V]=fn(a),y),{}),{setup:o,read:l,resolveKeyframes:c,preUpdate:u,update:h,preRender:f,render:d,postRender:m}=r,x=()=>{const y=_.useManualTiming?n.timestamp:performance.now();s=!1,_.useManualTiming||(n.delta=i?1e3/60:Math.max(Math.min(y-n.timestamp,dn),1)),n.timestamp=y,n.isProcessing=!0,o.process(n),l.process(n),c.process(n),u.process(n),h.process(n),f.process(n),d.process(n),m.process(n),n.isProcessing=!1,s&&e&&(i=!1,t(x))},T=()=>{s=!0,i=!0,n.isProcessing||t(x)};return{schedule:Vt.reduce((y,V)=>{const v=r[V];return y[V]=(S,D=!1,b=!1)=>(s||T(),v.schedule(S,D,b)),y},{}),cancel:y=>{for(let V=0;V<Vt.length;V++)r[Vt[V]].cancel(y)},state:n,steps:r}}const{schedule:E,cancel:et,state:B,steps:It}=Ys(typeof requestAnimationFrame<"u"?requestAnimationFrame:ht,!0);let wt;function pn(){wt=void 0}const k={now:()=>(wt===void 0&&k.set(B.isProcessing||_.useManualTiming?B.timestamp:performance.now()),wt),set:t=>{wt=t,queueMicrotask(pn)}},Hs=t=>e=>typeof e=="string"&&e.startsWith(t),Gs=Hs("--"),mn=Hs("var(--"),ve=t=>mn(t)?yn.test(t.split("/*")[0].trim()):!1,yn=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ne(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const ft={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},xt={...ft,transform:t=>X(0,1,t)},St={...ft,default:1},gt=t=>Math.round(t*1e5)/1e5,xe=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gn(t){return t==null}const Tn=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ae=(t,e)=>s=>!!(typeof s=="string"&&Tn.test(s)&&s.startsWith(t)||e&&!gn(s)&&Object.prototype.hasOwnProperty.call(s,e)),qs=(t,e,s)=>i=>{if(typeof i!="string")return i;const[n,a,r,o]=i.match(xe);return{[t]:parseFloat(n),[e]:parseFloat(a),[s]:parseFloat(r),alpha:o!==void 0?parseFloat(o):1}},vn=t=>X(0,255,t),Ot={...ft,transform:t=>Math.round(vn(t))},J={test:Ae("rgb","red"),parse:qs("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:i=1})=>"rgba("+Ot.transform(t)+", "+Ot.transform(e)+", "+Ot.transform(s)+", "+gt(xt.transform(i))+")"};function xn(t){let e="",s="",i="",n="";return t.length>5?(e=t.substring(1,3),s=t.substring(3,5),i=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),s=t.substring(2,3),i=t.substring(3,4),n=t.substring(4,5),e+=e,s+=s,i+=i,n+=n),{red:parseInt(e,16),green:parseInt(s,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}}const qt={test:Ae("#"),parse:xn,transform:J.transform},bt=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Y=bt("deg"),z=bt("%"),p=bt("px"),An=bt("vh"),bn=bt("vw"),Ue={...z,parse:t=>z.parse(t)/100,transform:t=>z.transform(t*100)},nt={test:Ae("hsl","hue"),parse:qs("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:i=1})=>"hsla("+Math.round(t)+", "+z.transform(gt(e))+", "+z.transform(gt(s))+", "+gt(xt.transform(i))+")"},P={test:t=>J.test(t)||qt.test(t)||nt.test(t),parse:t=>J.test(t)?J.parse(t):nt.test(t)?nt.parse(t):qt.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?J.transform(t):nt.transform(t),getAnimatableNone:t=>{const e=P.parse(t);return e.alpha=0,P.transform(e)}},Vn=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Sn(t){return isNaN(t)&&typeof t=="string"&&(t.match(xe)?.length||0)+(t.match(Vn)?.length||0)>0}const Zs="number",Js="color",wn="var",Pn="var(",Ke="${}",Dn=/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 At(t){const e=t.toString(),s=[],i={color:[],number:[],var:[]},n=[];let a=0;const o=e.replace(Dn,l=>(P.test(l)?(i.color.push(a),n.push(Js),s.push(P.parse(l))):l.startsWith(Pn)?(i.var.push(a),n.push(wn),s.push(l)):(i.number.push(a),n.push(Zs),s.push(parseFloat(l))),++a,Ke)).split(Ke);return{values:s,split:o,indexes:i,types:n}}function Qs(t){return At(t).values}function ti(t){const{split:e,types:s}=At(t),i=e.length;return n=>{let a="";for(let r=0;r<i;r++)if(a+=e[r],n[r]!==void 0){const o=s[r];o===Zs?a+=gt(n[r]):o===Js?a+=P.transform(n[r]):a+=n[r]}return a}}const Rn=t=>typeof t=="number"?0:P.test(t)?P.getAnimatableNone(t):t;function Mn(t){const e=Qs(t);return ti(t)(e.map(Rn))}const W={test:Sn,parse:Qs,createTransformer:ti,getAnimatableNone:Mn};function jt(t,e,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(e-t)*6*s:s<1/2?e:s<2/3?t+(e-t)*(2/3-s)*6:t}function Cn({hue:t,saturation:e,lightness:s,alpha:i}){t/=360,e/=100,s/=100;let n=0,a=0,r=0;if(!e)n=a=r=s;else{const o=s<.5?s*(1+e):s+e-s*e,l=2*s-o;n=jt(l,o,t+1/3),a=jt(l,o,t),r=jt(l,o,t-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(r*255),alpha:i}}function Ct(t,e){return s=>s>0?e:t}const M=(t,e,s)=>t+(e-t)*s,Nt=(t,e,s)=>{const i=t*t,n=s*(e*e-i)+i;return n<0?0:Math.sqrt(n)},Bn=[qt,J,nt],En=t=>Bn.find(e=>e.test(t));function We(t){const e=En(t);if(!e)return!1;let s=e.parse(t);return e===nt&&(s=Cn(s)),s}const $e=(t,e)=>{const s=We(t),i=We(e);if(!s||!i)return Ct(t,e);const n={...s};return a=>(n.red=Nt(s.red,i.red,a),n.green=Nt(s.green,i.green,a),n.blue=Nt(s.blue,i.blue,a),n.alpha=M(s.alpha,i.alpha,a),J.transform(n))},Zt=new Set(["none","hidden"]);function kn(t,e){return Zt.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function Fn(t,e){return s=>M(t,e,s)}function be(t){return typeof t=="number"?Fn:typeof t=="string"?ve(t)?Ct:P.test(t)?$e:On:Array.isArray(t)?ei:typeof t=="object"?P.test(t)?$e:Ln:Ct}function ei(t,e){const s=[...t],i=s.length,n=t.map((a,r)=>be(a)(a,e[r]));return a=>{for(let r=0;r<i;r++)s[r]=n[r](a);return s}}function Ln(t,e){const s={...t,...e},i={};for(const n in s)t[n]!==void 0&&e[n]!==void 0&&(i[n]=be(t[n])(t[n],e[n]));return n=>{for(const a in i)s[a]=i[a](n);return s}}function In(t,e){const s=[],i={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){const a=e.types[n],r=t.indexes[a][i[a]],o=t.values[r]??0;s[n]=o,i[a]++}return s}const On=(t,e)=>{const s=W.createTransformer(e),i=At(t),n=At(e);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?Zt.has(t)&&!n.values.length||Zt.has(e)&&!i.values.length?kn(t,e):ye(ei(In(i,n),n.values),s):Ct(t,e)};function si(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?M(t,e,s):be(t)(t,e)}const jn=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>E.update(e,s),stop:()=>et(e),now:()=>B.isProcessing?B.timestamp:k.now()}},ii=(t,e,s=10)=>{let i="";const n=Math.max(Math.round(e/s),2);for(let a=0;a<n;a++)i+=Math.round(t(a/(n-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},Bt=2e4;function Ve(t){let e=0;const s=50;let i=t.next(e);for(;!i.done&&e<Bt;)e+=s,i=t.next(e);return e>=Bt?1/0:e}function Nn(t,e=100,s){const i=s({...t,keyframes:[0,e]}),n=Math.min(Ve(i),Bt);return{type:"keyframes",ease:a=>i.next(n*a).value/e,duration:K(n)}}const Un=5;function ni(t,e,s){const i=Math.max(e-Un,0);return Us(s-t(i),e-i)}const w={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},Ut=.001;function Kn({duration:t=w.duration,bounce:e=w.bounce,velocity:s=w.velocity,mass:i=w.mass}){let n,a,r=1-e;r=X(w.minDamping,w.maxDamping,r),t=X(w.minDuration,w.maxDuration,K(t)),r<1?(n=c=>{const u=c*r,h=u*t,f=u-s,d=Jt(c,r),m=Math.exp(-h);return Ut-f/d*m},a=c=>{const h=c*r*t,f=h*s+s,d=Math.pow(r,2)*Math.pow(c,2)*t,m=Math.exp(-h),x=Jt(Math.pow(c,2),r);return(-n(c)+Ut>0?-1:1)*((f-d)*m)/x}):(n=c=>{const u=Math.exp(-c*t),h=(c-s)*t+1;return-Ut+u*h},a=c=>{const u=Math.exp(-c*t),h=(s-c)*(t*t);return u*h});const o=5/t,l=$n(n,a,o);if(t=$(t),isNaN(l))return{stiffness:w.stiffness,damping:w.damping,duration:t};{const c=Math.pow(l,2)*i;return{stiffness:c,damping:r*2*Math.sqrt(i*c),duration:t}}}const Wn=12;function $n(t,e,s){let i=s;for(let n=1;n<Wn;n++)i=i-t(i)/e(i);return i}function Jt(t,e){return t*Math.sqrt(1-e*e)}const zn=["duration","bounce"],_n=["stiffness","damping","mass"];function ze(t,e){return e.some(s=>t[s]!==void 0)}function Xn(t){let e={velocity:w.velocity,stiffness:w.stiffness,damping:w.damping,mass:w.mass,isResolvedFromDuration:!1,...t};if(!ze(t,_n)&&ze(t,zn))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,i=2*Math.PI/(s*1.2),n=i*i,a=2*X(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:w.mass,stiffness:n,damping:a}}else{const s=Kn({...t,velocity:0});e={...e,...s,mass:w.mass},e.isResolvedFromDuration=!0}return e}function Et(t=w.visualDuration,e=w.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:n}=s;const a=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],o={done:!1,value:a},{stiffness:l,damping:c,mass:u,duration:h,velocity:f,isResolvedFromDuration:d}=Xn({...s,velocity:-K(s.velocity||0)}),m=f||0,x=c/(2*Math.sqrt(l*u)),T=r-a,g=K(Math.sqrt(l/u)),A=Math.abs(T)<5;i||(i=A?w.restSpeed.granular:w.restSpeed.default),n||(n=A?w.restDelta.granular:w.restDelta.default);let y;if(x<1){const v=Jt(g,x);y=S=>{const D=Math.exp(-x*g*S);return r-D*((m+x*g*T)/v*Math.sin(v*S)+T*Math.cos(v*S))}}else if(x===1)y=v=>r-Math.exp(-g*v)*(T+(m+g*T)*v);else{const v=g*Math.sqrt(x*x-1);y=S=>{const D=Math.exp(-x*g*S),b=Math.min(v*S,300);return r-D*((m+x*g*T)*Math.sinh(b)+v*T*Math.cosh(b))/v}}const V={calculatedDuration:d&&h||null,next:v=>{const S=y(v);if(d)o.done=v>=h;else{let D=v===0?m:0;x<1&&(D=v===0?$(m):ni(y,v,S));const b=Math.abs(D)<=i,F=Math.abs(r-S)<=n;o.done=b&&F}return o.value=o.done?r:S,o},toString:()=>{const v=Math.min(Ve(V),Bt),S=ii(D=>V.next(v*D).value,v,30);return v+"ms "+S},toTransition:()=>{}};return V}Et.applyToOptions=t=>{const e=Nn(t,100,Et);return t.ease=e.ease,t.duration=$(e.duration),t.type="keyframes",t};function Qt({keyframes:t,velocity:e=0,power:s=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:r,min:o,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],f={done:!1,value:h},d=b=>o!==void 0&&b<o||l!==void 0&&b>l,m=b=>o===void 0?l:l===void 0||Math.abs(o-b)<Math.abs(l-b)?o:l;let x=s*e;const T=h+x,g=r===void 0?T:r(T);g!==T&&(x=g-h);const A=b=>-x*Math.exp(-b/i),y=b=>g+A(b),V=b=>{const F=A(b),I=y(b);f.done=Math.abs(F)<=c,f.value=f.done?g:I};let v,S;const D=b=>{d(f.value)&&(v=b,S=Et({keyframes:[f.value,m(f.value)],velocity:ni(y,b,f.value),damping:n,stiffness:a,restDelta:c,restSpeed:u}))};return D(0),{calculatedDuration:null,next:b=>{let F=!1;return!S&&v===void 0&&(F=!0,V(b),D(b)),v!==void 0&&b>=v?S.next(b-v):(!F&&V(b),f)}}}function Yn(t,e,s){const i=[],n=s||_.mix||si,a=t.length-1;for(let r=0;r<a;r++){let o=n(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||ht:e;o=ye(l,o)}i.push(o)}return i}function Hn(t,e,{clamp:s=!0,ease:i,mixer:n}={}){const a=t.length;if(Ks(a===e.length),a===1)return()=>e[0];if(a===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=Yn(e,i,n),l=o.length,c=u=>{if(r&&u<t[0])return e[0];let h=0;if(l>1)for(;h<t.length-2&&!(u<t[h+1]);h++);const f=ge(t[h],t[h+1],u);return o[h](f)};return s?u=>c(X(t[0],t[a-1],u)):c}function Gn(t,e){const s=t[t.length-1];for(let i=1;i<=e;i++){const n=ge(0,e,i);t.push(M(s,1,n))}}function qn(t){const e=[0];return Gn(e,t.length-1),e}function Zn(t,e){return t.map(s=>s*e)}function Jn(t,e){return t.map(()=>e||on).splice(0,t.length-1)}function Tt({duration:t=300,keyframes:e,times:s,ease:i="easeInOut"}){const n=rn(i)?i.map(je):je(i),a={done:!1,value:e[0]},r=Zn(s&&s.length===e.length?s:qn(e),t),o=Hn(r,e,{ease:Array.isArray(n)?n:Jn(e,n)});return{calculatedDuration:t,next:l=>(a.value=o(l),a.done=l>=t,a)}}const Qn=t=>t!==null;function Se(t,{repeat:e,repeatType:s="loop"},i,n=1){const a=t.filter(Qn),o=n<0||e&&s!=="loop"&&e%2===1?0:a.length-1;return!o||i===void 0?a[o]:i}const tr={decay:Qt,inertia:Qt,tween:Tt,keyframes:Tt,spring:Et};function ri(t){typeof t.type=="string"&&(t.type=tr[t.type])}class we{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,s){return this.finished.then(e,s)}}const er=t=>t/100;class Pe extends we{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==k.now()&&this.tick(k.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(){const{options:e}=this;ri(e);const{type:s=Tt,repeat:i=0,repeatDelay:n=0,repeatType:a,velocity:r=0}=e;let{keyframes:o}=e;const l=s||Tt;l!==Tt&&typeof o[0]!="number"&&(this.mixKeyframes=ye(er,si(o[0],o[1])),o=[0,100]);const c=l({...e,keyframes:o});a==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...o].reverse(),velocity:-r})),c.calculatedDuration===null&&(c.calculatedDuration=Ve(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=c}updateTime(e){const s=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(e,s=!1){const{generator:i,totalDuration:n,mixKeyframes:a,mirroredGenerator:r,resolvedDuration:o,calculatedDuration:l}=this;if(this.startTime===null)return i.next(0);const{delay:c=0,keyframes:u,repeat:h,repeatType:f,repeatDelay:d,type:m,onUpdate:x,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),s?this.currentTime=e:this.updateTime(e);const g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),A=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let y=this.currentTime,V=i;if(h){const b=Math.min(this.currentTime,n)/o;let F=Math.floor(b),I=b%1;!I&&b>=1&&(I=1),I===1&&F--,F=Math.min(F,h+1),F%2&&(f==="reverse"?(I=1-I,d&&(I-=d/o)):f==="mirror"&&(V=r)),y=X(0,1,I)*o}const v=A?{done:!1,value:u[0]}:V.next(y);a&&(v.value=a(v.value));let{done:S}=v;!A&&l!==null&&(S=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);const D=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return D&&m!==Qt&&(v.value=Se(u,this.options,T,this.speed)),x&&x(v.value),D&&this.finish(),v}then(e,s){return this.finished.then(e,s)}get duration(){return K(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+K(e)}get time(){return K(this.currentTime)}set time(e){e=$(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(k.now());const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=K(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=jn,startTime:s}=this.options;this.driver||(this.driver=e(n=>this.tick(n))),this.options.onPlay?.();const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=s??i),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(k.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(),this.driver=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 sr(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Q=t=>t*180/Math.PI,te=t=>{const e=Q(Math.atan2(t[1],t[0]));return ee(e)},ir={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:te,rotateZ:te,skewX:t=>Q(Math.atan(t[1])),skewY:t=>Q(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},ee=t=>(t=t%360,t<0&&(t+=360),t),_e=te,Xe=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Ye=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),nr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Xe,scaleY:Ye,scale:t=>(Xe(t)+Ye(t))/2,rotateX:t=>ee(Q(Math.atan2(t[6],t[5]))),rotateY:t=>ee(Q(Math.atan2(-t[2],t[0]))),rotateZ:_e,rotate:_e,skewX:t=>Q(Math.atan(t[4])),skewY:t=>Q(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function se(t){return t.includes("scale")?1:0}function ie(t,e){if(!t||t==="none")return se(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,n;if(s)i=nr,n=s;else{const o=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ir,n=o}if(!n)return se(e);const a=i[e],r=n[1].split(",").map(or);return typeof a=="function"?a(r):r[a]}const rr=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return ie(s,e)};function or(t){return parseFloat(t.trim())}const dt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pt=new Set(dt),He=t=>t===ft||t===p,ar=new Set(["x","y","z"]),lr=dt.filter(t=>!ar.has(t));function cr(t){const e=[];return lr.forEach(s=>{const i=t.getValue(s);i!==void 0&&(e.push([s,i.get()]),i.set(s.startsWith("scale")?1:0))}),e}const H={width:({x:t},{paddingLeft:e="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),height:({y:t},{paddingTop:e="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>ie(e,"x"),y:(t,{transform:e})=>ie(e,"y")};H.translateX=H.x;H.translateY=H.y;const tt=new Set;let ne=!1,re=!1,oe=!1;function oi(){if(re){const t=Array.from(tt).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),s=new Map;e.forEach(i=>{const n=cr(i);n.length&&(s.set(i,n),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const n=s.get(i);n&&n.forEach(([a,r])=>{i.getValue(a)?.set(r)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}re=!1,ne=!1,tt.forEach(t=>t.complete(oe)),tt.clear()}function ai(){tt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(re=!0)})}function ur(){oe=!0,ai(),oi(),oe=!1}class De{constructor(e,s,i,n,a,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=i,this.motionValue=n,this.element=a,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(tt.add(this),ne||(ne=!0,E.read(ai),E.resolveKeyframes(oi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:i,motionValue:n}=this;if(e[0]===null){const a=n?.get(),r=e[e.length-1];if(a!==void 0)e[0]=a;else if(i&&s){const o=i.readValue(s,r);o!=null&&(e[0]=o)}e[0]===void 0&&(e[0]=r),n&&a===void 0&&n.set(e[0])}sr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),tt.delete(this)}cancel(){this.state==="scheduled"&&(tt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const hr=t=>t.startsWith("--");function fr(t,e,s){hr(e)?t.style.setProperty(e,s):t.style[e]=s}const dr={};function li(t,e){const s=Ws(t);return()=>dr[e]??s()}const pr=li(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),ci=li(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),yt=([t,e,s,i])=>`cubic-bezier(${t}, ${e}, ${s}, ${i})`,Ge={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yt([0,.65,.55,1]),circOut:yt([.55,0,1,.45]),backIn:yt([.31,.01,.66,-.59]),backOut:yt([.33,1.53,.69,.99])};function ui(t,e){if(t)return typeof t=="function"?ci()?ii(t,e):"ease-out":an(t)?yt(t):Array.isArray(t)?t.map(s=>ui(s,e)||Ge.easeOut):Ge[t]}function mr(t,e,s,{delay:i=0,duration:n=300,repeat:a=0,repeatType:r="loop",ease:o="easeOut",times:l}={},c=void 0){const u={[e]:s};l&&(u.offset=l);const h=ui(o,n);Array.isArray(h)&&(u.easing=h);const f={delay:i,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:a+1,direction:r==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),t.animate(u,f)}function hi(t){return typeof t=="function"&&"applyToOptions"in t}function yr({type:t,...e}){return hi(t)&&ci()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class fi extends we{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:s,name:i,keyframes:n,pseudoElement:a,allowFlatten:r=!1,finalKeyframe:o,onComplete:l}=e;this.isPseudoElement=!!a,this.allowFlatten=r,this.options=e,Ks(typeof e.type!="string");const c=yr(e);this.animation=mr(s,i,n,c,a),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const u=Se(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(u):fr(s,i,u),this.animation.cancel()}l?.(),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;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return K(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+K(e)}get time(){return K(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=$(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&pr()?(this.animation.timeline=e,ht):s(this)}}const di={anticipate:un,backInOut:cn,circInOut:ln};function gr(t){return t in di}function Tr(t){typeof t.ease=="string"&&gr(t.ease)&&(t.ease=di[t.ease])}const Kt=10;class vr extends fi{constructor(e){Tr(e),ri(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:s,onUpdate:i,onComplete:n,element:a,...r}=this.options;if(!s)return;if(e!==void 0){s.set(e);return}const o=new Pe({...r,autoplay:!1}),l=Math.max(Kt,k.now()-this.startTime),c=X(0,Kt,l-Kt);s.setWithVelocity(o.sample(Math.max(0,l-c)).value,o.sample(l).value,c),o.stop()}}const qe=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(W.test(t)||t==="0")&&!t.startsWith("url("));function xr(t){const e=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==e)return!0}function Ar(t,e,s,i){const n=t[0];if(n===null)return!1;if(e==="display"||e==="visibility")return!0;const a=t[t.length-1],r=qe(n,e),o=qe(a,e);return!r||!o?!1:xr(t)||(s==="spring"||hi(s))&&i}function ae(t){t.duration=0,t.type="keyframes"}const br=new Set(["opacity","clipPath","filter","transform"]),Vr=Ws(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Sr(t){const{motionValue:e,name:s,repeatDelay:i,repeatType:n,damping:a,type:r}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=e.owner.getProps();return Vr()&&s&&br.has(s)&&(s!=="transform"||!c)&&!l&&!i&&n!=="mirror"&&a!==0&&r!=="inertia"}const wr=40;class Pr extends we{constructor({autoplay:e=!0,delay:s=0,type:i="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:r="loop",keyframes:o,name:l,motionValue:c,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=k.now();const f={autoplay:e,delay:s,type:i,repeat:n,repeatDelay:a,repeatType:r,name:l,motionValue:c,element:u,...h},d=u?.KeyframeResolver||De;this.keyframeResolver=new d(o,(m,x,T)=>this.onKeyframesResolved(m,x,f,!T),l,c,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,s,i,n){this.keyframeResolver=void 0;const{name:a,type:r,velocity:o,delay:l,isHandoff:c,onUpdate:u}=i;this.resolvedAt=k.now(),Ar(e,a,r,o)||((_.instantAnimations||!l)&&u?.(Se(e,i,s)),e[0]=e[e.length-1],ae(i),i.repeat=0);const f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>wr?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...i,keyframes:e},d=!c&&Sr(f),m=f.motionValue?.owner?.current,x=d?new vr({...f,element:m}):new Pe(f);x.finished.then(()=>{this.notifyFinished()}).catch(ht),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}get finished(){return this._animation?this.animation.finished:this._finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ur()),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()}}class Dr{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,s){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=s}attachTimeline(e){const s=this.animations.map(i=>i.attachTimeline(e));return()=>{s.forEach((i,n)=>{i&&i(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return Ze(this.animations,"duration")}get iterationDuration(){return Ze(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(s=>s[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Ze(t,e){let s=0;for(let i=0;i<t.length;i++){const n=t[i][e];n!==null&&n>s&&(s=n)}return s}class Wa extends Dr{then(e,s){return this.finished.finally(e).then(()=>{})}}function pi(t,e,s,i=0,n=1){const a=Array.from(t).sort((c,u)=>c.sortNodePosition(u)).indexOf(e),r=t.size,o=(r-1)*i;return typeof s=="function"?s(a,r):n===1?a*i:o-a*i}const Rr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Mr(t){const e=Rr.exec(t);if(!e)return[,];const[,s,i,n]=e;return[`--${s??i}`,n]}function mi(t,e,s=1){const[i,n]=Mr(t);if(!i)return;const a=window.getComputedStyle(e).getPropertyValue(i);if(a){const r=a.trim();return $s(r)?parseFloat(r):r}return ve(n)?mi(n,e,s+1):n}const Cr={type:"spring",stiffness:500,damping:25,restSpeed:10},Br=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Er={type:"keyframes",duration:.8},kr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Fr=(t,{keyframes:e})=>e.length>2?Er:pt.has(t)?t.startsWith("scale")?Br(e[1]):Cr:kr,Lr=t=>t!==null;function Ir(t,{repeat:e,repeatType:s="loop"},i){const n=t.filter(Lr),a=e&&s!=="loop"&&e%2===1?0:n.length-1;return n[a]}function yi(t,e){if(t?.inherit&&e){const{inherit:s,...i}=t;return{...e,...i}}return t}function Re(t,e){const s=t?.[e]??t?.default??t;return s!==t?yi(s,t):s}function Or({when:t,delay:e,delayChildren:s,staggerChildren:i,staggerDirection:n,repeat:a,repeatType:r,repeatDelay:o,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const gi=(t,e,s,i={},n,a)=>r=>{const o=Re(i,t)||{},l=o.delay||i.delay||0;let{elapsed:c=0}=i;c=c-$(l);const u={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-c,onUpdate:f=>{e.set(f),o.onUpdate&&o.onUpdate(f)},onComplete:()=>{r(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:a?void 0:n};Or(o)||Object.assign(u,Fr(t,u)),u.duration&&(u.duration=$(u.duration)),u.repeatDelay&&(u.repeatDelay=$(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let h=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ae(u),u.delay===0&&(h=!0)),(_.instantAnimations||_.skipAnimations||n?.shouldSkipAnimations)&&(h=!0,ae(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,h&&!a&&e.get()!==void 0){const f=Ir(u.keyframes,o);if(f!==void 0){E.update(()=>{u.onUpdate(f),u.onComplete()});return}}return o.isSync?new Pe(u):new Pr(u)};function Je(t){const e=[{},{}];return t?.values.forEach((s,i)=>{e[0][i]=s.get(),e[1][i]=s.getVelocity()}),e}function Ti(t,e,s,i){if(typeof e=="function"){const[n,a]=Je(i);e=e(s!==void 0?s:t.custom,n,a)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[n,a]=Je(i);e=e(s!==void 0?s:t.custom,n,a)}return e}function ct(t,e,s){const i=t.getProps();return Ti(i,e,s!==void 0?s:i.custom,t)}const vi=new Set(["width","height","top","left","right","bottom",...dt]),Qe=30,jr=t=>!isNaN(parseFloat(t));class Nr{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{const n=k.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=k.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=jr(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){this.events[e]||(this.events[e]=new Te);const i=this.events[e].add(s);return e==="change"?()=>{i(),E.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,s){this.passiveEffect=e,this.stopPassiveEffect=s}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,s,i){this.set(s),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,s=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=k.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Qe)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Qe);return Us(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(e){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=e(s),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 ut(t,e){return new Nr(t,e)}const le=t=>Array.isArray(t);function Ur(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,ut(s))}function Kr(t){return le(t)?t[t.length-1]||0:t}function Wr(t,e){const s=ct(t,e);let{transitionEnd:i={},transition:n={},...a}=s||{};a={...a,...i};for(const r in a){const o=Kr(a[r]);Ur(t,r,o)}}const L=t=>!!(t&&t.getVelocity);function $r(t){return!!(L(t)&&t.add)}function zr(t,e){const s=t.getValue("willChange");if($r(s))return s.add(e);if(!s&&_.WillChange){const i=new _.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function Me(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const _r="framerAppearId",Xr="data-"+Me(_r);function xi(t){return t.props[Xr]}function Yr({protectedKeys:t,needsAnimating:e},s){const i=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,i}function Ai(t,e,{delay:s=0,transitionOverride:i,type:n}={}){let{transition:a,transitionEnd:r,...o}=e;const l=t.getDefaultTransition();a=a?yi(a,l):l;const c=a?.reduceMotion;i&&(a=i);const u=[],h=n&&t.animationState&&t.animationState.getState()[n];for(const f in o){const d=t.getValue(f,t.latestValues[f]??null),m=o[f];if(m===void 0||h&&Yr(h,f))continue;const x={delay:s,...Re(a||{},f)},T=d.get();if(T!==void 0&&!d.isAnimating&&!Array.isArray(m)&&m===T&&!x.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const V=xi(t);if(V){const v=window.MotionHandoffAnimation(V,f,E);v!==null&&(x.startTime=v,g=!0)}}zr(t,f);const A=c??t.shouldReduceMotion;d.start(gi(f,d,m,A&&vi.has(f)?{type:!1}:x,t,g));const y=d.animation;y&&u.push(y)}if(r){const f=()=>E.update(()=>{r&&Wr(t,r)});u.length?Promise.all(u).then(f):f()}return u}function ce(t,e,s={}){const i=ct(t,e,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:n=t.getDefaultTransition()||{}}=i||{};s.transitionOverride&&(n=s.transitionOverride);const a=i?()=>Promise.all(Ai(t,i,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:h}=n;return Hr(t,e,l,c,u,h,s)}:()=>Promise.resolve(),{when:o}=n;if(o){const[l,c]=o==="beforeChildren"?[a,r]:[r,a];return l().then(()=>c())}else return Promise.all([a(),r(s.delay)])}function Hr(t,e,s=0,i=0,n=0,a=1,r){const o=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),o.push(ce(l,e,{...r,delay:s+(typeof i=="function"?0:i)+pi(t.variantChildren,l,i,n,a)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}function Gr(t,e,s={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const n=e.map(a=>ce(t,a,s));i=Promise.all(n)}else if(typeof e=="string")i=ce(t,e,s);else{const n=typeof e=="function"?ct(t,e,s.custom):e;i=Promise.all(Ai(t,n,s))}return i.then(()=>{t.notify("AnimationComplete",e)})}const qr={test:t=>t==="auto",parse:t=>t},bi=t=>e=>e.test(t),Vi=[ft,p,z,Y,bn,An,qr],ts=t=>Vi.find(bi(t));function Zr(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||zs(t):!0}const Jr=new Set(["brightness","contrast","saturate","opacity"]);function Qr(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=s.match(xe)||[];if(!i)return t;const n=s.replace(i,"");let a=Jr.has(e)?1:0;return i!==s&&(a*=100),e+"("+a+n+")"}const to=/\b([a-z-]*)\(.*?\)/gu,ue={...W,getAnimatableNone:t=>{const e=t.match(to);return e?e.map(Qr).join(" "):t}},he={...W,getAnimatableNone:t=>{const e=W.parse(t);return W.createTransformer(t)(e.map(i=>typeof i=="number"?0:typeof i=="object"?{...i,alpha:1}:i))}},es={...ft,transform:Math.round},eo={rotate:Y,rotateX:Y,rotateY:Y,rotateZ:Y,scale:St,scaleX:St,scaleY:St,scaleZ:St,skew:Y,skewX:Y,skewY:Y,distance:p,translateX:p,translateY:p,translateZ:p,x:p,y:p,z:p,perspective:p,transformPerspective:p,opacity:xt,originX:Ue,originY:Ue,originZ:p},Ce={borderWidth:p,borderTopWidth:p,borderRightWidth:p,borderBottomWidth:p,borderLeftWidth:p,borderRadius:p,borderTopLeftRadius:p,borderTopRightRadius:p,borderBottomRightRadius:p,borderBottomLeftRadius:p,width:p,maxWidth:p,height:p,maxHeight:p,top:p,right:p,bottom:p,left:p,inset:p,insetBlock:p,insetBlockStart:p,insetBlockEnd:p,insetInline:p,insetInlineStart:p,insetInlineEnd:p,padding:p,paddingTop:p,paddingRight:p,paddingBottom:p,paddingLeft:p,paddingBlock:p,paddingBlockStart:p,paddingBlockEnd:p,paddingInline:p,paddingInlineStart:p,paddingInlineEnd:p,margin:p,marginTop:p,marginRight:p,marginBottom:p,marginLeft:p,marginBlock:p,marginBlockStart:p,marginBlockEnd:p,marginInline:p,marginInlineStart:p,marginInlineEnd:p,fontSize:p,backgroundPositionX:p,backgroundPositionY:p,...eo,zIndex:es,fillOpacity:xt,strokeOpacity:xt,numOctaves:es},so={...Ce,color:P,backgroundColor:P,outlineColor:P,fill:P,stroke:P,borderColor:P,borderTopColor:P,borderRightColor:P,borderBottomColor:P,borderLeftColor:P,filter:ue,WebkitFilter:ue,mask:he,WebkitMask:he},Si=t=>so[t],io=new Set([ue,he]);function wi(t,e){let s=Si(t);return io.has(s)||(s=W),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const no=new Set(["auto","none","0"]);function ro(t,e,s){let i=0,n;for(;i<t.length&&!n;){const a=t[i];typeof a=="string"&&!no.has(a)&&At(a).values.length&&(n=t[i]),i++}if(n&&s)for(const a of e)t[a]=wi(s,n)}class oo extends De{constructor(e,s,i,n,a){super(e,s,i,n,a,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:s,name:i}=this;if(!s||!s.current)return;super.readKeyframes();for(let u=0;u<e.length;u++){let h=e[u];if(typeof h=="string"&&(h=h.trim(),ve(h))){const f=mi(h,s.current);f!==void 0&&(e[u]=f),u===e.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!vi.has(i)||e.length!==2)return;const[n,a]=e,r=ts(n),o=ts(a),l=Ne(n),c=Ne(a);if(l!==c&&H[i]){this.needsMeasurement=!0;return}if(r!==o)if(He(r)&&He(o))for(let u=0;u<e.length;u++){const h=e[u];typeof h=="string"&&(e[u]=parseFloat(h))}else H[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,i=[];for(let n=0;n<e.length;n++)(e[n]===null||Zr(e[n]))&&i.push(n);i.length&&ro(e,i,s)}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=H[i](e.measureViewportBox(),window.getComputedStyle(e.current)),s[0]=this.measuredOrigin;const n=s[s.length-1];n!==void 0&&e.getValue(i,n).jump(n,!1)}measureEndState(){const{element:e,name:s,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const n=e.getValue(s);n&&n.jump(this.measuredOrigin,!1);const a=i.length-1,r=i[a];i[a]=H[s](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([o,l])=>{e.getValue(o).set(l)}),this.resolveNoneKeyframes()}}const ao=new Set(["opacity","clipPath","filter","transform"]);function Pi(t,e,s){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;e&&(i=e.current);const n=s?.[t]??i.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(i=>i!=null)}const Di=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function lo(t){return _s(t)&&"offsetHeight"in t}const{schedule:Ri}=Ys(queueMicrotask,!1),U={x:!1,y:!1};function Mi(){return U.x||U.y}function $a(t){return t==="x"||t==="y"?U[t]?null:(U[t]=!0,()=>{U[t]=!1}):U.x||U.y?null:(U.x=U.y=!0,()=>{U.x=U.y=!1})}function Ci(t,e){const s=Pi(t),i=new AbortController,n={passive:!0,...e,signal:i.signal};return[s,n,()=>i.abort()]}function co(t){return!(t.pointerType==="touch"||Mi())}function za(t,e,s={}){const[i,n,a]=Ci(t,s);return i.forEach(r=>{let o=!1,l=!1,c;const u=()=>{r.removeEventListener("pointerleave",m)},h=T=>{c&&(c(T),c=void 0),u()},f=T=>{o=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,h(T))},d=()=>{o=!0,window.addEventListener("pointerup",f,n),window.addEventListener("pointercancel",f,n)},m=T=>{if(T.pointerType!=="touch"){if(o){l=!0;return}h(T)}},x=T=>{if(!co(T))return;l=!1;const g=e(r,T);typeof g=="function"&&(c=g,r.addEventListener("pointerleave",m,n))};r.addEventListener("pointerenter",x,n),r.addEventListener("pointerdown",d,n)}),a}const Bi=(t,e)=>e?t===e?!0:Bi(t,e.parentElement):!1,uo=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,ho=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function fo(t){return ho.has(t.tagName)||t.isContentEditable===!0}const po=new Set(["INPUT","SELECT","TEXTAREA"]);function _a(t){return po.has(t.tagName)||t.isContentEditable===!0}const Pt=new WeakSet;function ss(t){return e=>{e.key==="Enter"&&t(e)}}function Wt(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const mo=(t,e)=>{const s=t.currentTarget;if(!s)return;const i=ss(()=>{if(Pt.has(s))return;Wt(s,"down");const n=ss(()=>{Wt(s,"up")}),a=()=>Wt(s,"cancel");s.addEventListener("keyup",n,e),s.addEventListener("blur",a,e)});s.addEventListener("keydown",i,e),s.addEventListener("blur",()=>s.removeEventListener("keydown",i),e)};function is(t){return uo(t)&&!Mi()}const ns=new WeakSet;function Xa(t,e,s={}){const[i,n,a]=Ci(t,s),r=o=>{const l=o.currentTarget;if(!is(o)||ns.has(o))return;Pt.add(l),s.stopPropagation&&ns.add(o);const c=e(l,o),u=(d,m)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Pt.has(l)&&Pt.delete(l),is(d)&&typeof c=="function"&&c(d,{success:m})},h=d=>{u(d,l===window||l===document||s.useGlobalTarget||Bi(l,d.target))},f=d=>{u(d,!1)};window.addEventListener("pointerup",h,n),window.addEventListener("pointercancel",f,n)};return i.forEach(o=>{(s.useGlobalTarget?window:o).addEventListener("pointerdown",r,n),lo(o)&&(o.addEventListener("focus",c=>mo(c,n)),!fo(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),a}function Be(t){return _s(t)&&"ownerSVGElement"in t}const Dt=new WeakMap;let Rt;const Ei=(t,e,s)=>(i,n)=>n&&n[0]?n[0][t+"Size"]:Be(i)&&"getBBox"in i?i.getBBox()[e]:i[s],yo=Ei("inline","width","offsetWidth"),go=Ei("block","height","offsetHeight");function To({target:t,borderBoxSize:e}){Dt.get(t)?.forEach(s=>{s(t,{get width(){return yo(t,e)},get height(){return go(t,e)}})})}function vo(t){t.forEach(To)}function xo(){typeof ResizeObserver>"u"||(Rt=new ResizeObserver(vo))}function Ao(t,e){Rt||xo();const s=Pi(t);return s.forEach(i=>{let n=Dt.get(i);n||(n=new Set,Dt.set(i,n)),n.add(e),Rt?.observe(i)}),()=>{s.forEach(i=>{const n=Dt.get(i);n?.delete(e),n?.size||Rt?.unobserve(i)})}}const Mt=new Set;let rt;function bo(){rt=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Mt.forEach(e=>e(t))},window.addEventListener("resize",rt)}function Vo(t){return Mt.add(t),rt||bo(),()=>{Mt.delete(t),!Mt.size&&typeof rt=="function"&&(window.removeEventListener("resize",rt),rt=void 0)}}function Ya(t,e){return typeof t=="function"?Vo(t):Ao(t,e)}function So(t){return Be(t)&&t.tagName==="svg"}const wo=[...Vi,P,W],Po=t=>wo.find(bi(t)),rs=()=>({translate:0,scale:1,origin:0,originPoint:0}),ot=()=>({x:rs(),y:rs()}),os=()=>({min:0,max:0}),R=()=>({x:os(),y:os()}),Do=new WeakMap;function ki(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Ee(t){return typeof t=="string"||Array.isArray(t)}const ke=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Fe=["initial",...ke];function Fi(t){return ki(t.animate)||Fe.some(e=>Ee(t[e]))}function Ro(t){return!!(Fi(t)||t.variants)}function Mo(t,e,s){for(const i in e){const n=e[i],a=s[i];if(L(n))t.addValue(i,n);else if(L(a))t.addValue(i,ut(n,{owner:t}));else if(a!==n)if(t.hasValue(i)){const r=t.getValue(i);r.liveStyle===!0?r.jump(n):r.hasAnimated||r.set(n)}else{const r=t.getStaticValue(i);t.addValue(i,ut(r!==void 0?r:n,{owner:t}))}}for(const i in s)e[i]===void 0&&t.removeValue(i);return e}const fe={current:null},Li={current:!1},Co=typeof window<"u";function Bo(){if(Li.current=!0,!!Co)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>fe.current=t.matches;t.addEventListener("change",e),e()}else fe.current=!1}const as=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let kt={};function Ha(t){kt=t}function Ga(){return kt}class Ii{scrapeMotionValuesFromProps(e,s,i){return{}}constructor({parent:e,props:s,presenceContext:i,reducedMotionConfig:n,skipAnimations:a,blockInitialAnimation:r,visualState:o},l={}){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=De,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=()=>{const d=k.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,E.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=s.initial?{...c}:{},this.renderState=u,this.parent=e,this.props=s,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=a,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=Fi(s),this.isVariantNode=Ro(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:h,...f}=this.scrapeMotionValuesFromProps(s,{},this);for(const d in f){const m=f[d];c[d]!==void 0&&L(m)&&m.set(c[d])}}mount(e){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=e,Do.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((s,i)=>this.bindToMotionValue(i,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Li.current||Bo(),this.shouldReduceMotion=fe.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(),et(this.notifyUpdate),et(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const s=this.features[e];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,s){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),s.accelerate&&ao.has(e)&&this.current instanceof HTMLElement){const{factory:r,keyframes:o,times:l,ease:c,duration:u}=s.accelerate,h=new fi({element:this.current,name:e,keyframes:o,times:l,ease:c,duration:$(u)}),f=r(h);this.valueSubscriptions.set(e,()=>{f(),h.cancel()});return}const i=pt.has(e);i&&this.onBindTransform&&this.onBindTransform();const n=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&E.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;typeof window<"u"&&window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,e,s)),this.valueSubscriptions.set(e,()=>{n(),a&&a(),s.owner&&s.stop()})}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 kt){const s=kt[e];if(!s)continue;const{isEnabled:i,Feature:n}=s;if(!this.features[e]&&n&&i(this.props)&&(this.features[e]=new n(this)),this.features[e]){const a=this.features[e];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):R()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,s){this.latestValues[e]=s}update(e,s){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let i=0;i<as.length;i++){const n=as[i];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const a="on"+n,r=e[a];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Mo(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){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(e),()=>s.variantChildren.delete(e)}addValue(e,s){const i=this.values.get(e);s!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,s),this.values.set(e,s),this.latestValues[e]=s.get())}removeValue(e){this.values.delete(e);const s=this.valueSubscriptions.get(e);s&&(s(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,s){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&s!==void 0&&(i=ut(s===null?void 0:s,{owner:this}),this.addValue(e,i)),i}readValue(e,s){let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&($s(i)||zs(i))?i=parseFloat(i):!Po(i)&&W.test(s)&&(i=wi(e,s)),this.setBaseTarget(e,L(i)?i.get():i)),L(i)?i.get():i}setBaseTarget(e,s){this.baseTarget[e]=s}getBaseTarget(e){const{initial:s}=this.props;let i;if(typeof s=="string"||typeof s=="object"){const a=Ti(this.props,s,this.presenceContext?.custom);a&&(i=a[e])}if(s&&i!==void 0)return i;const n=this.getBaseTargetFromProps(this.props,e);return n!==void 0&&!L(n)?n:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,s){return this.events[e]||(this.events[e]=new Te),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){Ri.render(this.render)}}class Oi extends Ii{constructor(){super(...arguments),this.KeyframeResolver=oo}sortInstanceNodePosition(e,s){return e.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(e,s){const i=e.style;return i?i[s]:void 0}removeValueFromRenderState(e,{vars:s,style:i}){delete s[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;L(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class qa{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Eo({top:t,left:e,right:s,bottom:i}){return{x:{min:e,max:s},y:{min:t,max:i}}}function Za({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function ko(t,e){if(!e)return t;const s=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:i.y,right:i.x}}function $t(t){return t===void 0||t===1}function de({scale:t,scaleX:e,scaleY:s}){return!$t(t)||!$t(e)||!$t(s)}function Z(t){return de(t)||ji(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ji(t){return ls(t.x)||ls(t.y)}function ls(t){return t&&t!=="0%"}function Ft(t,e,s){const i=t-s,n=e*i;return s+n}function cs(t,e,s,i,n){return n!==void 0&&(t=Ft(t,n,i)),Ft(t,s,i)+e}function pe(t,e=0,s=1,i,n){t.min=cs(t.min,e,s,i,n),t.max=cs(t.max,e,s,i,n)}function Ni(t,{x:e,y:s}){pe(t.x,e.translate,e.scale,e.originPoint),pe(t.y,s.translate,s.scale,s.originPoint)}const us=.999999999999,hs=1.0000000000001;function Fo(t,e,s,i=!1){const n=s.length;if(!n)return;e.x=e.y=1;let a,r;for(let o=0;o<n;o++){a=s[o],r=a.projectionDelta;const{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(i&&a.options.layoutScroll&&a.scroll&&a!==a.root&&lt(t,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Ni(t,r)),i&&Z(a.latestValues)&&lt(t,a.latestValues))}e.x<hs&&e.x>us&&(e.x=1),e.y<hs&&e.y>us&&(e.y=1)}function at(t,e){t.min=t.min+e,t.max=t.max+e}function fs(t,e,s,i,n=.5){const a=M(t.min,t.max,n);pe(t,e,s,a,i)}function lt(t,e){fs(t.x,e.x,e.scaleX,e.scale,e.originX),fs(t.y,e.y,e.scaleY,e.scale,e.originY)}function Ui(t,e){return Eo(ko(t.getBoundingClientRect(),e))}function Ja(t,e,s){const i=Ui(t,s),{scroll:n}=e;return n&&(at(i.x,n.offset.x),at(i.y,n.offset.y)),i}const Lo={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Io=dt.length;function Oo(t,e,s){let i="",n=!0;for(let a=0;a<Io;a++){const r=dt[a],o=t[r];if(o===void 0)continue;let l=!0;if(typeof o=="number")l=o===(r.startsWith("scale")?1:0);else{const c=parseFloat(o);l=r.startsWith("scale")?c===1:c===0}if(!l||s){const c=Di(o,Ce[r]);if(!l){n=!1;const u=Lo[r]||r;i+=`${u}(${c}) `}s&&(e[r]=c)}}return i=i.trim(),s?i=s(e,n?"":i):n&&(i="none"),i}function Ki(t,e,s){const{style:i,vars:n,transformOrigin:a}=t;let r=!1,o=!1;for(const l in e){const c=e[l];if(pt.has(l)){r=!0;continue}else if(Gs(l)){n[l]=c;continue}else{const u=Di(c,Ce[l]);l.startsWith("origin")?(o=!0,a[l]=u):i[l]=u}}if(e.transform||(r||s?i.transform=Oo(e,t.transform,s):i.transform&&(i.transform="none")),o){const{originX:l="50%",originY:c="50%",originZ:u=0}=a;i.transformOrigin=`${l} ${c} ${u}`}}function Wi(t,{style:e,vars:s},i,n){const a=t.style;let r;for(r in e)a[r]=e[r];n?.applyProjectionStyles(a,i);for(r in s)a.setProperty(r,s[r])}function ds(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const mt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(p.test(t))t=parseFloat(t);else return t;const s=ds(t,e.target.x),i=ds(t,e.target.y);return`${s}% ${i}%`}},jo={correct:(t,{treeScale:e,projectionDelta:s})=>{const i=t,n=W.parse(t);if(n.length>5)return i;const a=W.createTransformer(t),r=typeof n[0]!="number"?1:0,o=s.x.scale*e.x,l=s.y.scale*e.y;n[0+r]/=o,n[1+r]/=l;const c=M(o,l,.5);return typeof n[2+r]=="number"&&(n[2+r]/=c),typeof n[3+r]=="number"&&(n[3+r]/=c),a(n)}},me={borderRadius:{...mt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mt,borderTopRightRadius:mt,borderBottomLeftRadius:mt,borderBottomRightRadius:mt,boxShadow:jo};function No(t,{layout:e,layoutId:s}){return pt.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!me[t]||t==="opacity")}function $i(t,e,s){const i=t.style,n=e?.style,a={};if(!i)return a;for(const r in i)(L(i[r])||n&&L(n[r])||No(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(a[r]=i[r]);return a}function Uo(t){return window.getComputedStyle(t)}class Qa extends Oi{constructor(){super(...arguments),this.type="html",this.renderInstance=Wi}readValueFromInstance(e,s){if(pt.has(s))return this.projection?.isProjecting?se(s):rr(e,s);{const i=Uo(e),n=(Gs(s)?i.getPropertyValue(s):i[s])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Ui(e,s)}build(e,s,i){Ki(e,s,i.transformTemplate)}scrapeMotionValuesFromProps(e,s,i){return $i(e,s,i)}}function Ko(t,e){return t in e}class tl extends Ii{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,s){if(Ko(s,e)){const i=e[s];if(typeof i=="string"||typeof i=="number")return i}}getBaseTargetFromProps(){}removeValueFromRenderState(e,s){delete s.output[e]}measureInstanceViewportBox(){return R()}build(e,s){Object.assign(e.output,s)}renderInstance(e,{output:s}){Object.assign(e,s)}sortInstanceNodePosition(){return 0}}const Wo={offset:"stroke-dashoffset",array:"stroke-dasharray"},$o={offset:"strokeDashoffset",array:"strokeDasharray"};function zo(t,e,s=1,i=0,n=!0){t.pathLength=1;const a=n?Wo:$o;t[a.offset]=`${-i}`,t[a.array]=`${e} ${s}`}const _o=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Xo(t,{attrX:e,attrY:s,attrScale:i,pathLength:n,pathSpacing:a=1,pathOffset:r=0,...o},l,c,u){if(Ki(t,o,c),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:h,style:f}=t;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??"fill-box",delete h.transformBox);for(const d of _o)h[d]!==void 0&&(f[d]=h[d],delete h[d]);e!==void 0&&(h.x=e),s!==void 0&&(h.y=s),i!==void 0&&(h.scale=i),n!==void 0&&zo(h,n,a,r,!1)}const zi=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"]),Yo=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Ho(t,e,s,i){Wi(t,e,void 0,i);for(const n in e.attrs)t.setAttribute(zi.has(n)?n:Me(n),e.attrs[n])}function Go(t,e,s){const i=$i(t,e,s);for(const n in t)if(L(t[n])||L(e[n])){const a=dt.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;i[a]=t[n]}return i}class el extends Oi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=R}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(pt.has(s)){const i=Si(s);return i&&i.default||0}return s=zi.has(s)?s:Me(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,i){return Go(e,s,i)}build(e,s,i){Xo(e,s,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,s,i,n){Ho(e,s,i,n)}mount(e){this.isSVGTag=Yo(e.tagName),super.mount(e)}}const qo=Fe.length;function _i(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?_i(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const e={};for(let s=0;s<qo;s++){const i=Fe[s],n=t.props[i];(Ee(n)||n===!1)&&(e[i]=n)}return e}function Xi(t,e){if(!Array.isArray(e))return!1;const s=e.length;if(s!==t.length)return!1;for(let i=0;i<s;i++)if(e[i]!==t[i])return!1;return!0}const Zo=[...ke].reverse(),Jo=ke.length;function Qo(t){return e=>Promise.all(e.map(({animation:s,options:i})=>Gr(t,s,i)))}function sl(t){let e=Qo(t),s=ps(),i=!0;const n=l=>(c,u)=>{const h=ct(t,u,l==="exit"?t.presenceContext?.custom:void 0);if(h){const{transition:f,transitionEnd:d,...m}=h;c={...c,...m,...d}}return c};function a(l){e=l(t)}function r(l){const{props:c}=t,u=_i(t.parent)||{},h=[],f=new Set;let d={},m=1/0;for(let T=0;T<Jo;T++){const g=Zo[T],A=s[g],y=c[g]!==void 0?c[g]:u[g],V=Ee(y),v=g===l?A.isActive:null;v===!1&&(m=T);let S=y===u[g]&&y!==c[g]&&V;if(S&&i&&t.manuallyAnimateOnMount&&(S=!1),A.protectedKeys={...d},!A.isActive&&v===null||!y&&!A.prevProp||ki(y)||typeof y=="boolean")continue;if(g==="exit"&&A.isActive&&v!==!0){A.prevResolvedValues&&(d={...d,...A.prevResolvedValues});continue}const D=ta(A.prevProp,y);let b=D||g===l&&A.isActive&&!S&&V||T>m&&V,F=!1;const I=Array.isArray(y)?y:[y];let st=I.reduce(n(g),{});v===!1&&(st={});const{prevResolvedValues:Le={}}=A,sn={...Le,...st},Ie=C=>{b=!0,f.has(C)&&(F=!0,f.delete(C)),A.needsAnimating[C]=!0;const O=t.getValue(C);O&&(O.liveStyle=!1)};for(const C in sn){const O=st[C],G=Le[C];if(d.hasOwnProperty(C))continue;let it=!1;le(O)&&le(G)?it=!Xi(O,G):it=O!==G,it?O!=null?Ie(C):f.add(C):O!==void 0&&f.has(C)?Ie(C):A.protectedKeys[C]=!0}A.prevProp=y,A.prevResolvedValues=st,A.isActive&&(d={...d,...st}),i&&t.blockInitialAnimation&&(b=!1);const Oe=S&&D;b&&(!Oe||F)&&h.push(...I.map(C=>{const O={type:g};if(typeof C=="string"&&i&&!Oe&&t.manuallyAnimateOnMount&&t.parent){const{parent:G}=t,it=ct(G,C);if(G.enteringChildren&&it){const{delayChildren:nn}=it.transition||{};O.delay=pi(G.enteringChildren,t,nn)}}return{animation:C,options:O}}))}if(f.size){const T={};if(typeof c.initial!="boolean"){const g=ct(t,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(T.transition=g.transition)}f.forEach(g=>{const A=t.getBaseTarget(g),y=t.getValue(g);y&&(y.liveStyle=!0),T[g]=A??null}),h.push({animation:T})}let x=!!h.length;return i&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(x=!1),i=!1,x?e(h):Promise.resolve()}function o(l,c){if(s[l].isActive===c)return Promise.resolve();t.variantChildren?.forEach(h=>h.animationState?.setActive(l,c)),s[l].isActive=c;const u=r(l);for(const h in s)s[h].protectedKeys={};return u}return{animateChanges:r,setActive:o,setAnimateFunction:a,getState:()=>s,reset:()=>{s=ps()}}}function ta(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Xi(e,t):!1}function q(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ps(){return{animate:q(!0),whileInView:q(),whileHover:q(),whileTap:q(),whileDrag:q(),whileFocus:q(),exit:q()}}function ms(t,e){t.min=e.min,t.max=e.max}function N(t,e){ms(t.x,e.x),ms(t.y,e.y)}function ys(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Yi=1e-4,ea=1-Yi,sa=1+Yi,Hi=.01,ia=0-Hi,na=0+Hi;function j(t){return t.max-t.min}function ra(t,e,s){return Math.abs(t-e)<=s}function gs(t,e,s,i=.5){t.origin=i,t.originPoint=M(e.min,e.max,t.origin),t.scale=j(s)/j(e),t.translate=M(s.min,s.max,t.origin)-t.originPoint,(t.scale>=ea&&t.scale<=sa||isNaN(t.scale))&&(t.scale=1),(t.translate>=ia&&t.translate<=na||isNaN(t.translate))&&(t.translate=0)}function vt(t,e,s,i){gs(t.x,e.x,s.x,i?i.originX:void 0),gs(t.y,e.y,s.y,i?i.originY:void 0)}function Ts(t,e,s){t.min=s.min+e.min,t.max=t.min+j(e)}function oa(t,e,s){Ts(t.x,e.x,s.x),Ts(t.y,e.y,s.y)}function vs(t,e,s){t.min=e.min-s.min,t.max=t.min+j(e)}function Lt(t,e,s){vs(t.x,e.x,s.x),vs(t.y,e.y,s.y)}function xs(t,e,s,i,n){return t-=e,t=Ft(t,1/s,i),n!==void 0&&(t=Ft(t,1/n,i)),t}function aa(t,e=0,s=1,i=.5,n,a=t,r=t){if(z.test(e)&&(e=parseFloat(e),e=M(r.min,r.max,e/100)-r.min),typeof e!="number")return;let o=M(a.min,a.max,i);t===a&&(o-=e),t.min=xs(t.min,e,s,o,n),t.max=xs(t.max,e,s,o,n)}function As(t,e,[s,i,n],a,r){aa(t,e[s],e[i],e[n],e.scale,a,r)}const la=["x","scaleX","originX"],ca=["y","scaleY","originY"];function bs(t,e,s,i){As(t.x,e,la,s?s.x:void 0,i?i.x:void 0),As(t.y,e,ca,s?s.y:void 0,i?i.y:void 0)}function Vs(t){return t.translate===0&&t.scale===1}function Gi(t){return Vs(t.x)&&Vs(t.y)}function Ss(t,e){return t.min===e.min&&t.max===e.max}function ua(t,e){return Ss(t.x,e.x)&&Ss(t.y,e.y)}function ws(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function qi(t,e){return ws(t.x,e.x)&&ws(t.y,e.y)}function Ps(t){return j(t.x)/j(t.y)}function Ds(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Rs(t){return[t("x"),t("y")]}function ha(t,e,s){let i="";const n=t.x.translate/e.x,a=t.y.translate/e.y,r=s?.z||0;if((n||a||r)&&(i=`translate3d(${n}px, ${a}px, ${r}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),s){const{transformPerspective:c,rotate:u,rotateX:h,rotateY:f,skewX:d,skewY:m}=s;c&&(i=`perspective(${c}px) ${i}`),u&&(i+=`rotate(${u}deg) `),h&&(i+=`rotateX(${h}deg) `),f&&(i+=`rotateY(${f}deg) `),d&&(i+=`skewX(${d}deg) `),m&&(i+=`skewY(${m}deg) `)}const o=t.x.scale*e.x,l=t.y.scale*e.y;return(o!==1||l!==1)&&(i+=`scale(${o}, ${l})`),i||"none"}const Zi=["TopLeft","TopRight","BottomLeft","BottomRight"],fa=Zi.length,Ms=t=>typeof t=="string"?parseFloat(t):t,Cs=t=>typeof t=="number"||p.test(t);function da(t,e,s,i,n,a){n?(t.opacity=M(0,s.opacity??1,pa(i)),t.opacityExit=M(e.opacity??1,0,ma(i))):a&&(t.opacity=M(e.opacity??1,s.opacity??1,i));for(let r=0;r<fa;r++){const o=`border${Zi[r]}Radius`;let l=Bs(e,o),c=Bs(s,o);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Cs(l)===Cs(c)?(t[o]=Math.max(M(Ms(l),Ms(c),i),0),(z.test(c)||z.test(l))&&(t[o]+="%")):t[o]=c}(e.rotate||s.rotate)&&(t.rotate=M(e.rotate||0,s.rotate||0,i))}function Bs(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const pa=Ji(0,.5,hn),ma=Ji(.5,.95,ht);function Ji(t,e,s){return i=>i<t?0:i>e?1:s(ge(t,e,i))}function ya(t,e,s){const i=L(t)?t:ut(t);return i.start(gi("",i,e,s)),i.animation}function ga(t,e,s,i={passive:!0}){return t.addEventListener(e,s,i),()=>t.removeEventListener(e,s)}const Ta=(t,e)=>t.depth-e.depth;class va{constructor(){this.children=[],this.isDirty=!1}add(e){Xs(this.children,e),this.isDirty=!0}remove(e){Gt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ta),this.isDirty=!1,this.children.forEach(e)}}function xa(t,e){const s=k.now(),i=({timestamp:n})=>{const a=n-s;a>=e&&(et(i),t(a-e))};return E.setup(i,!0),()=>et(i)}function zt(t){return L(t)?t.get():t}class Aa{constructor(){this.members=[]}add(e){Xs(this.members,e);for(let s=this.members.length-1;s>=0;s--){const i=this.members[s];if(i===e||i===this.lead||i===this.prevLead)continue;const n=i.instance;n&&n.isConnected===!1&&i.isPresent!==!1&&!i.snapshot&&Gt(this.members,i)}e.scheduleRender()}remove(e){if(Gt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(e){const s=this.members.findIndex(n=>e===n);if(s===0)return!1;let i;for(let n=s;n>=0;n--){const a=this.members[n],r=a.instance;if(a.isPresent!==!1&&(!r||r.isConnected!==!1)){i=a;break}}return i?(this.promote(i),!0):!1}promote(e,s){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender();const n=i.options.layoutDependency,a=e.options.layoutDependency;if(!(n!==void 0&&a!==void 0&&n===a)){const l=i.instance;l&&l.isConnected===!1&&!i.snapshot||(e.resumeFrom=i,s&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0))}const{crossfade:o}=e.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:s,resumingFrom:i}=e;s.onExitComplete&&s.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const _t={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Xt=["","X","Y","Z"],ba=1e3;let Va=0;function Yt(t,e,s,i){const{latestValues:n}=e;n[t]&&(s[t]=n[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Qi(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=xi(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:n,layoutId:a}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",E,!(n||a))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Qi(i)}function tn({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(r={},o=e?.()){this.id=Va++,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,this.nodes.forEach(Pa),this.nodes.forEach(Ca),this.nodes.forEach(Ba),this.nodes.forEach(Da)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new va)}addEventListener(r,o){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new Te),this.eventHandlers.get(r).add(o)}notifyListeners(r,...o){const l=this.eventHandlers.get(r);l&&l.notify(...o)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Be(r)&&!So(r),this.instance=r;const{layoutId:o,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||o)&&(this.isLayoutDirty=!0),t){let u,h=0;const f=()=>this.root.updateBlockedByResize=!1;E.read(()=>{h=window.innerWidth}),t(r,()=>{const d=window.innerWidth;d!==h&&(h=d,this.root.updateBlockedByResize=!0,u&&u(),u=xa(f,250),_t.hasAnimatedSinceResize&&(_t.hasAnimatedSinceResize=!1,this.nodes.forEach(Fs)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&c&&(o||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:d})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||Ia,{onLayoutAnimationStart:x,onLayoutAnimationComplete:T}=c.getProps(),g=!this.targetLayout||!qi(this.targetLayout,d),A=!h&&f;if(this.options.layoutRoot||this.resumeFrom||A||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...Re(m,"layout"),onPlay:x,onComplete:T};(c.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(u,A)}else h||Fs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),et(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(Ea),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Qi(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const h=this.path[u];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Es);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ks);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ma),this.nodes.forEach(Sa),this.nodes.forEach(wa)):this.nodes.forEach(ks),this.clearAllSnapshots();const o=k.now();B.delta=X(0,1e3/60,o-B.timestamp),B.timestamp=o,B.isProcessing=!0,It.update.process(B),It.preRender.process(B),It.render.process(B),B.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ri.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ra),this.sharedNodes.forEach(ka)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,E.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){E.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!j(this.snapshot.measuredBox.x)&&!j(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=R(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(o=!1),o&&this.instance){const l=i(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!n)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!Gi(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;r&&this.instance&&(o||Z(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return r&&(l=this.removeTransform(l)),Oa(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return R();const o=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ja))){const{scroll:c}=this.root;c&&(at(o.x,c.offset.x),at(o.y,c.offset.y))}return o}removeElementScroll(r){const o=R();if(N(o,r),this.scroll?.wasRoot)return o;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:h}=c;c!==this.root&&u&&h.layoutScroll&&(u.wasRoot&&N(o,r),at(o.x,u.offset.x),at(o.y,u.offset.y))}return o}applyTransform(r,o=!1){const l=R();N(l,r);for(let c=0;c<this.path.length;c++){const u=this.path[c];!o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&lt(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Z(u.latestValues)&&lt(l,u.latestValues)}return Z(this.latestValues)&&lt(l,this.latestValues),l}removeTransform(r){const o=R();N(o,r);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!Z(c.latestValues))continue;de(c.latestValues)&&c.updateSnapshot();const u=R(),h=c.measurePageBox();N(u,h),bs(o,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Z(this.latestValues)&&bs(o,this.latestValues),o}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}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!==B.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==o;if(!(r||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:h}=this.options;if(!this.layout||!(u||h))return;this.resolvedRelativeTargetAt=B.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=R(),this.targetWithTransforms=R()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),oa(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):N(this.target,this.layout.layoutBox),Ni(this.target,this.targetDelta)):N(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||de(this.parent.latestValues)||ji(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(r,o,l){this.relativeParent=r,this.linkedParentVersion=r.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=R(),this.relativeTargetOrigin=R(),Lt(this.relativeTargetOrigin,o,l),N(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const r=this.getLead(),o=!!this.resumingFrom||this!==r;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===B.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;N(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;Fo(this.layoutCorrected,this.treeScale,this.path,o),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=R());const{target:d}=r;if(!d){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ys(this.prevProjectionDelta.x,this.projectionDelta.x),ys(this.prevProjectionDelta.y,this.projectionDelta.y)),vt(this.projectionDelta,this.layoutCorrected,d,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!Ds(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ds(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){if(this.options.visualElement?.scheduleRender(),r){const o=this.getStack();o&&o.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ot(),this.projectionDelta=ot(),this.projectionDeltaWithTransform=ot()}setAnimationOrigin(r,o=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},h=ot();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const f=R(),d=l?l.source:void 0,m=this.layout?this.layout.source:void 0,x=d!==m,T=this.getStack(),g=!T||T.members.length<=1,A=!!(x&&!g&&this.options.crossfade===!0&&!this.path.some(La));this.animationProgress=0;let y;this.mixTargetDelta=V=>{const v=V/1e3;Ls(h.x,r.x,v),Ls(h.y,r.y,v),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Lt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Fa(this.relativeTarget,this.relativeTargetOrigin,f,v),y&&ua(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=R()),N(y,this.relativeTarget)),x&&(this.animationValues=u,da(u,c,this.latestValues,v,A,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=v},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(et(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=E.update(()=>{_t.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ut(0)),this.motionValue.jump(0,!1),this.currentAnimation=ya(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:o=>{this.mixTargetDelta(o),r.onUpdate&&r.onUpdate(o)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.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);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ba),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:o,target:l,layout:c,latestValues:u}=r;if(!(!o||!l||!c)){if(this!==r&&this.layout&&c&&en(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||R();const h=j(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+h;const f=j(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+f}N(o,l),lt(o,u),vt(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(r,o){this.sharedNodes.has(r)||this.sharedNodes.set(r,new Aa),this.sharedNodes.get(r).add(o);const c=o.options.initialPromotionConfig;o.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(o):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){const{layoutId:r}=this.options;return r?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:r}=this.options;return r?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:o,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let o=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(o=!0),!o)return;const c={};l.z&&Yt("z",r,c,this.animationValues);for(let u=0;u<Xt.length;u++)Yt(`rotate${Xt[u]}`,r,c,this.animationValues),Yt(`skew${Xt[u]}`,r,c,this.animationValues);r.render();for(const u in c)r.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);r.scheduleRender()}applyProjectionStyles(r,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=zt(o?.pointerEvents)||"",r.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=zt(o?.pointerEvents)||""),this.hasProjected&&!Z(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let h=ha(this.projectionDeltaWithTransform,this.treeScale,u);l&&(h=l(u,h)),r.transform=h;const{x:f,y:d}=this.projectionDelta;r.transformOrigin=`${f.origin*100}% ${d.origin*100}% 0`,c.animationValues?r.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:r.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const m in me){if(u[m]===void 0)continue;const{correct:x,applyTo:T,isCSSVariable:g}=me[m],A=h==="none"?u[m]:x(u[m],c);if(T){const y=T.length;for(let V=0;V<y;V++)r[T[V]]=A}else g?this.options.visualElement.renderState.vars[m]=A:r[m]=A}this.options.layoutId&&(r.pointerEvents=c===this?zt(o?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(Es),this.root.sharedNodes.clear()}}}function Sa(t){t.updateLayout()}function wa(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:n}=t.options,a=e.source!==t.layout.source;n==="size"?Rs(u=>{const h=a?e.measuredBox[u]:e.layoutBox[u],f=j(h);h.min=s[u].min,h.max=h.min+f}):en(n,e.layoutBox,s)&&Rs(u=>{const h=a?e.measuredBox[u]:e.layoutBox[u],f=j(s[u]);h.max=h.min+f,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+f)});const r=ot();vt(r,s,e.layoutBox);const o=ot();a?vt(o,t.applyTransform(i,!0),e.measuredBox):vt(o,s,e.layoutBox);const l=!Gi(r);let c=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:h,layout:f}=u;if(h&&f){const d=R();Lt(d,e.layoutBox,h.layoutBox);const m=R();Lt(m,s,f.layoutBox),qi(d,m)||(c=!0),u.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=d,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:e,delta:o,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Pa(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Da(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Ra(t){t.clearSnapshot()}function Es(t){t.clearMeasurements()}function ks(t){t.isLayoutDirty=!1}function Ma(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Fs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Ca(t){t.resolveTargetDelta()}function Ba(t){t.calcProjection()}function Ea(t){t.resetSkewAndRotation()}function ka(t){t.removeLeadSnapshot()}function Ls(t,e,s){t.translate=M(e.translate,0,s),t.scale=M(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Is(t,e,s,i){t.min=M(e.min,s.min,i),t.max=M(e.max,s.max,i)}function Fa(t,e,s,i){Is(t.x,e.x,s.x,i),Is(t.y,e.y,s.y,i)}function La(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Ia={duration:.45,ease:[.4,0,.1,1]},Os=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),js=Os("applewebkit/")&&!Os("chrome/")?Math.round:ht;function Ns(t){t.min=js(t.min),t.max=js(t.max)}function Oa(t){Ns(t.x),Ns(t.y)}function en(t,e,s){return t==="position"||t==="preserve-aspect"&&!ra(Ps(e),Ps(s),.2)}function ja(t){return t!==t.root&&t.scroll?.wasRoot}const Na=tn({attachResizeListener:(t,e)=>ga(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Ht={current:void 0},nl=tn({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ht.current){const t=new Na({});t.mount(window),t.setOptions({layoutScroll:!0}),Ht.current=t}return Ht.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});export{_t as $,$i as A,Go as B,Xr as C,sl as D,uo as E,qa as F,Wa as G,Qa as H,ga as I,B as J,E as K,et as L,j as M,R as N,tl as O,Rs as P,Ja as Q,Za as R,el as S,Eo as T,zr as U,gi as V,$a as W,Ya as X,z as Y,_a as Z,Ri as _,hi as a,nl as a0,za as a1,Xa as a2,Be as b,Nn as c,qn as d,So as e,Gn as f,ya as g,Ai as h,L as i,ut as j,Ga as k,Ha as l,M as m,Fi as n,Ee as o,No as p,Ki as q,Pi as r,Et as s,Xo as t,Yo as u,Do as v,zt as w,Ro as x,ki as y,Ti as z};
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
- function d(s,t){s.indexOf(t)===-1&&s.push(t)}function y(s,t){const n=s.indexOf(t);n>-1&&s.splice(n,1)}const P=(s,t,n)=>n>t?t:n<s?s:n;let S=()=>{};const V={},$=s=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s);function C(s){return typeof s=="object"&&s!==null}const G=s=>/^0[^.\s]+$/u.test(s);function L(s){let t;return()=>(t===void 0&&(t=s()),t)}const l=s=>s,I=(s,t)=>n=>t(s(n)),N=(...s)=>s.reduce(I),U=(s,t,n)=>{const e=t-s;return e===0?1:(n-s)/e};class Z{constructor(){this.subscriptions=[]}add(t){return d(this.subscriptions,t),()=>y(this.subscriptions,t)}notify(t,n,e){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,e);else for(let i=0;i<r;i++){const c=this.subscriptions[i];c&&c(t,n,e)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const B=s=>s*1e3,H=s=>s/1e3;function J(s,t){return t?s*(1e3/t):0}const M=(s,t,n)=>{const e=t-s;return((n-s)%e+e)%e+s},f=(s,t,n)=>(((1-3*n+3*t)*s+(3*n-6*t))*s+3*t)*s,O=1e-7,x=12;function k(s,t,n,e,r){let i,c,g=0;do c=t+(n-t)/2,i=f(c,e,r)-s,i>0?n=c:t=c;while(Math.abs(i)>O&&++g<x);return c}function o(s,t,n,e){if(s===t&&n===e)return l;const r=i=>k(i,0,1,s,n);return i=>i===0||i===1?i:f(r(i),t,e)}const b=s=>t=>t<=.5?s(2*t)/2:(2-s(2*(1-t)))/2,p=s=>t=>1-s(1-t),h=o(.33,1.53,.69,.99),u=p(h),m=b(u),v=s=>(s*=2)<1?.5*u(s):.5*(2-Math.pow(2,-10*(s-1))),a=s=>1-Math.sin(Math.acos(s)),z=p(a),A=b(a),E=o(.42,0,1,1),F=o(0,0,.58,1),T=o(.42,0,.58,1),j=s=>Array.isArray(s)&&typeof s[0]!="number";function K(s,t){return j(s)?s[M(0,s.length,t)]:s}const q=s=>Array.isArray(s)&&typeof s[0]=="number",w={linear:l,easeIn:E,easeInOut:T,easeOut:F,circIn:a,circInOut:A,circOut:z,backIn:u,backInOut:m,backOut:h,anticipate:v},D=s=>typeof s=="string",Q=s=>{if(q(s)){S(s.length===4);const[t,n,e,r]=s;return o(t,n,e,r)}else if(D(s))return w[s];return s};export{V as M,Z as S,U as a,j as b,P as c,T as d,Q as e,L as f,q as g,A as h,S as i,m as j,v as k,$ as l,H as m,l as n,G as o,N as p,C as q,z as r,B as s,d as t,y as u,J as v,K as w};
@@ -1 +0,0 @@
1
- function a(n,r,{checkForDefaultPrevented:t=!0}={}){return function(e){if(n?.(e),t===!1||!e.defaultPrevented)return r?.(e)}}export{a as c};
@@ -1 +0,0 @@
1
- import{r as l}from"./vendor-react-B5Z1Mdn3.js";function s(n,o){if(typeof n=="function")return n(o);n!=null&&(n.current=o)}function f(...n){return o=>{let u=!1;const c=n.map(t=>{const e=s(t,o);return!u&&typeof e=="function"&&(u=!0),e});if(u)return()=>{for(let t=0;t<c.length;t++){const e=c[t];typeof e=="function"?e():s(n[t],null)}}}}function r(...n){return l.useCallback(f(...n),n)}export{f as c,r as u};
@@ -1 +0,0 @@
1
- import{r as u,j as f}from"./vendor-react-B5Z1Mdn3.js";function $(t,s){const n=u.createContext(s),x=r=>{const{children:e,...o}=r,c=u.useMemo(()=>o,Object.values(o));return f.jsx(n.Provider,{value:c,children:e})};x.displayName=t+"Provider";function i(r){const e=u.useContext(n);if(e)return e;if(s!==void 0)return s;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[x,i]}function j(t,s=[]){let n=[];function x(r,e){const o=u.createContext(e),c=n.length;n=[...n,e];const d=p=>{const{scope:m,children:v,...a}=p,S=m?.[t]?.[c]||o,h=u.useMemo(()=>a,Object.values(a));return f.jsx(S.Provider,{value:h,children:v})};d.displayName=r+"Provider";function C(p,m){const v=m?.[t]?.[c]||o,a=u.useContext(v);if(a)return a;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[d,C]}const i=()=>{const r=n.map(e=>u.createContext(e));return function(o){const c=o?.[t]||r;return u.useMemo(()=>({[`__scope${t}`]:{...o,[t]:c}}),[o,c])}};return i.scopeName=t,[x,P(i,...s)]}function P(...t){const s=t[0];if(t.length===1)return s;const n=()=>{const x=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(r){const e=x.reduce((o,{useScope:c,scopeName:d})=>{const p=c(r)[`__scope${d}`];return{...o,...p}},{});return u.useMemo(()=>({[`__scope${s.scopeName}`]:e}),[e])}};return n.scopeName=s.scopeName,n}export{$ as a,j as c};
@@ -1,5 +0,0 @@
1
- import{r as i,j as s}from"./vendor-react-B5Z1Mdn3.js";import{c as p}from"./vendor-radix-ui-primitive-Dc_FVRD7.js";import{u as R}from"./vendor-radix-ui-react-compose-refs-8xy6TJML.js";import{c as k,a as G}from"./vendor-radix-ui-react-context-CFsX-AUC.js";import{u as C}from"./vendor-radix-ui-react-id-D2kS9K1j.js";import{u as L}from"./vendor-radix-ui-react-use-controllable-state-LiqmKSXO.js";import{D as $}from"./vendor-radix-ui-react-dismissable-layer-DrorBNg9.js";import{F as B}from"./vendor-radix-ui-react-focus-scope-D2BkImwt.js";import{P as H}from"./vendor-radix-ui-react-portal-YgCRIyi7.js";import{P as _}from"./vendor-radix-ui-react-presence-D432pCMB.js";import{a as g}from"./vendor-radix-ui-react-primitive-DkH8dMOR.js";import{u as V}from"./vendor-radix-ui-react-focus-guards-BfdFmL7c.js";import{R as q}from"./vendor-react-remove-scroll-vR1dy1aP.js";import{h as K}from"./vendor-aria-hidden-DvXkyWUv.js";import{c as U}from"./vendor-radix-ui-react-slot-BIDFZX0-.js";var D="Dialog",[y]=k(D),[Y,u]=y(D),N=e=>{const{__scopeDialog:t,children:n,open:a,defaultOpen:r,onOpenChange:o,modal:l=!0}=e,c=i.useRef(null),f=i.useRef(null),[v,x]=L({prop:a,defaultProp:r??!1,onChange:o,caller:D});return s.jsx(Y,{scope:t,triggerRef:c,contentRef:f,contentId:C(),titleId:C(),descriptionId:C(),open:v,onOpenChange:x,onOpenToggle:i.useCallback(()=>x(W=>!W),[x]),modal:l,children:n})};N.displayName=D;var O="DialogTrigger",Z=i.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,r=u(O,n),o=R(t,r.triggerRef);return s.jsx(g.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":P(r.open),...a,ref:o,onClick:p(e.onClick,r.onOpenToggle)})});Z.displayName=O;var h="DialogPortal",[z,I]=y(h,{forceMount:void 0}),A=e=>{const{__scopeDialog:t,forceMount:n,children:a,container:r}=e,o=u(h,t);return s.jsx(z,{scope:t,forceMount:n,children:i.Children.map(a,l=>s.jsx(_,{present:n||o.open,children:s.jsx(H,{asChild:!0,container:r,children:l})}))})};A.displayName=h;var m="DialogOverlay",j=i.forwardRef((e,t)=>{const n=I(m,e.__scopeDialog),{forceMount:a=n.forceMount,...r}=e,o=u(m,e.__scopeDialog);return o.modal?s.jsx(_,{present:a||o.open,children:s.jsx(Q,{...r,ref:t})}):null});j.displayName=m;var J=U("DialogOverlay.RemoveScroll"),Q=i.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,r=u(m,n);return s.jsx(q,{as:J,allowPinchZoom:!0,shards:[r.contentRef],children:s.jsx(g.div,{"data-state":P(r.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),d="DialogContent",b=i.forwardRef((e,t)=>{const n=I(d,e.__scopeDialog),{forceMount:a=n.forceMount,...r}=e,o=u(d,e.__scopeDialog);return s.jsx(_,{present:a||o.open,children:o.modal?s.jsx(X,{...r,ref:t}):s.jsx(ee,{...r,ref:t})})});b.displayName=d;var X=i.forwardRef((e,t)=>{const n=u(d,e.__scopeDialog),a=i.useRef(null),r=R(t,n.contentRef,a);return i.useEffect(()=>{const o=a.current;if(o)return K(o)},[]),s.jsx(T,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p(e.onCloseAutoFocus,o=>{o.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:p(e.onPointerDownOutside,o=>{const l=o.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&o.preventDefault()}),onFocusOutside:p(e.onFocusOutside,o=>o.preventDefault())})}),ee=i.forwardRef((e,t)=>{const n=u(d,e.__scopeDialog),a=i.useRef(!1),r=i.useRef(!1);return s.jsx(T,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{e.onCloseAutoFocus?.(o),o.defaultPrevented||(a.current||n.triggerRef.current?.focus(),o.preventDefault()),a.current=!1,r.current=!1},onInteractOutside:o=>{e.onInteractOutside?.(o),o.defaultPrevented||(a.current=!0,o.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const l=o.target;n.triggerRef.current?.contains(l)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&r.current&&o.preventDefault()}})}),T=i.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:a,onOpenAutoFocus:r,onCloseAutoFocus:o,...l}=e,c=u(d,n),f=i.useRef(null),v=R(t,f);return V(),s.jsxs(s.Fragment,{children:[s.jsx(B,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:r,onUnmountAutoFocus:o,children:s.jsx($,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":P(c.open),...l,ref:v,onDismiss:()=>c.onOpenChange(!1)})}),s.jsxs(s.Fragment,{children:[s.jsx(ne,{titleId:c.titleId}),s.jsx(se,{contentRef:f,descriptionId:c.descriptionId})]})]})}),E="DialogTitle",oe=i.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,r=u(E,n);return s.jsx(g.h2,{id:r.titleId,...a,ref:t})});oe.displayName=E;var M="DialogDescription",te=i.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,r=u(M,n);return s.jsx(g.p,{id:r.descriptionId,...a,ref:t})});te.displayName=M;var F="DialogClose",re=i.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,r=u(F,n);return s.jsx(g.button,{type:"button",...a,ref:t,onClick:p(e.onClick,()=>r.onOpenChange(!1))})});re.displayName=F;function P(e){return e?"open":"closed"}var w="DialogTitleWarning",[he,S]=G(w,{contentName:d,titleName:E,docsSlug:"dialog"}),ne=({titleId:e})=>{const t=S(w),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
-
3
- If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
-
5
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ae="DialogDescriptionWarning",se=({contentRef:e,descriptionId:t})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${S(ae).contentName}}.`;return i.useEffect(()=>{const r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},Ee=N,Pe=A,ye=j,Ne=b;export{Ne as C,ye as O,Pe as P,Ee as R};
@@ -1 +0,0 @@
1
- import{r as s,j as w}from"./vendor-react-B5Z1Mdn3.js";import{c as h}from"./vendor-radix-ui-primitive-Dc_FVRD7.js";import{a as g,d as k}from"./vendor-radix-ui-react-primitive-DkH8dMOR.js";import{u as R}from"./vendor-radix-ui-react-compose-refs-8xy6TJML.js";import{u as x}from"./vendor-radix-ui-react-use-callback-ref-BwDcSoGV.js";import{u as U}from"./vendor-radix-ui-react-use-escape-keydown-DTkqjenV.js";var j="DismissableLayer",p="dismissableLayer.update",z="dismissableLayer.pointerDownOutside",H="dismissableLayer.focusOutside",C,T=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),M=s.forwardRef((n,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:u,onInteractOutside:f,onDismiss:d,...E}=n,o=s.useContext(T),[c,F]=s.useState(null),l=c?.ownerDocument??globalThis?.document,[,I]=s.useState({}),S=R(e,t=>F(t)),y=Array.from(o.layers),[W]=[...o.layersWithOutsidePointerEventsDisabled].slice(-1),A=y.indexOf(W),b=c?y.indexOf(c):-1,N=o.layersWithOutsidePointerEventsDisabled.size>0,D=b>=A,_=Y(t=>{const v=t.target,P=[...o.branches].some(m=>m.contains(v));!D||P||(i?.(t),f?.(t),t.defaultPrevented||d?.())},l),O=q(t=>{const v=t.target;[...o.branches].some(m=>m.contains(v))||(u?.(t),f?.(t),t.defaultPrevented||d?.())},l);return U(t=>{b===o.layers.size-1&&(a?.(t),!t.defaultPrevented&&d&&(t.preventDefault(),d()))},l),s.useEffect(()=>{if(c)return r&&(o.layersWithOutsidePointerEventsDisabled.size===0&&(C=l.body.style.pointerEvents,l.body.style.pointerEvents="none"),o.layersWithOutsidePointerEventsDisabled.add(c)),o.layers.add(c),L(),()=>{r&&o.layersWithOutsidePointerEventsDisabled.size===1&&(l.body.style.pointerEvents=C)}},[c,l,r,o]),s.useEffect(()=>()=>{c&&(o.layers.delete(c),o.layersWithOutsidePointerEventsDisabled.delete(c),L())},[c,o]),s.useEffect(()=>{const t=()=>I({});return document.addEventListener(p,t),()=>document.removeEventListener(p,t)},[]),w.jsx(g.div,{...E,ref:S,style:{pointerEvents:N?D?"auto":"none":void 0,...n.style},onFocusCapture:h(n.onFocusCapture,O.onFocusCapture),onBlurCapture:h(n.onBlurCapture,O.onBlurCapture),onPointerDownCapture:h(n.onPointerDownCapture,_.onPointerDownCapture)})});M.displayName=j;var K="DismissableLayerBranch",X=s.forwardRef((n,e)=>{const r=s.useContext(T),a=s.useRef(null),i=R(e,a);return s.useEffect(()=>{const u=a.current;if(u)return r.branches.add(u),()=>{r.branches.delete(u)}},[r.branches]),w.jsx(g.div,{...n,ref:i})});X.displayName=K;function Y(n,e=globalThis?.document){const r=x(n),a=s.useRef(!1),i=s.useRef(()=>{});return s.useEffect(()=>{const u=d=>{if(d.target&&!a.current){let E=function(){B(z,r,o,{discrete:!0})};const o={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=E,e.addEventListener("click",i.current,{once:!0})):E()}else e.removeEventListener("click",i.current);a.current=!1},f=window.setTimeout(()=>{e.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(f),e.removeEventListener("pointerdown",u),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>a.current=!0}}function q(n,e=globalThis?.document){const r=x(n),a=s.useRef(!1);return s.useEffect(()=>{const i=u=>{u.target&&!a.current&&B(H,r,{originalEvent:u},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function L(){const n=new CustomEvent(p);document.dispatchEvent(n)}function B(n,e,r,{discrete:a}){const i=r.originalEvent.target,u=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(n,e,{once:!0}),a?k(i,u):i.dispatchEvent(u)}export{M as D};
@@ -1 +0,0 @@
1
- import{r as o}from"./vendor-react-B5Z1Mdn3.js";var t=0;function u(){o.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??n()),document.body.insertAdjacentElement("beforeend",e[1]??n()),t++,()=>{t===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),t--}},[])}function n(){const 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}export{u};
@@ -1 +0,0 @@
1
- import{r as d,j as R}from"./vendor-react-B5Z1Mdn3.js";import{u as M}from"./vendor-radix-ui-react-compose-refs-8xy6TJML.js";import{a as _}from"./vendor-radix-ui-react-primitive-DkH8dMOR.js";import{u as y}from"./vendor-radix-ui-react-use-callback-ref-BwDcSoGV.js";var F="focusScope.autoFocusOnMount",T="focusScope.autoFocusOnUnmount",N={bubbles:!1,cancelable:!0},x="FocusScope",K=d.forwardRef((e,t)=>{const{loop:n=!1,trapped:u=!1,onMountAutoFocus:p,onUnmountAutoFocus:L,...g}=e,[s,U]=d.useState(null),E=y(p),v=y(L),b=d.useRef(null),A=M(t,o=>U(o)),i=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(u){let o=function(a){if(i.paused||!s)return;const c=a.target;s.contains(c)?b.current=c:f(b.current,{select:!0})},l=function(a){if(i.paused||!s)return;const c=a.relatedTarget;c!==null&&(s.contains(c)||f(b.current,{select:!0}))},r=function(a){if(document.activeElement===document.body)for(const h of a)h.removedNodes.length>0&&f(s)};document.addEventListener("focusin",o),document.addEventListener("focusout",l);const m=new MutationObserver(r);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",o),document.removeEventListener("focusout",l),m.disconnect()}}},[u,s,i.paused]),d.useEffect(()=>{if(s){O.add(i);const o=document.activeElement;if(!s.contains(o)){const r=new CustomEvent(F,N);s.addEventListener(F,E),s.dispatchEvent(r),r.defaultPrevented||(k(V(I(s)),{select:!0}),document.activeElement===o&&f(s))}return()=>{s.removeEventListener(F,E),setTimeout(()=>{const r=new CustomEvent(T,N);s.addEventListener(T,v),s.dispatchEvent(r),r.defaultPrevented||f(o??document.body,{select:!0}),s.removeEventListener(T,v),O.remove(i)},0)}}},[s,E,v,i]);const P=d.useCallback(o=>{if(!n&&!u||i.paused)return;const l=o.key==="Tab"&&!o.altKey&&!o.ctrlKey&&!o.metaKey,r=document.activeElement;if(l&&r){const m=o.currentTarget,[a,c]=w(m);a&&c?!o.shiftKey&&r===c?(o.preventDefault(),n&&f(a,{select:!0})):o.shiftKey&&r===a&&(o.preventDefault(),n&&f(c,{select:!0})):r===m&&o.preventDefault()}},[n,u,i.paused]);return R.jsx(_.div,{tabIndex:-1,...g,ref:A,onKeyDown:P})});K.displayName=x;function k(e,{select:t=!1}={}){const n=document.activeElement;for(const u of e)if(f(u,{select:t}),document.activeElement!==n)return}function w(e){const t=I(e),n=S(t,e),u=S(t.reverse(),e);return[n,u]}function I(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u=>{const p=u.tagName==="INPUT"&&u.type==="hidden";return u.disabled||u.hidden||p?NodeFilter.FILTER_SKIP:u.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function S(e,t){for(const n of e)if(!D(n,{upTo:t}))return n}function D(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}function H(e){return e instanceof HTMLInputElement&&"select"in e}function f(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&H(e)&&t&&e.select()}}var O=j();function j(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=C(e,t),e.unshift(t)},remove(t){e=C(e,t),e[0]?.resume()}}}function C(e,t){const n=[...e],u=n.indexOf(t);return u!==-1&&n.splice(u,1),n}function V(e){return e.filter(t=>t.tagName!=="A")}export{K as F};
@@ -1 +0,0 @@
1
- import{r as o,a as s}from"./vendor-react-B5Z1Mdn3.js";import{u}from"./vendor-radix-ui-react-use-layout-effect-C8Yrsaph.js";var i=s[" useId ".trim().toString()]||(()=>{}),c=0;function f(r){const[t,a]=o.useState(i());return u(()=>{a(e=>e??String(c++))},[r]),t?`radix-${t}`:""}export{f as u};
@@ -1 +0,0 @@
1
- import{r,d as c,j as m}from"./vendor-react-B5Z1Mdn3.js";import{a as u}from"./vendor-radix-ui-react-primitive-DkH8dMOR.js";import{u as l}from"./vendor-radix-ui-react-use-layout-effect-C8Yrsaph.js";var p="Portal",f=r.forwardRef((o,a)=>{const{container:e,...s}=o,[n,i]=r.useState(!1);l(()=>i(!0),[]);const t=e||n&&globalThis?.document?.body;return t?c.createPortal(m.jsx(u.div,{...s,ref:a}),t):null});f.displayName=p;export{f as P};
@@ -1 +0,0 @@
1
- import{r as i}from"./vendor-react-B5Z1Mdn3.js";import{u as y}from"./vendor-radix-ui-react-compose-refs-8xy6TJML.js";import{u as A}from"./vendor-radix-ui-react-use-layout-effect-C8Yrsaph.js";function E(n,e){return i.useReducer((t,r)=>e[t][r]??t,n)}var T=n=>{const{present:e,children:t}=n,r=P(e),a=typeof t=="function"?t({present:r.isPresent}):i.Children.only(t),c=y(r.ref,R(a));return typeof t=="function"||r.isPresent?i.cloneElement(a,{ref:c}):null};T.displayName="Presence";function P(n){const[e,t]=i.useState(),r=i.useRef(null),a=i.useRef(n),c=i.useRef("none"),p=n?"mounted":"unmounted",[N,s]=E(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const o=l(r.current);c.current=N==="mounted"?o:"none"},[N]),A(()=>{const o=r.current,m=a.current;if(m!==n){const f=c.current,u=l(o);n?s("MOUNT"):u==="none"||o?.display==="none"?s("UNMOUNT"):s(m&&f!==u?"ANIMATION_OUT":"UNMOUNT"),a.current=n}},[n,s]),A(()=>{if(e){let o;const m=e.ownerDocument.defaultView??window,d=u=>{const g=l(r.current).includes(CSS.escape(u.animationName));if(u.target===e&&g&&(s("ANIMATION_END"),!a.current)){const O=e.style.animationFillMode;e.style.animationFillMode="forwards",o=m.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=O)})}},f=u=>{u.target===e&&(c.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",d),e.addEventListener("animationend",d),()=>{m.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",d),e.removeEventListener("animationend",d)}}else s("ANIMATION_END")},[e,s]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:i.useCallback(o=>{r.current=o?getComputedStyle(o):null,t(o)},[])}}function l(n){return n?.animationName||"none"}function R(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}export{T as P};
@@ -1 +0,0 @@
1
- import{r as p,j as l,b as c}from"./vendor-react-B5Z1Mdn3.js";import{c as u,a as f}from"./vendor-radix-ui-react-slot-BIDFZX0-.js";var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],x=v.reduce((t,i)=>{const e=u(`Primitive.${i}`),r=p.forwardRef((o,s)=>{const{asChild:a,...n}=o,m=a?e:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(m,{...n,ref:s})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function P(t,i){t&&c.flushSync(()=>t.dispatchEvent(i))}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],S=d.reduce((t,i)=>{const e=f(`Primitive.${i}`),r=p.forwardRef((o,s)=>{const{asChild:a,...n}=o,m=a?e:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(m,{...n,ref:s})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});export{S as P,x as a,P as d};
@@ -1 +0,0 @@
1
- import{r as i,j as u,a as g}from"./vendor-react-B5Z1Mdn3.js";import{c as m}from"./vendor-radix-ui-react-compose-refs-8xy6TJML.js";function W(e){const r=C(e),t=i.forwardRef((o,n)=>{const{children:l,...a}=o,s=i.Children.toArray(l),c=s.find(R);if(c){const f=c.props.children,y=s.map(p=>p===c?i.Children.count(f)>1?i.Children.only(null):i.isValidElement(f)?f.props.children:null:p);return u.jsx(r,{...a,ref:n,children:i.isValidElement(f)?i.cloneElement(f,void 0,y):null})}return u.jsx(r,{...a,ref:n,children:l})});return t.displayName=`${e}.Slot`,t}function C(e){const r=i.forwardRef((t,o)=>{const{children:n,...l}=t;if(i.isValidElement(n)){const a=_(n),s=h(l,n.props);return n.type!==i.Fragment&&(s.ref=o?m(o,a):a),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var S=Symbol("radix.slottable");function R(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===S}function h(e,r){const t={...r};for(const o in r){const n=e[o],l=r[o];/^on[A-Z]/.test(o)?n&&l?t[o]=(...s)=>{const c=l(...s);return n(...s),c}:n&&(t[o]=n):o==="style"?t[o]={...n,...l}:o==="className"&&(t[o]=[n,l].filter(Boolean).join(" "))}return{...e,...t}}function _(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}var b=Symbol.for("react.lazy"),d=g[" use ".trim().toString()];function j(e){return typeof e=="object"&&e!==null&&"then"in e}function E(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===b&&"_payload"in e&&j(e._payload)}function N(e){const r=x(e),t=i.forwardRef((o,n)=>{let{children:l,...a}=o;E(l)&&typeof d=="function"&&(l=d(l._payload));const s=i.Children.toArray(l),c=s.find(P);if(c){const f=c.props.children,y=s.map(p=>p===c?i.Children.count(f)>1?i.Children.only(null):i.isValidElement(f)?f.props.children:null:p);return u.jsx(r,{...a,ref:n,children:i.isValidElement(f)?i.cloneElement(f,void 0,y):null})}return u.jsx(r,{...a,ref:n,children:l})});return t.displayName=`${e}.Slot`,t}function x(e){const r=i.forwardRef((t,o)=>{let{children:n,...l}=t;if(E(n)&&typeof d=="function"&&(n=d(n._payload)),i.isValidElement(n)){const a=A(n),s=V(l,n.props);return n.type!==i.Fragment&&(s.ref=o?m(o,a):a),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var $=Symbol("radix.slottable");function P(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$}function V(e,r){const t={...r};for(const o in r){const n=e[o],l=r[o];/^on[A-Z]/.test(o)?n&&l?t[o]=(...s)=>{const c=l(...s);return n(...s),c}:n&&(t[o]=n):o==="style"?t[o]={...n,...l}:o==="className"&&(t[o]=[n,l].filter(Boolean).join(" "))}return{...e,...t}}function A(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}export{N as a,W as c};
@@ -1 +0,0 @@
1
- import{r as e}from"./vendor-react-B5Z1Mdn3.js";function c(r){const t=e.useRef(r);return e.useEffect(()=>{t.current=r}),e.useMemo(()=>(...u)=>t.current?.(...u),[])}export{c as u};
@@ -1 +0,0 @@
1
- import{r,a as m}from"./vendor-react-B5Z1Mdn3.js";import{u as v}from"./vendor-radix-ui-react-use-layout-effect-C8Yrsaph.js";var R=m[" useInsertionEffect ".trim().toString()]||v;function b({prop:e,defaultProp:s,onChange:t=()=>{},caller:f}){const[u,c,i]=C({defaultProp:s,onChange:t}),o=e!==void 0,a=o?e:u;{const n=r.useRef(e!==void 0);r.useEffect(()=>{const l=n.current;l!==o&&console.warn(`${f} is changing from ${l?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),n.current=o},[o,f])}const d=r.useCallback(n=>{if(o){const l=E(n)?n(e):n;l!==e&&i.current?.(l)}else c(n)},[o,e,c,i]);return[a,d]}function C({defaultProp:e,onChange:s}){const[t,f]=r.useState(e),u=r.useRef(t),c=r.useRef(s);return R(()=>{c.current=s},[s]),r.useEffect(()=>{u.current!==t&&(c.current?.(t),u.current=t)},[t,u]),[t,f,c]}function E(e){return typeof e=="function"}export{b as u};
@@ -1 +0,0 @@
1
- import"./vendor-react-B5Z1Mdn3.js";
@@ -1 +0,0 @@
1
- import{r as o}from"./vendor-react-B5Z1Mdn3.js";import{u as n}from"./vendor-radix-ui-react-use-callback-ref-BwDcSoGV.js";function p(a,e=globalThis?.document){const t=n(a);o.useEffect(()=>{const r=s=>{s.key==="Escape"&&t(s)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[t,e])}export{p as u};
@@ -1 +0,0 @@
1
- import{r as t}from"./vendor-react-B5Z1Mdn3.js";var a=globalThis?.document?t.useLayoutEffect:()=>{};export{a as u};