tokentracker-cli 1.3.14 → 1.3.15

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 (115) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/dashboard/dist/assets/{AchievementBadge-DJK8AWBF.js → AchievementBadge-CSXb26DC.js} +1 -1
  4. package/dashboard/dist/assets/{AchievementsPage-Cle78oKH.js → AchievementsPage-Bs6vIpd0.js} +2 -2
  5. package/dashboard/dist/assets/{AchievementsSection-BPqXDoPP.js → AchievementsSection-BO4u-574.js} +1 -1
  6. package/dashboard/dist/assets/{BadgeDetailModal-HsH_Pwsu.js → BadgeDetailModal-ic60vrZX.js} +1 -1
  7. package/dashboard/dist/assets/{BotAnimated-BWy2-z4Q.js → BotAnimated-BHHAUEQL.js} +1 -1
  8. package/dashboard/dist/assets/{Card-DPGBuBDb.js → Card-8t2FYLJV.js} +1 -1
  9. package/dashboard/dist/assets/{CloudCheckoutPage-ohIQnIhe.js → CloudCheckoutPage-CXaDDial.js} +1 -1
  10. package/dashboard/dist/assets/{CloudPage-OYiiZ4c4.js → CloudPage-DN6s_UrT.js} +2 -2
  11. package/dashboard/dist/assets/{CommandPalette-BmDZmpMi.js → CommandPalette-D7dHMpHK.js} +1 -1
  12. package/dashboard/dist/assets/{CommunityStatsModal-L86uJgyp.js → CommunityStatsModal-C55r20Vb.js} +1 -1
  13. package/dashboard/dist/assets/{ConfirmModal-COQfPXos.js → ConfirmModal-jSEqSSnW.js} +1 -1
  14. package/dashboard/dist/assets/{Controls-BkKlT6Dz.js → Controls-CqmoR37l.js} +1 -1
  15. package/dashboard/dist/assets/{DashboardPage-3dlQBOjz.js → DashboardPage-BLr2XmyZ.js} +1 -1
  16. package/dashboard/dist/assets/{DateRangePopover-D0UeP8ig.js → DateRangePopover-z89rKqjK.js} +1 -1
  17. package/dashboard/dist/assets/{DevicePage-K3CdWKaf.js → DevicePage-Ddm5uKOw.js} +1 -1
  18. package/dashboard/dist/assets/{DialogClose-DKQ2ZVA0.js → DialogClose-imfpTM8a.js} +1 -1
  19. package/dashboard/dist/assets/DialogDescription-BE5CNMW0.js +1 -0
  20. package/dashboard/dist/assets/{DialogTitle-ufFnN-8D.js → DialogTitle-Ca1-hka8.js} +1 -1
  21. package/dashboard/dist/assets/{ElectricLogo-Bb79UnTo.js → ElectricLogo-CrnDjhtG.js} +1 -1
  22. package/dashboard/dist/assets/{FadeIn-DlAKIU4I.js → FadeIn-CAr2EMcK.js} +1 -1
  23. package/dashboard/dist/assets/{HeaderGithubStar-CzwSyhEY.js → HeaderGithubStar-UK7qFFNh.js} +1 -1
  24. package/dashboard/dist/assets/{HoverTooltip-BEpwekkd.js → HoverTooltip-fs1HBOXB.js} +1 -1
  25. package/dashboard/dist/assets/{IpCheckPage-C7kpZ9JX.js → IpCheckPage-Bk-MlPWf.js} +1 -1
  26. package/dashboard/dist/assets/{LandingPage-CfYk0Jzy.js → LandingPage-DJnPCdqP.js} +2 -2
  27. package/dashboard/dist/assets/{LeaderboardPage-XgjAHwpy.js → LeaderboardPage-wVjwsqyc.js} +2 -2
  28. package/dashboard/dist/assets/{LeaderboardProBadge-wSlqVjBb.js → LeaderboardProBadge-BaQdHu06.js} +1 -1
  29. package/dashboard/dist/assets/{LeaderboardProfileModal-DaQrNYnu.js → LeaderboardProfileModal-D5ZZtIPl.js} +3 -3
  30. package/dashboard/dist/assets/{LeaderboardProfilePage-3SWjG8FQ.js → LeaderboardProfilePage-BZsBL2jT.js} +1 -1
  31. package/dashboard/dist/assets/{LimitsPage-DvM57ri3.js → LimitsPage-Cks_mKSL.js} +1 -1
  32. package/dashboard/dist/assets/{LocalOnlyNotice-CY6eDJEk.js → LocalOnlyNotice-DLnC_Tq4.js} +1 -1
  33. package/dashboard/dist/assets/{LoginCard-4bdpPQeD.js → LoginCard-FXZbjmOY.js} +1 -1
  34. package/dashboard/dist/assets/{LoginModal-Bmw7-b3f.js → LoginModal-_R-0ZtpQ.js} +1 -1
  35. package/dashboard/dist/assets/{LoginPage-CEI4nnlT.js → LoginPage-MzDRyv1Q.js} +1 -1
  36. package/dashboard/dist/assets/{PetPage-7Udtc9GY.js → PetPage-DJ58EiPT.js} +2 -2
  37. package/dashboard/dist/assets/{PopoverPopup-r2BvRKLO.js → PopoverPopup-uQa7G-IO.js} +1 -1
  38. package/dashboard/dist/assets/{ProviderIcon-Cy_pKLdw.js → ProviderIcon-xSNRuia-.js} +1 -1
  39. package/dashboard/dist/assets/{ResetPasswordPage-QKUaLtO3.js → ResetPasswordPage-BcVcWbsW.js} +1 -1
  40. package/dashboard/dist/assets/{Select-BsUrn8Ui.js → Select-Dwix4ZFd.js} +1 -1
  41. package/dashboard/dist/assets/{SelectItemText-Nis0uGZT.js → SelectItemText-Bz5cn5Gk.js} +1 -1
  42. package/dashboard/dist/assets/{SelfHostPage-DF8EzBEV.js → SelfHostPage-BLocCkUo.js} +1 -1
  43. package/dashboard/dist/assets/{ServiceStatusPage-BYmKzI_v.js → ServiceStatusPage-CzMjS7EQ.js} +1 -1
  44. package/dashboard/dist/assets/{SessionsPage-BsCVe75l.js → SessionsPage-Dqzuthrd.js} +1 -1
  45. package/dashboard/dist/assets/{SettingsPage-CIZ6WmNR.js → SettingsPage-DEdNhzKR.js} +3 -3
  46. package/dashboard/dist/assets/{SkillsPage-cwHyK0Hp.js → SkillsPage-CqocOQID.js} +1 -1
  47. package/dashboard/dist/assets/{TokenGalaxy-2S-ud67v.js → TokenGalaxy-B2sMNsM0.js} +1 -1
  48. package/dashboard/dist/assets/{TooltipPopup-GG7xjDOP.js → TooltipPopup-LzbtjRSA.js} +1 -1
  49. package/dashboard/dist/assets/{TrendMonitor-CrbXrVMe.js → TrendMonitor-DpMcMWVh.js} +1 -1
  50. package/dashboard/dist/assets/{WidgetsPage-HrhnI3C-.js → WidgetsPage-aKfztwsk.js} +1 -1
  51. package/dashboard/dist/assets/{WrappedPage-sm7UVFon.js → WrappedPage-NoY2hqbF.js} +1 -1
  52. package/dashboard/dist/assets/__vite-browser-external-BnGukaND.js +45 -0
  53. package/dashboard/dist/assets/{agent-logos-DGrrmPth.js → agent-logos-Oh8CLAYk.js} +1 -1
  54. package/dashboard/dist/assets/{arrow-left-DOzsdmqR.js → arrow-left-Mwggxctm.js} +1 -1
  55. package/dashboard/dist/assets/{arrow-right-CHb0kJou.js → arrow-right-Crx-kuck.js} +1 -1
  56. package/dashboard/dist/assets/{arrow-up-right-CH8vEEN1.js → arrow-up-right-uwoo8I0B.js} +1 -1
  57. package/dashboard/dist/assets/{calendar-days-_D5qnyH_.js → calendar-days-C6MeKaqh.js} +1 -1
  58. package/dashboard/dist/assets/{check-DZLesnNy.js → check-dsWQRYNj.js} +1 -1
  59. package/dashboard/dist/assets/{chevron-down-QL4xkUtL.js → chevron-down-BIf5bhyB.js} +1 -1
  60. package/dashboard/dist/assets/{cloud-checkout-DiCcWJVl.js → cloud-checkout-GnFRQdnr.js} +1 -1
  61. package/dashboard/dist/assets/{composite-DObGcQmb.js → composite-lINFdwLI.js} +1 -1
  62. package/dashboard/dist/assets/{download-BKp8pusR.js → download-B7eyvOxn.js} +1 -1
  63. package/dashboard/dist/assets/{external-link-B3p_TVGc.js → external-link-RNTsFDG4.js} +1 -1
  64. package/dashboard/dist/assets/{flame-Df9OTUym.js → flame-uwCJ6brb.js} +1 -1
  65. package/dashboard/dist/assets/{format-tokens-DXrEDEYs.js → format-tokens-Bf7JxB4E.js} +1 -1
  66. package/dashboard/dist/assets/{gift-DtWubiuR.js → gift-BY7kCGBK.js} +1 -1
  67. package/dashboard/dist/assets/{host-mode-C069A_hB.js → host-mode-Bs-UHw-7.js} +1 -1
  68. package/dashboard/dist/assets/{icons-lB1kfROy.js → icons-CrLu8vlW.js} +1 -1
  69. package/dashboard/dist/assets/{index-DsXIWrJx.js → index-CXQag63s.js} +1 -1
  70. package/dashboard/dist/assets/{index-D356L-jw.js → index-DYIIk93n.js} +1 -1
  71. package/dashboard/dist/assets/{index-M5BiC0jx.js → index-DieuzFHA.js} +1 -1
  72. package/dashboard/dist/assets/{info-CSG8OkG4.js → info-BteHQN_N.js} +1 -1
  73. package/dashboard/dist/assets/{link-2-BkBGu7FX.js → link-2-C1RSbOHv.js} +1 -1
  74. package/dashboard/dist/assets/{loader-circle-BERDkbsP.js → loader-circle-BM3x6_YL.js} +1 -1
  75. package/dashboard/dist/assets/{modifiers.esm-Ce5IvVw2.js → modifiers.esm-BHzOJfH3.js} +1 -1
  76. package/dashboard/dist/assets/{monitor-smartphone-zKuoJldz.js → monitor-smartphone-Ps3VptSt.js} +1 -1
  77. package/dashboard/dist/assets/{play-C0x-pxft.js → play-7MpFYU7a.js} +1 -1
  78. package/dashboard/dist/assets/{plus-DJvks-CX.js → plus-Dk-p9OaZ.js} +1 -1
  79. package/dashboard/dist/assets/{provider-display-C0e4tAFu.js → provider-display-Czwv4ClR.js} +1 -1
  80. package/dashboard/dist/assets/{react-Bg0_YfGs.js → react-D9vco0ZF.js} +1 -1
  81. package/dashboard/dist/assets/{safePolygon-CptquMWZ.js → safePolygon-Ca2iBTNb.js} +1 -1
  82. package/dashboard/dist/assets/{search-CLESf2Tg.js → search-Z2Hfw99-.js} +1 -1
  83. package/dashboard/dist/assets/{server-Cdwhp-2m.js → server-Dh_OraRG.js} +1 -1
  84. package/dashboard/dist/assets/{shield-check-8U4XqmW3.js → shield-check-59NUSZvk.js} +1 -1
  85. package/dashboard/dist/assets/{skills-api-ioDaxLLo.js → skills-api-Bguk8iPD.js} +1 -1
  86. package/dashboard/dist/assets/{sortable.esm-CEohF5EK.js → sortable.esm-C9M-1k5o.js} +1 -1
  87. package/dashboard/dist/assets/{store-CyOeiGFE.js → store-nR9Ah4fr.js} +1 -1
  88. package/dashboard/dist/assets/{terminal-BjgwEAH-.js → terminal-DKTXh9tj.js} +1 -1
  89. package/dashboard/dist/assets/{trash-Skj6z7D1.js → trash-CQRRKbCs.js} +1 -1
  90. package/dashboard/dist/assets/{use-community-stats-Cworqjzy.js → use-community-stats-BoOd2Hhq.js} +1 -1
  91. package/dashboard/dist/assets/{use-latest-request-guard-DMVWXXHE.js → use-latest-request-guard-vQtFEBIX.js} +1 -1
  92. package/dashboard/dist/assets/{use-limits-display-prefs-DKJZcYfE.js → use-limits-display-prefs-BRTj9_xd.js} +1 -1
  93. package/dashboard/dist/assets/{use-native-settings-CQF4BLQl.js → use-native-settings-CC6uEn3j.js} +1 -1
  94. package/dashboard/dist/assets/{use-ordered-list-B9yoUGUU.js → use-ordered-list-BUx6eIN7.js} +1 -1
  95. package/dashboard/dist/assets/use-reduced-motion-BZBrXeyc.js +1 -0
  96. package/dashboard/dist/assets/{use-session-efficiency-pref-K00bK2sQ.js → use-session-efficiency-pref-BsUypXPb.js} +1 -1
  97. package/dashboard/dist/assets/{use-transform-Cfw11yOU.js → use-transform-oomGXI86.js} +1 -1
  98. package/dashboard/dist/assets/{use-usage-limits-BE2dJXFd.js → use-usage-limits-CXeCKJZ_.js} +1 -1
  99. package/dashboard/dist/assets/{useCurrency-BW7y9Tdv.js → useCurrency-DIZEXq5g.js} +1 -1
  100. package/dashboard/dist/assets/{usePositioner-DhtQcPOC.js → usePositioner-Drh2sy7w.js} +1 -1
  101. package/dashboard/dist/assets/{useTokenFormat-BnvzUc-t.js → useTokenFormat-DKURSOqb.js} +1 -1
  102. package/dashboard/dist/assets/{zap-BQ3BR9On.js → zap-BQ8nGK7b.js} +1 -1
  103. package/dashboard/dist/index.html +1 -1
  104. package/dashboard/dist/ip-check.html +1 -1
  105. package/dashboard/dist/leaderboard.html +1 -1
  106. package/dashboard/dist/pricing.html +1 -1
  107. package/dashboard/dist/share.html +1 -1
  108. package/dashboard/dist/terms.html +1 -1
  109. package/package.json +1 -1
  110. package/src/lib/pricing/curated-overrides.json +47 -0
  111. package/src/lib/pricing/matcher.js +11 -3
  112. package/src/lib/pricing/seed-snapshot.json +1 -1
  113. package/dashboard/dist/assets/DialogDescription-MbuaPFlj.js +0 -1
  114. package/dashboard/dist/assets/__vite-browser-external-C7JgMYNl.js +0 -45
  115. package/dashboard/dist/assets/use-reduced-motion-DPUViCfp.js +0 -1
@@ -1 +1 @@
1
- import{j as l}from"./__vite-browser-external-C7JgMYNl.js";function g({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z"})})}function h({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",className:r,children:l.jsx("path",{d:"M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"})})}function u({size:c=16,className:r=""}){return l.jsxs("span",{className:`relative inline-block shrink-0 ${r}`.trim(),style:{width:c,height:c},"data-brand":"acode","aria-hidden":"true",children:[l.jsx("img",{src:"/brand-logos/acode.png",alt:"",width:c,height:c,className:"block h-full w-full object-contain dark:hidden"}),l.jsx("img",{src:"/brand-logos/acode-dark.png",alt:"",width:c,height:c,className:"hidden h-full w-full object-contain dark:block"})]})}function f({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z"})})}function j({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z"})})}function w({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})})}function L({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 -1 22 28",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M4.125 20.149c-2.69 5.959 3.036 7.453 7.26 3.966 1.24 3.91 5.898.993 7.569-2.036 3.682-6.678 2.195-13.49 1.813-14.895-2.617-9.582-15.699-9.592-17.95.049-.526 1.687-.535 3.606-.833 5.598-.15 1.005-.256 1.646-.645 2.703-.223.607-.53 1.147-1.014 2.056-.75 1.412-.434 4.138 3.434 2.724v.001ZM11.895 11.332c-1.073 0-1.234-1.283-1.234-2.048 0-.69.124-1.239.358-1.586a1 1 0 0 1 .876-.462c.375 0 .697.158.924.47.259.354.395.9.395 1.578 0 1.283-.493 2.048-1.319 2.048Zm4.416 0c-1.073 0-1.234-1.283-1.234-2.048 0-.69.124-1.239.358-1.586a1 1 0 0 1 .876-.462c.375 0 .697.158.924.47.259.354.396.9.396 1.578 0 1.283-.494 2.048-1.32 2.048Z"})})}function I({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M16 6H8v12h8V6zm4 16H4V2h16v20z"})})}function M({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:[l.jsx("path",{d:"M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z"}),l.jsx("path",{d:"M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z"})]})}function d({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,"aria-hidden":"true",children:l.jsx("path",{d:"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z"})})}function m({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z"})})}function C({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 64 60",fill:"none",className:r,"aria-hidden":"true",children:[l.jsx("path",{fill:"currentColor",d:"M37.2114 3.75318C37.6821 3.33106 37.7106 3.31457 38.0558 3.29385C38.6149 3.2531 39.1272 3.52199 39.9989 4.31564C42.0356 6.16652 44.8714 9.97183 46.6346 13.2212L47.3163 14.4819L48.2782 14.9605C49.2072 15.4299 50.7308 16.3923 51.3672 16.9085C51.655 17.1464 51.6956 17.1508 51.9947 17.0344C53.3454 16.5084 55.2803 17.206 56.9869 18.8432C58.5231 20.3155 59.9943 22.8312 60.558 24.9308C60.6403 25.2687 60.7493 25.9952 60.7891 26.5362C60.9177 28.4358 60.3092 29.9532 59.1362 30.64C58.8965 30.7784 58.8801 30.8158 58.8868 31.4132C58.9409 34.2583 58.1741 37.0985 56.6335 39.8679C54.8946 42.9773 51.7981 46.1938 47.6074 49.2243C45.357 50.8619 40.0323 53.964 37.6248 55.0532C31.8578 57.6496 27.2346 58.646 23.2188 58.154C20.8236 57.8638 18.1124 56.9287 16.5082 55.8433C16.086 55.5515 16.0191 55.5329 15.6966 55.6251C13.9793 56.1185 11.73 55.1053 9.81931 52.9844C9.05725 52.1366 7.82714 50.0548 7.42839 48.9409C6.50606 46.3339 6.68976 43.9816 7.91836 42.5767C8.23573 42.2149 8.2453 42.1995 8.17598 41.5912C8.06148 40.5951 8.00971 39.1206 8.06202 38.1692L8.10361 37.2803L6.76977 34.9212C4.70378 31.2451 3.3912 28.1582 2.88489 25.7998C2.61762 24.5066 2.63385 23.9324 2.96214 23.5078C3.16198 23.2515 3.81796 22.9866 4.60785 22.8407C6.59665 22.4917 10.9334 22.8076 15.7581 23.6595L16.259 23.7458L17.3608 22.7713C19.1891 21.1519 20.4038 20.244 22.6429 18.8478C24.9768 17.3876 27.6108 16.1858 30.577 15.2346L31.5295 14.9294L32.0526 13.5561C33.9257 8.61146 35.8437 4.96584 37.2114 3.75318ZM21.5208 29.0919C19.404 30.314 18.3453 30.9251 17.5676 31.6099C14.4179 34.3835 13.2414 38.777 14.5823 42.7537C14.9135 43.7357 15.5247 44.7942 16.7469 46.9111C17.9691 49.0279 18.5801 50.0865 19.2649 50.8643C22.0385 54.014 26.4316 55.1918 30.4084 53.8509C31.3904 53.5198 32.4489 52.9085 34.5657 51.6863L46.7442 44.6551C48.8613 43.4328 49.9205 42.8214 50.6983 42.1365C53.8479 39.363 55.0245 34.9695 53.6835 30.9927C53.3524 30.0107 52.7412 28.9522 51.519 26.8354C50.2968 24.7185 49.6858 23.66 49.0009 22.8822C46.2274 19.7325 41.8342 18.5547 37.8575 19.8956C36.8754 20.2267 35.8163 20.8383 33.6993 22.0606L21.5208 29.0919Z"}),l.jsx("g",{transform:"rotate(-30 22.6953 37.6011)",children:l.jsx("rect",{x:"22.6953",y:"37.6011",width:"4.81084",height:"9.99175",rx:"2.40542",fill:"currentColor"})}),l.jsx("g",{transform:"rotate(-30 35.6748 30.1074)",children:l.jsx("rect",{x:"35.6748",y:"30.1074",width:"4.81084",height:"9.99175",rx:"2.40542",fill:"currentColor"})})]})}function p({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 512 512",className:r,"data-brand":"trae-cn","aria-hidden":"true",children:[l.jsx("rect",{x:"48",y:"48",width:"416",height:"416",rx:"76",fill:"#FFFFFF"}),l.jsx("path",{fill:"#000000",d:"M130 168 H381 V344 H166 V312 H346 V204 H130 Z"}),l.jsx("path",{fill:"#000000",d:"M130 204 H165 V308 H130 Z"}),l.jsx("path",{fill:"#000000",d:"M231 234 C244 234 254 244 254 256 C254 268 244 278 231 278 C218 278 207 268 207 256 C207 244 218 234 231 234 Z"}),l.jsx("path",{fill:"#000000",d:"M302 234 C315 234 326 244 326 256 C326 268 315 278 302 278 C289 278 278 268 278 256 C278 244 289 234 302 234 Z"})]})}function O({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",className:r,children:[l.jsx("path",{d:"M5.938 12.835c.127-.039.285.02.373.143.028.038.036.092.046.14.003.014-.02.033-.04.05-.124-.098-.24-.194-.354-.291-.011-.01-.016-.027-.025-.042zM8.396 9.412c.195-.032.39-.06.588-.05a.54.54 0 01.148.026c.202.071.402.147.601.224.028.01.05.036.075.055l-.013.027a9.203 9.203 0 01-.26-.089c-.115-.038-.213-.077-.315-.098-.25-.05-.25-.046-.292-.014l.574.144c.275.139.55.276.823.417.042.022.09.057.107.098.026.06.063.076.117.072.066-.006.132-.017.213-.027l-.04.086c.051.08.142.02.216.064-.074.13-.247.09-.334.199l.061.074-.12.087c0 .106-.038.168-.306.243l.026.085-.196.042.07.124h-.25l-.007.137c-.081-.01-.161-.018-.244-.027l-.053.123c-.027-.008-.052-.011-.073-.023-.067-.038-.128-.056-.195.006-.019.017-.063.014-.093.008-.026-.006-.05-.029-.07-.042-.11.095-.11.095-.208.003-.057.046-.12.074-.186.011-.063.027-.123-.02-.178-.014-.07.007-.097-.035-.133-.07l-.13.033c-.013-.236-.194-.19-.34-.203.005-.072.05-.092.095-.094a.474.474 0 01.159.022c.164.05.32.12.496.138.203.021.405.029.601-.015.265-.059.52-.149.707-.365.049-.056.083-.127.117-.195.019-.038.02-.084-.02-.116a1.397 1.397 0 00-.382-.217c.024.12-.031.182-.115.221 0 .014-.004.025 0 .03.08.115.084.16-.007.267a1.39 1.39 0 01-.218.211.477.477 0 01-.641-.05 1.36 1.36 0 01-.133-.152c-.078-.107-.076-.108-.033-.236-.165-.08-.128-.226-.104-.364.008-.05.028-.096.049-.163-.04.014-.067.017-.087.032a.897.897 0 00-.316.357c-.007.016-.01.034-.02.047-.012.015-.034.038-.045.035-.02-.006-.037-.027-.05-.045-.008-.012-.007-.032-.012-.057h-.126l.053-.172a14.82 14.82 0 00-.039-.049l.11-.284c-.06.026-.091.044-.124.051-.03.007-.064 0-.095 0 0-.031-.01-.07.004-.092.149-.22.305-.428.593-.476z"}),l.jsx("path",{d:"M8.06 10.788c-.003-.038-.004-.075.037-.062.016.006.034.048.028.067-.01.04-.038.032-.064-.005z"}),l.jsx("path",{d:"M11.981.009c.226-.012.453-.011.679 0 .247.01.495.024.74.062.401.064.798.157 1.19.273.463.138.92.299 1.356.511a7.31 7.31 0 012.948 2.642c.292.469.536.963.739 1.479.219.556.446 1.11.623 1.683.204.654.329 1.326.458 1.997.097.504.182 1.01.29 1.511.156.722.329 1.44.494 2.16.186.812.4 1.615.63 2.415.102.355.193.713.282 1.072.11.436.202.876.254 1.323.031.278.066.557.073.837a7.56 7.56 0 01-.017.88c-.037.413-.1.818-.226 1.212a5.017 5.017 0 01-.915 1.649l-.13.156.018.023c.043-.023.088-.041.127-.068.2-.138.373-.307.531-.49.4-.46.721-.973.975-1.529a3.59 3.59 0 00.325-1.72c-.024-.424-.097-.834-.3-1.213-.013-.027-.015-.06-.03-.121.05.035.082.048.101.072.107.13.22.258.315.398.33.494.46 1.052.486 1.64a3.75 3.75 0 01-.47 1.97c-.36.655-.887 1.14-1.526 1.506-.193.111-.394.21-.595.308-.157.078-.248.211-.318.365a.522.522 0 00-.033.406.359.359 0 01.013.139c-.005.077-.077.155-.14.162-.054.006-.125-.043-.15-.116a1.206 1.206 0 01-.06-.233c-.04-.314-.155-.6-.308-.87a3.906 3.906 0 00-.73-.91 2.129 2.129 0 00-.897-.524 4.093 4.093 0 00-.692-.131c-.075-.008-.15-.04-.22.01.18.06.363.11.538.18.434.173.82.43 1.18.728.308.255.58.543.794.884.098.155.186.315.227.496.027.123.042.25.067.375.013.062-.002.109-.053.144-.047.033-.122.034-.163-.01a.455.455 0 01-.08-.14c-.03-.073-.038-.159-.078-.225a7.314 7.314 0 00-1.423-1.664c-.16-.137-.329-.26-.537-.323-.376-.114-.753-.203-1.15-.154-.213.025-.427.032-.64.053a1.6 1.6 0 00-.736.278 5.14 5.14 0 00-.834.72c-.329.342-.642.699-.955 1.055-.136.155-.264.319-.314.531a5.227 5.227 0 00-.012.051.096.096 0 01-.09.076h-.31c-.046 0-.082-.048-.072-.094.023-.108.045-.216.07-.324.075-.325.19-.635.368-.917.024-.039.04-.088.104-.08l.01.049.027.077c.28-.435.571-.834.996-1.135.283-.204.584-.378.89-.55a.196.196 0 00-.098-.002c-.162.043-.325.084-.485.134-.402.124-.764.33-1.11.566-.147.1-.298.193-.414.333a7.314 7.314 0 00-1.07 1.767.845.845 0 00-.04.12.075.075 0 01-.072.056h-.494c-.04 0-.062-.051-.036-.082.123-.14.246-.282.377-.415.275-.281.58-.532.777-.884.027-.048.063-.09.095-.135.238-.333.54-.607.818-.902.082-.086.175-.16.26-.24.029-.027.053-.057.079-.085l-.018-.025-.135.041c-.034.017-.07.031-.102.05-.248.144-.494.292-.743.433-.408.23-.825.439-1.209.711-.281.2-.591.358-.889.533-.02.012-.044.015-.08.028-.015-.135.143-.201.108-.336-.033.014-.064.02-.085.038-.111.096-.227.19-.328.296-.148.157-.284.325-.425.488-.125.143-.25.286-.373.431A.153.153 0 019.89 24H8.762a.316.316 0 00.016-.042c.028-.09.085-.172.083-.28-.091-.018-.162.001-.212.077a4.45 4.45 0 00-.136.215c-.01.016-.024.03-.042.03h-.093c-.019 0-.029-.022-.017-.037.071-.088.14-.178.209-.268.001-.002-.006-.012-.012-.024-.014.004-.03.006-.045.013-.176.09-.352.181-.527.274a.363.363 0 01-.168.042H5.202c-.026 0-.039-.036-.019-.053.21-.178.402-.374.558-.605.335-.496.538-1.047.667-1.629.004-.02-.003-.043-.006-.091-.037.048-.059.072-.076.1a1.943 1.943 0 01-.334.415c-.28.258-.59.448-.983.464-.297.012-.588 0-.865-.127-.46-.21-.722-.57-.794-1.072-.025-.17-.017-.171-.182-.219A3.513 3.513 0 011.97 20.6a2.286 2.286 0 01-.808-1.13 3.569 3.569 0 01-.16-1.245c.002-.034.016-.067.024-.1.032.023.046.043.05.066.033.153.059.308.096.46.086.355.257.664.516.92.258.256.571.419.91.532.358.118.717.138 1.07-.016a1.89 1.89 0 00.621-.452c.328-.348.533-.76.648-1.223.009-.034.005-.071.007-.11-.015.006-.026.006-.03.011-.031.05-.064.1-.093.152-.284.502-.679.887-1.196 1.135-.351.17-.718.255-1.11.159a1.607 1.607 0 01-.971-.64 2.006 2.006 0 01-.368-.924 2.903 2.903 0 01.02-.886c.05-.439.466-1.17.742-1.271-.02.063-.035.112-.053.16-.043.116-.097.227-.13.345a1.901 1.901 0 00-.05.82c.033.212.09.416.204.6.147.236.346.407.62.465.11.023.225.014.338.018a.576.576 0 00.386-.131c.164-.128.282-.292.366-.481.168-.375.24-.777.309-1.179.05-.296.093-.594.133-.893.039-.281.071-.563.104-.845.026-.232.048-.464.074-.696.024-.228.052-.455.076-.683.024-.227.047-.455.069-.683.013-.14.022-.28.034-.42l.037-.417c.022-.25.041-.5.065-.748.008-.082-.02-.132-.09-.177a2.46 2.46 0 01-.492-.418c-.1-.109-.188-.228-.282-.342-.035-.042-.056-.097-.116-.118a2.084 2.084 0 00.275.597c.06.092.131.176.196.265.063.086.182.115.234.226-.028.003-.046.01-.06.006a4.74 4.74 0 01-.22-.057 2.71 2.71 0 01-1.287-.819c-.435-.487-.656-1.076-.71-1.723a5.206 5.206 0 01.014-1.06c.072-.602.22-1.186.45-1.745.155-.376.338-.741.526-1.102.205-.393.466-.75.765-1.076.512-.559 1.104-1.024 1.726-1.448.717-.49 1.478-.898 2.277-1.233C8.244.828 8.767.632 9.31.494c.655-.166 1.31-.33 1.982-.415.229-.03.458-.058.688-.07zm-1.847 22.82c-.07.06-.147.111-.207.18-.238.27-.464.549-.668.869l-.044.108a.177.177 0 00.093-.057c.174-.19.351-.378.519-.574.104-.122.195-.255.288-.386.024-.034.03-.08.046-.12l-.027-.02zm1.65-3.695a5.51 5.51 0 00-.653.593l-.37.386a.963.963 0 01-.377.25 1.372 1.372 0 01-.467.09c-.044 0-.087.006-.151.012.028.058.043.097.064.131.15.242.301.482.45.724.136.22.276.438.399.666.068.125.105.267.156.404.077.027.14-.018.202-.048.29-.135.579-.274.867-.412.213-.101.437-.186.636-.31.347-.215.68-.455 1.018-.685.015-.01.026-.028.042-.046-.023-.019-.038-.037-.056-.044-.287-.111-.527-.3-.77-.482a5.319 5.319 0 01-.506-.42 1.757 1.757 0 01-.41-.653c-.019-.049-.045-.095-.075-.156zm-5.847.264c-.06.096-.097.194-.132.293a3.38 3.38 0 01-.555 1.01c-.2.25-.455.412-.762.493-.23.06-.464.076-.7.07-.048-.002-.097.002-.158.005.016.04.021.066.035.085.1.145.23.246.4.295.157.046.316.034.498.023.181-.037.343-.115.485-.234.238-.199.402-.454.536-.732.175-.363.264-.751.342-1.144.01-.053.008-.11.011-.164zm14.945-4.586c.008.029.016.057.027.107.024.155.051.31.072.464.03.219.067.437.078.657.017.344.027.689-.014 1.033-.037.315-.063.633-.116.946a6.153 6.153 0 01-.46 1.518c-.008.018-.01.039-.02.082.047-.03.077-.042.098-.064.085-.083.17-.167.248-.255.271-.305.458-.66.596-1.043.18-.498.228-1.011.145-1.531-.103-.65-.33-1.263-.597-1.881a9.055 9.055 0 00-.024-.055l-.033.022zM5.797 8.29a.26.26 0 00.018.153c.124.251.25.501.379.75.025.049.066.09.03.163-.284.06-.578.119-.88.255.059.038.097.06.132.087.042.032.112.058.09.12-.01.033-.075.048-.117.072.017.01.043.021.067.036.166.102.33.207.447.368.138.192.229.404.188.644-.079.469-.306.85-.69 1.132-.054.04-.106.083-.161.122a.243.243 0 00-.103.245.77.77 0 00.055.195c.083.196.22.35.375.492.083.076.159.164.222.257a.37.37 0 01.025.377c-.023.05-.05.099-.076.148-.03.06-.028.111.022.162.041.042.08.089.112.138.038.058.078.079.147.05a.486.486 0 01.333-.006c.16.046.302.126.444.21.13.077.264.149.4.219.067.035.14.05.219.026.071-.022.124.01.145.076.02.064-.003.108-.074.139-.07.03-.137.063-.209.088-.1.035-.201.073-.314.077-.013-.107.11-.088.127-.159-.206-.126-.643-.145-.801-.034.063.112.035.21-.096.313-.13-.1-.025-.202.002-.3a.209.209 0 00-.249.17c-.015.101.067.216.178.224.108.007.218-.005.326-.012.06-.005.12-.027.199 0-.103.123-.248.127-.357.19.002.05.07.086.019.131-.053.048-.095-.001-.132-.03-.08-.063-.16-.126-.231-.197a.474.474 0 01-.157-.311.52.52 0 00-.043-.172c-.032-.074-.032-.137.033-.19-.018-.03-.028-.053-.045-.072a1.222 1.222 0 01-.196-.369c-.053-.137-.046-.264.048-.381.024-.03.05-.06.064-.095a.664.664 0 00.047-.168c.017-.165-.064-.287-.182-.387-.186-.156-.36-.322-.46-.551-.005-.011-.024-.017-.037-.026-.011.017-.024.027-.025.038-.019.185-.045.37-.052.557-.014.377.058.743.162 1.104.118.41.289.798.488 1.173.267.502.537 1.002.812 1.5.055.098.13.189.208.27.198.202.452.272.724.273.202 0 .404-.006.605-.026.295-.03.59-.073.884-.113.183-.025.365-.057.548-.08.21-.026.38.073.522.21.16.156.305.327.447.5.22.265.397.56.554.867.05.098.07.1.147.03.13-.121.26-.242.394-.36.067-.059.088-.12.067-.213a3.535 3.535 0 01-.085-.796c.002-.157.006-.314.018-.471.015-.224.03-.45.06-.672a59.114 59.114 0 01.362-2.298c.087-.493.182-.984.268-1.477.06-.347.118-.694.162-1.043.034-.273.055-.55.063-.825.011-.332.003-.665.002-.998 0-.077.004-.155-.01-.23-.028-.142-.01-.155-.162-.19a5.826 5.826 0 00-.607-.107c-.146-.018-.207-.053-.221-.19-.006-.049-.025-.098-.041-.146-.009-.025-.024-.048-.046-.09l-.025.264c-.009.096-.029.116-.127.115-.055 0-.11-.008-.164-.008-.476 0-.952-.008-1.426.032-.095.008-.173-.015-.226-.103-.04-.066-.088-.126-.134-.186-.063-.084-.086-.093-.182-.06-.195.068-.388.138-.582.21a2.71 2.71 0 00-.675.394.986.986 0 01-.323.168c-.033.01-.07.008-.127.013.02-.066.024-.114.047-.15.064-.105.135-.205.205-.306.023-.033.049-.063.073-.095l-.015-.023-.201.037c-.146.04-.296.07-.437.122-.148.053-.266.023-.386-.072a3.623 3.623 0 01-.733-.786l-.093-.132zm8.592 8.963l-.147.09c-.22.134-.44.266-.659.402-.093.058-.184.12-.27.188-.085.07-.124.161-.072.272.047.1.093.2.147.294.047.08.124.138.213.147.11.01.228.012.336-.012.217-.05.372-.205.528-.357a.291.291 0 00.087-.308c-.046-.18-.079-.365-.118-.547-.011-.052-.027-.103-.045-.169zm-.257-2.409c-.12.291-.205.597-.325.91-.151.433-.294.87-.435 1.323.036-.01.054-.01.067-.018.261-.16.522-.324.785-.484.054-.033.071-.078.065-.138-.012-.13-.024-.262-.034-.393l-.068-.886c-.008-.103-.02-.206-.029-.31-.009 0-.017-.002-.026-.004zm3.081-8.13l.099.285c.08.231.159.463.24.714l.58 1.952c.187.63.372 1.262.558 1.893.114.382.235.762.343 1.146.072.257.126.519.186.799.044.206.087.413.127.64.034.106.023.226.077.325l.025-.006-.068-.362c-.038-.206-.077-.412-.113-.638-.015-.07-.029-.141-.046-.211-.095-.396-.177-.796-.29-1.187-.196-.685-.413-1.364-.618-2.046-.165-.549-.322-1.1-.488-1.648-.069-.227-.15-.45-.226-.695l-.117-.336c-.037-.107-.075-.216-.115-.322-.04-.106-.084-.21-.127-.314a7.558 7.558 0 01-.027.01zM6.225 14.304c-.063-.001-.115.014-.134.083a.35.35 0 00.41.012 4.533 4.533 0 00-.276-.095zM5.23 11.98c-.026-.027-.057-.048-.075.002-.012.032-.007.07-.01.113.082-.037.082-.037.085-.115zm.062-1.189a.135.135 0 00-.088.056.197.197 0 00-.025.11c.005.152.01.306.026.457a.751.751 0 00.066.218c.061.136.157.167.288.101.055-.027.06-.054.025-.11a4.52 4.52 0 01-.129-.211c-.015-.068-.066-.131-.033-.207.04-.09-.076-.116-.074-.19V10.874c-.003-.038-.006-.087-.056-.083zm-.017-.968a.867.867 0 00-.467.127c-.076.045-.084.07-.05.158.034.087.07.173.115.254.064.117.09.125.21.077a.657.657 0 01.336-.053c.202.022.357.136.504.264l.092.077c.007-.006.014-.013.022-.018-.019-.105-.035-.226-.149-.264-.157-.053-.324-.075-.508-.117l-.24-.005c.24-.169.452-.044.687.009-.063-.115-.153-.147-.23-.193-.082-.05-.17-.092-.25-.144-.06-.037-.12-.08-.072-.172zm10.233.325c-.23-.01-.427.08-.608.211-.034.026-.06.065-.105.117.087.026.15.046.232.065.044-.015.088-.03.13-.046.306-.114.61-.115.904.031.126.063.237.04.366-.005-.02-.031-.03-.054-.045-.071a.986.986 0 00-.448-.273c-.14-.044-.284-.024-.426-.03zM7.99 6.483a.308.308 0 00.002.133c.08.321.156.643.242.962.104.387.27.75.456 1.103.02.037.061.08.098.087a.404.404 0 00.253-.051l-.472-.84c-.23-.448-.405-.92-.579-1.394zM10.397.497c-.2-.008-.405.004-.603.034-.236.035-.47.087-.7.152-.287.08-.569.18-.852.273-.04.013-.074.038-.11.058.028.014.05.018.07.014.287-.068.58-.085.873-.09.134-.002.269.009.402.025.19.024.382.048.57.09.456.104.874.3 1.265.556.464.306.888.66 1.257 1.078.205.232.395.475.56.739.17.274.315.561.449.856.273.601.456 1.232.6 1.876.04.173.07.348.1.524.017.104.065.167.17.19.122.028.2.105.22.251-.003.102-.06.174-.129.24a1.065 1.065 0 00-.268.358.164.164 0 00.083-.039c.08-.086.162-.172.235-.265a.56.56 0 00.13-.333c.009-.05.022-.1.024-.15.007-.124-.017-.15-.143-.168-.025-.004-.049-.014-.073-.015-.082-.007-.125-.063-.137-.131-.033-.198-.004-.355.247-.408.086-.018.174-.03.26-.042.158-.023.315-.053.473-.067.14-.012.19.033.226.167.008.029.018.057.021.087.019.179-.008.225-.141.288-.027.013-.055.024-.078.042a.148.148 0 00-.051.067c-.039.144.073.382.206.445l.673.32c.023.011.05.015.075.023l.018-.026c-.015-.008-.032-.013-.044-.024a2.27 2.27 0 00-.544-.32 4.898 4.898 0 00-.173-.075.203.203 0 01-.126-.191c-.003-.085.045-.154.128-.187l.059-.025c.099-.044.118-.076.112-.187a.384.384 0 00-.008-.063c-.067-.294-.123-.59-.205-.88a9.478 9.478 0 00-.826-2.036 7.465 7.465 0 00-1.39-1.805 4.536 4.536 0 00-1.177-.824 3.656 3.656 0 00-1.016-.328 6.155 6.155 0 00-.712-.074zm6.719 5.955c.01.014.018.028.038.034l-.022-.044-.016.01zM4.103 3.917a.062.062 0 01-.03.012.455.455 0 01-.04.039c-.01.01-.02.02-.045.04l-.363.354c-.088.085-.17.178-.266.253-.284.22-.425.53-.544.855a.132.132 0 00-.007.071c.013.055.033.108.052.168l.074.026c-.017.056-.03.105-.047.152-.058.164-.118.327-.175.491-.005.015.008.036.019.077.08-.175.158-.33.225-.489.228-.544.484-1.074.819-1.561.09-.133.182-.266.283-.401.004-.006.007-.013.022-.03.001-.016.003-.032.015-.04l.008-.017zm12.976 2.408a.023.023 0 01.009.019.073.073 0 00-.006.01.188.188 0 00.007.02l.018.022c.002-.007.007-.016.005-.021-.003-.01-.012-.018-.02-.038a1.331 1.331 0 01-.013-.012zM4.199 4.48c-.003.004-.008.008-.027.014-.005.013-.011.025-.031.047a2.085 2.085 0 01-.124.167c-.048.07-.116.055-.181.041-.134-.028-.228.016-.287.143-.089.187-.187.37-.273.56-.049.108-.11.216-.118.36.081.003.154.007.228.008h.228a2.563 2.563 0 01-.079.264c-.01.052-.022.103-.033.155l.02.004c.018-.046.037-.092.067-.153.066-.142.13-.285.2-.426.02-.04.034-.1.116-.092 0 .043.004.084 0 .124-.005.045-.017.09-.028.143.141.043.086.174.115.269.102-.022.104-.195.248-.144v.205l.017.002.439-1.059c-.13 0-.246-.02-.358.033-.024.011-.058-.001-.108-.004.075-.15.139-.278.211-.417a.128.128 0 01.025-.036c0-.015-.001-.03.008-.038l.006-.02c-.005.006-.01.011-.028.017-.004.012-.009.024-.026.045a.085.085 0 01-.032.033c-.123.157-.09.164-.258.106-.079-.027-.078-.028-.047-.144.028-.046.056-.093.098-.15 0-.016-.001-.032.007-.042L4.2 4.48zm2.073-.67c-.003.006-.007.011-.027.016-.094.125-.194.246-.28.377-.155.238-.301.481-.451.723-.14.224-.345.368-.575.481-.017.008-.04.006-.079.011.012-.059.016-.109.033-.153a6.076 6.076 0 01.229-.518l-.007-.02a.138.138 0 01-.035.025c-.028.05-.055.1-.093.164-.26.424-.443.817-.442.95.024.004.048.011.073.013.177.013.188.007.26-.165.03-.07.077-.12.147-.15l.175-.07c.044-.018.085-.057.146-.032.003.05-.01.11.014.145.042.062.044.125.047.193.002.049.017.098.026.147.029-.034.039-.065.05-.097.142-.39.277-.782.428-1.17.1-.256.22-.504.33-.756.013-.03.013-.067.03-.092V3.81zm3.987-.34c0 .045.01.084.021.123.042.16.094.318.124.48.024.133.023.27.028.406 0 .033-.019.067-.032.11-.094-.058-.047-.158-.106-.215h-.125c-.015.072-.01.152-.046.2-.066.085-.155.154-.236.227-.043.038-.078.018-.103-.025l-.046-.087c-.065.035-.117.069-.172.093-.116.051-.235.095-.35.147-.085.038-.09.053-.07.147.014.075.034.148.047.223.013.072.05.109.123.124.233.05.462.115.657.265.058-.102.058-.102.168-.151.03-.014.06-.03.092-.042.08-.03.115-.017.15.06.023.048.041.098.066.158.06-.14-.042-.267.017-.416.157.18.24.39.375.567a.235.235 0 00.022-.098c.002-.124 0-.247.002-.371 0-.034.013-.067.02-.1l.032-.003c.11.155.13.354.226.52a3.036 3.036 0 00-.01-.392c-.004-.045 0-.074.05-.088.08.036.116.14.215.158-.03-.275-.423-1.137-.798-1.635-.114-.127-.2-.28-.34-.386zm-2.667.696c-.019.034-.03.05-.037.067-.061.185-.125.37-.18.556-.031.105-.087.169-.195.19-.09.019-.178.052-.268.073-.038.009-.089.015-.118-.003-.024-.016-.025-.069-.036-.106-.064.076-.082.087-.17.047-.133-.062-.262-.135-.393-.201-.048-.025-.093-.063-.17-.03-.043.12-.091.25-.137.382-.099.28-.087.242.095.453.046.048.102.03.154.023.054-.009.106-.03.16-.036.13-.013.26-.08.367-.015.204-.064.387-.122.571-.178.05-.015.089.005.114.054.022.042.034.093.082.121.038-.056-.013-.128.063-.178l.14.241-.042-1.46zm.278.358c-.096-.01-.107.01-.11.108-.002.038-.003.078.002.115.03.2.099.386.174.57.002.006.012.01.022.015l.078-.05c.052.036.081.088.153.088.205-.002.41.014.616.012.099-.001.158.042.205.12.018.03.024.077.088.066l-.08-.394c-.05-.195-.085-.395-.172-.589-.057.057-.114.068-.18.046a.72.72 0 00-.135-.028c-.22-.028-.44-.059-.66-.08zm10.254-1.727c.089.163.155.316.139.491-.016.168.026.342-.044.516-.047-.033-.088-.082-.112-.075-.117.035-.164-.057-.227-.115a4.772 4.772 0 01-.286-.29l-.104-.113a4.856 4.856 0 01-.023.019c.035.046.07.093.11.156.04.064.084.127.122.193.034.058.065.118.031.205-.082-.01-.164-.019-.246-.032-.06-.01-.101 0-.124.07-.031.098-.037.096-.15.09.02.042.036.08.057.116.041.074.03.138-.03.196-.06.06-.118.122-.178.181a.175.175 0 01-.185.046c-.222-.061-.447-.113-.67-.174-.032-.009-.063-.04-.086-.068-.03-.04-.052-.087-.08-.13-.044-.07-.09-.138-.136-.207a.18.18 0 00-.014.105c.012.127.03.253.035.38.005.1-.024.12-.121.104-.104-.017-.206-.04-.31-.058-.064-.012-.131-.028-.202.03l.081.208c.09 0 .166-.01.237.002a.819.819 0 01.458.251c.078.083.154.168.241.26l.018-.005c-.004-.006-.008-.013-.01-.04.014-.056-.062-.118.018-.178.031.03.064.057.088.09.058.078.111.159.169.257l.089.141.024-.013a2093.819 2093.819 0 01-.427-.934c.055.007.083.007.108.016.193.07.385.142.577.216.074.028.147.06.219.094.062.028.112.018.157-.033.05-.056.102-.112.154-.167.05-.051.095-.046.132.014.016.025.026.053.04.08.071.138.143.277.217.433l.159.308.025-.011c-.044-.106-.07-.218-.138-.334-.057-.182-.168-.346-.206-.545.136.034.362.326.567.732l.057.074.018-.011a1.563 1.563 0 01-.052-.127c-.046-.145-.097-.29-.136-.436-.022-.083-.036-.173.022-.26l.109.058-.026-.207.027-.016c.022.02.05.036.065.06.073.108.143.22.215.33.01.016.029.029.043.043-.036-.217-.2-.38-.229-.626l.155.112c.014-.166.012-.319.042-.465.032-.158-.023-.297-.063-.445.024.004.036.006.055.025.092.124.183.249.277.371.02.027.05.047.069.087l.04.063.019-.015a.293.293 0 01-.053-.082 27.922 27.922 0 01-.332-.49c-.221-.311-.363-.467-.485-.521zm-6.57.327c-.003.161.092.275.069.415l-.368.087c.09.139.032.237-.052.331-.05.057-.092.122-.143.178-.037.04-.046.078-.018.126l.16.275c.029.048.072.066.128.064.076-.003.152 0 .228-.001.116-.003.216.022.275.137.006.014.02.024.044.052.004-.059-.003-.098.01-.13.016-.04.04-.099.072-.108.084-.023.173-.024.26-.03.013-.001.027.018.04.029l.071.065c.019-.11-.082-.198-.024-.31l.126.04c-.026-.123-.07-.245-.071-.366 0-.123.051-.243.115-.36.107.062.16.156.234.253.183.265.36.533.494.834.165-.078.27.068.407.088-.003-.106-.133-.441-.197-.492a.142.142 0 00-.102-.028c-.06.011-.119.039-.191.063-.025-.039-.056-.078-.077-.122a3.936 3.936 0 00-.473-.783c-.076-.094-.16-.182-.228-.26l-.391.285c-.049.035-.094.03-.132-.017l-.169-.207c-.025-.03-.053-.059-.097-.108z"})]})}function H({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 16 16",fill:"currentColor",className:r,children:l.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"})})}function V({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",className:r,children:l.jsx("path",{d:"M23.955 13.587l-1.342-4.135-2.664-8.189c-.135-.423-.73-.423-.867 0L16.418 9.45H7.582L4.919 1.263c-.135-.423-.73-.423-.867 0L1.388 9.452.045 13.587a.924.924 0 0 0 .331 1.03L12 23.054l11.625-8.436a.92.92 0 0 0 .33-1.031"})})}function E({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,"aria-hidden":"true",children:l.jsx("g",{transform:"translate(3.4502, 3)",fill:"#9570BE",children:l.jsx("path",{d:"M3.17890888,3.6 L3.17890888,0 L16,0 L16,3.6 L3.17890888,3.6 Z M9.642,7.2 L9.64218223,10.8 L0,10.8 L0,3.6 L16,3.6 L16,7.2 L9.642,7.2 Z M3.17890888,18 L3.178,14.4 L0,14.4 L0,10.8 L16,10.8 L16,18 L3.17890888,18 Z",fillRule:"nonzero"})})})}function R({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 120 90",fill:"currentColor",className:r,children:[l.jsx("rect",{x:"10",y:"8",width:"100",height:"12",rx:"2"}),l.jsx("rect",{x:"25",y:"20",width:"12",height:"62",rx:"2"}),l.jsx("rect",{x:"75",y:"20",width:"12",height:"45",rx:"2"}),l.jsx("rect",{x:"71",y:"55",width:"20",height:"16",rx:"3"}),l.jsx("rect",{x:"76",y:"71",width:"3",height:"8",rx:"1"}),l.jsx("rect",{x:"82",y:"71",width:"3",height:"8",rx:"1"})]})}function o({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 120 90",fill:"currentColor",className:r,children:[l.jsx("rect",{x:"10",y:"8",width:"100",height:"12",rx:"2"}),l.jsx("rect",{x:"25",y:"20",width:"12",height:"62",rx:"2"}),l.jsx("rect",{x:"83",y:"20",width:"12",height:"62",rx:"2"})]})}function D({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[l.jsx("path",{d:"M9 3v2"}),l.jsx("path",{d:"M15 3v2"}),l.jsx("rect",{x:"4",y:"6",width:"16",height:"13",rx:"3"}),l.jsx("circle",{cx:"9",cy:"13",r:"1.4",fill:"currentColor",stroke:"none"}),l.jsx("circle",{cx:"15",cy:"13",r:"1.4",fill:"currentColor",stroke:"none"}),l.jsx("path",{d:"M9 16h6"})]})}function b({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"})})}function A({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M20.113 5.5l-.442 1.557a.157.157 0 01-.196.106l-7.414-2.157a.16.16 0 00-.143.028l-7.342 5.74a.159.159 0 01-.074.032l-4.37.656a.154.154 0 00-.132.162l.02.245c.005.078.071.14.152.141l5.074.128.058.002 3.75-1.953a.16.16 0 01.164.01l2.657 1.847a.152.152 0 01.066.125l-.023 2.45c0 .032.01.063.028.089l3.737 5.227c.03.04.077.065.129.065h1.182a.153.153 0 00.14-.224l-2.664-4.919a.15.15 0 01.005-.152l1.389-2.169a.156.156 0 01.062-.055l4.965-2.456a.16.16 0 01.158.01l1.418.921a.16.16 0 00.087.026h1.289c.125 0 .2-.136.13-.237l-3.578-5.29c-.074-.109-.246-.082-.282.044z"})})}function k({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M21.595 23.61c1.167-.254 2.405-.944 2.405-.944l-2.167-1.784a12.124 12.124 0 01-2.695-3.131 12.127 12.127 0 00-3.97-4.049l-.794-.462a1.115 1.115 0 01-.488-.815.844.844 0 01.154-.575c.413-.582 2.548-3.115 2.94-3.44.503-.416 1.065-.762 1.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272 1.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639 1.021 0 0-.597-.012-1.305.599a2.464 2.464 0 00-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743 1.083-1.16 1.587-.323.391-2.857 2.526-3.44 2.94a.842.842 0 01-.574.153 1.115 1.115 0 01-.815-.488l-.462-.794a12.123 12.123 0 00-4.049-3.97 12.133 12.133 0 01-3.13-2.695L1.332 0S.643 1.238.39 2.405c.352.428 1.27 1.49 2.34 2.302C1.58 4.167.73 3.75.06 3.4c-.103.765-.063 1.92.043 2.816.726.317 1.961.806 3.219 1.066-1.006.236-2.11.278-2.961.262.15.554.358 1.119.64 1.688.119.263.25.52.39.77.452.125 2.222.383 3.164.171l-2.51.897a27.776 27.776 0 002.544 2.726c2.031-1.092 2.494-1.241 4.018-2.238-2.467 2.008-3.108 2.828-3.8 3.67l-.483.678c-.25.351-.469.725-.65 1.117-.61 1.31-1.47 4.1-1.47 4.1-.154.486.202.842.674.674 0 0 2.79-.861 4.1-1.47.392-.182.766-.4 1.118-.65l.677-.483c.227-.187.453-.37.701-.586 0 0 1.705 2.02 3.458 3.349l.896-2.511c-.211.942.046 2.712.17 3.163.252.142.509.272.772.392.569.28 1.134.49 1.688.64-.016-.853.026-1.956.261-2.962.26 1.258.75 2.493 1.067 3.219.895.106 2.051.146 2.816.043a73.87 73.87 0 01-1.308-2.67c.811 1.07 1.874 1.988 2.302 2.34h-.001z"})})}function B({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M0 0v24h24V0H0zm22.222 22.222H1.778V1.778h20.444v20.444zm-7.555-4.964h2.222v1.778h-2.794L12.89 17.83v-2.794h1.778v2.222zm4 0h-1.778v-2.222h-2.222v-1.778h2.793l1.207 1.207v2.793zm-7.556-2.591H9.333v-1.778h1.778v1.778zm-5.778-1.778h1.778v4h4v1.778H6.54L5.333 17.46V12.89zm13.334-3.556v1.778h-5.778V9.333h1.987V7.111h-1.987V5.333h2.558l1.206 1.207v2.793h2.014zm-11.556-2h2.222l1.778 1.778v2H9.333v-2H7.111v2H5.333V5.333h1.778v2zm4 0H9.333v-2h1.778v2z"})})}function P({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:r,children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.125 2.75C2.9179 2.75 2.75 2.9179 2.75 3.125V11.375H2V3.125C2 2.50368 2.50368 2 3.125 2H13.1723C13.6735 2 13.9244 2.6059 13.5701 2.96025L7.38189 9.14843H9.125V8.375H9.875V9.33593C9.875 9.6466 9.6232 9.8984 9.3125 9.8984H6.63189L5.34282 11.1875H11.1875V6.5H11.9375V11.1875C11.9375 11.6017 11.6017 11.9375 11.1875 11.9375H4.59282L3.28032 13.25H12.875C13.0821 13.25 13.25 13.0821 13.25 12.875V4.625H14V12.875C14 13.4963 13.4963 14 12.875 14H2.82767C2.32653 14 2.07557 13.3941 2.42992 13.0397L8.59468 6.875H6.875V7.625H6.125V6.6875C6.125 6.37684 6.37684 6.125 6.6875 6.125H9.34468L10.6571 4.8125H4.8125V9.5H4.0625V4.8125C4.0625 4.39829 4.39829 4.0625 4.8125 4.0625H11.4071L12.7197 2.75H3.125Z"})})}function s({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 23.16 17.04",fill:"none",className:r,"data-brand":"deepseek-harness","aria-hidden":"true",children:l.jsx("path",{fill:"currentColor",d:"M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876.856163 16.5421.597155 16.4591.341647C16.4061.187643 16.3536.0301382 16.1761.00363739C15.9836-.0263635 15.9081.135141 15.8326.270145C15.5306.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028.923165 12.277.833162C12.5375.739159 12.3675.41615 11.5259.42015C10.6844.42365 9.91439.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C.0790928 5.4103-.222916 7.41536.146595 9.50642C.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z"})})}function N({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",className:r,children:l.jsx("path",{d:"M7 5h4a7 7 0 0 1 0 14H7V5Z",stroke:"currentColor",strokeWidth:"2"})})}const y={ACODE:u,CLAUDE:g,ZCODE:b,CODEBUDDY:C,WORKBUDDY:C,CODEX:h,COPILOT:m,CRAFT:E,CURSOR:f,DEEPSEEK:s,DSH:s,DROID:D,DUMATE:N,"EVERY-CODE":h,GEMINI:j,GITHUB:H,GITLAB:V,GOOSE:k,GROK:w,HERMES:O,KIMI:M,KIRO:L,KILOCODE:B,MINIMAX:d,"MINIMAX-CODE":d,OPENCODE:I,OMP:R,PI:o,"PI-ANTHROPIC":o,"PI-GITHUB-COPILOT":o,"PI-COPILOT":o,ROOCODE:A,"TRAE-CN":p,ZED:P},v={ANTIGRAVITY:"/brand-logos/antigravity.svg",ANYTHINGLLM:"/brand-logos/anythingllm.svg",CLAUDE:"/brand-logos/claude-code.svg","CLAUDE-SCIENCE":"/brand-logos/claude-code.svg",CODEX:"/brand-logos/codex.svg","COMMAND-CODE":"/brand-logos/commandcode.svg",GEMINI:"/brand-logos/gemini.svg","KILO-CLI":"/brand-logos/kilo.svg","KILO-CODE":"/brand-logos/kilo.svg",LMSTUDIO:"/brand-logos/lmstudio.svg",MIMO:"/brand-logos/mimo.svg",OMP:"/brand-logos/omp.svg",OPENCLAW:"/brand-logos/openclaw.svg",OPENCODE:"/brand-logos/opencode.svg",PI:"/brand-logos/pi.svg",DOTS:"/brand-logos/dots.png","PI-DOTS":"/brand-logos/dots.png",QODER:"/brand-logos/qoder.svg",DEVIN:"/brand-logos/devin.svg",REASONIX:"/brand-logos/reasonix.png",UNSLOTH:"/brand-logos/unsloth.svg","QODER-CN":"/brand-logos/qoder-cn.svg","VOLCANO-ARK":"/brand-logos/volcano-ark.svg",CLINE:"/brand-logos/cline.png",TRAE:"/brand-logos/trae.svg"},z={ANYTHINGLLM:"brightness-0 dark:brightness-100",PI:"brightness-0 dark:brightness-100",QODER:"dark:invert",DEVIN:"dark:invert",DOTS:"dark:invert","PI-DOTS":"dark:invert"};function T(c){return v[c]?c:c.startsWith("PI-")?"PI":c}function Z({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:l.jsx("circle",{cx:"12",cy:"12",r:"7.5",strokeDasharray:"3 3"})})}function K({provider:c,size:r=16,color:S,className:n=""}){const e=c?.toUpperCase?.()||"",t=T(e),a=v[t];if(a){const x=`${z[t]||""} ${n}`.trim();return l.jsx("img",{src:a,alt:"",width:r,height:r,className:x,style:{width:r,height:r,objectFit:"contain"},"aria-hidden":!0})}const i=y[e];return i?l.jsx(i,{size:r,className:n}):l.jsx(Z,{size:r,className:`text-oai-gray-400 dark:text-oai-gray-500 shrink-0 ${n}`})}export{K as P};
1
+ import{j as l}from"./__vite-browser-external-BnGukaND.js";function g({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z"})})}function h({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",className:r,children:l.jsx("path",{d:"M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"})})}function u({size:c=16,className:r=""}){return l.jsxs("span",{className:`relative inline-block shrink-0 ${r}`.trim(),style:{width:c,height:c},"data-brand":"acode","aria-hidden":"true",children:[l.jsx("img",{src:"/brand-logos/acode.png",alt:"",width:c,height:c,className:"block h-full w-full object-contain dark:hidden"}),l.jsx("img",{src:"/brand-logos/acode-dark.png",alt:"",width:c,height:c,className:"hidden h-full w-full object-contain dark:block"})]})}function f({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z"})})}function j({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z"})})}function w({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})})}function L({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 -1 22 28",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M4.125 20.149c-2.69 5.959 3.036 7.453 7.26 3.966 1.24 3.91 5.898.993 7.569-2.036 3.682-6.678 2.195-13.49 1.813-14.895-2.617-9.582-15.699-9.592-17.95.049-.526 1.687-.535 3.606-.833 5.598-.15 1.005-.256 1.646-.645 2.703-.223.607-.53 1.147-1.014 2.056-.75 1.412-.434 4.138 3.434 2.724v.001ZM11.895 11.332c-1.073 0-1.234-1.283-1.234-2.048 0-.69.124-1.239.358-1.586a1 1 0 0 1 .876-.462c.375 0 .697.158.924.47.259.354.395.9.395 1.578 0 1.283-.493 2.048-1.319 2.048Zm4.416 0c-1.073 0-1.234-1.283-1.234-2.048 0-.69.124-1.239.358-1.586a1 1 0 0 1 .876-.462c.375 0 .697.158.924.47.259.354.396.9.396 1.578 0 1.283-.494 2.048-1.32 2.048Z"})})}function I({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M16 6H8v12h8V6zm4 16H4V2h16v20z"})})}function M({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:[l.jsx("path",{d:"M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z"}),l.jsx("path",{d:"M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z"})]})}function d({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,"aria-hidden":"true",children:l.jsx("path",{d:"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z"})})}function m({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z"})})}function C({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 64 60",fill:"none",className:r,"aria-hidden":"true",children:[l.jsx("path",{fill:"currentColor",d:"M37.2114 3.75318C37.6821 3.33106 37.7106 3.31457 38.0558 3.29385C38.6149 3.2531 39.1272 3.52199 39.9989 4.31564C42.0356 6.16652 44.8714 9.97183 46.6346 13.2212L47.3163 14.4819L48.2782 14.9605C49.2072 15.4299 50.7308 16.3923 51.3672 16.9085C51.655 17.1464 51.6956 17.1508 51.9947 17.0344C53.3454 16.5084 55.2803 17.206 56.9869 18.8432C58.5231 20.3155 59.9943 22.8312 60.558 24.9308C60.6403 25.2687 60.7493 25.9952 60.7891 26.5362C60.9177 28.4358 60.3092 29.9532 59.1362 30.64C58.8965 30.7784 58.8801 30.8158 58.8868 31.4132C58.9409 34.2583 58.1741 37.0985 56.6335 39.8679C54.8946 42.9773 51.7981 46.1938 47.6074 49.2243C45.357 50.8619 40.0323 53.964 37.6248 55.0532C31.8578 57.6496 27.2346 58.646 23.2188 58.154C20.8236 57.8638 18.1124 56.9287 16.5082 55.8433C16.086 55.5515 16.0191 55.5329 15.6966 55.6251C13.9793 56.1185 11.73 55.1053 9.81931 52.9844C9.05725 52.1366 7.82714 50.0548 7.42839 48.9409C6.50606 46.3339 6.68976 43.9816 7.91836 42.5767C8.23573 42.2149 8.2453 42.1995 8.17598 41.5912C8.06148 40.5951 8.00971 39.1206 8.06202 38.1692L8.10361 37.2803L6.76977 34.9212C4.70378 31.2451 3.3912 28.1582 2.88489 25.7998C2.61762 24.5066 2.63385 23.9324 2.96214 23.5078C3.16198 23.2515 3.81796 22.9866 4.60785 22.8407C6.59665 22.4917 10.9334 22.8076 15.7581 23.6595L16.259 23.7458L17.3608 22.7713C19.1891 21.1519 20.4038 20.244 22.6429 18.8478C24.9768 17.3876 27.6108 16.1858 30.577 15.2346L31.5295 14.9294L32.0526 13.5561C33.9257 8.61146 35.8437 4.96584 37.2114 3.75318ZM21.5208 29.0919C19.404 30.314 18.3453 30.9251 17.5676 31.6099C14.4179 34.3835 13.2414 38.777 14.5823 42.7537C14.9135 43.7357 15.5247 44.7942 16.7469 46.9111C17.9691 49.0279 18.5801 50.0865 19.2649 50.8643C22.0385 54.014 26.4316 55.1918 30.4084 53.8509C31.3904 53.5198 32.4489 52.9085 34.5657 51.6863L46.7442 44.6551C48.8613 43.4328 49.9205 42.8214 50.6983 42.1365C53.8479 39.363 55.0245 34.9695 53.6835 30.9927C53.3524 30.0107 52.7412 28.9522 51.519 26.8354C50.2968 24.7185 49.6858 23.66 49.0009 22.8822C46.2274 19.7325 41.8342 18.5547 37.8575 19.8956C36.8754 20.2267 35.8163 20.8383 33.6993 22.0606L21.5208 29.0919Z"}),l.jsx("g",{transform:"rotate(-30 22.6953 37.6011)",children:l.jsx("rect",{x:"22.6953",y:"37.6011",width:"4.81084",height:"9.99175",rx:"2.40542",fill:"currentColor"})}),l.jsx("g",{transform:"rotate(-30 35.6748 30.1074)",children:l.jsx("rect",{x:"35.6748",y:"30.1074",width:"4.81084",height:"9.99175",rx:"2.40542",fill:"currentColor"})})]})}function p({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 512 512",className:r,"data-brand":"trae-cn","aria-hidden":"true",children:[l.jsx("rect",{x:"48",y:"48",width:"416",height:"416",rx:"76",fill:"#FFFFFF"}),l.jsx("path",{fill:"#000000",d:"M130 168 H381 V344 H166 V312 H346 V204 H130 Z"}),l.jsx("path",{fill:"#000000",d:"M130 204 H165 V308 H130 Z"}),l.jsx("path",{fill:"#000000",d:"M231 234 C244 234 254 244 254 256 C254 268 244 278 231 278 C218 278 207 268 207 256 C207 244 218 234 231 234 Z"}),l.jsx("path",{fill:"#000000",d:"M302 234 C315 234 326 244 326 256 C326 268 315 278 302 278 C289 278 278 268 278 256 C278 244 289 234 302 234 Z"})]})}function O({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",className:r,children:[l.jsx("path",{d:"M5.938 12.835c.127-.039.285.02.373.143.028.038.036.092.046.14.003.014-.02.033-.04.05-.124-.098-.24-.194-.354-.291-.011-.01-.016-.027-.025-.042zM8.396 9.412c.195-.032.39-.06.588-.05a.54.54 0 01.148.026c.202.071.402.147.601.224.028.01.05.036.075.055l-.013.027a9.203 9.203 0 01-.26-.089c-.115-.038-.213-.077-.315-.098-.25-.05-.25-.046-.292-.014l.574.144c.275.139.55.276.823.417.042.022.09.057.107.098.026.06.063.076.117.072.066-.006.132-.017.213-.027l-.04.086c.051.08.142.02.216.064-.074.13-.247.09-.334.199l.061.074-.12.087c0 .106-.038.168-.306.243l.026.085-.196.042.07.124h-.25l-.007.137c-.081-.01-.161-.018-.244-.027l-.053.123c-.027-.008-.052-.011-.073-.023-.067-.038-.128-.056-.195.006-.019.017-.063.014-.093.008-.026-.006-.05-.029-.07-.042-.11.095-.11.095-.208.003-.057.046-.12.074-.186.011-.063.027-.123-.02-.178-.014-.07.007-.097-.035-.133-.07l-.13.033c-.013-.236-.194-.19-.34-.203.005-.072.05-.092.095-.094a.474.474 0 01.159.022c.164.05.32.12.496.138.203.021.405.029.601-.015.265-.059.52-.149.707-.365.049-.056.083-.127.117-.195.019-.038.02-.084-.02-.116a1.397 1.397 0 00-.382-.217c.024.12-.031.182-.115.221 0 .014-.004.025 0 .03.08.115.084.16-.007.267a1.39 1.39 0 01-.218.211.477.477 0 01-.641-.05 1.36 1.36 0 01-.133-.152c-.078-.107-.076-.108-.033-.236-.165-.08-.128-.226-.104-.364.008-.05.028-.096.049-.163-.04.014-.067.017-.087.032a.897.897 0 00-.316.357c-.007.016-.01.034-.02.047-.012.015-.034.038-.045.035-.02-.006-.037-.027-.05-.045-.008-.012-.007-.032-.012-.057h-.126l.053-.172a14.82 14.82 0 00-.039-.049l.11-.284c-.06.026-.091.044-.124.051-.03.007-.064 0-.095 0 0-.031-.01-.07.004-.092.149-.22.305-.428.593-.476z"}),l.jsx("path",{d:"M8.06 10.788c-.003-.038-.004-.075.037-.062.016.006.034.048.028.067-.01.04-.038.032-.064-.005z"}),l.jsx("path",{d:"M11.981.009c.226-.012.453-.011.679 0 .247.01.495.024.74.062.401.064.798.157 1.19.273.463.138.92.299 1.356.511a7.31 7.31 0 012.948 2.642c.292.469.536.963.739 1.479.219.556.446 1.11.623 1.683.204.654.329 1.326.458 1.997.097.504.182 1.01.29 1.511.156.722.329 1.44.494 2.16.186.812.4 1.615.63 2.415.102.355.193.713.282 1.072.11.436.202.876.254 1.323.031.278.066.557.073.837a7.56 7.56 0 01-.017.88c-.037.413-.1.818-.226 1.212a5.017 5.017 0 01-.915 1.649l-.13.156.018.023c.043-.023.088-.041.127-.068.2-.138.373-.307.531-.49.4-.46.721-.973.975-1.529a3.59 3.59 0 00.325-1.72c-.024-.424-.097-.834-.3-1.213-.013-.027-.015-.06-.03-.121.05.035.082.048.101.072.107.13.22.258.315.398.33.494.46 1.052.486 1.64a3.75 3.75 0 01-.47 1.97c-.36.655-.887 1.14-1.526 1.506-.193.111-.394.21-.595.308-.157.078-.248.211-.318.365a.522.522 0 00-.033.406.359.359 0 01.013.139c-.005.077-.077.155-.14.162-.054.006-.125-.043-.15-.116a1.206 1.206 0 01-.06-.233c-.04-.314-.155-.6-.308-.87a3.906 3.906 0 00-.73-.91 2.129 2.129 0 00-.897-.524 4.093 4.093 0 00-.692-.131c-.075-.008-.15-.04-.22.01.18.06.363.11.538.18.434.173.82.43 1.18.728.308.255.58.543.794.884.098.155.186.315.227.496.027.123.042.25.067.375.013.062-.002.109-.053.144-.047.033-.122.034-.163-.01a.455.455 0 01-.08-.14c-.03-.073-.038-.159-.078-.225a7.314 7.314 0 00-1.423-1.664c-.16-.137-.329-.26-.537-.323-.376-.114-.753-.203-1.15-.154-.213.025-.427.032-.64.053a1.6 1.6 0 00-.736.278 5.14 5.14 0 00-.834.72c-.329.342-.642.699-.955 1.055-.136.155-.264.319-.314.531a5.227 5.227 0 00-.012.051.096.096 0 01-.09.076h-.31c-.046 0-.082-.048-.072-.094.023-.108.045-.216.07-.324.075-.325.19-.635.368-.917.024-.039.04-.088.104-.08l.01.049.027.077c.28-.435.571-.834.996-1.135.283-.204.584-.378.89-.55a.196.196 0 00-.098-.002c-.162.043-.325.084-.485.134-.402.124-.764.33-1.11.566-.147.1-.298.193-.414.333a7.314 7.314 0 00-1.07 1.767.845.845 0 00-.04.12.075.075 0 01-.072.056h-.494c-.04 0-.062-.051-.036-.082.123-.14.246-.282.377-.415.275-.281.58-.532.777-.884.027-.048.063-.09.095-.135.238-.333.54-.607.818-.902.082-.086.175-.16.26-.24.029-.027.053-.057.079-.085l-.018-.025-.135.041c-.034.017-.07.031-.102.05-.248.144-.494.292-.743.433-.408.23-.825.439-1.209.711-.281.2-.591.358-.889.533-.02.012-.044.015-.08.028-.015-.135.143-.201.108-.336-.033.014-.064.02-.085.038-.111.096-.227.19-.328.296-.148.157-.284.325-.425.488-.125.143-.25.286-.373.431A.153.153 0 019.89 24H8.762a.316.316 0 00.016-.042c.028-.09.085-.172.083-.28-.091-.018-.162.001-.212.077a4.45 4.45 0 00-.136.215c-.01.016-.024.03-.042.03h-.093c-.019 0-.029-.022-.017-.037.071-.088.14-.178.209-.268.001-.002-.006-.012-.012-.024-.014.004-.03.006-.045.013-.176.09-.352.181-.527.274a.363.363 0 01-.168.042H5.202c-.026 0-.039-.036-.019-.053.21-.178.402-.374.558-.605.335-.496.538-1.047.667-1.629.004-.02-.003-.043-.006-.091-.037.048-.059.072-.076.1a1.943 1.943 0 01-.334.415c-.28.258-.59.448-.983.464-.297.012-.588 0-.865-.127-.46-.21-.722-.57-.794-1.072-.025-.17-.017-.171-.182-.219A3.513 3.513 0 011.97 20.6a2.286 2.286 0 01-.808-1.13 3.569 3.569 0 01-.16-1.245c.002-.034.016-.067.024-.1.032.023.046.043.05.066.033.153.059.308.096.46.086.355.257.664.516.92.258.256.571.419.91.532.358.118.717.138 1.07-.016a1.89 1.89 0 00.621-.452c.328-.348.533-.76.648-1.223.009-.034.005-.071.007-.11-.015.006-.026.006-.03.011-.031.05-.064.1-.093.152-.284.502-.679.887-1.196 1.135-.351.17-.718.255-1.11.159a1.607 1.607 0 01-.971-.64 2.006 2.006 0 01-.368-.924 2.903 2.903 0 01.02-.886c.05-.439.466-1.17.742-1.271-.02.063-.035.112-.053.16-.043.116-.097.227-.13.345a1.901 1.901 0 00-.05.82c.033.212.09.416.204.6.147.236.346.407.62.465.11.023.225.014.338.018a.576.576 0 00.386-.131c.164-.128.282-.292.366-.481.168-.375.24-.777.309-1.179.05-.296.093-.594.133-.893.039-.281.071-.563.104-.845.026-.232.048-.464.074-.696.024-.228.052-.455.076-.683.024-.227.047-.455.069-.683.013-.14.022-.28.034-.42l.037-.417c.022-.25.041-.5.065-.748.008-.082-.02-.132-.09-.177a2.46 2.46 0 01-.492-.418c-.1-.109-.188-.228-.282-.342-.035-.042-.056-.097-.116-.118a2.084 2.084 0 00.275.597c.06.092.131.176.196.265.063.086.182.115.234.226-.028.003-.046.01-.06.006a4.74 4.74 0 01-.22-.057 2.71 2.71 0 01-1.287-.819c-.435-.487-.656-1.076-.71-1.723a5.206 5.206 0 01.014-1.06c.072-.602.22-1.186.45-1.745.155-.376.338-.741.526-1.102.205-.393.466-.75.765-1.076.512-.559 1.104-1.024 1.726-1.448.717-.49 1.478-.898 2.277-1.233C8.244.828 8.767.632 9.31.494c.655-.166 1.31-.33 1.982-.415.229-.03.458-.058.688-.07zm-1.847 22.82c-.07.06-.147.111-.207.18-.238.27-.464.549-.668.869l-.044.108a.177.177 0 00.093-.057c.174-.19.351-.378.519-.574.104-.122.195-.255.288-.386.024-.034.03-.08.046-.12l-.027-.02zm1.65-3.695a5.51 5.51 0 00-.653.593l-.37.386a.963.963 0 01-.377.25 1.372 1.372 0 01-.467.09c-.044 0-.087.006-.151.012.028.058.043.097.064.131.15.242.301.482.45.724.136.22.276.438.399.666.068.125.105.267.156.404.077.027.14-.018.202-.048.29-.135.579-.274.867-.412.213-.101.437-.186.636-.31.347-.215.68-.455 1.018-.685.015-.01.026-.028.042-.046-.023-.019-.038-.037-.056-.044-.287-.111-.527-.3-.77-.482a5.319 5.319 0 01-.506-.42 1.757 1.757 0 01-.41-.653c-.019-.049-.045-.095-.075-.156zm-5.847.264c-.06.096-.097.194-.132.293a3.38 3.38 0 01-.555 1.01c-.2.25-.455.412-.762.493-.23.06-.464.076-.7.07-.048-.002-.097.002-.158.005.016.04.021.066.035.085.1.145.23.246.4.295.157.046.316.034.498.023.181-.037.343-.115.485-.234.238-.199.402-.454.536-.732.175-.363.264-.751.342-1.144.01-.053.008-.11.011-.164zm14.945-4.586c.008.029.016.057.027.107.024.155.051.31.072.464.03.219.067.437.078.657.017.344.027.689-.014 1.033-.037.315-.063.633-.116.946a6.153 6.153 0 01-.46 1.518c-.008.018-.01.039-.02.082.047-.03.077-.042.098-.064.085-.083.17-.167.248-.255.271-.305.458-.66.596-1.043.18-.498.228-1.011.145-1.531-.103-.65-.33-1.263-.597-1.881a9.055 9.055 0 00-.024-.055l-.033.022zM5.797 8.29a.26.26 0 00.018.153c.124.251.25.501.379.75.025.049.066.09.03.163-.284.06-.578.119-.88.255.059.038.097.06.132.087.042.032.112.058.09.12-.01.033-.075.048-.117.072.017.01.043.021.067.036.166.102.33.207.447.368.138.192.229.404.188.644-.079.469-.306.85-.69 1.132-.054.04-.106.083-.161.122a.243.243 0 00-.103.245.77.77 0 00.055.195c.083.196.22.35.375.492.083.076.159.164.222.257a.37.37 0 01.025.377c-.023.05-.05.099-.076.148-.03.06-.028.111.022.162.041.042.08.089.112.138.038.058.078.079.147.05a.486.486 0 01.333-.006c.16.046.302.126.444.21.13.077.264.149.4.219.067.035.14.05.219.026.071-.022.124.01.145.076.02.064-.003.108-.074.139-.07.03-.137.063-.209.088-.1.035-.201.073-.314.077-.013-.107.11-.088.127-.159-.206-.126-.643-.145-.801-.034.063.112.035.21-.096.313-.13-.1-.025-.202.002-.3a.209.209 0 00-.249.17c-.015.101.067.216.178.224.108.007.218-.005.326-.012.06-.005.12-.027.199 0-.103.123-.248.127-.357.19.002.05.07.086.019.131-.053.048-.095-.001-.132-.03-.08-.063-.16-.126-.231-.197a.474.474 0 01-.157-.311.52.52 0 00-.043-.172c-.032-.074-.032-.137.033-.19-.018-.03-.028-.053-.045-.072a1.222 1.222 0 01-.196-.369c-.053-.137-.046-.264.048-.381.024-.03.05-.06.064-.095a.664.664 0 00.047-.168c.017-.165-.064-.287-.182-.387-.186-.156-.36-.322-.46-.551-.005-.011-.024-.017-.037-.026-.011.017-.024.027-.025.038-.019.185-.045.37-.052.557-.014.377.058.743.162 1.104.118.41.289.798.488 1.173.267.502.537 1.002.812 1.5.055.098.13.189.208.27.198.202.452.272.724.273.202 0 .404-.006.605-.026.295-.03.59-.073.884-.113.183-.025.365-.057.548-.08.21-.026.38.073.522.21.16.156.305.327.447.5.22.265.397.56.554.867.05.098.07.1.147.03.13-.121.26-.242.394-.36.067-.059.088-.12.067-.213a3.535 3.535 0 01-.085-.796c.002-.157.006-.314.018-.471.015-.224.03-.45.06-.672a59.114 59.114 0 01.362-2.298c.087-.493.182-.984.268-1.477.06-.347.118-.694.162-1.043.034-.273.055-.55.063-.825.011-.332.003-.665.002-.998 0-.077.004-.155-.01-.23-.028-.142-.01-.155-.162-.19a5.826 5.826 0 00-.607-.107c-.146-.018-.207-.053-.221-.19-.006-.049-.025-.098-.041-.146-.009-.025-.024-.048-.046-.09l-.025.264c-.009.096-.029.116-.127.115-.055 0-.11-.008-.164-.008-.476 0-.952-.008-1.426.032-.095.008-.173-.015-.226-.103-.04-.066-.088-.126-.134-.186-.063-.084-.086-.093-.182-.06-.195.068-.388.138-.582.21a2.71 2.71 0 00-.675.394.986.986 0 01-.323.168c-.033.01-.07.008-.127.013.02-.066.024-.114.047-.15.064-.105.135-.205.205-.306.023-.033.049-.063.073-.095l-.015-.023-.201.037c-.146.04-.296.07-.437.122-.148.053-.266.023-.386-.072a3.623 3.623 0 01-.733-.786l-.093-.132zm8.592 8.963l-.147.09c-.22.134-.44.266-.659.402-.093.058-.184.12-.27.188-.085.07-.124.161-.072.272.047.1.093.2.147.294.047.08.124.138.213.147.11.01.228.012.336-.012.217-.05.372-.205.528-.357a.291.291 0 00.087-.308c-.046-.18-.079-.365-.118-.547-.011-.052-.027-.103-.045-.169zm-.257-2.409c-.12.291-.205.597-.325.91-.151.433-.294.87-.435 1.323.036-.01.054-.01.067-.018.261-.16.522-.324.785-.484.054-.033.071-.078.065-.138-.012-.13-.024-.262-.034-.393l-.068-.886c-.008-.103-.02-.206-.029-.31-.009 0-.017-.002-.026-.004zm3.081-8.13l.099.285c.08.231.159.463.24.714l.58 1.952c.187.63.372 1.262.558 1.893.114.382.235.762.343 1.146.072.257.126.519.186.799.044.206.087.413.127.64.034.106.023.226.077.325l.025-.006-.068-.362c-.038-.206-.077-.412-.113-.638-.015-.07-.029-.141-.046-.211-.095-.396-.177-.796-.29-1.187-.196-.685-.413-1.364-.618-2.046-.165-.549-.322-1.1-.488-1.648-.069-.227-.15-.45-.226-.695l-.117-.336c-.037-.107-.075-.216-.115-.322-.04-.106-.084-.21-.127-.314a7.558 7.558 0 01-.027.01zM6.225 14.304c-.063-.001-.115.014-.134.083a.35.35 0 00.41.012 4.533 4.533 0 00-.276-.095zM5.23 11.98c-.026-.027-.057-.048-.075.002-.012.032-.007.07-.01.113.082-.037.082-.037.085-.115zm.062-1.189a.135.135 0 00-.088.056.197.197 0 00-.025.11c.005.152.01.306.026.457a.751.751 0 00.066.218c.061.136.157.167.288.101.055-.027.06-.054.025-.11a4.52 4.52 0 01-.129-.211c-.015-.068-.066-.131-.033-.207.04-.09-.076-.116-.074-.19V10.874c-.003-.038-.006-.087-.056-.083zm-.017-.968a.867.867 0 00-.467.127c-.076.045-.084.07-.05.158.034.087.07.173.115.254.064.117.09.125.21.077a.657.657 0 01.336-.053c.202.022.357.136.504.264l.092.077c.007-.006.014-.013.022-.018-.019-.105-.035-.226-.149-.264-.157-.053-.324-.075-.508-.117l-.24-.005c.24-.169.452-.044.687.009-.063-.115-.153-.147-.23-.193-.082-.05-.17-.092-.25-.144-.06-.037-.12-.08-.072-.172zm10.233.325c-.23-.01-.427.08-.608.211-.034.026-.06.065-.105.117.087.026.15.046.232.065.044-.015.088-.03.13-.046.306-.114.61-.115.904.031.126.063.237.04.366-.005-.02-.031-.03-.054-.045-.071a.986.986 0 00-.448-.273c-.14-.044-.284-.024-.426-.03zM7.99 6.483a.308.308 0 00.002.133c.08.321.156.643.242.962.104.387.27.75.456 1.103.02.037.061.08.098.087a.404.404 0 00.253-.051l-.472-.84c-.23-.448-.405-.92-.579-1.394zM10.397.497c-.2-.008-.405.004-.603.034-.236.035-.47.087-.7.152-.287.08-.569.18-.852.273-.04.013-.074.038-.11.058.028.014.05.018.07.014.287-.068.58-.085.873-.09.134-.002.269.009.402.025.19.024.382.048.57.09.456.104.874.3 1.265.556.464.306.888.66 1.257 1.078.205.232.395.475.56.739.17.274.315.561.449.856.273.601.456 1.232.6 1.876.04.173.07.348.1.524.017.104.065.167.17.19.122.028.2.105.22.251-.003.102-.06.174-.129.24a1.065 1.065 0 00-.268.358.164.164 0 00.083-.039c.08-.086.162-.172.235-.265a.56.56 0 00.13-.333c.009-.05.022-.1.024-.15.007-.124-.017-.15-.143-.168-.025-.004-.049-.014-.073-.015-.082-.007-.125-.063-.137-.131-.033-.198-.004-.355.247-.408.086-.018.174-.03.26-.042.158-.023.315-.053.473-.067.14-.012.19.033.226.167.008.029.018.057.021.087.019.179-.008.225-.141.288-.027.013-.055.024-.078.042a.148.148 0 00-.051.067c-.039.144.073.382.206.445l.673.32c.023.011.05.015.075.023l.018-.026c-.015-.008-.032-.013-.044-.024a2.27 2.27 0 00-.544-.32 4.898 4.898 0 00-.173-.075.203.203 0 01-.126-.191c-.003-.085.045-.154.128-.187l.059-.025c.099-.044.118-.076.112-.187a.384.384 0 00-.008-.063c-.067-.294-.123-.59-.205-.88a9.478 9.478 0 00-.826-2.036 7.465 7.465 0 00-1.39-1.805 4.536 4.536 0 00-1.177-.824 3.656 3.656 0 00-1.016-.328 6.155 6.155 0 00-.712-.074zm6.719 5.955c.01.014.018.028.038.034l-.022-.044-.016.01zM4.103 3.917a.062.062 0 01-.03.012.455.455 0 01-.04.039c-.01.01-.02.02-.045.04l-.363.354c-.088.085-.17.178-.266.253-.284.22-.425.53-.544.855a.132.132 0 00-.007.071c.013.055.033.108.052.168l.074.026c-.017.056-.03.105-.047.152-.058.164-.118.327-.175.491-.005.015.008.036.019.077.08-.175.158-.33.225-.489.228-.544.484-1.074.819-1.561.09-.133.182-.266.283-.401.004-.006.007-.013.022-.03.001-.016.003-.032.015-.04l.008-.017zm12.976 2.408a.023.023 0 01.009.019.073.073 0 00-.006.01.188.188 0 00.007.02l.018.022c.002-.007.007-.016.005-.021-.003-.01-.012-.018-.02-.038a1.331 1.331 0 01-.013-.012zM4.199 4.48c-.003.004-.008.008-.027.014-.005.013-.011.025-.031.047a2.085 2.085 0 01-.124.167c-.048.07-.116.055-.181.041-.134-.028-.228.016-.287.143-.089.187-.187.37-.273.56-.049.108-.11.216-.118.36.081.003.154.007.228.008h.228a2.563 2.563 0 01-.079.264c-.01.052-.022.103-.033.155l.02.004c.018-.046.037-.092.067-.153.066-.142.13-.285.2-.426.02-.04.034-.1.116-.092 0 .043.004.084 0 .124-.005.045-.017.09-.028.143.141.043.086.174.115.269.102-.022.104-.195.248-.144v.205l.017.002.439-1.059c-.13 0-.246-.02-.358.033-.024.011-.058-.001-.108-.004.075-.15.139-.278.211-.417a.128.128 0 01.025-.036c0-.015-.001-.03.008-.038l.006-.02c-.005.006-.01.011-.028.017-.004.012-.009.024-.026.045a.085.085 0 01-.032.033c-.123.157-.09.164-.258.106-.079-.027-.078-.028-.047-.144.028-.046.056-.093.098-.15 0-.016-.001-.032.007-.042L4.2 4.48zm2.073-.67c-.003.006-.007.011-.027.016-.094.125-.194.246-.28.377-.155.238-.301.481-.451.723-.14.224-.345.368-.575.481-.017.008-.04.006-.079.011.012-.059.016-.109.033-.153a6.076 6.076 0 01.229-.518l-.007-.02a.138.138 0 01-.035.025c-.028.05-.055.1-.093.164-.26.424-.443.817-.442.95.024.004.048.011.073.013.177.013.188.007.26-.165.03-.07.077-.12.147-.15l.175-.07c.044-.018.085-.057.146-.032.003.05-.01.11.014.145.042.062.044.125.047.193.002.049.017.098.026.147.029-.034.039-.065.05-.097.142-.39.277-.782.428-1.17.1-.256.22-.504.33-.756.013-.03.013-.067.03-.092V3.81zm3.987-.34c0 .045.01.084.021.123.042.16.094.318.124.48.024.133.023.27.028.406 0 .033-.019.067-.032.11-.094-.058-.047-.158-.106-.215h-.125c-.015.072-.01.152-.046.2-.066.085-.155.154-.236.227-.043.038-.078.018-.103-.025l-.046-.087c-.065.035-.117.069-.172.093-.116.051-.235.095-.35.147-.085.038-.09.053-.07.147.014.075.034.148.047.223.013.072.05.109.123.124.233.05.462.115.657.265.058-.102.058-.102.168-.151.03-.014.06-.03.092-.042.08-.03.115-.017.15.06.023.048.041.098.066.158.06-.14-.042-.267.017-.416.157.18.24.39.375.567a.235.235 0 00.022-.098c.002-.124 0-.247.002-.371 0-.034.013-.067.02-.1l.032-.003c.11.155.13.354.226.52a3.036 3.036 0 00-.01-.392c-.004-.045 0-.074.05-.088.08.036.116.14.215.158-.03-.275-.423-1.137-.798-1.635-.114-.127-.2-.28-.34-.386zm-2.667.696c-.019.034-.03.05-.037.067-.061.185-.125.37-.18.556-.031.105-.087.169-.195.19-.09.019-.178.052-.268.073-.038.009-.089.015-.118-.003-.024-.016-.025-.069-.036-.106-.064.076-.082.087-.17.047-.133-.062-.262-.135-.393-.201-.048-.025-.093-.063-.17-.03-.043.12-.091.25-.137.382-.099.28-.087.242.095.453.046.048.102.03.154.023.054-.009.106-.03.16-.036.13-.013.26-.08.367-.015.204-.064.387-.122.571-.178.05-.015.089.005.114.054.022.042.034.093.082.121.038-.056-.013-.128.063-.178l.14.241-.042-1.46zm.278.358c-.096-.01-.107.01-.11.108-.002.038-.003.078.002.115.03.2.099.386.174.57.002.006.012.01.022.015l.078-.05c.052.036.081.088.153.088.205-.002.41.014.616.012.099-.001.158.042.205.12.018.03.024.077.088.066l-.08-.394c-.05-.195-.085-.395-.172-.589-.057.057-.114.068-.18.046a.72.72 0 00-.135-.028c-.22-.028-.44-.059-.66-.08zm10.254-1.727c.089.163.155.316.139.491-.016.168.026.342-.044.516-.047-.033-.088-.082-.112-.075-.117.035-.164-.057-.227-.115a4.772 4.772 0 01-.286-.29l-.104-.113a4.856 4.856 0 01-.023.019c.035.046.07.093.11.156.04.064.084.127.122.193.034.058.065.118.031.205-.082-.01-.164-.019-.246-.032-.06-.01-.101 0-.124.07-.031.098-.037.096-.15.09.02.042.036.08.057.116.041.074.03.138-.03.196-.06.06-.118.122-.178.181a.175.175 0 01-.185.046c-.222-.061-.447-.113-.67-.174-.032-.009-.063-.04-.086-.068-.03-.04-.052-.087-.08-.13-.044-.07-.09-.138-.136-.207a.18.18 0 00-.014.105c.012.127.03.253.035.38.005.1-.024.12-.121.104-.104-.017-.206-.04-.31-.058-.064-.012-.131-.028-.202.03l.081.208c.09 0 .166-.01.237.002a.819.819 0 01.458.251c.078.083.154.168.241.26l.018-.005c-.004-.006-.008-.013-.01-.04.014-.056-.062-.118.018-.178.031.03.064.057.088.09.058.078.111.159.169.257l.089.141.024-.013a2093.819 2093.819 0 01-.427-.934c.055.007.083.007.108.016.193.07.385.142.577.216.074.028.147.06.219.094.062.028.112.018.157-.033.05-.056.102-.112.154-.167.05-.051.095-.046.132.014.016.025.026.053.04.08.071.138.143.277.217.433l.159.308.025-.011c-.044-.106-.07-.218-.138-.334-.057-.182-.168-.346-.206-.545.136.034.362.326.567.732l.057.074.018-.011a1.563 1.563 0 01-.052-.127c-.046-.145-.097-.29-.136-.436-.022-.083-.036-.173.022-.26l.109.058-.026-.207.027-.016c.022.02.05.036.065.06.073.108.143.22.215.33.01.016.029.029.043.043-.036-.217-.2-.38-.229-.626l.155.112c.014-.166.012-.319.042-.465.032-.158-.023-.297-.063-.445.024.004.036.006.055.025.092.124.183.249.277.371.02.027.05.047.069.087l.04.063.019-.015a.293.293 0 01-.053-.082 27.922 27.922 0 01-.332-.49c-.221-.311-.363-.467-.485-.521zm-6.57.327c-.003.161.092.275.069.415l-.368.087c.09.139.032.237-.052.331-.05.057-.092.122-.143.178-.037.04-.046.078-.018.126l.16.275c.029.048.072.066.128.064.076-.003.152 0 .228-.001.116-.003.216.022.275.137.006.014.02.024.044.052.004-.059-.003-.098.01-.13.016-.04.04-.099.072-.108.084-.023.173-.024.26-.03.013-.001.027.018.04.029l.071.065c.019-.11-.082-.198-.024-.31l.126.04c-.026-.123-.07-.245-.071-.366 0-.123.051-.243.115-.36.107.062.16.156.234.253.183.265.36.533.494.834.165-.078.27.068.407.088-.003-.106-.133-.441-.197-.492a.142.142 0 00-.102-.028c-.06.011-.119.039-.191.063-.025-.039-.056-.078-.077-.122a3.936 3.936 0 00-.473-.783c-.076-.094-.16-.182-.228-.26l-.391.285c-.049.035-.094.03-.132-.017l-.169-.207c-.025-.03-.053-.059-.097-.108z"})]})}function H({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 16 16",fill:"currentColor",className:r,children:l.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"})})}function V({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",className:r,children:l.jsx("path",{d:"M23.955 13.587l-1.342-4.135-2.664-8.189c-.135-.423-.73-.423-.867 0L16.418 9.45H7.582L4.919 1.263c-.135-.423-.73-.423-.867 0L1.388 9.452.045 13.587a.924.924 0 0 0 .331 1.03L12 23.054l11.625-8.436a.92.92 0 0 0 .33-1.031"})})}function E({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,"aria-hidden":"true",children:l.jsx("g",{transform:"translate(3.4502, 3)",fill:"#9570BE",children:l.jsx("path",{d:"M3.17890888,3.6 L3.17890888,0 L16,0 L16,3.6 L3.17890888,3.6 Z M9.642,7.2 L9.64218223,10.8 L0,10.8 L0,3.6 L16,3.6 L16,7.2 L9.642,7.2 Z M3.17890888,18 L3.178,14.4 L0,14.4 L0,10.8 L16,10.8 L16,18 L3.17890888,18 Z",fillRule:"nonzero"})})})}function R({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 120 90",fill:"currentColor",className:r,children:[l.jsx("rect",{x:"10",y:"8",width:"100",height:"12",rx:"2"}),l.jsx("rect",{x:"25",y:"20",width:"12",height:"62",rx:"2"}),l.jsx("rect",{x:"75",y:"20",width:"12",height:"45",rx:"2"}),l.jsx("rect",{x:"71",y:"55",width:"20",height:"16",rx:"3"}),l.jsx("rect",{x:"76",y:"71",width:"3",height:"8",rx:"1"}),l.jsx("rect",{x:"82",y:"71",width:"3",height:"8",rx:"1"})]})}function o({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 120 90",fill:"currentColor",className:r,children:[l.jsx("rect",{x:"10",y:"8",width:"100",height:"12",rx:"2"}),l.jsx("rect",{x:"25",y:"20",width:"12",height:"62",rx:"2"}),l.jsx("rect",{x:"83",y:"20",width:"12",height:"62",rx:"2"})]})}function D({size:c=16,className:r=""}){return l.jsxs("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[l.jsx("path",{d:"M9 3v2"}),l.jsx("path",{d:"M15 3v2"}),l.jsx("rect",{x:"4",y:"6",width:"16",height:"13",rx:"3"}),l.jsx("circle",{cx:"9",cy:"13",r:"1.4",fill:"currentColor",stroke:"none"}),l.jsx("circle",{cx:"15",cy:"13",r:"1.4",fill:"currentColor",stroke:"none"}),l.jsx("path",{d:"M9 16h6"})]})}function b({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"})})}function A({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M20.113 5.5l-.442 1.557a.157.157 0 01-.196.106l-7.414-2.157a.16.16 0 00-.143.028l-7.342 5.74a.159.159 0 01-.074.032l-4.37.656a.154.154 0 00-.132.162l.02.245c.005.078.071.14.152.141l5.074.128.058.002 3.75-1.953a.16.16 0 01.164.01l2.657 1.847a.152.152 0 01.066.125l-.023 2.45c0 .032.01.063.028.089l3.737 5.227c.03.04.077.065.129.065h1.182a.153.153 0 00.14-.224l-2.664-4.919a.15.15 0 01.005-.152l1.389-2.169a.156.156 0 01.062-.055l4.965-2.456a.16.16 0 01.158.01l1.418.921a.16.16 0 00.087.026h1.289c.125 0 .2-.136.13-.237l-3.578-5.29c-.074-.109-.246-.082-.282.044z"})})}function k({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M21.595 23.61c1.167-.254 2.405-.944 2.405-.944l-2.167-1.784a12.124 12.124 0 01-2.695-3.131 12.127 12.127 0 00-3.97-4.049l-.794-.462a1.115 1.115 0 01-.488-.815.844.844 0 01.154-.575c.413-.582 2.548-3.115 2.94-3.44.503-.416 1.065-.762 1.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272 1.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639 1.021 0 0-.597-.012-1.305.599a2.464 2.464 0 00-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743 1.083-1.16 1.587-.323.391-2.857 2.526-3.44 2.94a.842.842 0 01-.574.153 1.115 1.115 0 01-.815-.488l-.462-.794a12.123 12.123 0 00-4.049-3.97 12.133 12.133 0 01-3.13-2.695L1.332 0S.643 1.238.39 2.405c.352.428 1.27 1.49 2.34 2.302C1.58 4.167.73 3.75.06 3.4c-.103.765-.063 1.92.043 2.816.726.317 1.961.806 3.219 1.066-1.006.236-2.11.278-2.961.262.15.554.358 1.119.64 1.688.119.263.25.52.39.77.452.125 2.222.383 3.164.171l-2.51.897a27.776 27.776 0 002.544 2.726c2.031-1.092 2.494-1.241 4.018-2.238-2.467 2.008-3.108 2.828-3.8 3.67l-.483.678c-.25.351-.469.725-.65 1.117-.61 1.31-1.47 4.1-1.47 4.1-.154.486.202.842.674.674 0 0 2.79-.861 4.1-1.47.392-.182.766-.4 1.118-.65l.677-.483c.227-.187.453-.37.701-.586 0 0 1.705 2.02 3.458 3.349l.896-2.511c-.211.942.046 2.712.17 3.163.252.142.509.272.772.392.569.28 1.134.49 1.688.64-.016-.853.026-1.956.261-2.962.26 1.258.75 2.493 1.067 3.219.895.106 2.051.146 2.816.043a73.87 73.87 0 01-1.308-2.67c.811 1.07 1.874 1.988 2.302 2.34h-.001z"})})}function B({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:r,children:l.jsx("path",{d:"M0 0v24h24V0H0zm22.222 22.222H1.778V1.778h20.444v20.444zm-7.555-4.964h2.222v1.778h-2.794L12.89 17.83v-2.794h1.778v2.222zm4 0h-1.778v-2.222h-2.222v-1.778h2.793l1.207 1.207v2.793zm-7.556-2.591H9.333v-1.778h1.778v1.778zm-5.778-1.778h1.778v4h4v1.778H6.54L5.333 17.46V12.89zm13.334-3.556v1.778h-5.778V9.333h1.987V7.111h-1.987V5.333h2.558l1.206 1.207v2.793h2.014zm-11.556-2h2.222l1.778 1.778v2H9.333v-2H7.111v2H5.333V5.333h1.778v2zm4 0H9.333v-2h1.778v2z"})})}function P({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:r,children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.125 2.75C2.9179 2.75 2.75 2.9179 2.75 3.125V11.375H2V3.125C2 2.50368 2.50368 2 3.125 2H13.1723C13.6735 2 13.9244 2.6059 13.5701 2.96025L7.38189 9.14843H9.125V8.375H9.875V9.33593C9.875 9.6466 9.6232 9.8984 9.3125 9.8984H6.63189L5.34282 11.1875H11.1875V6.5H11.9375V11.1875C11.9375 11.6017 11.6017 11.9375 11.1875 11.9375H4.59282L3.28032 13.25H12.875C13.0821 13.25 13.25 13.0821 13.25 12.875V4.625H14V12.875C14 13.4963 13.4963 14 12.875 14H2.82767C2.32653 14 2.07557 13.3941 2.42992 13.0397L8.59468 6.875H6.875V7.625H6.125V6.6875C6.125 6.37684 6.37684 6.125 6.6875 6.125H9.34468L10.6571 4.8125H4.8125V9.5H4.0625V4.8125C4.0625 4.39829 4.39829 4.0625 4.8125 4.0625H11.4071L12.7197 2.75H3.125Z"})})}function s({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 23.16 17.04",fill:"none",className:r,"data-brand":"deepseek-harness","aria-hidden":"true",children:l.jsx("path",{fill:"currentColor",d:"M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876.856163 16.5421.597155 16.4591.341647C16.4061.187643 16.3536.0301382 16.1761.00363739C15.9836-.0263635 15.9081.135141 15.8326.270145C15.5306.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028.923165 12.277.833162C12.5375.739159 12.3675.41615 11.5259.42015C10.6844.42365 9.91439.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C.0790928 5.4103-.222916 7.41536.146595 9.50642C.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z"})})}function N({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",className:r,children:l.jsx("path",{d:"M7 5h4a7 7 0 0 1 0 14H7V5Z",stroke:"currentColor",strokeWidth:"2"})})}const y={ACODE:u,CLAUDE:g,ZCODE:b,CODEBUDDY:C,WORKBUDDY:C,CODEX:h,COPILOT:m,CRAFT:E,CURSOR:f,DEEPSEEK:s,DSH:s,DROID:D,DUMATE:N,"EVERY-CODE":h,GEMINI:j,GITHUB:H,GITLAB:V,GOOSE:k,GROK:w,HERMES:O,KIMI:M,KIRO:L,KILOCODE:B,MINIMAX:d,"MINIMAX-CODE":d,OPENCODE:I,OMP:R,PI:o,"PI-ANTHROPIC":o,"PI-GITHUB-COPILOT":o,"PI-COPILOT":o,ROOCODE:A,"TRAE-CN":p,ZED:P},v={ANTIGRAVITY:"/brand-logos/antigravity.svg",ANYTHINGLLM:"/brand-logos/anythingllm.svg",CLAUDE:"/brand-logos/claude-code.svg","CLAUDE-SCIENCE":"/brand-logos/claude-code.svg",CODEX:"/brand-logos/codex.svg","COMMAND-CODE":"/brand-logos/commandcode.svg",GEMINI:"/brand-logos/gemini.svg","KILO-CLI":"/brand-logos/kilo.svg","KILO-CODE":"/brand-logos/kilo.svg",LMSTUDIO:"/brand-logos/lmstudio.svg",MIMO:"/brand-logos/mimo.svg",OMP:"/brand-logos/omp.svg",OPENCLAW:"/brand-logos/openclaw.svg",OPENCODE:"/brand-logos/opencode.svg",PI:"/brand-logos/pi.svg",DOTS:"/brand-logos/dots.png","PI-DOTS":"/brand-logos/dots.png",QODER:"/brand-logos/qoder.svg",DEVIN:"/brand-logos/devin.svg",REASONIX:"/brand-logos/reasonix.png",UNSLOTH:"/brand-logos/unsloth.svg","QODER-CN":"/brand-logos/qoder-cn.svg","VOLCANO-ARK":"/brand-logos/volcano-ark.svg",CLINE:"/brand-logos/cline.png",TRAE:"/brand-logos/trae.svg"},z={ANYTHINGLLM:"brightness-0 dark:brightness-100",PI:"brightness-0 dark:brightness-100",QODER:"dark:invert",DEVIN:"dark:invert",DOTS:"dark:invert","PI-DOTS":"dark:invert"};function T(c){return v[c]?c:c.startsWith("PI-")?"PI":c}function Z({size:c=16,className:r=""}){return l.jsx("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:l.jsx("circle",{cx:"12",cy:"12",r:"7.5",strokeDasharray:"3 3"})})}function K({provider:c,size:r=16,color:S,className:n=""}){const e=c?.toUpperCase?.()||"",t=T(e),a=v[t];if(a){const x=`${z[t]||""} ${n}`.trim();return l.jsx("img",{src:a,alt:"",width:r,height:r,className:x,style:{width:r,height:r,objectFit:"contain"},"aria-hidden":!0})}const i=y[e];return i?l.jsx(i,{size:r,className:n}):l.jsx(Z,{size:r,className:`text-oai-gray-400 dark:text-oai-gray-500 shrink-0 ${n}`})}export{K as P};
@@ -1 +1 @@
1
- import{e as d,a as m,r as t,j as e,L as l,c as a}from"./__vite-browser-external-C7JgMYNl.js";import{L as x}from"./LoginCard-4bdpPQeD.js";import"./arrow-left-DOzsdmqR.js";function n(s,o){for(const i of o){const r=s.get(i);if(typeof r=="string"&&r.trim())return r.trim()}return""}function g(){const[s]=d(),{enabled:o}=m(),i=t.useMemo(()=>n(s,["otp","token","reset_token","insforge_token"]),[s]),r=t.useMemo(()=>n(s,["email"]),[s]),c=t.useMemo(()=>n(s,["code"]),[s]);return o?e.jsxs("div",{className:"min-h-screen bg-oai-gray-950 text-oai-white font-oai antialiased dark flex flex-col",children:[e.jsx("header",{className:"border-b border-oai-gray-900 px-4 sm:px-6 h-16 flex items-center justify-between",children:e.jsx(l,{to:"/login",className:"text-sm font-medium text-oai-gray-400 hover:text-white no-underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 rounded",children:a("reset_password.back_to_sign_in")})}),e.jsx("main",{className:"flex-1 flex items-center justify-center px-4 py-12",children:e.jsx("div",{className:"w-full max-w-md border border-oai-gray-900 bg-oai-gray-950 rounded-2xl overflow-hidden shadow-2xl",children:e.jsx(x,{hideLogo:!0,initialMode:i?"reset_confirm":"reset_email",tokenFromUrl:i,initialEmail:r,initialCode:c})})})]}):e.jsxs("div",{className:"min-h-screen bg-oai-gray-950 text-oai-white font-oai antialiased dark flex flex-col",children:[e.jsx("header",{className:"border-b border-oai-gray-900 px-4 sm:px-6 py-4",children:e.jsx(l,{to:"/login",className:"text-sm font-medium text-oai-gray-400 hover:text-white no-underline",children:a("reset_password.back_to_sign_in")})}),e.jsx("main",{className:"flex-1 flex items-center justify-center px-4",children:e.jsx("p",{className:"text-oai-gray-400 text-center max-w-md",children:a("login.cloud_only")})})]})}export{g as ResetPasswordPage};
1
+ import{e as d,a as m,r as t,j as e,L as l,c as a}from"./__vite-browser-external-BnGukaND.js";import{L as x}from"./LoginCard-FXZbjmOY.js";import"./arrow-left-Mwggxctm.js";function n(s,o){for(const i of o){const r=s.get(i);if(typeof r=="string"&&r.trim())return r.trim()}return""}function g(){const[s]=d(),{enabled:o}=m(),i=t.useMemo(()=>n(s,["otp","token","reset_token","insforge_token"]),[s]),r=t.useMemo(()=>n(s,["email"]),[s]),c=t.useMemo(()=>n(s,["code"]),[s]);return o?e.jsxs("div",{className:"min-h-screen bg-oai-gray-950 text-oai-white font-oai antialiased dark flex flex-col",children:[e.jsx("header",{className:"border-b border-oai-gray-900 px-4 sm:px-6 h-16 flex items-center justify-between",children:e.jsx(l,{to:"/login",className:"text-sm font-medium text-oai-gray-400 hover:text-white no-underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 rounded",children:a("reset_password.back_to_sign_in")})}),e.jsx("main",{className:"flex-1 flex items-center justify-center px-4 py-12",children:e.jsx("div",{className:"w-full max-w-md border border-oai-gray-900 bg-oai-gray-950 rounded-2xl overflow-hidden shadow-2xl",children:e.jsx(x,{hideLogo:!0,initialMode:i?"reset_confirm":"reset_email",tokenFromUrl:i,initialEmail:r,initialCode:c})})})]}):e.jsxs("div",{className:"min-h-screen bg-oai-gray-950 text-oai-white font-oai antialiased dark flex flex-col",children:[e.jsx("header",{className:"border-b border-oai-gray-900 px-4 sm:px-6 py-4",children:e.jsx(l,{to:"/login",className:"text-sm font-medium text-oai-gray-400 hover:text-white no-underline",children:a("reset_password.back_to_sign_in")})}),e.jsx("main",{className:"flex-1 flex items-center justify-center px-4",children:e.jsx("p",{className:"text-oai-gray-400 text-center max-w-md",children:a("login.cloud_only")})})]})}export{g as ResetPasswordPage};
@@ -1 +1 @@
1
- import{r as p,K as S,j as e,y as h}from"./__vite-browser-external-C7JgMYNl.js";import{C as v}from"./chevron-down-QL4xkUtL.js";import{C as w}from"./check-DZLesnNy.js";import{u as k,a as j,b as N,L as C,s as R,S as E,c as I,d as T,e as L,f as P,g as A,h as O,i as _,j as D}from"./SelectItemText-Nis0uGZT.js";const G=p.forwardRef(function(t,s){const{render:i,className:x,style:o,...l}=t,r=k(),{multiple:n,readOnly:c}=j(),{alignItemWithTriggerActive:d}=N(),g=r.useState("hasScrollArrows"),a=r.useState("openMethod"),u={id:`${r.useState("id")}-list`,role:"listbox","aria-multiselectable":n||void 0,"aria-readonly":c||void 0,onScroll(f){r.context.scrollHandlerRef.current?.(f.currentTarget)},...d&&{style:C},className:g&&a!=="touch"?R.className:void 0},y=r.useStateSetter("listElement");return S("div",t,{ref:[s,y],props:[u,l]})}),M="relative inline-flex items-center justify-between gap-2 rounded-lg border border-oai-gray-200 bg-white text-oai-black transition-colors hover:border-oai-gray-300 focus:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 dark:border-oai-gray-800 dark:bg-oai-gray-900 dark:text-white dark:hover:border-oai-gray-700";function H({value:m,onValueChange:t,options:s=[],ariaLabel:i,id:x,disabled:o=!1,leadingIcon:l=null,className:r="",popupClassName:n="",align:c="start",matchTriggerWidth:d=!1}){const g=s.map(a=>({value:a.value,label:a.label}));return e.jsxs(E,{value:m,items:g,disabled:o,onValueChange:a=>{!o&&a!=null&&t?.(a)},children:[e.jsxs(I,{id:x,"aria-label":i,className:h(M,o&&"cursor-not-allowed opacity-50 hover:border-oai-gray-200 dark:hover:border-oai-gray-800",r),children:[e.jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[l,e.jsx(T,{className:"truncate"})]}),e.jsx(v,{className:"h-3.5 w-3.5 shrink-0 text-oai-gray-500 dark:text-oai-gray-400","aria-hidden":!0})]}),e.jsx(L,{children:e.jsx(P,{align:c,side:"bottom",sideOffset:4,className:"z-50",children:e.jsx(A,{className:h("max-h-[min(18rem,var(--available-height))] origin-[var(--transform-origin)] overflow-y-auto","rounded-xl border border-oai-gray-200 bg-white p-1 shadow-lg ring-1 ring-black/[0.04]","dark:border-oai-gray-700 dark:bg-oai-gray-900 dark:ring-white/[0.05]","transition-[opacity,transform] duration-150 ease-out","data-[starting-style]:scale-95 data-[starting-style]:opacity-0","data-[ending-style]:scale-95 data-[ending-style]:opacity-0",d&&"min-w-[var(--anchor-width)]",n),children:e.jsx(G,{role:"listbox","aria-label":i,children:s.map(a=>e.jsxs(O,{value:a.value,disabled:a.disabled,className:({selected:b,disabled:u})=>h("flex w-full cursor-pointer items-center gap-1.5 whitespace-nowrap rounded-lg py-1.5 pl-1.5 pr-6","text-left text-xs outline-none transition-colors",b?"bg-oai-gray-100 text-oai-black dark:bg-oai-gray-800/70 dark:text-white":"text-oai-gray-600 hover:bg-oai-gray-50 dark:text-oai-gray-300 dark:hover:bg-oai-gray-800/60",u&&"cursor-not-allowed opacity-50 hover:bg-transparent dark:hover:bg-transparent"),children:[e.jsx("span",{className:"flex w-3.5 shrink-0 items-center justify-center text-oai-gray-500 dark:text-oai-gray-300",children:e.jsx(_,{children:e.jsx(w,{className:"h-3 w-3","aria-hidden":!0})})}),e.jsx("span",{className:"min-w-0 flex-1 truncate",children:e.jsx(D,{children:a.label})})]},String(a.value)))})})})})]})}export{H as S};
1
+ import{r as p,K as S,j as e,y as h}from"./__vite-browser-external-BnGukaND.js";import{C as v}from"./chevron-down-BIf5bhyB.js";import{C as w}from"./check-dsWQRYNj.js";import{u as k,a as j,b as N,L as C,s as R,S as E,c as I,d as T,e as L,f as P,g as A,h as O,i as _,j as D}from"./SelectItemText-Bz5cn5Gk.js";const G=p.forwardRef(function(t,s){const{render:i,className:x,style:o,...l}=t,r=k(),{multiple:n,readOnly:c}=j(),{alignItemWithTriggerActive:d}=N(),g=r.useState("hasScrollArrows"),a=r.useState("openMethod"),u={id:`${r.useState("id")}-list`,role:"listbox","aria-multiselectable":n||void 0,"aria-readonly":c||void 0,onScroll(f){r.context.scrollHandlerRef.current?.(f.currentTarget)},...d&&{style:C},className:g&&a!=="touch"?R.className:void 0},y=r.useStateSetter("listElement");return S("div",t,{ref:[s,y],props:[u,l]})}),M="relative inline-flex items-center justify-between gap-2 rounded-lg border border-oai-gray-200 bg-white text-oai-black transition-colors hover:border-oai-gray-300 focus:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 dark:border-oai-gray-800 dark:bg-oai-gray-900 dark:text-white dark:hover:border-oai-gray-700";function H({value:m,onValueChange:t,options:s=[],ariaLabel:i,id:x,disabled:o=!1,leadingIcon:l=null,className:r="",popupClassName:n="",align:c="start",matchTriggerWidth:d=!1}){const g=s.map(a=>({value:a.value,label:a.label}));return e.jsxs(E,{value:m,items:g,disabled:o,onValueChange:a=>{!o&&a!=null&&t?.(a)},children:[e.jsxs(I,{id:x,"aria-label":i,className:h(M,o&&"cursor-not-allowed opacity-50 hover:border-oai-gray-200 dark:hover:border-oai-gray-800",r),children:[e.jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[l,e.jsx(T,{className:"truncate"})]}),e.jsx(v,{className:"h-3.5 w-3.5 shrink-0 text-oai-gray-500 dark:text-oai-gray-400","aria-hidden":!0})]}),e.jsx(L,{children:e.jsx(P,{align:c,side:"bottom",sideOffset:4,className:"z-50",children:e.jsx(A,{className:h("max-h-[min(18rem,var(--available-height))] origin-[var(--transform-origin)] overflow-y-auto","rounded-xl border border-oai-gray-200 bg-white p-1 shadow-lg ring-1 ring-black/[0.04]","dark:border-oai-gray-700 dark:bg-oai-gray-900 dark:ring-white/[0.05]","transition-[opacity,transform] duration-150 ease-out","data-[starting-style]:scale-95 data-[starting-style]:opacity-0","data-[ending-style]:scale-95 data-[ending-style]:opacity-0",d&&"min-w-[var(--anchor-width)]",n),children:e.jsx(G,{role:"listbox","aria-label":i,children:s.map(a=>e.jsxs(O,{value:a.value,disabled:a.disabled,className:({selected:b,disabled:u})=>h("flex w-full cursor-pointer items-center gap-1.5 whitespace-nowrap rounded-lg py-1.5 pl-1.5 pr-6","text-left text-xs outline-none transition-colors",b?"bg-oai-gray-100 text-oai-black dark:bg-oai-gray-800/70 dark:text-white":"text-oai-gray-600 hover:bg-oai-gray-50 dark:text-oai-gray-300 dark:hover:bg-oai-gray-800/60",u&&"cursor-not-allowed opacity-50 hover:bg-transparent dark:hover:bg-transparent"),children:[e.jsx("span",{className:"flex w-3.5 shrink-0 items-center justify-center text-oai-gray-500 dark:text-oai-gray-300",children:e.jsx(_,{children:e.jsx(w,{className:"h-3 w-3","aria-hidden":!0})})}),e.jsx("span",{className:"min-w-0 flex-1 truncate",children:e.jsx(D,{children:a.label})})]},String(a.value)))})})})})]})}export{H as S};
@@ -1 +1 @@
1
- import{bo as Tn,r as o,cw as st,a$ as $e,b7 as Kt,c1 as wn,J as Ge,N as pe,ct as vn,aY as ke,b1 as z,b2 as Mn,cx as Yt,cu as Pn,b0 as Y,dg as Dt,dh as mt,di as kt,b$ as ht,b3 as Ne,ba as Te,dj as Nt,bG as Ht,dk as Je,br as $t,bZ as Gt,dl as ct,dm as ut,dn as Xt,dp as Et,cE as On,dq as An,dr as bt,cJ as Ln,bm as He,aW as te,j as ae,bF as Tt,c3 as yt,c8 as Vn,ca as Fn,cb as Dn,bX as it,bn as kn,cz as Nn,bJ as rt,cr as Hn,M as Jt,K as _e,ds as _n,bB as Un,dt as Bn,bE as Wn,b5 as jn,du as qn,c7 as Zt,dv as xt}from"./__vite-browser-external-C7JgMYNl.js";import{i as St,E as Qt,b as en,F as zn,P as Kn,c as Oe,a as Yn,G as $n,H as Ie,J as tn,B as Gn,u as Xn,D as nn,n as Jn,x as Zn,q as Qn,I as er,w as tr,z as nr,C as rr}from"./composite-DObGcQmb.js";import{u as or,a as sr,b as ir,p as lr,r as cr,g as ur}from"./usePositioner-DhtQcPOC.js";function Ke(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function ar(e,t={}){const{enabled:n=!0,event:r="click",toggle:s=!0,ignoreMouse:i=!1,stickIfOpen:l=!0,touchOpenDelay:f=0,reason:c=Tn}=t,y="rootStore"in e?e.rootStore:e,b=y.context.dataRef,x=o.useRef(void 0),w=st(),m=$e(),V=o.useMemo(()=>{function v(d,_,E,p){const a=pe(c,_,E);d&&p==="touch"&&f>0?m.start(f,()=>{y.setOpen(!0,a)}):y.setOpen(d,a)}function C(d,_,E){const p=b.current.openEvent,a=y.select("domReferenceElement")!==_;return d&&a||!d||!s?!0:p&&l?!E(p.type):!1}return{onPointerDown(d){x.current=St(d.pointerType,!0)&&Qt(d.nativeEvent)?"virtual":d.pointerType},onMouseDown(d){const _=x.current,E=d.nativeEvent,p=y.select("open");if(d.button!==0||r==="click"||St(_,!0)&&i)return;const a=C(p,d.currentTarget,S=>S==="click"||S==="mousedown"),O=Kt(E);if(wn(O)){v(a,E,O,_);return}const h=d.currentTarget;w.request(()=>{v(a,E,h,_)})},onClick(d){if(r==="mousedown-only")return;const _=x.current;if(r==="mousedown"&&_){x.current=void 0;return}if(St(_,!0)&&i)return;const E=y.select("open"),p=C(E,d.currentTarget,a=>a==="click"||a==="mousedown"||a==="keydown"||a==="keyup");v(p,d.nativeEvent,d.currentTarget,_)},onKeyDown(){x.current=void 0}}},[b,r,i,c,y,l,s,w,m,f]);return o.useMemo(()=>n?{reference:V}:Ge,[n,V])}function fr(e){const{open:t=!1,onOpenChange:n,elements:r={}}=e,s=vn(),i=en()!=null,l=ke(()=>new zn({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Kn,floatingId:s,syncOnly:!1,nested:i})).current;return z(()=>{const f={open:t,floatingId:s};r.reference!==void 0&&(f.referenceElement=r.reference,f.domReferenceElement=Mn(r.reference)?r.reference:null),r.floating!==void 0&&(f.floatingElement=r.floating),l.update(f)},[t,s,r.reference,r.floating,l]),l.context.onOpenChange=n,l.context.nested=i,l}const dr="Escape";function _t(e){return Gt&&e.movementX===0&&e.movementY===0}function at(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function Ze(e,t){return at(t,e===Xt||e===Et,e===ct||e===ut)}function Rt(e,t,n){return at(t,e===Et,n?e===ct:e===ut)||e==="Enter"||e===" "||e===""}function pr(e,t,n){return at(t,n?e===ct:e===ut,e===Et)}function gr(e,t,n,r){const s=n?e===ut:e===ct,i=e===Xt;return t==="both"||t==="horizontal"&&r?e===dr:at(t,s,i)}function mr(e,t){const{listRef:n,activeIndex:r,onNavigate:s=()=>{},enabled:i=!0,selectedIndex:l=null,allowEscape:f=!1,loopFocus:c=!1,nested:y=!1,rtl:b=!1,virtual:x=!1,focusItemOnOpen:w="auto",focusItemOnHover:m=!0,openOnArrowKeyDown:V=!0,disabledIndices:v=void 0,orientation:C="vertical",parentOrientation:d,id:_,resetOnPointerLeave:E=!0,externalTree:p,grid:a}=t,O=a!=null,h="rootStore"in e?e.rootStore:e,S=h.useState("open"),H=h.useState("floatingElement"),D=h.useState("domReferenceElement"),G=h.context.dataRef,$=Yt(H),R=Pn(D),F=Oe($),K=en(),J=Yn(p),q=o.useRef(w),M=o.useRef(l??-1),U=o.useRef(null),g=o.useRef(!0),T=Y(u=>{s(M.current===-1?null:M.current,u)}),A=o.useRef(!!H),L=o.useRef(S),k=o.useRef(!1),X=o.useRef(!1),ne=o.useRef(null),re=Oe(v),se=Oe(S),le=Oe(l),oe=Oe(E),fe=st(),B=st(),j=Y(()=>{function u(N){x?J?.events.emit("virtualfocus",N):ne.current=$n(N,{sync:k.current,preventScroll:!0})}const I=n.current[M.current],Q=X.current;I&&u(I),(k.current?N=>N():N=>fe.request(N))(()=>{const N=n.current[M.current]||I;if(!N)return;I||u(N),ue&&(Q||!g.current)&&N.scrollIntoView?.({block:"nearest",inline:"nearest"})})});z(()=>{G.current.orientation=C},[G,C]),z(()=>{i&&(S&&H?(M.current=l??-1,q.current&&l!=null&&(X.current=!0,T())):A.current&&(M.current=-1,T()))},[i,S,H,l,T]),z(()=>{if(i){if(!S){k.current=!1;return}if(H)if(r==null){if(k.current=!1,le.current!=null)return;if(A.current&&(M.current=-1,j()),(!L.current||!A.current)&&q.current&&(U.current!=null||q.current===!0&&U.current==null)){let u=0;const I=()=>{n.current[0]==null?(u<2&&(u?P=>B.request(P):queueMicrotask)(I),u+=1):(M.current=U.current==null||Rt(U.current,C,b)||y?mt(n):kt(n),U.current=null,T())};I()}}else Dt(n.current,r)||(M.current=r,j(),X.current=!1)}},[i,S,H,r,le,y,n,C,b,T,j,B]),z(()=>{if(!i||H||!J||x||!A.current)return;const u=J.nodesRef.current,I=u.find(N=>N.id===K)?.context?.elements.floating,Q=ht(Ne(D??I??null)),P=u.some(N=>N.context&&Te(N.context.elements.floating,Q));I&&!P&&g.current&&I.focus({preventScroll:!0})},[i,H,D,J,K,x]),z(()=>{L.current=S,A.current=!!H}),z(()=>{S||(U.current=null,q.current=w)},[S,w]);const ce=r!=null,Z=Y(u=>{if(!se.current)return;const I=n.current.indexOf(u.currentTarget);I!==-1&&(M.current!==I||r!==I)&&(M.current=I,T(u))}),ge=Y(()=>d??J?.nodesRef.current.find(u=>u.id===K)?.context?.dataRef?.current.orientation),xe=Y(()=>mt(n,re.current)),de=Y(u=>{if(g.current=!1,k.current=!0,u.which===229||!se.current&&u.currentTarget===F.current)return;if(y&&gr(u.key,C,b,O)){Ze(u.key,ge())||Ie(u),h.setOpen(!1,pe(Nt,u.nativeEvent)),Ht(D)&&(x?J?.events.emit("virtualfocus",D):D.focus());return}const I=M.current,Q=mt(n,v),P=kt(n,v);if(R||(u.key==="Home"&&(Ie(u),M.current=Q,T(u)),u.key==="End"&&(Ie(u),M.current=P,T(u))),a!=null){const N=a(u,M.current,n,C,c,b,v,Q,P);if(N!=null&&(M.current=N,T(u)),C==="both")return}if(Ze(u.key,C)){if(Ie(u),S&&!x&&ht(u.currentTarget.ownerDocument)===u.currentTarget){M.current=Rt(u.key,C,b)?Q:P,T(u);return}Rt(u.key,C,b)?c?I>=P?f&&I!==n.current.length?M.current=-1:(k.current=!1,M.current=Q):M.current=Je(n.current,{startingIndex:I,disabledIndices:v}):M.current=Math.min(P,Je(n.current,{startingIndex:I,disabledIndices:v})):c?I<=Q?f&&I!==-1?M.current=n.current.length:(k.current=!1,M.current=P):M.current=Je(n.current,{startingIndex:I,decrement:!0,disabledIndices:v}):M.current=Math.max(Q,Je(n.current,{startingIndex:I,decrement:!0,disabledIndices:v})),Dt(n.current,M.current)&&(M.current=-1),T(u)}}),ue=o.useMemo(()=>({onFocus(I){k.current=!0,Z(I)},onClick:({currentTarget:I})=>I.focus({preventScroll:!0}),onMouseMove(I){_t(I)||(k.current=!0,X.current=!1,m&&Z(I))},onPointerLeave(I){if(!se.current||!g.current||I.pointerType==="touch")return;k.current=!0;const Q=I.relatedTarget;if(!(!m||n.current.includes(Q))&&oe.current&&(ne.current?.(),ne.current=null,M.current=-1,T(I),!x)){const P=F.current,N=ht(Ne(P));P&&Te(P,N)&&P.focus({preventScroll:!0})}}}),[Z,se,F,m,n,T,oe,x]),me=o.useMemo(()=>x&&S&&ce&&{"aria-activedescendant":`${_}-${r}`},[x,S,ce,_,r]),Se=o.useMemo(()=>({...R?{}:me,onKeyDown(u){if(u.key==="Tab"&&u.shiftKey&&S&&!x){const I=Kt(u.nativeEvent);if(I&&!Te(F.current,I))return;Ie(u),h.setOpen(!1,pe($t,u.nativeEvent)),Ht(D)&&D.focus();return}de(u)},onPointerMove(u){_t(u)||(g.current=!0)}}),[me,de,F,R,h,S,x,D]),ee=o.useMemo(()=>{function u(P){h.setOpen(!0,pe(Nt,P.nativeEvent,P.currentTarget))}function I(P){w==="auto"&&tn(P.nativeEvent)&&(q.current=!x)}function Q(P){q.current=w,w==="auto"&&Qt(P.nativeEvent)&&(q.current=!0)}return{onKeyDown(P){const N=h.select("open");g.current=!1;const ve=P.key.startsWith("Arrow"),Me=pr(P.key,ge(),b),be=Ze(P.key,C),Re=(y?Me:be)||P.key==="Enter"||P.key.trim()==="";if(x&&N)return de(P);if(!(!N&&!V&&ve)){if(Re){const Ue=Ze(P.key,ge());U.current=y&&Ue?null:P.key}if(y){Me&&(Ie(P),N?(M.current=xe(),T(P)):u(P));return}be&&(le.current!=null&&(M.current=le.current),Ie(P),!N&&V?u(P):de(P),N&&T(P))}},onFocus(P){h.select("open")&&!x&&(M.current=-1,T(P))},onPointerDown:Q,onPointerEnter:Q,onMouseDown:I,onClick:I}},[de,w,xe,y,T,h,V,C,ge,b,le,x]),we=o.useMemo(()=>({...me,...ee}),[me,ee]);return o.useMemo(()=>i?{reference:we,floating:Se,item:ue,trigger:ee}:{},[i,we,Se,ee,ue])}function hr(e,t){const{listRef:n,elementsRef:r,activeIndex:s,onMatch:i,disabledIndices:l,onTyping:f,enabled:c=!0,resetMs:y=750,selectedIndex:b=null}=t,x="rootStore"in e?e.rootStore:e,w=x.useState("open"),m=$e(),V=o.useRef(""),v=o.useRef(b??s??-1),C=o.useRef(null),d=Y(p=>{function a(F){return r?.current[F]}function O(F){const K=a(F);return K&&!On(K)||K?.matches(":disabled")?!1:l==null||!An(bt,F,l)}function h(F,K,J=0){if(F.length===0)return-1;const q=(J%F.length+F.length)%F.length,M=K.toLowerCase();for(let U=0;U<F.length;U+=1){const g=(q+U)%F.length;if(!(!F[g]?.toLowerCase().startsWith(M)||!O(g)))return g}return-1}const S=n.current;if(V.current.length>0&&p.key===" "&&(Ie(p),f?.(!0)),V.current.length>0&&V.current[0]!==" "&&h(S,V.current)===-1&&p.key!==" "&&f?.(!1),S==null||p.key.length!==1||p.ctrlKey||p.metaKey||p.altKey)return;w&&p.key!==" "&&(Ie(p),f?.(!0));const H=V.current==="";H&&(v.current=b??s??-1),S.every((F,K)=>F&&O(K)?F[0]?.toLowerCase()!==F[1]?.toLowerCase():!0)&&V.current===p.key&&(V.current="",v.current=C.current),V.current+=p.key,m.start(y,()=>{V.current="",v.current=C.current,f?.(!1)});const $=((H?b??s??-1:v.current)??0)+1,R=h(S,V.current,$);R!==-1?(i?.(R),C.current=R):p.key!==" "&&(V.current="",f?.(!1))}),_=Y(p=>{const a=p.relatedTarget,O=x.select("domReferenceElement"),h=x.select("floatingElement");Te(O,a)||Te(h,a)||(m.clear(),V.current="",v.current=C.current,f?.(!1))});z(()=>{!w&&b!==null||(m.clear(),C.current=null,V.current!==""&&(V.current=""))},[w,b,m]);const E=o.useMemo(()=>({onKeyDown:d,onBlur:_}),[d,_]);return o.useMemo(()=>c?{reference:E,floating:E}:{},[c,E])}function xr(e){const t=o.useRef(""),n=o.useCallback(s=>{s.defaultPrevented||(t.current=s.pointerType,e(s,s.pointerType))},[e]);return{onClick:o.useCallback(s=>{if(s.detail===0){e(s,"keyboard");return}"pointerType"in s?e(s,s.pointerType):e(s,t.current),t.current=""},[e]),onPointerDown:n}}function rn(e,t){const n=o.useRef(e),r=Y(t);z(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}function Sr(e,t){const n=Y((i,l)=>{(typeof e=="function"?e():e)||t(l||(Ln?"touch":""))}),{onClick:r,onPointerDown:s}=xr(n);return o.useMemo(()=>({onClick:r,onPointerDown:s}),[r,s])}function Rr(e){const[t,n]=o.useState(null),r=Sr(e,n);return rn(e,s=>{s&&!e&&n(null)}),o.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}const br=20;function yr(e,t,n,r){const[s,i]=o.useState(!1);z(()=>{if(!e||!t||n==null){i(!1);return}const l=Ne(n).documentElement.clientWidth,f=n.offsetWidth;i(l>0&&f>0&&f>=l-br)},[e,t,n]),Gn(e&&(!t||s),r)}const Ir=o.createContext(void 0);function Cr(e){return o.useContext(Ir)}function Er(e){const[t,n]=o.useState({current:e,previous:null});return Object.is(e,t.current)||n({current:e,previous:t.current}),t.previous}function Tr(e){const t=o.useRef(!0);t.current&&(t.current=!1,e())}function wr(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}function Ut({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=o.useRef(e!==void 0),[i,l]=o.useState(t),f=s&&e!==void 0?e:i,c=o.useCallback(y=>{s||l(y)},[]);return[f,c]}const on=o.createContext(void 0),sn=o.createContext(void 0),ln=o.createContext(void 0);function Le(){const e=o.useContext(on);if(e===void 0)throw new Error(He(60));return e}function wt(){const e=o.useContext(sn);if(e===void 0)throw new Error(He(101));return e}function cn(){const e=o.useContext(ln);if(e===void 0)throw new Error(He(61));return e}const vr="data-valid",Mr="data-invalid",Pr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Or={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Ar={disabled:!1,...Or},Lr={valid(e){return e===null?null:e?{[vr]:""}:{[Mr]:""}}},Vr={invalid:void 0,name:void 0,validityData:{state:Pr,errors:[],error:"",value:"",initialValue:null},setValidityData:te,disabled:void 0,setTouched:te,setDirty:te,setFilled:te,setFocused:te,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:Ar,registerFieldControl:te,validation:{getValidationProps:(e,t=Ge)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:te,getInputControl:()=>null,commit:async()=>{},change:te}},Fr=o.createContext(Vr);function vt(e=!0){const t=o.useContext(Fr);if(t.setValidityData===te&&!e)throw new Error(He(28));return t}function Dr(e,t,n,r,s=!0,i){const{registerFieldControl:l}=vt(),f=ke(()=>Symbol());z(()=>{const c=f.current;if(!s){l(c,void 0);return}l(c,{controlRef:e,getValue:r,id:t,name:i,value:n})},[e,s,r,t,i,l,f,n]),z(()=>{const c=f.current;return()=>{l(c,void 0)}},[l,f])}const kr=o.createContext({controlId:void 0,registerControlId:te,resetControlId:te,labelId:void 0,setLabelId:te,messageIds:[],setMessageIds:te,getDescriptionProps:e=>e});function un(){return o.useContext(kr)}function an(e={}){const{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:s,resetControlId:i}=un(),l=Xn(),f=ke(()=>Symbol()),c=o.useRef(!1),y=o.useRef(!1),b=Y(()=>{!c.current||s===te||(c.current=!1,s(f.current,void 0))});return z(()=>{if(!n||s===te){b();return}let x;if(t!==void 0)y.current=!0,x=t;else if(y.current)x=l;else{i();return}if(x===void 0){b();return}c.current=!0,s(f.current,x)},[t,n,s,i,l,f,b]),z(()=>b,[b]),(n?r:void 0)??t??l}function Nr(e,t,n=Object.is){const{length:r}=e;if(r!==t.length)return!1;for(let s=0;s<r;s+=1)if(!n(e[s],t[s]))return!1;return!0}const fn=(e,t)=>Object.is(e,t);function Ae(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Hr(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!Nr(e,t,(r,s)=>Ae(r,s,n)):e!==t}function It(e,t,n){return e?e.some(r=>r===void 0?!1:Ae(t,r,n)):!1}function ot(e,t,n){return e?e.findIndex(r=>r===void 0?!1:Ae(r,t,n)):-1}function _r(e,t){if(t!==fn)return r=>It(e,r,t);const n=new Set(e);return n.delete(void 0),r=>n.has(r)&&(r!==0||e.some(s=>Object.is(r,s)))}function dn(e,t,n,r){const s=r&&Array.isArray(t)?e.findIndex(_r(t,n)):ot(e,t,n);return s===-1?null:s}function Ur(e,t,n,r,s,i){return It(r,t,s)?i!=null&&e>i&&It(r,n[i],s)?i:e:e===i?dn(n,r,s,!0):i}function Br(e,t,n){return e.filter(r=>!Ae(t,r,n))}function Ct(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}function Wr(e){return typeof e=="object"&&e!=null&&Array.isArray(e.items)}function pn(e){return Wr(e?.[0])}function jr(e){return pn(e)?e.flatMap(t=>t.items):e}function qr(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if(pn(t)){for(const n of t)for(const r of n.items)if(r&&r.value==null&&r.label!=null)return!0;return!1}for(const n of t)if(n&&n.value==null&&n.label!=null)return!0;return!1}function gn(e,t){if(t&&e!=null)return t(e)??"";if(e&&typeof e=="object"){if("label"in e&&e.label!=null)return String(e.label);if("value"in e)return String(e.value)}return Ct(e)}function De(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?Ct(e.value):Ct(e)}function mn(e,t,n){function r(){return gn(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e=="object"&&"label"in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??r();if(Array.isArray(t)){const i=jr(t);if(e==null||typeof e!="object"){const l=i.find(f=>f.value===e);return l&&l.label!=null?l.label:r()}if("value"in e){const l=i.find(f=>f&&f.value===e.value);if(l&&l.label!=null)return l.label}}return r()}function zr(e,t,n){return e.reduce((r,s,i)=>(i>0&&r.push(", "),r.push(ae.jsx(o.Fragment,{children:mn(s,t,n)},i)),r),[])}const Kr={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{const{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:De(t,r)!==""},hasNullItemLabel:(e,t)=>t?qr(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{const n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(s=>Ae(t,s,n)):Ae(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows},Yr=o.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:te,validationMode:"onSubmit",submitCountRef:{current:0}});function $r(){return o.useContext(Yr)}const Ce=1;function hn(e,t){return Math.max(0,e-t)}function Gr(e,t){if(t<=0)return 0;const n=Ke(e,0,t),r=n,s=t-n,i=r<=Ce,l=s<=Ce;return i&&l?r<=s?0:t:i?0:l?t:n}function Eo(e){const{id:t,value:n,defaultValue:r=null,onValueChange:s,open:i,defaultOpen:l=!1,onOpenChange:f,name:c,form:y,autoComplete:b,disabled:x=!1,readOnly:w=!1,required:m=!1,modal:V=!0,actionsRef:v,inputRef:C,onOpenChangeComplete:d,items:_,multiple:E=!1,itemToStringLabel:p,itemToStringValue:a,isItemEqualToValue:O=fn,highlightItemOnHover:h=!0,children:S}=e,{clearErrors:H}=$r(),{setDirty:D,setTouched:G,setFocused:$,validityData:R,setFilled:F,name:K,disabled:J,validation:q,validationMode:M}=vt(),U=an({id:t}),g=J||x,T=K??c,[A,L]=Ut({controlled:n,default:E?r??bt:r,name:"Select",state:"value"}),[k,X]=Ut({controlled:i,default:l,name:"Select",state:"open"}),ne=o.useRef([]),re=o.useRef([]),se=o.useRef(null),le=o.useRef(null),oe=o.useRef(0),fe=o.useRef(null),B=o.useRef([]),j=o.useRef(!1),ce=o.useRef(null),Z=o.useRef(null),ge=o.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),xe=o.useRef(!1),de=o.useRef(A),{mounted:ue,setMounted:me,transitionStatus:Se}=nn(k),{openMethod:ee,triggerProps:we}=Rr(k),u=ke(()=>new kn({id:U,labelId:void 0,modal:V,multiple:E,itemToStringLabel:p,itemToStringValue:a,isItemEqualToValue:O,value:A,open:k,mounted:ue,transitionStatus:Se,items:_,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:Ge,triggerProps:Ge,triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:te,setOpen:te,handleScrollArrowVisibility:te,onOpenChangeComplete:te,listRef:ne,popupRef:se,scrollHandlerRef:le,scrollArrowsMountedCountRef:oe,valueRef:fe,valuesRef:B,labelsRef:re,typingRef:j,selectionRef:ge,firstItemTextRef:ce,selectedItemTextRef:Z,alignItemWithTriggerActiveRef:xe,initialValueRef:de},Kr)).current,I=u.useState("activeIndex"),Q=u.useState("selectedIndex"),P=u.useState("triggerElement"),N=u.useState("positionerElement"),ve=Er(ee),Me=ee??ve,be=o.useMemo(()=>E?"":De(A,a),[E,A,a]),Re=o.useMemo(()=>E&&Array.isArray(A)?A.map(W=>De(W,a)):De(A,a),[E,A,a]),Ue=Oe(P),Be=Y(()=>Re);Dr(Ue,U,A,Be,!g,c);const We=E?Array.isArray(A)&&A.length>0:A!=null&&be!=="";z(()=>{F(We)},[We,F]),z(function(){const ie=dn(B.current,A,O,E);ie===null&&(Z.current=null),!k&&u.set("selectedIndex",ie)},[E,k,A,O,u]),rn(A,()=>{H(T),D(Hr(A,R.initialValue,O)),q.change(A)});const je=Y((W,ie)=>{f?.(W,ie),!ie.isCanceled&&(X(W),!W&&(ie.reason===$t||ie.reason===Nn)&&(G(!0),$(!1),M==="onBlur"&&q.commit(A)))}),Ve=Y(()=>{me(!1),u.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),d?.(!1)});Tt({enabled:!v,open:k,ref:se,onComplete(){k||Ve()}}),o.useImperativeHandle(v,()=>({unmount:Ve}),[Ve]);const qe=Y((W,ie)=>{s?.(W,ie),!ie.isCanceled&&L(W)}),ft=Y(W=>{const ie=hn(W.scrollHeight,W.clientHeight),Xe=Gr(W.scrollTop,ie),dt=Xe>0,ze=Xe<ie;u.set("scrollUpArrowVisible",dt),u.set("scrollDownArrowVisible",ze)}),Pe=fr({open:k,onOpenChange:je,elements:{reference:P,floating:N}}),he=ar(Pe,{enabled:!g,event:"mousedown"}),ye=Jn(Pe),Ee=mr(Pe,{enabled:!g,listRef:ne,activeIndex:I,selectedIndex:Q,disabledIndices:bt,onNavigate(W){W===null&&!k||u.set("activeIndex",W)},focusItemOnHover:h}),Fe=hr(Pe,{enabled:!g&&(k||!w&&!E),listRef:re,activeIndex:I,selectedIndex:Q,disabledIndices:W=>wr(ne.current[W]),onMatch(W){k?u.set("activeIndex",W):qe(B.current[W],pe(it))},onTyping(W){j.current=W}}),Pt=o.useMemo(()=>yt(Fe.reference,Ee.reference,ye.reference,he.reference,we),[he.reference,Fe.reference,Ee.reference,ye.reference,we]),Ot=o.useMemo(()=>yt(Zn,Fe.floating,Ee.floating,ye.floating),[Fe.floating,Ee.floating,ye.floating]),At=Ee.item??Ge;u.useContextCallback("setValue",qe),u.useContextCallback("setOpen",je),u.useContextCallback("handleScrollArrowVisibility",ft),u.useContextCallback("onOpenChangeComplete",d),Tr(()=>{u.update({popupProps:Ot,triggerProps:Pt})}),u.useSyncedValues({id:U,modal:V,multiple:E,value:A,open:k,mounted:ue,transitionStatus:Se,popupProps:Ot,triggerProps:Pt,items:_,itemToStringLabel:p,itemToStringValue:a,isItemEqualToValue:O,openMethod:Me});const yn=o.useMemo(()=>({disabled:g,readOnly:w,required:m,multiple:E,highlightItemOnHover:h,itemProps:At}),[g,w,m,E,h,At]),In=Vn(C,q.inputRef),Lt=E?void 0:T,Cn=o.useMemo(()=>!E||!Array.isArray(A)||!T?null:A.map(W=>{const ie=De(W,a);return ae.jsx("input",{type:"hidden",form:y,name:T,value:ie,disabled:g},ie)}),[E,A,y,T,a,g]);return ae.jsxs(on.Provider,{value:u,children:[ae.jsx(sn.Provider,{value:yn,children:ae.jsx(ln.Provider,{value:Pe,children:S})}),ae.jsx("input",{...q.getValidationProps(g,{onFocus(){u.state.triggerElement?.focus({focusVisible:!0})},onChange(W){if(W.nativeEvent.defaultPrevented||g||w)return;const ie=W.currentTarget.value,Xe=pe(it,W.nativeEvent);function dt(){if(E)return;const ze=ie.toLowerCase();let pt=B.current.findIndex(gt=>De(gt,a).toLowerCase()===ze||gn(gt,p).toLowerCase()===ze);pt===-1&&(pt=B.current.findIndex((gt,En)=>{const Ft=re.current[En];return Ft!=null&&Ft.toLowerCase()===ze}));const Vt=B.current[pt];Vt!=null&&qe(Vt,Xe)}u.set("forceMount",!0),queueMicrotask(dt)}}),id:U&&Lt==null?`${U}-hidden-input`:void 0,form:y,name:Lt,autoComplete:b,value:be,disabled:g,required:m&&!(E&&We),readOnly:w,ref:In,style:T?Fn:Dn,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Cn]})}function Xr(e,t){return e??t}const Qe=5;function Jr(e,t){const n=Zr(t);return e.clientX>=n.left-Qe&&e.clientX<=n.right+Qe&&e.clientY>=n.top-Qe&&e.clientY<=n.bottom+Qe}function Zr(e){const t=e.getBoundingClientRect(),n=rt(e);if(Hn)return t;const r=n.getComputedStyle(e,"::before"),s=n.getComputedStyle(e,"::after");if(!(r.content!=="none"||s.content!=="none"))return t;const l=parseFloat(r.width)||0,f=parseFloat(r.height)||0,c=parseFloat(s.width)||0,y=parseFloat(s.height)||0,b=Math.max(t.width,l,c),x=Math.max(t.height,f,y),w=b-t.width,m=x-t.height;return{left:t.left-w/2,right:t.right+w/2,top:t.top-m/2,bottom:t.bottom+m/2}}const Qr="data-popup-side",eo=400,to={...Qn,...Lr,popupSide:e=>e?{[Qr]:e}:null,value:()=>null},To=o.forwardRef(function(t,n){const{render:r,className:s,id:i,disabled:l=!1,nativeButton:f=!0,style:c,...y}=t,{setTouched:b,setFocused:x,validationMode:w,validation:m,state:V,disabled:v}=vt(),{labelId:C}=un(),d=Le(),{readOnly:_,required:E,disabled:p}=wt(),a=v||p||l,O=d.useState("open"),h=d.useState("mounted"),S=d.useState("value"),H=d.useState("triggerProps"),D=d.useState("positionerElement"),G=d.useState("listElement"),$=d.useState("popupSide"),R=d.useState("id"),F=d.useState("labelId"),K=d.useState("hasSelectedValue"),J=h&&D?$:null,q=i??R,M=Xr(C,F);an({id:i});const U=Oe(D),g=o.useRef(null),{getButtonProps:T,buttonRef:A}=Jt({disabled:a,native:f}),L=d.useStateSetter("triggerElement"),k=$e(),X=$e(),ne=$e();o.useEffect(()=>{if(O)return ne.start(eo,()=>{d.context.selectionRef.current.allowUnselectedMouseUp=!0,d.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{ne.clear()};d.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},X.clear()},[O,d,X,ne]);const re=yt(H,{id:q,role:"combobox","aria-expanded":O,"aria-haspopup":"listbox","aria-controls":O?G?.id??Yt(D)?.id:void 0,"aria-labelledby":M,"aria-readonly":_||void 0,"aria-required":E||void 0,tabIndex:a?-1:0,onFocus(oe){x(!0),O&&d.context.alignItemWithTriggerActiveRef.current&&d.context.setOpen(!1,pe(it,oe.nativeEvent)),k.start(0,()=>{d.set("forceMount",!0)})},onBlur(oe){Te(D,oe.relatedTarget)||(b(!0),x(!1),w==="onBlur"&&m.commit(S))},onMouseDown(oe){if(O)return;const fe=Ne(oe.currentTarget);function B(j){if(!g.current)return;const ce=j.target;Te(g.current,ce)||Te(U.current,ce)||Jr(j,g.current)||d.context.setOpen(!1,pe(_n,j))}X.start(0,()=>{fe.addEventListener("mouseup",B,{once:!0})})}},y,T),se=m.getValidationProps(a,re);se.role="combobox";const le={...V,open:O,disabled:a,value:S,readOnly:_,popupSide:J,placeholder:!K};return _e("button",t,{ref:[n,g,A,L],state:le,stateAttributesMapping:to,props:se})}),no={value:()=>null},wo=o.forwardRef(function(t,n){const{className:r,render:s,children:i,placeholder:l,style:f,...c}=t,y=Le(),b=y.useState("value"),x=y.useState("items"),w=y.useState("itemToStringLabel"),m=y.useState("hasSelectedValue"),V=!m&&l!=null&&i==null,v=y.useState("hasNullItemLabel",V),C={value:b,placeholder:!m};let d=null;return typeof i=="function"?d=i(b):i!=null?d=i:V&&!v?d=l:Array.isArray(b)?d=zr(b,x,w):d=mn(b,x,w),_e("span",t,{state:C,ref:[n,y.context.valueRef],props:[{children:d},c],stateAttributesMapping:no})}),vo=o.forwardRef(function(t,n){const r=Le(),s=r.useState("mounted"),i=r.useState("forceMount");return s||i?ae.jsx(Un,{ref:n,...t}):null}),xn=o.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function ro(){return o.useContext(xn)}function oo(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:s}=e,i=Y(s),[,l]=o.useState(!1),f=ke(io).current,c=ke(so).current,y=o.useRef(0),b=o.useRef(!0),x=o.useRef(null),w=o.useRef(null),m=Y(()=>{b.current||(b.current=!0,l(a=>!a))}),V=Y((a,O)=>{c.set(a,O),m()}),v=Y(a=>{c.delete(a),m()}),C=Y(a=>{const O=new Map;return n.current.length=0,r&&(r.current.length=0),a.forEach(h=>{O.set(h.element,{...h.registration.metadata??{},index:h.index}),n.current[h.index]=h.element,r&&(r.current[h.index]=h.registration.label!==void 0?h.registration.label:h.registration.textRef?.current?.textContent??h.element.textContent)}),y.current=n.current.length,O});function d(a){if(w.current?.disconnect(),w.current=null,typeof MutationObserver!="function"||a.length<2)return;const O=new MutationObserver(S=>{if(!uo(S))return;let H=null;for(const D of a)if(D.isConnected){if(H&&Sn(H,D)>0){O.disconnect(),m();return}H=D}});w.current=O;const h=new Set;for(let S=1;S<a.length;S+=1){const H=co(a[S-1],a[S]);H&&h.add(H)}h.forEach(S=>O.observe(S,{childList:!0}))}const _=Y(()=>{const[a,O]=lo(c),h=C(a),S=x.current,H=!S||S.length!==a.length||a.some((D,G)=>{const $=S[G];return D.index!==$.index||D.element!==$.element||D.registration.index!==$.registration.index||D.registration.metadata!==$.registration.metadata});d(O),x.current=a,b.current=!1,H&&(f.forEach(D=>D(h)),i(h))});z(()=>(!b.current&&x.current&&C(x.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,C]),z(()=>{b.current&&_()}),z(()=>()=>{w.current?.disconnect(),b.current=!0},[]);const E=Y(a=>(f.add(a),()=>{f.delete(a)})),p=o.useMemo(()=>({register:V,unregister:v,subscribeMapChange:E,nextIndexRef:y}),[V,v,E,y]);return ae.jsx(xn.Provider,{value:p,children:t})}function so(){return new Map}function io(){return new Set}function lo(e){const t=new Set,n=[],r=[];e.forEach((i,l)=>{if(!l.isConnected)return;const f=i.index,c={index:f??-1,element:l,registration:i};f===null?r.push(c):f>=0&&(t.add(f),n.push(c))});let s=0;return r.sort((i,l)=>Sn(i.element,l.element)),r.forEach(i=>{for(;t.has(s);)s+=1;i.index=s,n.push(i),s+=1}),t.size>0&&n.sort((i,l)=>i.index-l.index),[n,r.map(i=>i.element)]}function co(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function uo(e){for(const t of e)for(let n=0;n<t.removedNodes.length;n+=1)if(t.removedNodes[n].isConnected)return!0;return!1}function Sn(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}const Rn=o.createContext(void 0);function ao(){const e=o.useContext(Rn);if(!e)throw new Error(He(59));return e}function lt(e,t){e&&Object.assign(e.style,t)}const fo={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"},po={position:"fixed"},Mo=o.forwardRef(function(t,n){const{anchor:r,className:s,render:i,positionMethod:l,side:f,align:c,sideOffset:y,alignOffset:b,collisionBoundary:x="clipping-ancestors",collisionPadding:w,arrowPadding:m,sticky:V,disableAnchorTracking:v,alignItemWithTrigger:C=!0,collisionAvoidance:d=Bn,style:_,...E}=t,p=Le(),a=cn(),O=p.useState("open"),h=p.useState("mounted"),S=p.useState("modal"),H=p.useState("value"),D=p.useState("openMethod"),G=p.useState("positionerElement"),$=p.useState("triggerElement"),R=p.useState("isItemEqualToValue"),F=p.useState("transitionStatus"),K=o.useRef(null),J=o.useRef(null),[q,M]=o.useState(C),U=h&&q&&D!=="touch";!h&&q!==C&&M(C),o.useImperativeHandle(p.context.alignItemWithTriggerActiveRef,()=>U),yr((U||S)&&O,D==="touch",G,$);const g=or({anchor:r,floatingRootContext:a,positionMethod:l,mounted:h,side:f,sideOffset:y,align:c,alignOffset:b,arrowPadding:m,collisionBoundary:x,collisionPadding:w,sticky:V,disableAnchorTracking:v??U,collisionAvoidance:d,keepMounted:!0}),T=U?"none":g.side,A=U?po:g.positionerStyles,L={open:O,side:T,align:g.align,anchorHidden:g.anchorHidden};z(()=>{p.set("popupSide",g.side)},[p,g.side]);const k=p.useStateSetter("positionerElement"),X=sr(t,L,{styles:A,transitionStatus:F,props:E,refs:[n,k],hidden:!h,inert:!O}),ne=o.useRef(0),re=Y(le=>{if(p.context.valuesRef.current.length===0)return;const oe=ne.current;ne.current=le.size;const fe=pe(it);if(oe!==0&&!p.state.multiple&&H!==null&&ot(p.context.valuesRef.current,H,R)===-1){const j=p.context.initialValueRef.current,Z=j!=null&&ot(p.context.valuesRef.current,j,R)!==-1?j:null;p.context.setValue(Z,fe),Z===null&&(p.set("selectedIndex",null),p.context.selectedItemTextRef.current=null)}if(oe!==0&&p.state.multiple&&Array.isArray(H)){const B=H.filter(j=>ot(p.context.valuesRef.current,j,R)!==-1);B.length!==H.length&&(p.context.setValue(B,fe),B.length===0&&(p.set("selectedIndex",null),p.context.selectedItemTextRef.current=null))}if(O&&U){p.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const B={height:""};lt(G,B),lt(p.context.popupRef.current,B)}}),se=o.useMemo(()=>({...g,side:T,alignItemWithTriggerActive:U,setControlledAlignItemWithTrigger:M,scrollUpArrowRef:K,scrollDownArrowRef:J}),[g,T,U,M]);return ae.jsx(oo,{elementsRef:p.context.listRef,labelsRef:p.context.labelsRef,onMapChange:re,children:ae.jsxs(Rn.Provider,{value:se,children:[h&&S&&ae.jsx(er,{inert:Wn(!O),cutout:$}),X]})})}),et="base-ui-disable-scrollbar",Bt={className:et,getElement(e){return ae.jsx("style",{nonce:e,href:et,precedence:"base-ui:low",children:`.${et}{scrollbar-width:none}.${et}::-webkit-scrollbar{display:none}`})}},go=o.createContext(void 0),mo={disableStyleElements:!1};function ho(){return o.useContext(go)??mo}const Wt="--transform-origin",xo={...nr,...Zt},Po=o.forwardRef(function(t,n){const{render:r,className:s,style:i,finalFocus:l,...f}=t,c=Le(),{multiple:y,readOnly:b,highlightItemOnHover:x}=wt(),w=cn(),{side:m,align:V,alignItemWithTriggerActive:v,isPositioned:C,setControlledAlignItemWithTrigger:d}=ao(),_=Cr()!=null,E=ir(),{nonce:p,disableStyleElements:a}=ho(),O=c.useState("id"),h=c.useState("open"),S=c.useState("openMethod"),H=c.useState("mounted"),D=c.useState("popupProps"),G=c.useState("transitionStatus"),$=c.useState("triggerElement"),R=c.useState("positionerElement"),F=c.useState("listElement"),K=o.useRef(!1),J=o.useRef(!1),q=o.useRef({}),M=st(),U=Y(L=>{if(!R||!c.context.popupRef.current||!J.current)return;const k=R.style.top==="0px",X=R.style.bottom==="0px";if(K.current||!v||!k&&!X){c.context.handleScrollArrowVisibility(L);return}const ne=qt(R),re=Ye(R.getBoundingClientRect().height,"y",ne),se=Ne(R),le=rt(R),oe=le.getComputedStyle(R),fe=parseFloat(oe.marginTop),B=parseFloat(oe.marginBottom),j=jt(le.getComputedStyle(c.context.popupRef.current)),ce=Math.min(se.documentElement.clientHeight-fe-B,j),Z=L.scrollTop,ge=tt(L);let xe=null;const de=ee=>{R.style.height=`${ee}px`},ue=k?ge-Z:Z,me=Math.min(re+ue,ce);if(ue<=Ce){const ee=Ke(ue,0,ce-re);ee>0&&de(re+ee),L.scrollTop=k?ge:0,ce-(re+ee)<=Ce&&(K.current=!0),c.context.handleScrollArrowVisibility(L);return}if(ce-me>Ce)xe=k?1/0:0;else if(X&&Z<ge){const ee=re+ue-ce;xe=Z-(ue-ee)}const Se=Math.ceil(me);if(Se!==0&&de(Se),xe!=null){const ee=Ke(xe,0,tt(L));Math.abs(L.scrollTop-ee)>Ce&&(L.scrollTop=ee)}Se>=ce-Ce&&(K.current=!0),c.context.handleScrollArrowVisibility(L)});o.useImperativeHandle(c.context.scrollHandlerRef,()=>U,[U]),Tt({open:h,ref:c.context.popupRef,onComplete(){h&&c.context.onOpenChangeComplete(!0)}});const g={open:h,transitionStatus:G,side:m,align:V};z(()=>{!R||!c.context.popupRef.current||Object.keys(q.current).length||(q.current={top:R.style.top||"0",left:R.style.left||"0",right:R.style.right,height:R.style.height,bottom:R.style.bottom,minHeight:R.style.minHeight,maxHeight:R.style.maxHeight,marginTop:R.style.marginTop,marginBottom:R.style.marginBottom})},[c,R]),z(()=>{h||v||(J.current=!1,K.current=!1,lt(R,q.current))},[h,v,R]),z(()=>{const L=c.context.popupRef.current;if(!h||!$||!R||!L||v&&!C||c.state.transitionStatus==="ending")return;if(J.current=!0,L.style.removeProperty(Wt),!v){M.request(()=>c.context.handleScrollArrowVisibility(F||L));return}const k=So(L);try{let X=c.context.selectedItemTextRef.current;X?.isConnected||(X=!c.select("hasSelectedValue")&&c.context.firstItemTextRef.current?.isConnected?c.context.firstItemTextRef.current:null);const ne=c.context.valueRef.current,re=rt(R),se=re.getComputedStyle(R),le=re.getComputedStyle(L),oe=Ne($),fe=qt($),B=nt($.getBoundingClientRect(),fe),j=nt(R.getBoundingClientRect(),fe),ce=B.height,Z=F||L,ge=Z.scrollHeight,xe=parseFloat(le.borderBottomWidth),de=parseFloat(se.marginTop)||10,ue=parseFloat(se.marginBottom)||10,me=parseFloat(se.minHeight)||100,Se=jt(le),ee=5,we=5,u=20,I=oe.documentElement.clientHeight-de-ue,Q=oe.documentElement.clientWidth,P=I-B.bottom+ce;let N,ve=E==="rtl"?B.right-j.width:B.left,Me=0;if(X&&ne){const he=nt(ne.getBoundingClientRect(),fe);N=nt(X.getBoundingClientRect(),fe),ve=j.left+(E==="rtl"?he.right-N.right:he.left-N.left);const ye=he.top-B.top+he.height/2;Me=N.top-j.top+N.height/2-ye}const be=P+Me+ue+xe;let Re=Math.min(I,be);const Ue=I-de-ue,Be=be-Re,We=Q-we;R.style.left=`${Ke(ve,ee,We-j.width)}px`,R.style.height=`${Re}px`,R.style.maxHeight="none",R.style.marginTop=`${de}px`,R.style.marginBottom=`${ue}px`,L.style.height="100%";const je=tt(Z),Ve=Be>=je-Ce;Ve&&(Re=Math.min(I,j.height)-(Be-je));const qe=B.top<u||B.bottom>I-u||Math.ceil(Re)+Ce<Math.min(ge,me),ft=(re.visualViewport?.scale??1)!==1&&Gt;if(qe||ft){lt(R,q.current),d(!1);return}const Pe=Math.max(me,Re);if(Ve){const he=Math.max(0,I-be);R.style.top=j.height>=Ue?"0":`${he}px`,R.style.height=`${Re}px`,Z.scrollTop=tt(Z)}else R.style.bottom="0",Z.scrollTop=Be;if(N){const he=j.top,ye=j.height,Ee=N.top+N.height/2,Fe=Ke(ye>0?(Ee-he)/ye*100:50,0,100);L.style.setProperty(Wt,`50% ${Fe}%`)}(Pe===I||Re>=Se)&&(K.current=!0),c.context.handleScrollArrowVisibility(Z),x&&c.state.selectedIndex===null&&c.state.activeIndex===null&&c.context.listRef.current[0]!=null&&c.set("activeIndex",0)}finally{k()}},[c,h,R,$,v,d,M,F,x,E,C]),o.useEffect(()=>{if(!v||!R||!h)return;const L=rt(R);function k(X){c.context.setOpen(!1,pe(qn,X))}return jn(L,"resize",k)},[c,v,R,h]);const T={...F?{role:"presentation"}:{role:"listbox","aria-multiselectable":y||void 0,"aria-readonly":b||void 0,id:`${O}-list`},onKeyDown(L){_&&rr.has(L.key)&&L.stopPropagation()},onScroll(L){F||U(L.currentTarget)},...v&&{style:F?{height:"100%"}:fo},className:!F&&v?Bt.className:void 0},A=_e("div",t,{ref:[n,c.context.popupRef],state:g,stateAttributesMapping:xo,props:[D,T,ur(G),f]});return ae.jsxs(o.Fragment,{children:[!a&&Bt.getElement(p),ae.jsx(tr,{context:w,modal:!1,disabled:!H,openInteractionType:S,returnFocus:l,restoreFocus:!0,children:A})]})});function jt(e){const t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function tt(e){return hn(e.scrollHeight,e.clientHeight)}function qt(e){return lr.getScale(e)}function Ye(e,t,n){return e/n[t]}function nt(e,t){return cr({x:Ye(e.x,"x",t),y:Ye(e.y,"y",t),width:Ye(e.width,"x",t),height:Ye(e.height,"y",t)})}const zt=[["transform","none"],["scale","1"],["translate","0 0"]];function So(e){const{style:t}=e,n={};for(const[r,s]of zt)n[r]=t.getPropertyValue(r),t.setProperty(r,s,"important");return()=>{for(const[r]of zt){const s=n[r];s?t.setProperty(r,s):t.removeProperty(r)}}}function Ro(e={}){const{guess:t,label:n,metadata:r,textRef:s,index:i}=e,{register:l,unregister:f,subscribeMapChange:c,nextIndexRef:y}=ro(),b=o.useRef(-1),[x,w]=o.useState(i==null&&t?()=>{if(b.current===-1){const C=y.current;y.current+=1,b.current=C}return b.current}:-1),m=i??x,V=o.useRef(null),v=o.useCallback(C=>{const d=V.current;d&&f(d),V.current=C,C&&l(C,{metadata:r??null,index:i??null,label:n,textRef:s})},[i,l,f,r,n,s]);return z(()=>{if(i==null)return c(C=>{const d=V.current?C.get(V.current)?.index:null;d!=null&&w(d)})},[i,c]),{ref:v,index:m}}const bn=o.createContext(void 0);function Mt(){const e=o.useContext(bn);if(!e)throw new Error(He(57));return e}const Oo=o.memo(o.forwardRef(function(t,n){const{render:r,className:s,style:i,value:l=null,label:f,disabled:c=!1,nativeButton:y=!1,...b}=t,x=o.useRef(null),w=Ro({guess:!0,label:f,textRef:x}),m=Le(),{itemProps:V,multiple:v,disabled:C,readOnly:d}=wt(),_=C||c,E=m.useState("isActive",w.index),p=m.useState("open"),a=m.useState("isSelected",l),O=m.useState("isSelectedByFocus",w.index),h=m.useState("isItemEqualToValue"),S=w.index,H=o.useRef(null);z(()=>{const g=m.context.valuesRef.current;return g[S]=l,()=>{delete g[S]}},[S,l,m]),z(()=>{const g=m.state.value,T=m.state.selectedIndex;let A=T,L;v&&Array.isArray(g)?(A=Ur(S,l,m.context.valuesRef.current,g,h,T),L=A===S,S===T&&!L&&(m.context.selectedItemTextRef.current=null)):(L=g!==void 0&&Ae(l,g,h),L&&(A=S)),m.set("selectedIndex",A),L&&x.current&&(m.context.selectedItemTextRef.current=x.current)},[S,v,h,m,l]);const D=o.useRef("mouse"),G=o.useRef(!1),{getButtonProps:$,buttonRef:R}=Jt({disabled:_,focusableWhenDisabled:!0,native:y,composite:!0}),F={disabled:_,selected:a,highlighted:E};function K(g){if(C||d)return;const T=m.state.value;if(v){const A=Array.isArray(T)?T:[],L=a?Br(A,l,h):[...A,l];m.context.setValue(L,pe(xt,g))}else m.context.setValue(l,pe(xt,g)),m.context.setOpen(!1,pe(xt,g))}function J(){m.context.selectionRef.current.dragY=0}const q={role:"option","aria-selected":a,tabIndex:p&&E?0:-1,onKeyDown(g){m.set("activeIndex",S),g.key===" "&&m.context.typingRef.current&&g.preventDefault()},onClick(g){const T=D.current!=="touch",A=g.nativeEvent.pointerType,L=T&&tn(g.nativeEvent)&&(A!==void 0||E),k=T&&!L&&!G.current;G.current=!1,!(_||k)&&K(g.nativeEvent)},onPointerEnter(g){D.current=g.pointerType},onPointerMove(g){if(g.pointerType==="mouse"&&g.buttons===1){const T=m.context.selectionRef.current;T.dragY+=g.movementY,T.dragY**2>=64&&(T.allowUnselectedMouseUp=!0)}},onPointerDown(g){D.current=g.pointerType,G.current=!0,J()},onMouseUp(){if(J(),_||D.current==="touch"||G.current)return;const g=!m.context.selectionRef.current.allowSelectedMouseUp&&a,T=!m.context.selectionRef.current.allowUnselectedMouseUp&&!a;g||T||(G.current=!0,H.current?.click(),G.current=!1)}},M=_e("div",t,{ref:[R,n,w.ref,H],state:F,props:[V,q,b,$]}),U=o.useMemo(()=>({selected:a,index:S,textRef:x,selectedByFocus:O}),[a,S,x,O]);return ae.jsx(bn.Provider,{value:U,children:M})})),Ao=o.forwardRef(function(t,n){const{selected:r}=Mt();return t.keepMounted||r?ae.jsx(bo,{...t,ref:n}):null}),bo=o.memo(o.forwardRef((e,t)=>{const{render:n,className:r,style:s,keepMounted:i,...l}=e,{selected:f}=Mt(),c=o.useRef(null),{transitionStatus:y,setMounted:b}=nn(f),w=_e("span",e,{ref:[t,c],state:{selected:f,transitionStatus:y},props:[{"aria-hidden":!0,children:"✔️"},l],stateAttributesMapping:Zt});return Tt({batch:!0,enabled:!f,open:f,ref:c,onComplete(){f||b(!1)}}),w})),Lo=o.memo(o.forwardRef(function(t,n){const{index:r,textRef:s,selectedByFocus:i}=Mt(),l=Le(),{render:f,className:c,style:y,...b}=t,x=o.useCallback(m=>{m&&(r===0&&(l.context.firstItemTextRef.current=m),i&&(l.context.selectedItemTextRef.current=m))},[l,r,i]);return _e("div",t,{ref:[x,n,s],props:b})}));export{fo as L,Eo as S,wt as a,ao as b,To as c,wo as d,vo as e,Mo as f,Po as g,Oo as h,Ao as i,Lo as j,ar as k,Sr as l,yr as m,Cr as n,Lr as o,$r as p,vt as q,un as r,Bt as s,an as t,Le as u,Ut as v,Dr as w,rn as x};
1
+ import{bo as Tn,r as o,cw as st,a$ as $e,b7 as Kt,c1 as wn,J as Ge,N as pe,ct as vn,aY as ke,b1 as z,b2 as Mn,cx as Yt,cu as Pn,b0 as Y,dg as Dt,dh as mt,di as kt,b$ as ht,b3 as Ne,ba as Te,dj as Nt,bG as Ht,dk as Je,br as $t,bZ as Gt,dl as ct,dm as ut,dn as Xt,dp as Et,cE as On,dq as An,dr as bt,cJ as Ln,bm as He,aW as te,j as ae,bF as Tt,c3 as yt,c8 as Vn,ca as Fn,cb as Dn,bX as it,bn as kn,cz as Nn,bJ as rt,cr as Hn,M as Jt,K as _e,ds as _n,bB as Un,dt as Bn,bE as Wn,b5 as jn,du as qn,c7 as Zt,dv as xt}from"./__vite-browser-external-BnGukaND.js";import{i as St,E as Qt,b as en,F as zn,P as Kn,c as Oe,a as Yn,G as $n,H as Ie,J as tn,B as Gn,u as Xn,D as nn,n as Jn,x as Zn,q as Qn,I as er,w as tr,z as nr,C as rr}from"./composite-lINFdwLI.js";import{u as or,a as sr,b as ir,p as lr,r as cr,g as ur}from"./usePositioner-Drh2sy7w.js";function Ke(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function ar(e,t={}){const{enabled:n=!0,event:r="click",toggle:s=!0,ignoreMouse:i=!1,stickIfOpen:l=!0,touchOpenDelay:f=0,reason:c=Tn}=t,y="rootStore"in e?e.rootStore:e,b=y.context.dataRef,x=o.useRef(void 0),w=st(),m=$e(),V=o.useMemo(()=>{function v(d,_,E,p){const a=pe(c,_,E);d&&p==="touch"&&f>0?m.start(f,()=>{y.setOpen(!0,a)}):y.setOpen(d,a)}function C(d,_,E){const p=b.current.openEvent,a=y.select("domReferenceElement")!==_;return d&&a||!d||!s?!0:p&&l?!E(p.type):!1}return{onPointerDown(d){x.current=St(d.pointerType,!0)&&Qt(d.nativeEvent)?"virtual":d.pointerType},onMouseDown(d){const _=x.current,E=d.nativeEvent,p=y.select("open");if(d.button!==0||r==="click"||St(_,!0)&&i)return;const a=C(p,d.currentTarget,S=>S==="click"||S==="mousedown"),O=Kt(E);if(wn(O)){v(a,E,O,_);return}const h=d.currentTarget;w.request(()=>{v(a,E,h,_)})},onClick(d){if(r==="mousedown-only")return;const _=x.current;if(r==="mousedown"&&_){x.current=void 0;return}if(St(_,!0)&&i)return;const E=y.select("open"),p=C(E,d.currentTarget,a=>a==="click"||a==="mousedown"||a==="keydown"||a==="keyup");v(p,d.nativeEvent,d.currentTarget,_)},onKeyDown(){x.current=void 0}}},[b,r,i,c,y,l,s,w,m,f]);return o.useMemo(()=>n?{reference:V}:Ge,[n,V])}function fr(e){const{open:t=!1,onOpenChange:n,elements:r={}}=e,s=vn(),i=en()!=null,l=ke(()=>new zn({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Kn,floatingId:s,syncOnly:!1,nested:i})).current;return z(()=>{const f={open:t,floatingId:s};r.reference!==void 0&&(f.referenceElement=r.reference,f.domReferenceElement=Mn(r.reference)?r.reference:null),r.floating!==void 0&&(f.floatingElement=r.floating),l.update(f)},[t,s,r.reference,r.floating,l]),l.context.onOpenChange=n,l.context.nested=i,l}const dr="Escape";function _t(e){return Gt&&e.movementX===0&&e.movementY===0}function at(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function Ze(e,t){return at(t,e===Xt||e===Et,e===ct||e===ut)}function Rt(e,t,n){return at(t,e===Et,n?e===ct:e===ut)||e==="Enter"||e===" "||e===""}function pr(e,t,n){return at(t,n?e===ct:e===ut,e===Et)}function gr(e,t,n,r){const s=n?e===ut:e===ct,i=e===Xt;return t==="both"||t==="horizontal"&&r?e===dr:at(t,s,i)}function mr(e,t){const{listRef:n,activeIndex:r,onNavigate:s=()=>{},enabled:i=!0,selectedIndex:l=null,allowEscape:f=!1,loopFocus:c=!1,nested:y=!1,rtl:b=!1,virtual:x=!1,focusItemOnOpen:w="auto",focusItemOnHover:m=!0,openOnArrowKeyDown:V=!0,disabledIndices:v=void 0,orientation:C="vertical",parentOrientation:d,id:_,resetOnPointerLeave:E=!0,externalTree:p,grid:a}=t,O=a!=null,h="rootStore"in e?e.rootStore:e,S=h.useState("open"),H=h.useState("floatingElement"),D=h.useState("domReferenceElement"),G=h.context.dataRef,$=Yt(H),R=Pn(D),F=Oe($),K=en(),J=Yn(p),q=o.useRef(w),M=o.useRef(l??-1),U=o.useRef(null),g=o.useRef(!0),T=Y(u=>{s(M.current===-1?null:M.current,u)}),A=o.useRef(!!H),L=o.useRef(S),k=o.useRef(!1),X=o.useRef(!1),ne=o.useRef(null),re=Oe(v),se=Oe(S),le=Oe(l),oe=Oe(E),fe=st(),B=st(),j=Y(()=>{function u(N){x?J?.events.emit("virtualfocus",N):ne.current=$n(N,{sync:k.current,preventScroll:!0})}const I=n.current[M.current],Q=X.current;I&&u(I),(k.current?N=>N():N=>fe.request(N))(()=>{const N=n.current[M.current]||I;if(!N)return;I||u(N),ue&&(Q||!g.current)&&N.scrollIntoView?.({block:"nearest",inline:"nearest"})})});z(()=>{G.current.orientation=C},[G,C]),z(()=>{i&&(S&&H?(M.current=l??-1,q.current&&l!=null&&(X.current=!0,T())):A.current&&(M.current=-1,T()))},[i,S,H,l,T]),z(()=>{if(i){if(!S){k.current=!1;return}if(H)if(r==null){if(k.current=!1,le.current!=null)return;if(A.current&&(M.current=-1,j()),(!L.current||!A.current)&&q.current&&(U.current!=null||q.current===!0&&U.current==null)){let u=0;const I=()=>{n.current[0]==null?(u<2&&(u?P=>B.request(P):queueMicrotask)(I),u+=1):(M.current=U.current==null||Rt(U.current,C,b)||y?mt(n):kt(n),U.current=null,T())};I()}}else Dt(n.current,r)||(M.current=r,j(),X.current=!1)}},[i,S,H,r,le,y,n,C,b,T,j,B]),z(()=>{if(!i||H||!J||x||!A.current)return;const u=J.nodesRef.current,I=u.find(N=>N.id===K)?.context?.elements.floating,Q=ht(Ne(D??I??null)),P=u.some(N=>N.context&&Te(N.context.elements.floating,Q));I&&!P&&g.current&&I.focus({preventScroll:!0})},[i,H,D,J,K,x]),z(()=>{L.current=S,A.current=!!H}),z(()=>{S||(U.current=null,q.current=w)},[S,w]);const ce=r!=null,Z=Y(u=>{if(!se.current)return;const I=n.current.indexOf(u.currentTarget);I!==-1&&(M.current!==I||r!==I)&&(M.current=I,T(u))}),ge=Y(()=>d??J?.nodesRef.current.find(u=>u.id===K)?.context?.dataRef?.current.orientation),xe=Y(()=>mt(n,re.current)),de=Y(u=>{if(g.current=!1,k.current=!0,u.which===229||!se.current&&u.currentTarget===F.current)return;if(y&&gr(u.key,C,b,O)){Ze(u.key,ge())||Ie(u),h.setOpen(!1,pe(Nt,u.nativeEvent)),Ht(D)&&(x?J?.events.emit("virtualfocus",D):D.focus());return}const I=M.current,Q=mt(n,v),P=kt(n,v);if(R||(u.key==="Home"&&(Ie(u),M.current=Q,T(u)),u.key==="End"&&(Ie(u),M.current=P,T(u))),a!=null){const N=a(u,M.current,n,C,c,b,v,Q,P);if(N!=null&&(M.current=N,T(u)),C==="both")return}if(Ze(u.key,C)){if(Ie(u),S&&!x&&ht(u.currentTarget.ownerDocument)===u.currentTarget){M.current=Rt(u.key,C,b)?Q:P,T(u);return}Rt(u.key,C,b)?c?I>=P?f&&I!==n.current.length?M.current=-1:(k.current=!1,M.current=Q):M.current=Je(n.current,{startingIndex:I,disabledIndices:v}):M.current=Math.min(P,Je(n.current,{startingIndex:I,disabledIndices:v})):c?I<=Q?f&&I!==-1?M.current=n.current.length:(k.current=!1,M.current=P):M.current=Je(n.current,{startingIndex:I,decrement:!0,disabledIndices:v}):M.current=Math.max(Q,Je(n.current,{startingIndex:I,decrement:!0,disabledIndices:v})),Dt(n.current,M.current)&&(M.current=-1),T(u)}}),ue=o.useMemo(()=>({onFocus(I){k.current=!0,Z(I)},onClick:({currentTarget:I})=>I.focus({preventScroll:!0}),onMouseMove(I){_t(I)||(k.current=!0,X.current=!1,m&&Z(I))},onPointerLeave(I){if(!se.current||!g.current||I.pointerType==="touch")return;k.current=!0;const Q=I.relatedTarget;if(!(!m||n.current.includes(Q))&&oe.current&&(ne.current?.(),ne.current=null,M.current=-1,T(I),!x)){const P=F.current,N=ht(Ne(P));P&&Te(P,N)&&P.focus({preventScroll:!0})}}}),[Z,se,F,m,n,T,oe,x]),me=o.useMemo(()=>x&&S&&ce&&{"aria-activedescendant":`${_}-${r}`},[x,S,ce,_,r]),Se=o.useMemo(()=>({...R?{}:me,onKeyDown(u){if(u.key==="Tab"&&u.shiftKey&&S&&!x){const I=Kt(u.nativeEvent);if(I&&!Te(F.current,I))return;Ie(u),h.setOpen(!1,pe($t,u.nativeEvent)),Ht(D)&&D.focus();return}de(u)},onPointerMove(u){_t(u)||(g.current=!0)}}),[me,de,F,R,h,S,x,D]),ee=o.useMemo(()=>{function u(P){h.setOpen(!0,pe(Nt,P.nativeEvent,P.currentTarget))}function I(P){w==="auto"&&tn(P.nativeEvent)&&(q.current=!x)}function Q(P){q.current=w,w==="auto"&&Qt(P.nativeEvent)&&(q.current=!0)}return{onKeyDown(P){const N=h.select("open");g.current=!1;const ve=P.key.startsWith("Arrow"),Me=pr(P.key,ge(),b),be=Ze(P.key,C),Re=(y?Me:be)||P.key==="Enter"||P.key.trim()==="";if(x&&N)return de(P);if(!(!N&&!V&&ve)){if(Re){const Ue=Ze(P.key,ge());U.current=y&&Ue?null:P.key}if(y){Me&&(Ie(P),N?(M.current=xe(),T(P)):u(P));return}be&&(le.current!=null&&(M.current=le.current),Ie(P),!N&&V?u(P):de(P),N&&T(P))}},onFocus(P){h.select("open")&&!x&&(M.current=-1,T(P))},onPointerDown:Q,onPointerEnter:Q,onMouseDown:I,onClick:I}},[de,w,xe,y,T,h,V,C,ge,b,le,x]),we=o.useMemo(()=>({...me,...ee}),[me,ee]);return o.useMemo(()=>i?{reference:we,floating:Se,item:ue,trigger:ee}:{},[i,we,Se,ee,ue])}function hr(e,t){const{listRef:n,elementsRef:r,activeIndex:s,onMatch:i,disabledIndices:l,onTyping:f,enabled:c=!0,resetMs:y=750,selectedIndex:b=null}=t,x="rootStore"in e?e.rootStore:e,w=x.useState("open"),m=$e(),V=o.useRef(""),v=o.useRef(b??s??-1),C=o.useRef(null),d=Y(p=>{function a(F){return r?.current[F]}function O(F){const K=a(F);return K&&!On(K)||K?.matches(":disabled")?!1:l==null||!An(bt,F,l)}function h(F,K,J=0){if(F.length===0)return-1;const q=(J%F.length+F.length)%F.length,M=K.toLowerCase();for(let U=0;U<F.length;U+=1){const g=(q+U)%F.length;if(!(!F[g]?.toLowerCase().startsWith(M)||!O(g)))return g}return-1}const S=n.current;if(V.current.length>0&&p.key===" "&&(Ie(p),f?.(!0)),V.current.length>0&&V.current[0]!==" "&&h(S,V.current)===-1&&p.key!==" "&&f?.(!1),S==null||p.key.length!==1||p.ctrlKey||p.metaKey||p.altKey)return;w&&p.key!==" "&&(Ie(p),f?.(!0));const H=V.current==="";H&&(v.current=b??s??-1),S.every((F,K)=>F&&O(K)?F[0]?.toLowerCase()!==F[1]?.toLowerCase():!0)&&V.current===p.key&&(V.current="",v.current=C.current),V.current+=p.key,m.start(y,()=>{V.current="",v.current=C.current,f?.(!1)});const $=((H?b??s??-1:v.current)??0)+1,R=h(S,V.current,$);R!==-1?(i?.(R),C.current=R):p.key!==" "&&(V.current="",f?.(!1))}),_=Y(p=>{const a=p.relatedTarget,O=x.select("domReferenceElement"),h=x.select("floatingElement");Te(O,a)||Te(h,a)||(m.clear(),V.current="",v.current=C.current,f?.(!1))});z(()=>{!w&&b!==null||(m.clear(),C.current=null,V.current!==""&&(V.current=""))},[w,b,m]);const E=o.useMemo(()=>({onKeyDown:d,onBlur:_}),[d,_]);return o.useMemo(()=>c?{reference:E,floating:E}:{},[c,E])}function xr(e){const t=o.useRef(""),n=o.useCallback(s=>{s.defaultPrevented||(t.current=s.pointerType,e(s,s.pointerType))},[e]);return{onClick:o.useCallback(s=>{if(s.detail===0){e(s,"keyboard");return}"pointerType"in s?e(s,s.pointerType):e(s,t.current),t.current=""},[e]),onPointerDown:n}}function rn(e,t){const n=o.useRef(e),r=Y(t);z(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}function Sr(e,t){const n=Y((i,l)=>{(typeof e=="function"?e():e)||t(l||(Ln?"touch":""))}),{onClick:r,onPointerDown:s}=xr(n);return o.useMemo(()=>({onClick:r,onPointerDown:s}),[r,s])}function Rr(e){const[t,n]=o.useState(null),r=Sr(e,n);return rn(e,s=>{s&&!e&&n(null)}),o.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}const br=20;function yr(e,t,n,r){const[s,i]=o.useState(!1);z(()=>{if(!e||!t||n==null){i(!1);return}const l=Ne(n).documentElement.clientWidth,f=n.offsetWidth;i(l>0&&f>0&&f>=l-br)},[e,t,n]),Gn(e&&(!t||s),r)}const Ir=o.createContext(void 0);function Cr(e){return o.useContext(Ir)}function Er(e){const[t,n]=o.useState({current:e,previous:null});return Object.is(e,t.current)||n({current:e,previous:t.current}),t.previous}function Tr(e){const t=o.useRef(!0);t.current&&(t.current=!1,e())}function wr(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}function Ut({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=o.useRef(e!==void 0),[i,l]=o.useState(t),f=s&&e!==void 0?e:i,c=o.useCallback(y=>{s||l(y)},[]);return[f,c]}const on=o.createContext(void 0),sn=o.createContext(void 0),ln=o.createContext(void 0);function Le(){const e=o.useContext(on);if(e===void 0)throw new Error(He(60));return e}function wt(){const e=o.useContext(sn);if(e===void 0)throw new Error(He(101));return e}function cn(){const e=o.useContext(ln);if(e===void 0)throw new Error(He(61));return e}const vr="data-valid",Mr="data-invalid",Pr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Or={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Ar={disabled:!1,...Or},Lr={valid(e){return e===null?null:e?{[vr]:""}:{[Mr]:""}}},Vr={invalid:void 0,name:void 0,validityData:{state:Pr,errors:[],error:"",value:"",initialValue:null},setValidityData:te,disabled:void 0,setTouched:te,setDirty:te,setFilled:te,setFocused:te,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:Ar,registerFieldControl:te,validation:{getValidationProps:(e,t=Ge)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:te,getInputControl:()=>null,commit:async()=>{},change:te}},Fr=o.createContext(Vr);function vt(e=!0){const t=o.useContext(Fr);if(t.setValidityData===te&&!e)throw new Error(He(28));return t}function Dr(e,t,n,r,s=!0,i){const{registerFieldControl:l}=vt(),f=ke(()=>Symbol());z(()=>{const c=f.current;if(!s){l(c,void 0);return}l(c,{controlRef:e,getValue:r,id:t,name:i,value:n})},[e,s,r,t,i,l,f,n]),z(()=>{const c=f.current;return()=>{l(c,void 0)}},[l,f])}const kr=o.createContext({controlId:void 0,registerControlId:te,resetControlId:te,labelId:void 0,setLabelId:te,messageIds:[],setMessageIds:te,getDescriptionProps:e=>e});function un(){return o.useContext(kr)}function an(e={}){const{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:s,resetControlId:i}=un(),l=Xn(),f=ke(()=>Symbol()),c=o.useRef(!1),y=o.useRef(!1),b=Y(()=>{!c.current||s===te||(c.current=!1,s(f.current,void 0))});return z(()=>{if(!n||s===te){b();return}let x;if(t!==void 0)y.current=!0,x=t;else if(y.current)x=l;else{i();return}if(x===void 0){b();return}c.current=!0,s(f.current,x)},[t,n,s,i,l,f,b]),z(()=>b,[b]),(n?r:void 0)??t??l}function Nr(e,t,n=Object.is){const{length:r}=e;if(r!==t.length)return!1;for(let s=0;s<r;s+=1)if(!n(e[s],t[s]))return!1;return!0}const fn=(e,t)=>Object.is(e,t);function Ae(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Hr(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!Nr(e,t,(r,s)=>Ae(r,s,n)):e!==t}function It(e,t,n){return e?e.some(r=>r===void 0?!1:Ae(t,r,n)):!1}function ot(e,t,n){return e?e.findIndex(r=>r===void 0?!1:Ae(r,t,n)):-1}function _r(e,t){if(t!==fn)return r=>It(e,r,t);const n=new Set(e);return n.delete(void 0),r=>n.has(r)&&(r!==0||e.some(s=>Object.is(r,s)))}function dn(e,t,n,r){const s=r&&Array.isArray(t)?e.findIndex(_r(t,n)):ot(e,t,n);return s===-1?null:s}function Ur(e,t,n,r,s,i){return It(r,t,s)?i!=null&&e>i&&It(r,n[i],s)?i:e:e===i?dn(n,r,s,!0):i}function Br(e,t,n){return e.filter(r=>!Ae(t,r,n))}function Ct(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}function Wr(e){return typeof e=="object"&&e!=null&&Array.isArray(e.items)}function pn(e){return Wr(e?.[0])}function jr(e){return pn(e)?e.flatMap(t=>t.items):e}function qr(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if(pn(t)){for(const n of t)for(const r of n.items)if(r&&r.value==null&&r.label!=null)return!0;return!1}for(const n of t)if(n&&n.value==null&&n.label!=null)return!0;return!1}function gn(e,t){if(t&&e!=null)return t(e)??"";if(e&&typeof e=="object"){if("label"in e&&e.label!=null)return String(e.label);if("value"in e)return String(e.value)}return Ct(e)}function De(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?Ct(e.value):Ct(e)}function mn(e,t,n){function r(){return gn(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e=="object"&&"label"in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??r();if(Array.isArray(t)){const i=jr(t);if(e==null||typeof e!="object"){const l=i.find(f=>f.value===e);return l&&l.label!=null?l.label:r()}if("value"in e){const l=i.find(f=>f&&f.value===e.value);if(l&&l.label!=null)return l.label}}return r()}function zr(e,t,n){return e.reduce((r,s,i)=>(i>0&&r.push(", "),r.push(ae.jsx(o.Fragment,{children:mn(s,t,n)},i)),r),[])}const Kr={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{const{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:De(t,r)!==""},hasNullItemLabel:(e,t)=>t?qr(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{const n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(s=>Ae(t,s,n)):Ae(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows},Yr=o.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:te,validationMode:"onSubmit",submitCountRef:{current:0}});function $r(){return o.useContext(Yr)}const Ce=1;function hn(e,t){return Math.max(0,e-t)}function Gr(e,t){if(t<=0)return 0;const n=Ke(e,0,t),r=n,s=t-n,i=r<=Ce,l=s<=Ce;return i&&l?r<=s?0:t:i?0:l?t:n}function Eo(e){const{id:t,value:n,defaultValue:r=null,onValueChange:s,open:i,defaultOpen:l=!1,onOpenChange:f,name:c,form:y,autoComplete:b,disabled:x=!1,readOnly:w=!1,required:m=!1,modal:V=!0,actionsRef:v,inputRef:C,onOpenChangeComplete:d,items:_,multiple:E=!1,itemToStringLabel:p,itemToStringValue:a,isItemEqualToValue:O=fn,highlightItemOnHover:h=!0,children:S}=e,{clearErrors:H}=$r(),{setDirty:D,setTouched:G,setFocused:$,validityData:R,setFilled:F,name:K,disabled:J,validation:q,validationMode:M}=vt(),U=an({id:t}),g=J||x,T=K??c,[A,L]=Ut({controlled:n,default:E?r??bt:r,name:"Select",state:"value"}),[k,X]=Ut({controlled:i,default:l,name:"Select",state:"open"}),ne=o.useRef([]),re=o.useRef([]),se=o.useRef(null),le=o.useRef(null),oe=o.useRef(0),fe=o.useRef(null),B=o.useRef([]),j=o.useRef(!1),ce=o.useRef(null),Z=o.useRef(null),ge=o.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),xe=o.useRef(!1),de=o.useRef(A),{mounted:ue,setMounted:me,transitionStatus:Se}=nn(k),{openMethod:ee,triggerProps:we}=Rr(k),u=ke(()=>new kn({id:U,labelId:void 0,modal:V,multiple:E,itemToStringLabel:p,itemToStringValue:a,isItemEqualToValue:O,value:A,open:k,mounted:ue,transitionStatus:Se,items:_,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:Ge,triggerProps:Ge,triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:te,setOpen:te,handleScrollArrowVisibility:te,onOpenChangeComplete:te,listRef:ne,popupRef:se,scrollHandlerRef:le,scrollArrowsMountedCountRef:oe,valueRef:fe,valuesRef:B,labelsRef:re,typingRef:j,selectionRef:ge,firstItemTextRef:ce,selectedItemTextRef:Z,alignItemWithTriggerActiveRef:xe,initialValueRef:de},Kr)).current,I=u.useState("activeIndex"),Q=u.useState("selectedIndex"),P=u.useState("triggerElement"),N=u.useState("positionerElement"),ve=Er(ee),Me=ee??ve,be=o.useMemo(()=>E?"":De(A,a),[E,A,a]),Re=o.useMemo(()=>E&&Array.isArray(A)?A.map(W=>De(W,a)):De(A,a),[E,A,a]),Ue=Oe(P),Be=Y(()=>Re);Dr(Ue,U,A,Be,!g,c);const We=E?Array.isArray(A)&&A.length>0:A!=null&&be!=="";z(()=>{F(We)},[We,F]),z(function(){const ie=dn(B.current,A,O,E);ie===null&&(Z.current=null),!k&&u.set("selectedIndex",ie)},[E,k,A,O,u]),rn(A,()=>{H(T),D(Hr(A,R.initialValue,O)),q.change(A)});const je=Y((W,ie)=>{f?.(W,ie),!ie.isCanceled&&(X(W),!W&&(ie.reason===$t||ie.reason===Nn)&&(G(!0),$(!1),M==="onBlur"&&q.commit(A)))}),Ve=Y(()=>{me(!1),u.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),d?.(!1)});Tt({enabled:!v,open:k,ref:se,onComplete(){k||Ve()}}),o.useImperativeHandle(v,()=>({unmount:Ve}),[Ve]);const qe=Y((W,ie)=>{s?.(W,ie),!ie.isCanceled&&L(W)}),ft=Y(W=>{const ie=hn(W.scrollHeight,W.clientHeight),Xe=Gr(W.scrollTop,ie),dt=Xe>0,ze=Xe<ie;u.set("scrollUpArrowVisible",dt),u.set("scrollDownArrowVisible",ze)}),Pe=fr({open:k,onOpenChange:je,elements:{reference:P,floating:N}}),he=ar(Pe,{enabled:!g,event:"mousedown"}),ye=Jn(Pe),Ee=mr(Pe,{enabled:!g,listRef:ne,activeIndex:I,selectedIndex:Q,disabledIndices:bt,onNavigate(W){W===null&&!k||u.set("activeIndex",W)},focusItemOnHover:h}),Fe=hr(Pe,{enabled:!g&&(k||!w&&!E),listRef:re,activeIndex:I,selectedIndex:Q,disabledIndices:W=>wr(ne.current[W]),onMatch(W){k?u.set("activeIndex",W):qe(B.current[W],pe(it))},onTyping(W){j.current=W}}),Pt=o.useMemo(()=>yt(Fe.reference,Ee.reference,ye.reference,he.reference,we),[he.reference,Fe.reference,Ee.reference,ye.reference,we]),Ot=o.useMemo(()=>yt(Zn,Fe.floating,Ee.floating,ye.floating),[Fe.floating,Ee.floating,ye.floating]),At=Ee.item??Ge;u.useContextCallback("setValue",qe),u.useContextCallback("setOpen",je),u.useContextCallback("handleScrollArrowVisibility",ft),u.useContextCallback("onOpenChangeComplete",d),Tr(()=>{u.update({popupProps:Ot,triggerProps:Pt})}),u.useSyncedValues({id:U,modal:V,multiple:E,value:A,open:k,mounted:ue,transitionStatus:Se,popupProps:Ot,triggerProps:Pt,items:_,itemToStringLabel:p,itemToStringValue:a,isItemEqualToValue:O,openMethod:Me});const yn=o.useMemo(()=>({disabled:g,readOnly:w,required:m,multiple:E,highlightItemOnHover:h,itemProps:At}),[g,w,m,E,h,At]),In=Vn(C,q.inputRef),Lt=E?void 0:T,Cn=o.useMemo(()=>!E||!Array.isArray(A)||!T?null:A.map(W=>{const ie=De(W,a);return ae.jsx("input",{type:"hidden",form:y,name:T,value:ie,disabled:g},ie)}),[E,A,y,T,a,g]);return ae.jsxs(on.Provider,{value:u,children:[ae.jsx(sn.Provider,{value:yn,children:ae.jsx(ln.Provider,{value:Pe,children:S})}),ae.jsx("input",{...q.getValidationProps(g,{onFocus(){u.state.triggerElement?.focus({focusVisible:!0})},onChange(W){if(W.nativeEvent.defaultPrevented||g||w)return;const ie=W.currentTarget.value,Xe=pe(it,W.nativeEvent);function dt(){if(E)return;const ze=ie.toLowerCase();let pt=B.current.findIndex(gt=>De(gt,a).toLowerCase()===ze||gn(gt,p).toLowerCase()===ze);pt===-1&&(pt=B.current.findIndex((gt,En)=>{const Ft=re.current[En];return Ft!=null&&Ft.toLowerCase()===ze}));const Vt=B.current[pt];Vt!=null&&qe(Vt,Xe)}u.set("forceMount",!0),queueMicrotask(dt)}}),id:U&&Lt==null?`${U}-hidden-input`:void 0,form:y,name:Lt,autoComplete:b,value:be,disabled:g,required:m&&!(E&&We),readOnly:w,ref:In,style:T?Fn:Dn,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Cn]})}function Xr(e,t){return e??t}const Qe=5;function Jr(e,t){const n=Zr(t);return e.clientX>=n.left-Qe&&e.clientX<=n.right+Qe&&e.clientY>=n.top-Qe&&e.clientY<=n.bottom+Qe}function Zr(e){const t=e.getBoundingClientRect(),n=rt(e);if(Hn)return t;const r=n.getComputedStyle(e,"::before"),s=n.getComputedStyle(e,"::after");if(!(r.content!=="none"||s.content!=="none"))return t;const l=parseFloat(r.width)||0,f=parseFloat(r.height)||0,c=parseFloat(s.width)||0,y=parseFloat(s.height)||0,b=Math.max(t.width,l,c),x=Math.max(t.height,f,y),w=b-t.width,m=x-t.height;return{left:t.left-w/2,right:t.right+w/2,top:t.top-m/2,bottom:t.bottom+m/2}}const Qr="data-popup-side",eo=400,to={...Qn,...Lr,popupSide:e=>e?{[Qr]:e}:null,value:()=>null},To=o.forwardRef(function(t,n){const{render:r,className:s,id:i,disabled:l=!1,nativeButton:f=!0,style:c,...y}=t,{setTouched:b,setFocused:x,validationMode:w,validation:m,state:V,disabled:v}=vt(),{labelId:C}=un(),d=Le(),{readOnly:_,required:E,disabled:p}=wt(),a=v||p||l,O=d.useState("open"),h=d.useState("mounted"),S=d.useState("value"),H=d.useState("triggerProps"),D=d.useState("positionerElement"),G=d.useState("listElement"),$=d.useState("popupSide"),R=d.useState("id"),F=d.useState("labelId"),K=d.useState("hasSelectedValue"),J=h&&D?$:null,q=i??R,M=Xr(C,F);an({id:i});const U=Oe(D),g=o.useRef(null),{getButtonProps:T,buttonRef:A}=Jt({disabled:a,native:f}),L=d.useStateSetter("triggerElement"),k=$e(),X=$e(),ne=$e();o.useEffect(()=>{if(O)return ne.start(eo,()=>{d.context.selectionRef.current.allowUnselectedMouseUp=!0,d.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{ne.clear()};d.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},X.clear()},[O,d,X,ne]);const re=yt(H,{id:q,role:"combobox","aria-expanded":O,"aria-haspopup":"listbox","aria-controls":O?G?.id??Yt(D)?.id:void 0,"aria-labelledby":M,"aria-readonly":_||void 0,"aria-required":E||void 0,tabIndex:a?-1:0,onFocus(oe){x(!0),O&&d.context.alignItemWithTriggerActiveRef.current&&d.context.setOpen(!1,pe(it,oe.nativeEvent)),k.start(0,()=>{d.set("forceMount",!0)})},onBlur(oe){Te(D,oe.relatedTarget)||(b(!0),x(!1),w==="onBlur"&&m.commit(S))},onMouseDown(oe){if(O)return;const fe=Ne(oe.currentTarget);function B(j){if(!g.current)return;const ce=j.target;Te(g.current,ce)||Te(U.current,ce)||Jr(j,g.current)||d.context.setOpen(!1,pe(_n,j))}X.start(0,()=>{fe.addEventListener("mouseup",B,{once:!0})})}},y,T),se=m.getValidationProps(a,re);se.role="combobox";const le={...V,open:O,disabled:a,value:S,readOnly:_,popupSide:J,placeholder:!K};return _e("button",t,{ref:[n,g,A,L],state:le,stateAttributesMapping:to,props:se})}),no={value:()=>null},wo=o.forwardRef(function(t,n){const{className:r,render:s,children:i,placeholder:l,style:f,...c}=t,y=Le(),b=y.useState("value"),x=y.useState("items"),w=y.useState("itemToStringLabel"),m=y.useState("hasSelectedValue"),V=!m&&l!=null&&i==null,v=y.useState("hasNullItemLabel",V),C={value:b,placeholder:!m};let d=null;return typeof i=="function"?d=i(b):i!=null?d=i:V&&!v?d=l:Array.isArray(b)?d=zr(b,x,w):d=mn(b,x,w),_e("span",t,{state:C,ref:[n,y.context.valueRef],props:[{children:d},c],stateAttributesMapping:no})}),vo=o.forwardRef(function(t,n){const r=Le(),s=r.useState("mounted"),i=r.useState("forceMount");return s||i?ae.jsx(Un,{ref:n,...t}):null}),xn=o.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function ro(){return o.useContext(xn)}function oo(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:s}=e,i=Y(s),[,l]=o.useState(!1),f=ke(io).current,c=ke(so).current,y=o.useRef(0),b=o.useRef(!0),x=o.useRef(null),w=o.useRef(null),m=Y(()=>{b.current||(b.current=!0,l(a=>!a))}),V=Y((a,O)=>{c.set(a,O),m()}),v=Y(a=>{c.delete(a),m()}),C=Y(a=>{const O=new Map;return n.current.length=0,r&&(r.current.length=0),a.forEach(h=>{O.set(h.element,{...h.registration.metadata??{},index:h.index}),n.current[h.index]=h.element,r&&(r.current[h.index]=h.registration.label!==void 0?h.registration.label:h.registration.textRef?.current?.textContent??h.element.textContent)}),y.current=n.current.length,O});function d(a){if(w.current?.disconnect(),w.current=null,typeof MutationObserver!="function"||a.length<2)return;const O=new MutationObserver(S=>{if(!uo(S))return;let H=null;for(const D of a)if(D.isConnected){if(H&&Sn(H,D)>0){O.disconnect(),m();return}H=D}});w.current=O;const h=new Set;for(let S=1;S<a.length;S+=1){const H=co(a[S-1],a[S]);H&&h.add(H)}h.forEach(S=>O.observe(S,{childList:!0}))}const _=Y(()=>{const[a,O]=lo(c),h=C(a),S=x.current,H=!S||S.length!==a.length||a.some((D,G)=>{const $=S[G];return D.index!==$.index||D.element!==$.element||D.registration.index!==$.registration.index||D.registration.metadata!==$.registration.metadata});d(O),x.current=a,b.current=!1,H&&(f.forEach(D=>D(h)),i(h))});z(()=>(!b.current&&x.current&&C(x.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,C]),z(()=>{b.current&&_()}),z(()=>()=>{w.current?.disconnect(),b.current=!0},[]);const E=Y(a=>(f.add(a),()=>{f.delete(a)})),p=o.useMemo(()=>({register:V,unregister:v,subscribeMapChange:E,nextIndexRef:y}),[V,v,E,y]);return ae.jsx(xn.Provider,{value:p,children:t})}function so(){return new Map}function io(){return new Set}function lo(e){const t=new Set,n=[],r=[];e.forEach((i,l)=>{if(!l.isConnected)return;const f=i.index,c={index:f??-1,element:l,registration:i};f===null?r.push(c):f>=0&&(t.add(f),n.push(c))});let s=0;return r.sort((i,l)=>Sn(i.element,l.element)),r.forEach(i=>{for(;t.has(s);)s+=1;i.index=s,n.push(i),s+=1}),t.size>0&&n.sort((i,l)=>i.index-l.index),[n,r.map(i=>i.element)]}function co(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function uo(e){for(const t of e)for(let n=0;n<t.removedNodes.length;n+=1)if(t.removedNodes[n].isConnected)return!0;return!1}function Sn(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}const Rn=o.createContext(void 0);function ao(){const e=o.useContext(Rn);if(!e)throw new Error(He(59));return e}function lt(e,t){e&&Object.assign(e.style,t)}const fo={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"},po={position:"fixed"},Mo=o.forwardRef(function(t,n){const{anchor:r,className:s,render:i,positionMethod:l,side:f,align:c,sideOffset:y,alignOffset:b,collisionBoundary:x="clipping-ancestors",collisionPadding:w,arrowPadding:m,sticky:V,disableAnchorTracking:v,alignItemWithTrigger:C=!0,collisionAvoidance:d=Bn,style:_,...E}=t,p=Le(),a=cn(),O=p.useState("open"),h=p.useState("mounted"),S=p.useState("modal"),H=p.useState("value"),D=p.useState("openMethod"),G=p.useState("positionerElement"),$=p.useState("triggerElement"),R=p.useState("isItemEqualToValue"),F=p.useState("transitionStatus"),K=o.useRef(null),J=o.useRef(null),[q,M]=o.useState(C),U=h&&q&&D!=="touch";!h&&q!==C&&M(C),o.useImperativeHandle(p.context.alignItemWithTriggerActiveRef,()=>U),yr((U||S)&&O,D==="touch",G,$);const g=or({anchor:r,floatingRootContext:a,positionMethod:l,mounted:h,side:f,sideOffset:y,align:c,alignOffset:b,arrowPadding:m,collisionBoundary:x,collisionPadding:w,sticky:V,disableAnchorTracking:v??U,collisionAvoidance:d,keepMounted:!0}),T=U?"none":g.side,A=U?po:g.positionerStyles,L={open:O,side:T,align:g.align,anchorHidden:g.anchorHidden};z(()=>{p.set("popupSide",g.side)},[p,g.side]);const k=p.useStateSetter("positionerElement"),X=sr(t,L,{styles:A,transitionStatus:F,props:E,refs:[n,k],hidden:!h,inert:!O}),ne=o.useRef(0),re=Y(le=>{if(p.context.valuesRef.current.length===0)return;const oe=ne.current;ne.current=le.size;const fe=pe(it);if(oe!==0&&!p.state.multiple&&H!==null&&ot(p.context.valuesRef.current,H,R)===-1){const j=p.context.initialValueRef.current,Z=j!=null&&ot(p.context.valuesRef.current,j,R)!==-1?j:null;p.context.setValue(Z,fe),Z===null&&(p.set("selectedIndex",null),p.context.selectedItemTextRef.current=null)}if(oe!==0&&p.state.multiple&&Array.isArray(H)){const B=H.filter(j=>ot(p.context.valuesRef.current,j,R)!==-1);B.length!==H.length&&(p.context.setValue(B,fe),B.length===0&&(p.set("selectedIndex",null),p.context.selectedItemTextRef.current=null))}if(O&&U){p.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const B={height:""};lt(G,B),lt(p.context.popupRef.current,B)}}),se=o.useMemo(()=>({...g,side:T,alignItemWithTriggerActive:U,setControlledAlignItemWithTrigger:M,scrollUpArrowRef:K,scrollDownArrowRef:J}),[g,T,U,M]);return ae.jsx(oo,{elementsRef:p.context.listRef,labelsRef:p.context.labelsRef,onMapChange:re,children:ae.jsxs(Rn.Provider,{value:se,children:[h&&S&&ae.jsx(er,{inert:Wn(!O),cutout:$}),X]})})}),et="base-ui-disable-scrollbar",Bt={className:et,getElement(e){return ae.jsx("style",{nonce:e,href:et,precedence:"base-ui:low",children:`.${et}{scrollbar-width:none}.${et}::-webkit-scrollbar{display:none}`})}},go=o.createContext(void 0),mo={disableStyleElements:!1};function ho(){return o.useContext(go)??mo}const Wt="--transform-origin",xo={...nr,...Zt},Po=o.forwardRef(function(t,n){const{render:r,className:s,style:i,finalFocus:l,...f}=t,c=Le(),{multiple:y,readOnly:b,highlightItemOnHover:x}=wt(),w=cn(),{side:m,align:V,alignItemWithTriggerActive:v,isPositioned:C,setControlledAlignItemWithTrigger:d}=ao(),_=Cr()!=null,E=ir(),{nonce:p,disableStyleElements:a}=ho(),O=c.useState("id"),h=c.useState("open"),S=c.useState("openMethod"),H=c.useState("mounted"),D=c.useState("popupProps"),G=c.useState("transitionStatus"),$=c.useState("triggerElement"),R=c.useState("positionerElement"),F=c.useState("listElement"),K=o.useRef(!1),J=o.useRef(!1),q=o.useRef({}),M=st(),U=Y(L=>{if(!R||!c.context.popupRef.current||!J.current)return;const k=R.style.top==="0px",X=R.style.bottom==="0px";if(K.current||!v||!k&&!X){c.context.handleScrollArrowVisibility(L);return}const ne=qt(R),re=Ye(R.getBoundingClientRect().height,"y",ne),se=Ne(R),le=rt(R),oe=le.getComputedStyle(R),fe=parseFloat(oe.marginTop),B=parseFloat(oe.marginBottom),j=jt(le.getComputedStyle(c.context.popupRef.current)),ce=Math.min(se.documentElement.clientHeight-fe-B,j),Z=L.scrollTop,ge=tt(L);let xe=null;const de=ee=>{R.style.height=`${ee}px`},ue=k?ge-Z:Z,me=Math.min(re+ue,ce);if(ue<=Ce){const ee=Ke(ue,0,ce-re);ee>0&&de(re+ee),L.scrollTop=k?ge:0,ce-(re+ee)<=Ce&&(K.current=!0),c.context.handleScrollArrowVisibility(L);return}if(ce-me>Ce)xe=k?1/0:0;else if(X&&Z<ge){const ee=re+ue-ce;xe=Z-(ue-ee)}const Se=Math.ceil(me);if(Se!==0&&de(Se),xe!=null){const ee=Ke(xe,0,tt(L));Math.abs(L.scrollTop-ee)>Ce&&(L.scrollTop=ee)}Se>=ce-Ce&&(K.current=!0),c.context.handleScrollArrowVisibility(L)});o.useImperativeHandle(c.context.scrollHandlerRef,()=>U,[U]),Tt({open:h,ref:c.context.popupRef,onComplete(){h&&c.context.onOpenChangeComplete(!0)}});const g={open:h,transitionStatus:G,side:m,align:V};z(()=>{!R||!c.context.popupRef.current||Object.keys(q.current).length||(q.current={top:R.style.top||"0",left:R.style.left||"0",right:R.style.right,height:R.style.height,bottom:R.style.bottom,minHeight:R.style.minHeight,maxHeight:R.style.maxHeight,marginTop:R.style.marginTop,marginBottom:R.style.marginBottom})},[c,R]),z(()=>{h||v||(J.current=!1,K.current=!1,lt(R,q.current))},[h,v,R]),z(()=>{const L=c.context.popupRef.current;if(!h||!$||!R||!L||v&&!C||c.state.transitionStatus==="ending")return;if(J.current=!0,L.style.removeProperty(Wt),!v){M.request(()=>c.context.handleScrollArrowVisibility(F||L));return}const k=So(L);try{let X=c.context.selectedItemTextRef.current;X?.isConnected||(X=!c.select("hasSelectedValue")&&c.context.firstItemTextRef.current?.isConnected?c.context.firstItemTextRef.current:null);const ne=c.context.valueRef.current,re=rt(R),se=re.getComputedStyle(R),le=re.getComputedStyle(L),oe=Ne($),fe=qt($),B=nt($.getBoundingClientRect(),fe),j=nt(R.getBoundingClientRect(),fe),ce=B.height,Z=F||L,ge=Z.scrollHeight,xe=parseFloat(le.borderBottomWidth),de=parseFloat(se.marginTop)||10,ue=parseFloat(se.marginBottom)||10,me=parseFloat(se.minHeight)||100,Se=jt(le),ee=5,we=5,u=20,I=oe.documentElement.clientHeight-de-ue,Q=oe.documentElement.clientWidth,P=I-B.bottom+ce;let N,ve=E==="rtl"?B.right-j.width:B.left,Me=0;if(X&&ne){const he=nt(ne.getBoundingClientRect(),fe);N=nt(X.getBoundingClientRect(),fe),ve=j.left+(E==="rtl"?he.right-N.right:he.left-N.left);const ye=he.top-B.top+he.height/2;Me=N.top-j.top+N.height/2-ye}const be=P+Me+ue+xe;let Re=Math.min(I,be);const Ue=I-de-ue,Be=be-Re,We=Q-we;R.style.left=`${Ke(ve,ee,We-j.width)}px`,R.style.height=`${Re}px`,R.style.maxHeight="none",R.style.marginTop=`${de}px`,R.style.marginBottom=`${ue}px`,L.style.height="100%";const je=tt(Z),Ve=Be>=je-Ce;Ve&&(Re=Math.min(I,j.height)-(Be-je));const qe=B.top<u||B.bottom>I-u||Math.ceil(Re)+Ce<Math.min(ge,me),ft=(re.visualViewport?.scale??1)!==1&&Gt;if(qe||ft){lt(R,q.current),d(!1);return}const Pe=Math.max(me,Re);if(Ve){const he=Math.max(0,I-be);R.style.top=j.height>=Ue?"0":`${he}px`,R.style.height=`${Re}px`,Z.scrollTop=tt(Z)}else R.style.bottom="0",Z.scrollTop=Be;if(N){const he=j.top,ye=j.height,Ee=N.top+N.height/2,Fe=Ke(ye>0?(Ee-he)/ye*100:50,0,100);L.style.setProperty(Wt,`50% ${Fe}%`)}(Pe===I||Re>=Se)&&(K.current=!0),c.context.handleScrollArrowVisibility(Z),x&&c.state.selectedIndex===null&&c.state.activeIndex===null&&c.context.listRef.current[0]!=null&&c.set("activeIndex",0)}finally{k()}},[c,h,R,$,v,d,M,F,x,E,C]),o.useEffect(()=>{if(!v||!R||!h)return;const L=rt(R);function k(X){c.context.setOpen(!1,pe(qn,X))}return jn(L,"resize",k)},[c,v,R,h]);const T={...F?{role:"presentation"}:{role:"listbox","aria-multiselectable":y||void 0,"aria-readonly":b||void 0,id:`${O}-list`},onKeyDown(L){_&&rr.has(L.key)&&L.stopPropagation()},onScroll(L){F||U(L.currentTarget)},...v&&{style:F?{height:"100%"}:fo},className:!F&&v?Bt.className:void 0},A=_e("div",t,{ref:[n,c.context.popupRef],state:g,stateAttributesMapping:xo,props:[D,T,ur(G),f]});return ae.jsxs(o.Fragment,{children:[!a&&Bt.getElement(p),ae.jsx(tr,{context:w,modal:!1,disabled:!H,openInteractionType:S,returnFocus:l,restoreFocus:!0,children:A})]})});function jt(e){const t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function tt(e){return hn(e.scrollHeight,e.clientHeight)}function qt(e){return lr.getScale(e)}function Ye(e,t,n){return e/n[t]}function nt(e,t){return cr({x:Ye(e.x,"x",t),y:Ye(e.y,"y",t),width:Ye(e.width,"x",t),height:Ye(e.height,"y",t)})}const zt=[["transform","none"],["scale","1"],["translate","0 0"]];function So(e){const{style:t}=e,n={};for(const[r,s]of zt)n[r]=t.getPropertyValue(r),t.setProperty(r,s,"important");return()=>{for(const[r]of zt){const s=n[r];s?t.setProperty(r,s):t.removeProperty(r)}}}function Ro(e={}){const{guess:t,label:n,metadata:r,textRef:s,index:i}=e,{register:l,unregister:f,subscribeMapChange:c,nextIndexRef:y}=ro(),b=o.useRef(-1),[x,w]=o.useState(i==null&&t?()=>{if(b.current===-1){const C=y.current;y.current+=1,b.current=C}return b.current}:-1),m=i??x,V=o.useRef(null),v=o.useCallback(C=>{const d=V.current;d&&f(d),V.current=C,C&&l(C,{metadata:r??null,index:i??null,label:n,textRef:s})},[i,l,f,r,n,s]);return z(()=>{if(i==null)return c(C=>{const d=V.current?C.get(V.current)?.index:null;d!=null&&w(d)})},[i,c]),{ref:v,index:m}}const bn=o.createContext(void 0);function Mt(){const e=o.useContext(bn);if(!e)throw new Error(He(57));return e}const Oo=o.memo(o.forwardRef(function(t,n){const{render:r,className:s,style:i,value:l=null,label:f,disabled:c=!1,nativeButton:y=!1,...b}=t,x=o.useRef(null),w=Ro({guess:!0,label:f,textRef:x}),m=Le(),{itemProps:V,multiple:v,disabled:C,readOnly:d}=wt(),_=C||c,E=m.useState("isActive",w.index),p=m.useState("open"),a=m.useState("isSelected",l),O=m.useState("isSelectedByFocus",w.index),h=m.useState("isItemEqualToValue"),S=w.index,H=o.useRef(null);z(()=>{const g=m.context.valuesRef.current;return g[S]=l,()=>{delete g[S]}},[S,l,m]),z(()=>{const g=m.state.value,T=m.state.selectedIndex;let A=T,L;v&&Array.isArray(g)?(A=Ur(S,l,m.context.valuesRef.current,g,h,T),L=A===S,S===T&&!L&&(m.context.selectedItemTextRef.current=null)):(L=g!==void 0&&Ae(l,g,h),L&&(A=S)),m.set("selectedIndex",A),L&&x.current&&(m.context.selectedItemTextRef.current=x.current)},[S,v,h,m,l]);const D=o.useRef("mouse"),G=o.useRef(!1),{getButtonProps:$,buttonRef:R}=Jt({disabled:_,focusableWhenDisabled:!0,native:y,composite:!0}),F={disabled:_,selected:a,highlighted:E};function K(g){if(C||d)return;const T=m.state.value;if(v){const A=Array.isArray(T)?T:[],L=a?Br(A,l,h):[...A,l];m.context.setValue(L,pe(xt,g))}else m.context.setValue(l,pe(xt,g)),m.context.setOpen(!1,pe(xt,g))}function J(){m.context.selectionRef.current.dragY=0}const q={role:"option","aria-selected":a,tabIndex:p&&E?0:-1,onKeyDown(g){m.set("activeIndex",S),g.key===" "&&m.context.typingRef.current&&g.preventDefault()},onClick(g){const T=D.current!=="touch",A=g.nativeEvent.pointerType,L=T&&tn(g.nativeEvent)&&(A!==void 0||E),k=T&&!L&&!G.current;G.current=!1,!(_||k)&&K(g.nativeEvent)},onPointerEnter(g){D.current=g.pointerType},onPointerMove(g){if(g.pointerType==="mouse"&&g.buttons===1){const T=m.context.selectionRef.current;T.dragY+=g.movementY,T.dragY**2>=64&&(T.allowUnselectedMouseUp=!0)}},onPointerDown(g){D.current=g.pointerType,G.current=!0,J()},onMouseUp(){if(J(),_||D.current==="touch"||G.current)return;const g=!m.context.selectionRef.current.allowSelectedMouseUp&&a,T=!m.context.selectionRef.current.allowUnselectedMouseUp&&!a;g||T||(G.current=!0,H.current?.click(),G.current=!1)}},M=_e("div",t,{ref:[R,n,w.ref,H],state:F,props:[V,q,b,$]}),U=o.useMemo(()=>({selected:a,index:S,textRef:x,selectedByFocus:O}),[a,S,x,O]);return ae.jsx(bn.Provider,{value:U,children:M})})),Ao=o.forwardRef(function(t,n){const{selected:r}=Mt();return t.keepMounted||r?ae.jsx(bo,{...t,ref:n}):null}),bo=o.memo(o.forwardRef((e,t)=>{const{render:n,className:r,style:s,keepMounted:i,...l}=e,{selected:f}=Mt(),c=o.useRef(null),{transitionStatus:y,setMounted:b}=nn(f),w=_e("span",e,{ref:[t,c],state:{selected:f,transitionStatus:y},props:[{"aria-hidden":!0,children:"✔️"},l],stateAttributesMapping:Zt});return Tt({batch:!0,enabled:!f,open:f,ref:c,onComplete(){f||b(!1)}}),w})),Lo=o.memo(o.forwardRef(function(t,n){const{index:r,textRef:s,selectedByFocus:i}=Mt(),l=Le(),{render:f,className:c,style:y,...b}=t,x=o.useCallback(m=>{m&&(r===0&&(l.context.firstItemTextRef.current=m),i&&(l.context.selectedItemTextRef.current=m))},[l,r,i]);return _e("div",t,{ref:[x,n,s],props:b})}));export{fo as L,Eo as S,wt as a,ao as b,To as c,wo as d,vo as e,Mo as f,Po as g,Oo as h,Ao as i,Lo as j,ar as k,Sr as l,yr as m,Cr as n,Lr as o,$r as p,vt as q,un as r,Bt as s,an as t,Le as u,Ut as v,Dr as w,rn as x};
@@ -1 +1 @@
1
- import{r as l,c as s,j as e,L as i,B as a}from"./__vite-browser-external-C7JgMYNl.js";import{A as c}from"./arrow-left-DOzsdmqR.js";import{S as m}from"./server-Cdwhp-2m.js";import{E as o}from"./external-link-B3p_TVGc.js";function g(){const r=l.useRef(null);l.useLayoutEffect(()=>{const t=r.current?.parentElement;t&&(t.scrollTop=0)},[]);const n=[[s("self_host.step.backend_title"),s("self_host.step.backend_body")],[s("self_host.step.schema_title"),s("self_host.step.schema_body")],[s("self_host.step.client_title"),s("self_host.step.client_body")]];return e.jsx("div",{ref:r,className:"tt-cloud-theme flex flex-1 flex-col font-oai text-oai-black dark:text-oai-white",children:e.jsxs("main",{className:"mx-auto w-full max-w-3xl px-4 py-8 sm:px-6 sm:py-12",children:[e.jsxs(i,{to:"/cloud",className:"mb-7 inline-flex min-h-10 items-center gap-2 text-sm text-oai-gray-600 dark:text-oai-gray-300",children:[e.jsx(c,{size:16,"aria-hidden":!0}),s("self_host.back")]}),e.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm text-oai-gray-600 dark:text-oai-gray-300",children:[e.jsx(m,{size:18,"aria-hidden":!0}),e.jsx("span",{children:s("self_host.status")})]}),e.jsx("h1",{className:"text-balance text-3xl font-semibold tracking-tight sm:text-4xl",children:s("self_host.title")}),e.jsx("p",{className:"mt-4 max-w-2xl text-base leading-7 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.subtitle")}),e.jsxs("div",{className:"mt-7 rounded-lg border border-oai-gray-300 p-5 dark:border-oai-gray-700",children:[e.jsx("h2",{className:"text-sm font-semibold",children:s("self_host.preview_title")}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.preview_body")})]}),e.jsxs("section",{className:"mt-10",children:[e.jsx("h2",{className:"text-lg font-semibold",children:s("self_host.steps_title")}),e.jsx("ol",{className:"mt-5 list-decimal space-y-6 pl-5 marker:text-oai-gray-500",children:n.map(([t,d])=>e.jsxs("li",{className:"pl-2",children:[e.jsx("h3",{className:"text-sm font-medium",children:t}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:d})]},t))})]}),e.jsxs("section",{className:"mt-9 border-t border-oai-gray-200 pt-7 dark:border-oai-gray-800",children:[e.jsx("h2",{className:"text-lg font-semibold",children:s("self_host.responsibility_title")}),e.jsx("p",{className:"mt-3 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.responsibility_body")}),e.jsx("p",{className:"mt-3 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.community")}),e.jsxs("div",{className:"mt-5 flex flex-wrap gap-3",children:[e.jsxs(a,{as:"a",href:"https://github.com/InsForge/InsForge#self-hosted-docker-compose",target:"_blank",rel:"noopener noreferrer",variant:"secondary",className:"no-underline",children:[s("self_host.link.insforge"),e.jsx(o,{size:14,className:"ml-2","aria-hidden":!0})]}),e.jsxs(a,{as:"a",href:"https://github.com/xiufengsun/TokenTracker/tree/main/dashboard/edge-patches",target:"_blank",rel:"noopener noreferrer",variant:"secondary",className:"no-underline",children:[s("self_host.link.source"),e.jsx(o,{size:14,className:"ml-2","aria-hidden":!0})]})]})]}),e.jsxs("section",{className:"mt-9 border-t border-oai-gray-200 pt-7 dark:border-oai-gray-800",children:[e.jsx("h2",{className:"text-base font-semibold",children:s("self_host.managed_title")}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.managed_body")}),e.jsx(a,{as:i,to:"/cloud",className:"mt-4 no-underline",children:s("self_host.link.cloud")})]})]})})}export{g as SelfHostPage};
1
+ import{r as l,c as s,j as e,L as i,B as a}from"./__vite-browser-external-BnGukaND.js";import{A as c}from"./arrow-left-Mwggxctm.js";import{S as m}from"./server-Dh_OraRG.js";import{E as o}from"./external-link-RNTsFDG4.js";function g(){const r=l.useRef(null);l.useLayoutEffect(()=>{const t=r.current?.parentElement;t&&(t.scrollTop=0)},[]);const n=[[s("self_host.step.backend_title"),s("self_host.step.backend_body")],[s("self_host.step.schema_title"),s("self_host.step.schema_body")],[s("self_host.step.client_title"),s("self_host.step.client_body")]];return e.jsx("div",{ref:r,className:"tt-cloud-theme flex flex-1 flex-col font-oai text-oai-black dark:text-oai-white",children:e.jsxs("main",{className:"mx-auto w-full max-w-3xl px-4 py-8 sm:px-6 sm:py-12",children:[e.jsxs(i,{to:"/cloud",className:"mb-7 inline-flex min-h-10 items-center gap-2 text-sm text-oai-gray-600 dark:text-oai-gray-300",children:[e.jsx(c,{size:16,"aria-hidden":!0}),s("self_host.back")]}),e.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm text-oai-gray-600 dark:text-oai-gray-300",children:[e.jsx(m,{size:18,"aria-hidden":!0}),e.jsx("span",{children:s("self_host.status")})]}),e.jsx("h1",{className:"text-balance text-3xl font-semibold tracking-tight sm:text-4xl",children:s("self_host.title")}),e.jsx("p",{className:"mt-4 max-w-2xl text-base leading-7 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.subtitle")}),e.jsxs("div",{className:"mt-7 rounded-lg border border-oai-gray-300 p-5 dark:border-oai-gray-700",children:[e.jsx("h2",{className:"text-sm font-semibold",children:s("self_host.preview_title")}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.preview_body")})]}),e.jsxs("section",{className:"mt-10",children:[e.jsx("h2",{className:"text-lg font-semibold",children:s("self_host.steps_title")}),e.jsx("ol",{className:"mt-5 list-decimal space-y-6 pl-5 marker:text-oai-gray-500",children:n.map(([t,d])=>e.jsxs("li",{className:"pl-2",children:[e.jsx("h3",{className:"text-sm font-medium",children:t}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:d})]},t))})]}),e.jsxs("section",{className:"mt-9 border-t border-oai-gray-200 pt-7 dark:border-oai-gray-800",children:[e.jsx("h2",{className:"text-lg font-semibold",children:s("self_host.responsibility_title")}),e.jsx("p",{className:"mt-3 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.responsibility_body")}),e.jsx("p",{className:"mt-3 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.community")}),e.jsxs("div",{className:"mt-5 flex flex-wrap gap-3",children:[e.jsxs(a,{as:"a",href:"https://github.com/InsForge/InsForge#self-hosted-docker-compose",target:"_blank",rel:"noopener noreferrer",variant:"secondary",className:"no-underline",children:[s("self_host.link.insforge"),e.jsx(o,{size:14,className:"ml-2","aria-hidden":!0})]}),e.jsxs(a,{as:"a",href:"https://github.com/xiufengsun/TokenTracker/tree/main/dashboard/edge-patches",target:"_blank",rel:"noopener noreferrer",variant:"secondary",className:"no-underline",children:[s("self_host.link.source"),e.jsx(o,{size:14,className:"ml-2","aria-hidden":!0})]})]})]}),e.jsxs("section",{className:"mt-9 border-t border-oai-gray-200 pt-7 dark:border-oai-gray-800",children:[e.jsx("h2",{className:"text-base font-semibold",children:s("self_host.managed_title")}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:s("self_host.managed_body")}),e.jsx(a,{as:i,to:"/cloud",className:"mt-4 no-underline",children:s("self_host.link.cloud")})]})]})})}export{g as SelfHostPage};
@@ -1 +1 @@
1
- import{r as d,c as n,j as t,R as h}from"./__vite-browser-external-C7JgMYNl.js";import{P as f}from"./ProviderIcon-Cy_pKLdw.js";import{E as b}from"./external-link-B3p_TVGc.js";const x=[{id:"claude",name:"Claude",icon:"CLAUDE",apiUrl:"https://status.claude.com/api/v2/status.json",pageUrl:"https://status.claude.com"},{id:"openai",name:"OpenAI / Codex",icon:"CODEX",apiUrl:"https://status.openai.com/api/v2/status.json",pageUrl:"https://status.openai.com"},{id:"cursor",name:"Cursor",icon:"CURSOR",apiUrl:"https://status.cursor.com/api/v2/status.json",pageUrl:"https://status.cursor.com"},{id:"github",name:"GitHub / Copilot",icon:"GITHUB",apiUrl:"https://www.githubstatus.com/api/v2/status.json",pageUrl:"https://www.githubstatus.com"},{id:"gemini",name:"Gemini",icon:"GEMINI",kind:"google",serviceName:"Gemini",apiUrl:"https://www.google.com/appsstatus/dashboard/incidents.json",pageUrl:"https://www.google.com/appsstatus/dashboard"},{id:"kimi",name:"Kimi / Moonshot",icon:"KIMI",apiUrl:"https://status.moonshot.cn/api/v2/status.json",pageUrl:"https://status.moonshot.cn"},{id:"minimax",name:"MiniMax",icon:"MINIMAX",apiUrl:"https://status.minimaxi.com/api/v2/status.json",pageUrl:"https://status.minimaxi.com"},{id:"zed",name:"Zed",icon:"ZED",kind:"instatus",apiUrl:"https://status.zed.dev/summary.json",pageUrl:"https://status.zed.dev"}],w=6e4,y=8e3,j=new Set(["none","minor","major","critical"]),g={none:{dot:"bg-emerald-500",text:"text-emerald-600 dark:text-emerald-400"},minor:{dot:"bg-yellow-500",text:"text-yellow-600 dark:text-yellow-400"},major:{dot:"bg-orange-500",text:"text-orange-600 dark:text-orange-400"},critical:{dot:"bg-red-500",text:"text-red-600 dark:text-red-400"},unknown:{dot:"bg-oai-gray-400",text:"text-oai-gray-500 dark:text-oai-gray-400"}};function k(e){switch(e){case"none":return n("status.state.none");case"minor":return n("status.state.minor");case"major":return n("status.state.major");case"critical":return n("status.state.critical");default:return n("status.state.unknown")}}const v={low:"minor",medium:"major",high:"critical"},N={MAJOROUTAGE:"critical",PARTIALOUTAGE:"major",DEGRADEDPERFORMANCE:"minor"};function A(e){const a=e?.page?.status;if(typeof a!="string")throw new Error("Unexpected payload");if(a==="UP")return{indicator:"none",description:"",updatedAt:null};const s=Array.isArray(e?.activeIncidents)?e.activeIncidents:[],r={critical:3,major:2,minor:1};let o=null;for(const i of s){const c=N[i?.impact]||"minor";(!o||r[c]>r[o.indicator])&&(o={indicator:c,description:i?.name||"",updatedAt:i?.updated||null})}return o||{indicator:"minor",description:"",updatedAt:null}}function I(e,a){if(!Array.isArray(e))throw new Error("Unexpected payload");const s=e.filter(i=>i&&!i.end&&(i.service_name===a||Array.isArray(i.affected_products)&&i.affected_products.some(c=>c?.title===a)));if(s.length===0)return{indicator:"none",description:"",updatedAt:null};const r={critical:3,major:2,minor:1};let o=null;for(const i of s){const c=v[i.severity]||"minor";(!o||r[c]>r[o.indicator])&&(o={indicator:c,description:i.external_desc||"",updatedAt:i.modified||null})}return o}async function E(e){try{const a=await fetch(e.apiUrl,{cache:"no-store",signal:AbortSignal.timeout(y)});if(!a.ok)throw new Error(`HTTP ${a.status}`);const s=await a.json();if(e.kind==="google")return I(s,e.serviceName);if(e.kind==="instatus")return A(s);const r=s?.status?.indicator;if(!j.has(r))throw new Error("Unexpected payload");return{indicator:r,description:typeof s?.status?.description=="string"?s.status.description:"",updatedAt:typeof s?.page?.updated_at=="string"?s.page.updated_at:null}}catch{return{indicator:"unknown",description:"",updatedAt:null}}}function U({provider:e,result:a}){const s=g[a?.indicator]||g.unknown,r=a==null;return t.jsxs("a",{href:e.pageUrl,target:"_blank",rel:"noreferrer","aria-label":n("status.open_page",{provider:e.name}),title:n("status.open_page",{provider:e.name}),className:"group block no-underline text-inherit rounded-xl border border-oai-gray-200 dark:border-oai-gray-800 bg-white dark:bg-oai-gray-900 p-4 sm:p-5 transition-colors hover:border-oai-gray-300 dark:hover:border-oai-gray-700 hover:bg-oai-gray-50 dark:hover:bg-oai-gray-800/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500",children:[t.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[t.jsx(f,{provider:e.icon,size:20}),t.jsx("span",{className:"font-medium text-sm sm:text-base truncate",children:e.name})]}),t.jsx("span",{"aria-hidden":!0,className:"shrink-0 inline-flex h-8 w-8 items-center justify-center rounded-lg text-oai-gray-400 transition-colors group-hover:text-oai-black dark:group-hover:text-white",children:t.jsx(b,{className:"h-4 w-4"})})]}),t.jsxs("div",{className:"mt-3 flex items-center gap-2",children:[r?t.jsx("span",{className:"h-2 w-2 rounded-full bg-oai-gray-300 dark:bg-oai-gray-700 animate-pulse","aria-hidden":!0}):t.jsxs("span",{className:"relative flex h-2 w-2","aria-hidden":!0,children:[a.indicator!=="none"&&a.indicator!=="unknown"?t.jsx("span",{className:`absolute inline-flex h-full w-full animate-ping rounded-full opacity-75 ${s.dot}`}):null,t.jsx("span",{className:`relative inline-flex h-2 w-2 rounded-full ${s.dot}`})]}),t.jsx("span",{className:`text-sm font-medium ${r?"text-oai-gray-400":s.text}`,children:r?n("status.state.checking"):k(a.indicator)})]}),!r&&a.description&&a.indicator!=="none"?t.jsx("p",{className:"mt-2 text-xs text-oai-gray-500 dark:text-oai-gray-400 break-words",children:a.description}):null]})}function T(){const[e,a]=d.useState({}),[s,r]=d.useState(null),[o,i]=d.useState(!1),c=d.useRef(!0),u=d.useCallback(async()=>{i(!0);const l=await Promise.all(x.map(async p=>[p.id,await E(p)]));c.current&&(a(Object.fromEntries(l)),r(new Date),i(!1))},[]);d.useEffect(()=>{c.current=!0,u();const l=setInterval(()=>{u()},w);return()=>{c.current=!1,clearInterval(l)}},[u]);const m=d.useMemo(()=>s?n("status.last_checked",{time:s.toLocaleTimeString()}):null,[s]);return t.jsx("div",{className:"flex flex-col flex-1 text-oai-black dark:text-oai-white font-oai antialiased",children:t.jsx("main",{className:"flex-1 pt-8 sm:pt-10 pb-12 sm:pb-16",children:t.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[t.jsxs("div",{className:"flex flex-row items-start justify-between gap-4 mb-8",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("h1",{className:"text-3xl sm:text-4xl font-semibold tracking-tight text-oai-black dark:text-white mb-3",children:n("nav.service_status")}),t.jsx("p",{className:"text-oai-gray-500 dark:text-oai-gray-400 text-sm sm:text-base",children:n("status.page.subtitle")})]}),t.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[m?t.jsx("span",{className:"hidden sm:inline text-xs text-oai-gray-400 dark:text-oai-gray-500",children:m}):null,t.jsx("button",{type:"button",onClick:()=>{u()},disabled:o,"aria-label":n("status.refresh"),title:n("status.refresh"),className:"inline-flex h-9 w-9 items-center justify-center rounded-lg border border-oai-gray-200 dark:border-oai-gray-800 text-oai-gray-600 dark:text-oai-gray-400 hover:bg-oai-gray-100 dark:hover:bg-oai-gray-800 hover:text-oai-black dark:hover:text-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 disabled:opacity-50",children:t.jsx(h,{className:`h-4 w-4 ${o?"animate-spin":""}`,"aria-hidden":!0})})]})]}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:x.map(l=>t.jsx(U,{provider:l,result:e[l.id]??null},l.id))}),t.jsx("p",{className:"mt-6 text-xs text-oai-gray-400 dark:text-oai-gray-500",children:n("status.page.source_note")})]})})})}export{x as STATUS_PROVIDERS,T as ServiceStatusPage,T as default};
1
+ import{r as d,c as n,j as t,R as h}from"./__vite-browser-external-BnGukaND.js";import{P as f}from"./ProviderIcon-xSNRuia-.js";import{E as b}from"./external-link-RNTsFDG4.js";const x=[{id:"claude",name:"Claude",icon:"CLAUDE",apiUrl:"https://status.claude.com/api/v2/status.json",pageUrl:"https://status.claude.com"},{id:"openai",name:"OpenAI / Codex",icon:"CODEX",apiUrl:"https://status.openai.com/api/v2/status.json",pageUrl:"https://status.openai.com"},{id:"cursor",name:"Cursor",icon:"CURSOR",apiUrl:"https://status.cursor.com/api/v2/status.json",pageUrl:"https://status.cursor.com"},{id:"github",name:"GitHub / Copilot",icon:"GITHUB",apiUrl:"https://www.githubstatus.com/api/v2/status.json",pageUrl:"https://www.githubstatus.com"},{id:"gemini",name:"Gemini",icon:"GEMINI",kind:"google",serviceName:"Gemini",apiUrl:"https://www.google.com/appsstatus/dashboard/incidents.json",pageUrl:"https://www.google.com/appsstatus/dashboard"},{id:"kimi",name:"Kimi / Moonshot",icon:"KIMI",apiUrl:"https://status.moonshot.cn/api/v2/status.json",pageUrl:"https://status.moonshot.cn"},{id:"minimax",name:"MiniMax",icon:"MINIMAX",apiUrl:"https://status.minimaxi.com/api/v2/status.json",pageUrl:"https://status.minimaxi.com"},{id:"zed",name:"Zed",icon:"ZED",kind:"instatus",apiUrl:"https://status.zed.dev/summary.json",pageUrl:"https://status.zed.dev"}],w=6e4,y=8e3,j=new Set(["none","minor","major","critical"]),g={none:{dot:"bg-emerald-500",text:"text-emerald-600 dark:text-emerald-400"},minor:{dot:"bg-yellow-500",text:"text-yellow-600 dark:text-yellow-400"},major:{dot:"bg-orange-500",text:"text-orange-600 dark:text-orange-400"},critical:{dot:"bg-red-500",text:"text-red-600 dark:text-red-400"},unknown:{dot:"bg-oai-gray-400",text:"text-oai-gray-500 dark:text-oai-gray-400"}};function k(e){switch(e){case"none":return n("status.state.none");case"minor":return n("status.state.minor");case"major":return n("status.state.major");case"critical":return n("status.state.critical");default:return n("status.state.unknown")}}const v={low:"minor",medium:"major",high:"critical"},N={MAJOROUTAGE:"critical",PARTIALOUTAGE:"major",DEGRADEDPERFORMANCE:"minor"};function A(e){const a=e?.page?.status;if(typeof a!="string")throw new Error("Unexpected payload");if(a==="UP")return{indicator:"none",description:"",updatedAt:null};const s=Array.isArray(e?.activeIncidents)?e.activeIncidents:[],r={critical:3,major:2,minor:1};let o=null;for(const i of s){const c=N[i?.impact]||"minor";(!o||r[c]>r[o.indicator])&&(o={indicator:c,description:i?.name||"",updatedAt:i?.updated||null})}return o||{indicator:"minor",description:"",updatedAt:null}}function I(e,a){if(!Array.isArray(e))throw new Error("Unexpected payload");const s=e.filter(i=>i&&!i.end&&(i.service_name===a||Array.isArray(i.affected_products)&&i.affected_products.some(c=>c?.title===a)));if(s.length===0)return{indicator:"none",description:"",updatedAt:null};const r={critical:3,major:2,minor:1};let o=null;for(const i of s){const c=v[i.severity]||"minor";(!o||r[c]>r[o.indicator])&&(o={indicator:c,description:i.external_desc||"",updatedAt:i.modified||null})}return o}async function E(e){try{const a=await fetch(e.apiUrl,{cache:"no-store",signal:AbortSignal.timeout(y)});if(!a.ok)throw new Error(`HTTP ${a.status}`);const s=await a.json();if(e.kind==="google")return I(s,e.serviceName);if(e.kind==="instatus")return A(s);const r=s?.status?.indicator;if(!j.has(r))throw new Error("Unexpected payload");return{indicator:r,description:typeof s?.status?.description=="string"?s.status.description:"",updatedAt:typeof s?.page?.updated_at=="string"?s.page.updated_at:null}}catch{return{indicator:"unknown",description:"",updatedAt:null}}}function U({provider:e,result:a}){const s=g[a?.indicator]||g.unknown,r=a==null;return t.jsxs("a",{href:e.pageUrl,target:"_blank",rel:"noreferrer","aria-label":n("status.open_page",{provider:e.name}),title:n("status.open_page",{provider:e.name}),className:"group block no-underline text-inherit rounded-xl border border-oai-gray-200 dark:border-oai-gray-800 bg-white dark:bg-oai-gray-900 p-4 sm:p-5 transition-colors hover:border-oai-gray-300 dark:hover:border-oai-gray-700 hover:bg-oai-gray-50 dark:hover:bg-oai-gray-800/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500",children:[t.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[t.jsx(f,{provider:e.icon,size:20}),t.jsx("span",{className:"font-medium text-sm sm:text-base truncate",children:e.name})]}),t.jsx("span",{"aria-hidden":!0,className:"shrink-0 inline-flex h-8 w-8 items-center justify-center rounded-lg text-oai-gray-400 transition-colors group-hover:text-oai-black dark:group-hover:text-white",children:t.jsx(b,{className:"h-4 w-4"})})]}),t.jsxs("div",{className:"mt-3 flex items-center gap-2",children:[r?t.jsx("span",{className:"h-2 w-2 rounded-full bg-oai-gray-300 dark:bg-oai-gray-700 animate-pulse","aria-hidden":!0}):t.jsxs("span",{className:"relative flex h-2 w-2","aria-hidden":!0,children:[a.indicator!=="none"&&a.indicator!=="unknown"?t.jsx("span",{className:`absolute inline-flex h-full w-full animate-ping rounded-full opacity-75 ${s.dot}`}):null,t.jsx("span",{className:`relative inline-flex h-2 w-2 rounded-full ${s.dot}`})]}),t.jsx("span",{className:`text-sm font-medium ${r?"text-oai-gray-400":s.text}`,children:r?n("status.state.checking"):k(a.indicator)})]}),!r&&a.description&&a.indicator!=="none"?t.jsx("p",{className:"mt-2 text-xs text-oai-gray-500 dark:text-oai-gray-400 break-words",children:a.description}):null]})}function T(){const[e,a]=d.useState({}),[s,r]=d.useState(null),[o,i]=d.useState(!1),c=d.useRef(!0),u=d.useCallback(async()=>{i(!0);const l=await Promise.all(x.map(async p=>[p.id,await E(p)]));c.current&&(a(Object.fromEntries(l)),r(new Date),i(!1))},[]);d.useEffect(()=>{c.current=!0,u();const l=setInterval(()=>{u()},w);return()=>{c.current=!1,clearInterval(l)}},[u]);const m=d.useMemo(()=>s?n("status.last_checked",{time:s.toLocaleTimeString()}):null,[s]);return t.jsx("div",{className:"flex flex-col flex-1 text-oai-black dark:text-oai-white font-oai antialiased",children:t.jsx("main",{className:"flex-1 pt-8 sm:pt-10 pb-12 sm:pb-16",children:t.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[t.jsxs("div",{className:"flex flex-row items-start justify-between gap-4 mb-8",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("h1",{className:"text-3xl sm:text-4xl font-semibold tracking-tight text-oai-black dark:text-white mb-3",children:n("nav.service_status")}),t.jsx("p",{className:"text-oai-gray-500 dark:text-oai-gray-400 text-sm sm:text-base",children:n("status.page.subtitle")})]}),t.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[m?t.jsx("span",{className:"hidden sm:inline text-xs text-oai-gray-400 dark:text-oai-gray-500",children:m}):null,t.jsx("button",{type:"button",onClick:()=>{u()},disabled:o,"aria-label":n("status.refresh"),title:n("status.refresh"),className:"inline-flex h-9 w-9 items-center justify-center rounded-lg border border-oai-gray-200 dark:border-oai-gray-800 text-oai-gray-600 dark:text-oai-gray-400 hover:bg-oai-gray-100 dark:hover:bg-oai-gray-800 hover:text-oai-black dark:hover:text-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 disabled:opacity-50",children:t.jsx(h,{className:`h-4 w-4 ${o?"animate-spin":""}`,"aria-hidden":!0})})]})]}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:x.map(l=>t.jsx(U,{provider:l,result:e[l.id]??null},l.id))}),t.jsx("p",{className:"mt-6 text-xs text-oai-gray-400 dark:text-oai-gray-500",children:n("status.page.source_note")})]})})})}export{x as STATUS_PROVIDERS,T as ServiceStatusPage,T as default};