@oj-module/cli 0.2.64 → 0.2.67

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 (369) hide show
  1. package/bin/.oj-version +1 -0
  2. package/bin/oj +4 -0
  3. package/devkit/README.md +18 -4
  4. package/devkit/SKILL.md +35 -3
  5. package/devkit/framework-dev.md +22 -11
  6. package/devkit/manual.md +161 -68
  7. package/devkit/menu-rules.md +4 -1
  8. package/devkit/publish-walkthrough.md +110 -37
  9. package/devkit/wecom-internal-app.md +7 -2
  10. package/devkit/wecom-multi-corp-links.md +163 -0
  11. package/package.json +3 -2
  12. package/shell-dist/assets/ahooks.2l850ymmh0.js +18 -0
  13. package/shell-dist/assets/antd-es-locale-zh_CN.1gjjsvxbf0.js +1 -0
  14. package/shell-dist/assets/antd-img-crop.196rkty480.js +99 -0
  15. package/shell-dist/assets/antd-locale-en_US.561tozx860.js +1 -0
  16. package/shell-dist/assets/antd-locale-zh_CN.1cmpmgzh70.js +1 -0
  17. package/shell-dist/assets/antd.uw1coq15l0.js +348 -0
  18. package/shell-dist/assets/clsx.jotilrt2e0.js +1 -0
  19. package/shell-dist/assets/contract-errors.2o17vz9u50.js +1 -0
  20. package/shell-dist/assets/contract.3h327o3mj0.js +57 -0
  21. package/shell-dist/assets/cssinjs.atgmhan7m0.js +3 -0
  22. package/shell-dist/assets/dayjs-plugin-advancedFormat.3vsyd2eis0.js +1 -0
  23. package/shell-dist/assets/dayjs-plugin-customParseFormat.13xhghv1d0.js +1 -0
  24. package/shell-dist/assets/dayjs-plugin-isoWeek.1fn1tw82p0.js +1 -0
  25. package/shell-dist/assets/dayjs-plugin-localeData.2rwbjp9nk0.js +1 -0
  26. package/shell-dist/assets/dayjs-plugin-quarterOfYear.2oqo1lcx80.js +1 -0
  27. package/shell-dist/assets/dayjs-plugin-relativeTime.2pqs3et4y0.js +1 -0
  28. package/shell-dist/assets/dayjs-plugin-weekOfYear.gvn9iph080.js +1 -0
  29. package/shell-dist/assets/dayjs-plugin-weekYear.2u78l3ex10.js +1 -0
  30. package/shell-dist/assets/dayjs-plugin-weekday.2d56a4tml0.js +1 -0
  31. package/shell-dist/assets/dayjs.pa60l6wjo0.js +1 -0
  32. package/shell-dist/assets/dnd-kit-core.1xyreig6r0.js +5 -0
  33. package/shell-dist/assets/dnd-kit-sortable.s94qciuft0.js +1 -0
  34. package/shell-dist/assets/dnd-kit-utilities.1umw4xphb0.js +1 -0
  35. package/shell-dist/assets/i18next.33zqofapj0.js +1 -0
  36. package/shell-dist/assets/icons-es-components-Context.365qmflwg0.js +1 -0
  37. package/shell-dist/assets/icons.159wjwals0.js +57 -0
  38. package/shell-dist/assets/{index-xZhmujjM.js → index.6alqyx6ae0.js} +21 -1
  39. package/shell-dist/assets/jsx-dev-runtime.3uibuc82f0.js +14 -0
  40. package/shell-dist/assets/jsx-runtime.h40xu4o5b0.js +14 -0
  41. package/shell-dist/assets/keepalive-for-react.xenu5vam70.js +1 -0
  42. package/shell-dist/assets/kit.37kr8ui390.js +1 -0
  43. package/shell-dist/assets/ky.1cgch7gu60.js +6 -0
  44. package/shell-dist/assets/motion-react.pjsxytvjs0.js +12 -0
  45. package/shell-dist/assets/motion.21tciqutg0.js +4 -0
  46. package/shell-dist/assets/nprogress.2nz76n9ny0.js +7 -0
  47. package/shell-dist/assets/ojm-dayjs-locale-zh-cn.3vr3beiyp0.js +9 -0
  48. package/shell-dist/assets/pinyin-pro.3v0mnxczn0.js +1 -0
  49. package/shell-dist/assets/pro-components.2kyot1vcl0.js +83 -0
  50. package/shell-dist/assets/react-countup.2x8idnr8y0.js +10 -0
  51. package/shell-dist/assets/react-dom-client.ick0v05ob0.js +43 -0
  52. package/shell-dist/assets/react-dom.2so9uxg3f0.js +22 -0
  53. package/shell-dist/assets/react-error-boundary.2dncdfj3b0.js +1 -0
  54. package/shell-dist/assets/react-i18next.auhvjhqv00.js +1 -0
  55. package/shell-dist/assets/react-jss.1ei6dr9e00.js +29 -0
  56. package/shell-dist/assets/react-query.3rln45ow00.js +1 -0
  57. package/shell-dist/assets/react-router-dom.3c6zld8h40.js +44 -0
  58. package/shell-dist/assets/react-router.2h9rebcv50.js +56 -0
  59. package/shell-dist/assets/react.1ew63mwts0.js +14 -0
  60. package/shell-dist/assets/runtime.2dgstpjsu0.js +21702 -0
  61. package/shell-dist/assets/simplebar-react.2g739uvai0.js +1 -0
  62. package/shell-dist/assets/spin-delay.yjeyj6iwp0.js +9 -0
  63. package/shell-dist/assets/tailwind-merge.125ehiqjw0.js +1 -0
  64. package/shell-dist/assets/use-sync-external-store-shim.1nz1pi9bb0.js +22 -0
  65. package/shell-dist/assets/zustand-middleware.1xaxjueme0.js +6 -0
  66. package/shell-dist/assets/zustand-react-shallow.pybayv1hx0.js +1 -0
  67. package/shell-dist/assets/zustand-react.9fsl9brxy0.js +1 -0
  68. package/shell-dist/assets/zustand-shallow.6cz0yyv9x0.js +1 -0
  69. package/shell-dist/assets/zustand-vanilla-shallow.3424monv50.js +1 -0
  70. package/shell-dist/assets/zustand-vanilla.1mo3ka3g30.js +1 -0
  71. package/shell-dist/assets/zustand.3gjgzlnqo0.js +1 -0
  72. package/shell-dist/index.html +67 -118
  73. package/shell-dist/versions.json +3 -3
  74. package/src/__tests__/publish-keygen.test.ts +157 -0
  75. package/src/__tests__/templates-migration-schema-parity.test.ts +540 -0
  76. package/src/__tests__/templates-schema-columns.test.ts +15 -2
  77. package/src/__tests__/templates-tenant-scope.test.ts +6 -2
  78. package/src/bundle.ts +8 -3
  79. package/src/cli.ts +17 -5
  80. package/src/dev.ts +15 -10
  81. package/src/esm-exports.ts +152 -70
  82. package/src/install.ts +11 -4
  83. package/src/keygen.ts +54 -0
  84. package/src/lifecycle/__tests__/bundle.test.ts +21 -3
  85. package/src/lifecycle/__tests__/fixtures/fixture-valid/api/src/demo-solution/manifest.yaml +1 -1
  86. package/src/lifecycle/__tests__/fixtures/fixture-valid/api/src/demo-solution/migrations/0001__init.sql +2 -2
  87. package/src/lifecycle/__tests__/fixtures/fixture-valid/api/src/demo-solution/schema.yaml +5 -2
  88. package/src/lifecycle/__tests__/fixtures/fixture-valid/manifest.yaml +1 -1
  89. package/src/lifecycle/__tests__/manifest-contract.test.ts +75 -3
  90. package/src/lifecycle/__tests__/smoke.test.ts +2 -2
  91. package/src/manifest-contract.ts +91 -8
  92. package/src/market/bootstrap.ts +26 -2
  93. package/src/market/command.ts +1 -0
  94. package/src/market/publish.ts +5 -1
  95. package/src/market/walkthrough.ts +24 -8
  96. package/src/shared-deps.ts +69 -19
  97. package/src/site-base.ts +4 -0
  98. package/src/site.ts +2 -0
  99. package/src/usage.ts +8 -4
  100. package/src/vendor.ts +5 -1
  101. package/templates/config.yaml +4 -2
  102. package/templates/init.include.yaml +8 -3
  103. package/templates/openapi.json +460 -1
  104. package/templates/src/app/api/_platform/_lifecycle/compensate.ts +136 -0
  105. package/templates/src/app/api/_platform/_lifecycle/installer.ts +71 -22
  106. package/templates/src/app/api/_platform/_lifecycle/lock.ts +23 -0
  107. package/templates/src/app/api/_platform/_lifecycle/steps/deploy-web.ts +28 -0
  108. package/templates/src/app/api/_platform/_lifecycle/steps/preflight.ts +46 -0
  109. package/templates/src/app/api/_platform/_lifecycle/steps/reload.ts +100 -36
  110. package/templates/src/app/api/_platform/_lifecycle/steps/smoke.ts +7 -15
  111. package/templates/src/app/api/_platform/_lifecycle/text-edit.ts +71 -19
  112. package/templates/src/app/api/_platform/_lifecycle/types.ts +26 -2
  113. package/templates/src/app/api/_platform/_lifecycle/uninstall.ts +93 -14
  114. package/templates/src/app/api/_platform/_shared/service/domain/settings.ts +8 -4
  115. package/templates/src/app/api/_platform/manifest.yaml +1 -0
  116. package/templates/src/app/api/_platform/market/api.ts +235 -10
  117. package/templates/src/app/api/_platform/migrations/0001__baseline.mysql.sql +178 -0
  118. package/templates/src/app/api/_platform/migrations/0001__baseline.pg.sql +173 -0
  119. package/templates/src/app/api/_platform/migrations/0001__baseline.sql +188 -0
  120. package/templates/src/app/api/_platform/migrations/0002__market_release.mysql.sql +17 -0
  121. package/templates/src/app/api/_platform/migrations/0002__market_release.pg.sql +16 -0
  122. package/templates/src/app/api/_platform/migrations/0002__market_release.sql +33 -0
  123. package/templates/src/app/api/_platform/schema.yaml +18 -0
  124. package/templates/src/app/api/_platform/seed.mysql.sql +10 -0
  125. package/templates/src/app/api/_platform/seed.pg.sql +10 -0
  126. package/templates/src/app/api/auth/_shared/wecom/client.ts +24 -4
  127. package/templates/src/app/api/home/migrations/0001__create_home_tables.mysql.sql +14 -0
  128. package/templates/src/app/api/home/migrations/0001__create_home_tables.pg.sql +14 -0
  129. package/templates/src/app/api/home/migrations/0002__tenant.pg.sql +4 -0
  130. package/templates/src/app/api/home/seed.mysql.sql +71 -0
  131. package/templates/src/app/api/home/seed.pg.sql +71 -0
  132. package/templates/src/app/api/notification/_shared/notify.ts +6 -6
  133. package/templates/src/app/api/notification/migrations/0001__create_notifications.mysql.sql +11 -0
  134. package/templates/src/app/api/notification/migrations/0001__create_notifications.pg.sql +11 -0
  135. package/templates/src/app/api/notification/migrations/0002__notifications_user.mysql.sql +8 -0
  136. package/templates/src/app/api/notification/migrations/0003__notifications_broadcast.mysql.sql +21 -0
  137. package/templates/src/app/api/notification/migrations/0003__notifications_broadcast.pg.sql +22 -0
  138. package/templates/src/app/api/notification/migrations/0004__notifications_broadcast_hidden.mysql.sql +10 -0
  139. package/templates/src/app/api/notification/migrations/0004__notifications_broadcast_hidden.pg.sql +11 -0
  140. package/templates/src/app/api/notification/migrations/0005__tenant.pg.sql +6 -0
  141. package/templates/src/app/api/notification/seed.mysql.sql +8 -0
  142. package/templates/src/app/api/notification/seed.pg.sql +11 -0
  143. package/templates/src/app/api/publish/_shared/identity.ts +69 -0
  144. package/templates/src/app/api/publish/api.ts +349 -0
  145. package/templates/src/app/api/publish/manifest.yaml +8 -0
  146. package/templates/src/app/api/publish/migrations/0001__publish_credential.mysql.sql +23 -0
  147. package/templates/src/app/api/publish/migrations/0001__publish_credential.pg.sql +23 -0
  148. package/templates/src/app/api/publish/migrations/0001__publish_credential.sql +39 -0
  149. package/templates/src/app/api/publish/schema.yaml +33 -0
  150. package/templates/src/app/api/system/login-methods/api.ts +2 -1
  151. package/templates/src/app/web/_platform/__client/api.schemas.ts +15 -0
  152. package/templates/src/app/web/_platform/__client/index.ts +25 -1
  153. package/templates/src/app/web/entry.ts +9 -5
  154. package/templates/src/app/web/home/pages/components/bar-chart.tsx +5 -3
  155. package/templates/src/app/web/home/pages/components/echarts-setup.ts +30 -0
  156. package/templates/src/app/web/home/pages/components/line-chart.tsx +5 -3
  157. package/templates/src/app/web/home/pages/components/pie-chart.tsx +6 -3
  158. package/templates/src/app/web/home/pages/index.tsx +3 -2
  159. package/templates/src/app/web/home/routes.ts +8 -2
  160. package/templates/src/app/web/login/locales/en-US.json +7 -1
  161. package/templates/src/app/web/login/locales/zh-CN.json +7 -1
  162. package/templates/src/app/web/login/pages/login.tsx +79 -86
  163. package/templates/src/app/web/login/routes.ts +54 -1
  164. package/templates/src/app/web/personal-center/locales/en-US.json +1 -0
  165. package/templates/src/app/web/personal-center/locales/zh-CN.json +1 -0
  166. package/templates/src/app/web/personal-center/pages/my-profile/index.tsx +5 -0
  167. package/templates/src/app/web/system/__client/api.schemas.ts +2 -1
  168. package/templates/src/app/web/system/locales/en-US.json +1 -8
  169. package/templates/src/app/web/system/locales/zh-CN.json +1 -8
  170. package/templates/src/app/web/system/pages/settings/index.tsx +17 -4
  171. package/templates/src/app/web/system/routes.ts +0 -6
  172. package/templates/src/oj-market/web/__tests__/CardGrid.test.tsx +33 -0
  173. package/templates/src/oj-market/web/__tests__/DetailDrawer.test.tsx +69 -0
  174. package/templates/src/oj-market/web/__tests__/marketClient.fake.ts +7 -1
  175. package/templates/src/oj-market/web/api/client.ts +3 -0
  176. package/templates/src/oj-market/web/api/defaultClient.ts +5 -0
  177. package/templates/src/oj-market/web/components/CardItem.tsx +44 -1
  178. package/templates/src/oj-market/web/components/DetailDrawer.tsx +17 -1
  179. package/templates/src/oj-market/web/entry.ts +31 -2
  180. package/templates/src/oj-market/web/locales/en-US.json +5 -1
  181. package/templates/src/oj-market/web/locales/zh-CN.json +5 -1
  182. package/templates/src/oj-market/web/publish/__client/api.schemas.ts +61 -0
  183. package/templates/src/oj-market/web/publish/__client/index.ts +164 -0
  184. package/templates/src/oj-market/web/publish/locales/en-US.json +80 -0
  185. package/templates/src/oj-market/web/publish/locales/zh-CN.json +80 -0
  186. package/templates/src/oj-market/web/publish/pages/history.tsx +112 -0
  187. package/templates/src/oj-market/web/publish/pages/index.tsx +196 -0
  188. package/templates/src/oj-market/web/publish/pages/model.ts +52 -0
  189. package/templates/src/oj-market/web/publish/pages/token-modal.tsx +82 -0
  190. package/templates/src/oj-market/web/publish/routes.ts +41 -0
  191. package/templates/src/oj-market/web/types.ts +30 -0
  192. package/templates/tests/lifecycle/compensate.spec.ts +207 -0
  193. package/templates/tests/lifecycle/deploy-smoke.spec.ts +38 -14
  194. package/templates/tests/lifecycle/installer.spec.ts +28 -9
  195. package/templates/tests/lifecycle/market-api.spec.ts +164 -12
  196. package/templates/tests/lifecycle/preflight.spec.ts +68 -0
  197. package/templates/tests/lifecycle/role-title-translate.spec.ts +2 -32
  198. package/templates/tests/lifecycle/text-edit.spec.ts +45 -27
  199. package/templates/tests/lifecycle/uninstall.spec.ts +36 -0
  200. package/templates/tests/publish-credential.spec.ts +354 -0
  201. package/templates/tests/publish-identity.spec.ts +44 -0
  202. package/templates/tests/wecom-client-timeout.spec.ts +33 -3
  203. package/templates/tests/wecom-landing.spec.ts +63 -1
  204. package/templates/tsconfig.paths.json +1 -0
  205. package/templates/web.config.ts +6 -4
  206. package/vendor/host-versions.json +3 -3
  207. package/shell-dist/assets/ahooks.js +0 -6909
  208. package/shell-dist/assets/antd-es-locale-zh_CN.js +0 -257
  209. package/shell-dist/assets/antd-img-crop.js +0 -1495
  210. package/shell-dist/assets/antd-locale-en_US.js +0 -374
  211. package/shell-dist/assets/antd-locale-zh_CN.js +0 -379
  212. package/shell-dist/assets/antd.js +0 -106874
  213. package/shell-dist/assets/clsx.js +0 -33
  214. package/shell-dist/assets/contract-errors.js +0 -30
  215. package/shell-dist/assets/contract.js +0 -18900
  216. package/shell-dist/assets/cssinjs.js +0 -2595
  217. package/shell-dist/assets/dayjs-plugin-advancedFormat.js +0 -98
  218. package/shell-dist/assets/dayjs-plugin-customParseFormat.js +0 -173
  219. package/shell-dist/assets/dayjs-plugin-isoWeek.js +0 -77
  220. package/shell-dist/assets/dayjs-plugin-localeData.js +0 -126
  221. package/shell-dist/assets/dayjs-plugin-quarterOfYear.js +0 -77
  222. package/shell-dist/assets/dayjs-plugin-relativeTime.js +0 -92
  223. package/shell-dist/assets/dayjs-plugin-weekOfYear.js +0 -73
  224. package/shell-dist/assets/dayjs-plugin-weekYear.js +0 -63
  225. package/shell-dist/assets/dayjs-plugin-weekday.js +0 -63
  226. package/shell-dist/assets/dayjs.js +0 -326
  227. package/shell-dist/assets/dnd-kit-core.js +0 -3601
  228. package/shell-dist/assets/dnd-kit-sortable.js +0 -717
  229. package/shell-dist/assets/dnd-kit-utilities.js +0 -340
  230. package/shell-dist/assets/i18next.js +0 -2321
  231. package/shell-dist/assets/icons-es-components-Context.js +0 -20
  232. package/shell-dist/assets/icons.js +0 -34961
  233. package/shell-dist/assets/jsx-dev-runtime.js +0 -75
  234. package/shell-dist/assets/jsx-runtime.js +0 -97
  235. package/shell-dist/assets/keepalive-for-react.js +0 -283
  236. package/shell-dist/assets/kit.js +0 -151
  237. package/shell-dist/assets/ky.js +0 -1427
  238. package/shell-dist/assets/motion-react.js +0 -13589
  239. package/shell-dist/assets/motion.js +0 -9959
  240. package/shell-dist/assets/nprogress.js +0 -314
  241. package/shell-dist/assets/ojm--ant-design-icons-es-icons-BarsOutlined.js +0 -7
  242. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CalendarOutlined.js +0 -7
  243. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretDownFilled.js +0 -7
  244. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretDownOutlined.js +0 -7
  245. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretUpOutlined.js +0 -7
  246. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CheckCircleFilled.js +0 -7
  247. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CheckOutlined.js +0 -7
  248. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ClockCircleOutlined.js +0 -7
  249. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CloseCircleFilled.js +0 -7
  250. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CloseOutlined.js +0 -7
  251. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CopyOutlined.js +0 -7
  252. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DeleteOutlined.js +0 -7
  253. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DoubleLeftOutlined.js +0 -7
  254. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DoubleRightOutlined.js +0 -7
  255. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DownOutlined.js +0 -7
  256. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DownloadOutlined.js +0 -7
  257. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EditOutlined.js +0 -7
  258. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EllipsisOutlined.js +0 -7
  259. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EnterOutlined.js +0 -7
  260. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ExclamationCircleFilled.js +0 -7
  261. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EyeInvisibleOutlined.js +0 -7
  262. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EyeOutlined.js +0 -7
  263. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FileOutlined.js +0 -7
  264. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FileTextOutlined.js +0 -7
  265. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FilterFilled.js +0 -7
  266. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FolderOpenOutlined.js +0 -7
  267. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FolderOutlined.js +0 -7
  268. package/shell-dist/assets/ojm--ant-design-icons-es-icons-HolderOutlined.js +0 -7
  269. package/shell-dist/assets/ojm--ant-design-icons-es-icons-InfoCircleFilled.js +0 -7
  270. package/shell-dist/assets/ojm--ant-design-icons-es-icons-LeftOutlined.js +0 -7
  271. package/shell-dist/assets/ojm--ant-design-icons-es-icons-LoadingOutlined.js +0 -7
  272. package/shell-dist/assets/ojm--ant-design-icons-es-icons-MinusOutlined.js +0 -7
  273. package/shell-dist/assets/ojm--ant-design-icons-es-icons-MinusSquareOutlined.js +0 -7
  274. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PaperClipOutlined.js +0 -7
  275. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PictureOutlined.js +0 -7
  276. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PlusOutlined.js +0 -7
  277. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PlusSquareOutlined.js +0 -7
  278. package/shell-dist/assets/ojm--ant-design-icons-es-icons-QuestionCircleOutlined.js +0 -7
  279. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ReloadOutlined.js +0 -7
  280. package/shell-dist/assets/ojm--ant-design-icons-es-icons-RightOutlined.js +0 -7
  281. package/shell-dist/assets/ojm--ant-design-icons-es-icons-RotateLeftOutlined.js +0 -7
  282. package/shell-dist/assets/ojm--ant-design-icons-es-icons-RotateRightOutlined.js +0 -7
  283. package/shell-dist/assets/ojm--ant-design-icons-es-icons-SearchOutlined.js +0 -7
  284. package/shell-dist/assets/ojm--ant-design-icons-es-icons-StarFilled.js +0 -7
  285. package/shell-dist/assets/ojm--ant-design-icons-es-icons-SwapOutlined.js +0 -7
  286. package/shell-dist/assets/ojm--ant-design-icons-es-icons-SwapRightOutlined.js +0 -7
  287. package/shell-dist/assets/ojm--ant-design-icons-es-icons-UpOutlined.js +0 -7
  288. package/shell-dist/assets/ojm--ant-design-icons-es-icons-VerticalAlignTopOutlined.js +0 -7
  289. package/shell-dist/assets/ojm--ant-design-icons-es-icons-WarningFilled.js +0 -7
  290. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ZoomInOutlined.js +0 -7
  291. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ZoomOutOutlined.js +0 -7
  292. package/shell-dist/assets/ojm-dayjs-locale-zh-cn.js +0 -81
  293. package/shell-dist/assets/pinyin-pro.js +0 -25175
  294. package/shell-dist/assets/pro-components.js +0 -44627
  295. package/shell-dist/assets/react-countup.js +0 -525
  296. package/shell-dist/assets/react-dom-client.js +0 -12134
  297. package/shell-dist/assets/react-dom.js +0 -266
  298. package/shell-dist/assets/react-error-boundary.js +0 -141
  299. package/shell-dist/assets/react-i18next.js +0 -1773
  300. package/shell-dist/assets/react-jss.js +0 -4089
  301. package/shell-dist/assets/react-query.js +0 -3072
  302. package/shell-dist/assets/react-router-dom.js +0 -9927
  303. package/shell-dist/assets/react-router.js +0 -14584
  304. package/shell-dist/assets/react.js +0 -590
  305. package/shell-dist/assets/runtime.js +0 -28311
  306. package/shell-dist/assets/simplebar-react.js +0 -1119
  307. package/shell-dist/assets/spin-delay.js +0 -111
  308. package/shell-dist/assets/tailwind-merge.js +0 -3364
  309. package/shell-dist/assets/use-sync-external-store-shim.js +0 -130
  310. package/shell-dist/assets/zustand-middleware.js +0 -513
  311. package/shell-dist/assets/zustand-react-shallow.js +0 -27
  312. package/shell-dist/assets/zustand-react.js +0 -39
  313. package/shell-dist/assets/zustand-shallow.js +0 -22
  314. package/shell-dist/assets/zustand-vanilla-shallow.js +0 -71
  315. package/shell-dist/assets/zustand-vanilla.js +0 -40
  316. package/shell-dist/assets/zustand.js +0 -32
  317. package/templates/seed.mysql.sql +0 -6
  318. package/templates/seed.pg.sql +0 -6
  319. package/templates/src/app/api/_platform/migrations/0001__create_users.mysql.sql +0 -9
  320. package/templates/src/app/api/_platform/migrations/0001__create_users.pg.sql +0 -9
  321. package/templates/src/app/api/_platform/migrations/0001__create_users.sql +0 -7
  322. package/templates/src/app/api/_platform/migrations/0002__add_users_avatar_base64.mysql.sql +0 -3
  323. package/templates/src/app/api/_platform/migrations/0002__add_users_avatar_base64.sql +0 -2
  324. package/templates/src/app/api/_platform/migrations/0003__users_source_display_name.mysql.sql +0 -5
  325. package/templates/src/app/api/_platform/migrations/0003__users_source_display_name.sql +0 -5
  326. package/templates/src/app/api/_platform/migrations/0004__sys_rbac.mysql.sql +0 -70
  327. package/templates/src/app/api/_platform/migrations/0004__sys_rbac.pg.sql +0 -67
  328. package/templates/src/app/api/_platform/migrations/0004__sys_rbac.sql +0 -67
  329. package/templates/src/app/api/_platform/migrations/0005__users_must_change.mysql.sql +0 -3
  330. package/templates/src/app/api/_platform/migrations/0005__users_must_change.sql +0 -2
  331. package/templates/src/app/api/_platform/migrations/0006__users_is_forbidden.mysql.sql +0 -3
  332. package/templates/src/app/api/_platform/migrations/0006__users_is_forbidden.sql +0 -3
  333. package/templates/src/app/api/_platform/migrations/0007__users_email.sql +0 -3
  334. package/templates/src/app/api/_platform/migrations/0008__sys_refresh_token.mysql.sql +0 -10
  335. package/templates/src/app/api/_platform/migrations/0008__sys_refresh_token.pg.sql +0 -10
  336. package/templates/src/app/api/_platform/migrations/0008__sys_refresh_token.sql +0 -11
  337. package/templates/src/app/api/_platform/migrations/0009__sys_throttle.mysql.sql +0 -12
  338. package/templates/src/app/api/_platform/migrations/0009__sys_throttle.pg.sql +0 -12
  339. package/templates/src/app/api/_platform/migrations/0009__sys_throttle.sql +0 -13
  340. package/templates/src/app/api/_platform/migrations/0010__sys_solution_route.mysql.sql +0 -17
  341. package/templates/src/app/api/_platform/migrations/0010__sys_solution_route.pg.sql +0 -16
  342. package/templates/src/app/api/_platform/migrations/0010__sys_solution_route.sql +0 -18
  343. package/templates/src/app/api/_platform/migrations/0011__sys_setting_group_label.mysql.sql +0 -2
  344. package/templates/src/app/api/_platform/migrations/0011__sys_setting_group_label.sql +0 -4
  345. package/templates/src/app/api/_platform/migrations/0012__market_history.mysql.sql +0 -13
  346. package/templates/src/app/api/_platform/migrations/0012__market_history.pg.sql +0 -12
  347. package/templates/src/app/api/_platform/migrations/0012__market_history.sql +0 -14
  348. package/templates/src/app/api/_platform/migrations/0013__users_profile.sql +0 -4
  349. package/templates/src/app/api/_platform/migrations/0014__reg_source_seq.mysql.sql +0 -9
  350. package/templates/src/app/api/_platform/migrations/0014__reg_source_seq.pg.sql +0 -7
  351. package/templates/src/app/api/_platform/migrations/0014__reg_source_seq.sql +0 -8
  352. package/templates/src/app/api/_platform/migrations/0015__tenant.mysql.sql +0 -12
  353. package/templates/src/app/api/_platform/migrations/0015__tenant.pg.sql +0 -11
  354. package/templates/src/app/api/_platform/migrations/0015__tenant.sql +0 -44
  355. package/templates/src/app/api/_platform/migrations/0016__org.mysql.sql +0 -41
  356. package/templates/src/app/api/_platform/migrations/0016__org.pg.sql +0 -40
  357. package/templates/src/app/api/_platform/migrations/0016__org.sql +0 -62
  358. package/templates/src/app/api/_platform/migrations/0017__users_employee_no.mysql.sql +0 -7
  359. package/templates/src/app/api/_platform/migrations/0017__users_employee_no.pg.sql +0 -4
  360. package/templates/src/app/api/_platform/migrations/0017__users_employee_no.sql +0 -8
  361. package/templates/src/app/api/_platform/migrations/0018__sys_role_title_key.mysql.sql +0 -3
  362. package/templates/src/app/api/_platform/migrations/0018__sys_role_title_key.pg.sql +0 -3
  363. package/templates/src/app/api/_platform/migrations/0018__sys_role_title_key.sql +0 -8
  364. package/templates/src/app/web/system/pages/login-methods/index.tsx +0 -30
  365. /package/shell-dist/assets/{nprogress-css.js → nprogress-css.1cq2pzkre0.js} +0 -0
  366. /package/shell-dist/assets/{ojm-antd-es-button.js → ojm-antd-es-button.2uriphio50.js} +0 -0
  367. /package/shell-dist/assets/{ojm-antd-es-modal.js → ojm-antd-es-modal.bf3tgdh8v0.js} +0 -0
  368. /package/shell-dist/assets/{ojm-antd-es-slider.js → ojm-antd-es-slider.xyvptuhid0.js} +0 -0
  369. /package/shell-dist/assets/{ojm-antd-es-upload.js → ojm-antd-es-upload.13gx45e0g0.js} +0 -0
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var dist_exports={};__export(dist_exports,{default:()=>SimpleBar});import*as React from"react";function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}var isObject_default=isObject;var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal_default=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal_default||freeSelf||Function("return this")(),root_default=root;var now=function(){return root_default.Date.now()},now_default=now;var reWhitespace=/\s/;function trimmedEndIndex(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index}var trimmedEndIndex_default=trimmedEndIndex;var reTrimStart=/^\s+/;function baseTrim(string){return string&&string.slice(0,trimmedEndIndex_default(string)+1).replace(reTrimStart,"")}var baseTrim_default=baseTrim;var Symbol2=root_default.Symbol,Symbol_default=Symbol2;var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch{}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}var getRawTag_default=getRawTag;var objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value){return nativeObjectToString2.call(value)}var objectToString_default=objectToString;var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value)?getRawTag_default(value):objectToString_default(value)}var baseGetTag_default=baseGetTag;function isObjectLike(value){return value!=null&&typeof value=="object"}var isObjectLike_default=isObjectLike;var symbolTag="[object Symbol]";function isSymbol(value){return typeof value=="symbol"||isObjectLike_default(value)&&baseGetTag_default(value)==symbolTag}var isSymbol_default=isSymbol;var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(value){if(typeof value=="number")return value;if(isSymbol_default(value))return NAN;if(isObject_default(value)){var other=typeof value.valueOf=="function"?value.valueOf():value;value=isObject_default(other)?other+"":other}if(typeof value!="string")return value===0?value:+value;value=baseTrim_default(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}var toNumber_default=toNumber;var FUNC_ERROR_TEXT="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT);wait=toNumber_default(wait)||0,isObject_default(options)&&(leading=!!options.leading,maxing="maxWait"in options,maxWait=maxing?nativeMax(toNumber_default(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing);function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args),result}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime,timeWaiting=wait-timeSinceLastCall;return maxing?nativeMin(timeWaiting,maxWait-timeSinceLastInvoke):timeWaiting}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return lastCallTime===void 0||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now_default();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function cancel(){timerId!==void 0&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return timerId===void 0?result:trailingEdge(now_default())}function debounced(){var time=now_default(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(timerId===void 0)return leadingEdge(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return timerId===void 0&&(timerId=setTimeout(timerExpired,wait)),result}return debounced.cancel=cancel,debounced.flush=flush,debounced}var debounce_default=debounce;var FUNC_ERROR_TEXT2="Expected a function";function throttle(func,wait,options){var leading=!0,trailing=!0;if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT2);return isObject_default(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce_default(func,wait,{leading,maxWait:wait,trailing})}var throttle_default=throttle;var __assign=function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)};function getElementWindow$1(element){return!element||!element.ownerDocument||!element.ownerDocument.defaultView?window:element.ownerDocument.defaultView}function getElementDocument$1(element){return!element||!element.ownerDocument?document:element.ownerDocument}var getOptions$1=function(obj){var initialObj={},options=Array.prototype.reduce.call(obj,function(acc,attribute){var option=attribute.name.match(/data-simplebar-(.+)/);if(option){var key=option[1].replace(/\W+(.)/g,function(_,chr){return chr.toUpperCase()});switch(attribute.value){case"true":acc[key]=!0;break;case"false":acc[key]=!1;break;case void 0:acc[key]=!0;break;default:acc[key]=attribute.value}}return acc},initialObj);return options};function addClasses$1(el,classes){var _a;el&&(_a=el.classList).add.apply(_a,classes.split(" "))}function removeClasses$1(el,classes){el&&classes.split(" ").forEach(function(className){el.classList.remove(className)})}function classNamesToQuery$1(classNames){return".".concat(classNames.split(" ").join("."))}var canUseDOM=!!(typeof window<"u"&&window.document&&window.document.createElement),helpers=Object.freeze({__proto__:null,addClasses:addClasses$1,canUseDOM,classNamesToQuery:classNamesToQuery$1,getElementDocument:getElementDocument$1,getElementWindow:getElementWindow$1,getOptions:getOptions$1,removeClasses:removeClasses$1}),cachedScrollbarWidth=null,cachedDevicePixelRatio=null;canUseDOM&&window.addEventListener("resize",function(){cachedDevicePixelRatio!==window.devicePixelRatio&&(cachedDevicePixelRatio=window.devicePixelRatio,cachedScrollbarWidth=null)});function scrollbarWidth(){if(cachedScrollbarWidth===null){if(typeof document>"u")return cachedScrollbarWidth=0,cachedScrollbarWidth;var body=document.body,box=document.createElement("div");box.classList.add("simplebar-hide-scrollbar"),body.appendChild(box);var width=box.getBoundingClientRect().right;body.removeChild(box),cachedScrollbarWidth=width}return cachedScrollbarWidth}var getElementWindow=getElementWindow$1,getElementDocument=getElementDocument$1,getOptions=getOptions$1,addClasses=addClasses$1,removeClasses=removeClasses$1,classNamesToQuery=classNamesToQuery$1,SimpleBarCore=(function(){function SimpleBarCore2(element,options){options===void 0&&(options={});var _this=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var elWindow=getElementWindow(_this.el);_this.scrollXTicking||(elWindow.requestAnimationFrame(_this.scrollX),_this.scrollXTicking=!0),_this.scrollYTicking||(elWindow.requestAnimationFrame(_this.scrollY),_this.scrollYTicking=!0),_this.isScrolling||(_this.isScrolling=!0,addClasses(_this.el,_this.classNames.scrolling)),_this.showScrollbar("x"),_this.showScrollbar("y"),_this.onStopScrolling()},this.scrollX=function(){_this.axis.x.isOverflowing&&_this.positionScrollbar("x"),_this.scrollXTicking=!1},this.scrollY=function(){_this.axis.y.isOverflowing&&_this.positionScrollbar("y"),_this.scrollYTicking=!1},this._onStopScrolling=function(){removeClasses(_this.el,_this.classNames.scrolling),_this.options.autoHide&&(_this.hideScrollbar("x"),_this.hideScrollbar("y")),_this.isScrolling=!1},this.onMouseEnter=function(){_this.isMouseEntering||(addClasses(_this.el,_this.classNames.mouseEntered),_this.showScrollbar("x"),_this.showScrollbar("y"),_this.isMouseEntering=!0),_this.onMouseEntered()},this._onMouseEntered=function(){removeClasses(_this.el,_this.classNames.mouseEntered),_this.options.autoHide&&(_this.hideScrollbar("x"),_this.hideScrollbar("y")),_this.isMouseEntering=!1},this._onMouseMove=function(e){_this.mouseX=e.clientX,_this.mouseY=e.clientY,(_this.axis.x.isOverflowing||_this.axis.x.forceVisible)&&_this.onMouseMoveForAxis("x"),(_this.axis.y.isOverflowing||_this.axis.y.forceVisible)&&_this.onMouseMoveForAxis("y")},this.onMouseLeave=function(){_this.onMouseMove.cancel(),(_this.axis.x.isOverflowing||_this.axis.x.forceVisible)&&_this.onMouseLeaveForAxis("x"),(_this.axis.y.isOverflowing||_this.axis.y.forceVisible)&&_this.onMouseLeaveForAxis("y"),_this.mouseX=-1,_this.mouseY=-1},this._onWindowResize=function(){_this.scrollbarWidth=_this.getScrollbarWidth(),_this.hideNativeScrollbar()},this.onPointerEvent=function(e){if(!(!_this.axis.x.track.el||!_this.axis.y.track.el||!_this.axis.x.scrollbar.el||!_this.axis.y.scrollbar.el)){var isWithinTrackXBounds,isWithinTrackYBounds;_this.axis.x.track.rect=_this.axis.x.track.el.getBoundingClientRect(),_this.axis.y.track.rect=_this.axis.y.track.el.getBoundingClientRect(),(_this.axis.x.isOverflowing||_this.axis.x.forceVisible)&&(isWithinTrackXBounds=_this.isWithinBounds(_this.axis.x.track.rect)),(_this.axis.y.isOverflowing||_this.axis.y.forceVisible)&&(isWithinTrackYBounds=_this.isWithinBounds(_this.axis.y.track.rect)),(isWithinTrackXBounds||isWithinTrackYBounds)&&(e.stopPropagation(),e.type==="pointerdown"&&e.pointerType!=="touch"&&(isWithinTrackXBounds&&(_this.axis.x.scrollbar.rect=_this.axis.x.scrollbar.el.getBoundingClientRect(),_this.isWithinBounds(_this.axis.x.scrollbar.rect)?_this.onDragStart(e,"x"):_this.onTrackClick(e,"x")),isWithinTrackYBounds&&(_this.axis.y.scrollbar.rect=_this.axis.y.scrollbar.el.getBoundingClientRect(),_this.isWithinBounds(_this.axis.y.scrollbar.rect)?_this.onDragStart(e,"y"):_this.onTrackClick(e,"y"))))}},this.drag=function(e){var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k,_l;if(!(!_this.draggedAxis||!_this.contentWrapperEl)){var eventOffset,track=_this.axis[_this.draggedAxis].track,trackSize=(_b=(_a=track.rect)===null||_a===void 0?void 0:_a[_this.axis[_this.draggedAxis].sizeAttr])!==null&&_b!==void 0?_b:0,scrollbar=_this.axis[_this.draggedAxis].scrollbar,contentSize=(_d=(_c=_this.contentWrapperEl)===null||_c===void 0?void 0:_c[_this.axis[_this.draggedAxis].scrollSizeAttr])!==null&&_d!==void 0?_d:0,hostSize=parseInt((_f=(_e=_this.elStyles)===null||_e===void 0?void 0:_e[_this.axis[_this.draggedAxis].sizeAttr])!==null&&_f!==void 0?_f:"0px",10);e.preventDefault(),e.stopPropagation(),_this.draggedAxis==="y"?eventOffset=e.pageY:eventOffset=e.pageX;var dragPos=eventOffset-((_h=(_g=track.rect)===null||_g===void 0?void 0:_g[_this.axis[_this.draggedAxis].offsetAttr])!==null&&_h!==void 0?_h:0)-_this.axis[_this.draggedAxis].dragOffset;dragPos=_this.draggedAxis==="x"&&_this.isRtl?((_k=(_j=track.rect)===null||_j===void 0?void 0:_j[_this.axis[_this.draggedAxis].sizeAttr])!==null&&_k!==void 0?_k:0)-scrollbar.size-dragPos:dragPos;var dragPerc=dragPos/(trackSize-scrollbar.size),scrollPos=dragPerc*(contentSize-hostSize);_this.draggedAxis==="x"&&_this.isRtl&&(scrollPos=!((_l=SimpleBarCore2.getRtlHelpers())===null||_l===void 0)&&_l.isScrollingToNegative?-scrollPos:scrollPos),_this.contentWrapperEl[_this.axis[_this.draggedAxis].scrollOffsetAttr]=scrollPos}},this.onEndDrag=function(e){_this.isDragging=!1;var elDocument=getElementDocument(_this.el),elWindow=getElementWindow(_this.el);e.preventDefault(),e.stopPropagation(),removeClasses(_this.el,_this.classNames.dragging),_this.onStopScrolling(),elDocument.removeEventListener("mousemove",_this.drag,!0),elDocument.removeEventListener("mouseup",_this.onEndDrag,!0),_this.removePreventClickId=elWindow.setTimeout(function(){elDocument.removeEventListener("click",_this.preventClick,!0),elDocument.removeEventListener("dblclick",_this.preventClick,!0),_this.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=element,this.options=__assign(__assign({},SimpleBarCore2.defaultOptions),options),this.classNames=__assign(__assign({},SimpleBarCore2.defaultOptions.classNames),options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=throttle_default(this._onMouseMove,64),this.onWindowResize=debounce_default(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=debounce_default(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=debounce_default(this._onMouseEntered,this.stopScrollDelay),this.init()}return SimpleBarCore2.getRtlHelpers=function(){if(SimpleBarCore2.rtlHelpers)return SimpleBarCore2.rtlHelpers;var dummyDiv=document.createElement("div");dummyDiv.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var scrollbarDummyEl=dummyDiv.firstElementChild,dummyChild=scrollbarDummyEl?.firstElementChild;if(!dummyChild)return null;document.body.appendChild(scrollbarDummyEl),scrollbarDummyEl.scrollLeft=0;var dummyContainerOffset=SimpleBarCore2.getOffset(scrollbarDummyEl),dummyChildOffset=SimpleBarCore2.getOffset(dummyChild);scrollbarDummyEl.scrollLeft=-999;var dummyChildOffsetAfterScroll=SimpleBarCore2.getOffset(dummyChild);return document.body.removeChild(scrollbarDummyEl),SimpleBarCore2.rtlHelpers={isScrollOriginAtZero:dummyContainerOffset.left!==dummyChildOffset.left,isScrollingToNegative:dummyChildOffset.left!==dummyChildOffsetAfterScroll.left},SimpleBarCore2.rtlHelpers},SimpleBarCore2.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:scrollbarWidth()}catch{return scrollbarWidth()}},SimpleBarCore2.getOffset=function(el){var rect=el.getBoundingClientRect(),elDocument=getElementDocument(el),elWindow=getElementWindow(el);return{top:rect.top+(elWindow.pageYOffset||elDocument.documentElement.scrollTop),left:rect.left+(elWindow.pageXOffset||elDocument.documentElement.scrollLeft)}},SimpleBarCore2.prototype.init=function(){canUseDOM&&(this.initDOM(),this.rtlHelpers=SimpleBarCore2.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},SimpleBarCore2.prototype.initDOM=function(){var _a,_b;this.wrapperEl=this.el.querySelector(classNamesToQuery(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(classNamesToQuery(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(classNamesToQuery(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(classNamesToQuery(this.classNames.offset)),this.maskEl=this.el.querySelector(classNamesToQuery(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,classNamesToQuery(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(classNamesToQuery(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(classNamesToQuery(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(classNamesToQuery(this.classNames.track)).concat(classNamesToQuery(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(classNamesToQuery(this.classNames.track)).concat(classNamesToQuery(this.classNames.vertical))),this.axis.x.scrollbar.el=((_a=this.axis.x.track.el)===null||_a===void 0?void 0:_a.querySelector(classNamesToQuery(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((_b=this.axis.y.track.el)===null||_b===void 0?void 0:_b.querySelector(classNamesToQuery(this.classNames.scrollbar)))||null,this.options.autoHide||(addClasses(this.axis.x.scrollbar.el,this.classNames.visible),addClasses(this.axis.y.scrollbar.el,this.classNames.visible))},SimpleBarCore2.prototype.initListeners=function(){var _this=this,_a,elWindow=getElementWindow(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(_a=this.contentWrapperEl)===null||_a===void 0||_a.addEventListener("scroll",this.onScroll),elWindow.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var resizeObserverStarted_1=!1,resizeObserver=elWindow.ResizeObserver||ResizeObserver;this.resizeObserver=new resizeObserver(function(){resizeObserverStarted_1&&elWindow.requestAnimationFrame(function(){_this.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),elWindow.requestAnimationFrame(function(){resizeObserverStarted_1=!0})}this.mutationObserver=new elWindow.MutationObserver(function(){elWindow.requestAnimationFrame(function(){_this.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},SimpleBarCore2.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var elWindow=getElementWindow(this.el);this.elStyles=elWindow.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var contentElOffsetWidth=this.contentEl.offsetWidth,isHeightAuto=this.heightAutoObserverEl.offsetHeight<=1,isWidthAuto=this.heightAutoObserverEl.offsetWidth<=1||contentElOffsetWidth>0,contentWrapperElOffsetWidth=this.contentWrapperEl.offsetWidth,elOverflowX=this.elStyles.overflowX,elOverflowY=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var contentElScrollHeight=this.contentEl.scrollHeight,contentElScrollWidth=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=isHeightAuto?"auto":"100%",this.placeholderEl.style.width=isWidthAuto?"".concat(contentElOffsetWidth||contentElScrollWidth,"px"):"auto",this.placeholderEl.style.height="".concat(contentElScrollHeight,"px");var contentWrapperElOffsetHeight=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=contentElOffsetWidth!==0&&contentElScrollWidth>contentElOffsetWidth,this.axis.y.isOverflowing=contentElScrollHeight>contentWrapperElOffsetHeight,this.axis.x.isOverflowing=elOverflowX==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=elOverflowY==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var offsetForXScrollbar=this.axis.x.isOverflowing?this.scrollbarWidth:0,offsetForYScrollbar=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&contentElScrollWidth>contentWrapperElOffsetWidth-offsetForYScrollbar,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&contentElScrollHeight>contentWrapperElOffsetHeight-offsetForXScrollbar,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},SimpleBarCore2.prototype.getScrollbarSize=function(axis){var _a,_b;if(axis===void 0&&(axis="y"),!this.axis[axis].isOverflowing||!this.contentEl)return 0;var contentSize=this.contentEl[this.axis[axis].scrollSizeAttr],trackSize=(_b=(_a=this.axis[axis].track.el)===null||_a===void 0?void 0:_a[this.axis[axis].offsetSizeAttr])!==null&&_b!==void 0?_b:0,scrollbarRatio=trackSize/contentSize,scrollbarSize;return scrollbarSize=Math.max(~~(scrollbarRatio*trackSize),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(scrollbarSize=Math.min(scrollbarSize,this.options.scrollbarMaxSize)),scrollbarSize},SimpleBarCore2.prototype.positionScrollbar=function(axis){var _a,_b,_c;axis===void 0&&(axis="y");var scrollbar=this.axis[axis].scrollbar;if(!(!this.axis[axis].isOverflowing||!this.contentWrapperEl||!scrollbar.el||!this.elStyles)){var contentSize=this.contentWrapperEl[this.axis[axis].scrollSizeAttr],trackSize=((_a=this.axis[axis].track.el)===null||_a===void 0?void 0:_a[this.axis[axis].offsetSizeAttr])||0,hostSize=parseInt(this.elStyles[this.axis[axis].sizeAttr],10),scrollOffset=this.contentWrapperEl[this.axis[axis].scrollOffsetAttr];scrollOffset=axis==="x"&&this.isRtl&&(!((_b=SimpleBarCore2.getRtlHelpers())===null||_b===void 0)&&_b.isScrollOriginAtZero)?-scrollOffset:scrollOffset,axis==="x"&&this.isRtl&&(scrollOffset=!((_c=SimpleBarCore2.getRtlHelpers())===null||_c===void 0)&&_c.isScrollingToNegative?scrollOffset:-scrollOffset);var scrollPourcent=scrollOffset/(contentSize-hostSize),handleOffset=~~((trackSize-scrollbar.size)*scrollPourcent);handleOffset=axis==="x"&&this.isRtl?-handleOffset+(trackSize-scrollbar.size):handleOffset,scrollbar.el.style.transform=axis==="x"?"translate3d(".concat(handleOffset,"px, 0, 0)"):"translate3d(0, ".concat(handleOffset,"px, 0)")}},SimpleBarCore2.prototype.toggleTrackVisibility=function(axis){axis===void 0&&(axis="y");var track=this.axis[axis].track.el,scrollbar=this.axis[axis].scrollbar.el;!track||!scrollbar||!this.contentWrapperEl||(this.axis[axis].isOverflowing||this.axis[axis].forceVisible?(track.style.visibility="visible",this.contentWrapperEl.style[this.axis[axis].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(axis))):(track.style.visibility="hidden",this.contentWrapperEl.style[this.axis[axis].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(axis))),this.axis[axis].isOverflowing?scrollbar.style.display="block":scrollbar.style.display="none")},SimpleBarCore2.prototype.showScrollbar=function(axis){axis===void 0&&(axis="y"),this.axis[axis].isOverflowing&&!this.axis[axis].scrollbar.isVisible&&(addClasses(this.axis[axis].scrollbar.el,this.classNames.visible),this.axis[axis].scrollbar.isVisible=!0)},SimpleBarCore2.prototype.hideScrollbar=function(axis){axis===void 0&&(axis="y"),!this.isDragging&&this.axis[axis].isOverflowing&&this.axis[axis].scrollbar.isVisible&&(removeClasses(this.axis[axis].scrollbar.el,this.classNames.visible),this.axis[axis].scrollbar.isVisible=!1)},SimpleBarCore2.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},SimpleBarCore2.prototype.onMouseMoveForAxis=function(axis){axis===void 0&&(axis="y");var currentAxis=this.axis[axis];!currentAxis.track.el||!currentAxis.scrollbar.el||(currentAxis.track.rect=currentAxis.track.el.getBoundingClientRect(),currentAxis.scrollbar.rect=currentAxis.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(currentAxis.track.rect)?(this.showScrollbar(axis),addClasses(currentAxis.track.el,this.classNames.hover),this.isWithinBounds(currentAxis.scrollbar.rect)?addClasses(currentAxis.scrollbar.el,this.classNames.hover):removeClasses(currentAxis.scrollbar.el,this.classNames.hover)):(removeClasses(currentAxis.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(axis)))},SimpleBarCore2.prototype.onMouseLeaveForAxis=function(axis){axis===void 0&&(axis="y"),removeClasses(this.axis[axis].track.el,this.classNames.hover),removeClasses(this.axis[axis].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(axis)},SimpleBarCore2.prototype.onDragStart=function(e,axis){var _a;axis===void 0&&(axis="y"),this.isDragging=!0;var elDocument=getElementDocument(this.el),elWindow=getElementWindow(this.el),scrollbar=this.axis[axis].scrollbar,eventOffset=axis==="y"?e.pageY:e.pageX;this.axis[axis].dragOffset=eventOffset-(((_a=scrollbar.rect)===null||_a===void 0?void 0:_a[this.axis[axis].offsetAttr])||0),this.draggedAxis=axis,addClasses(this.el,this.classNames.dragging),elDocument.addEventListener("mousemove",this.drag,!0),elDocument.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(elDocument.addEventListener("click",this.preventClick,!0),elDocument.addEventListener("dblclick",this.preventClick,!0)):(elWindow.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},SimpleBarCore2.prototype.onTrackClick=function(e,axis){var _this=this,_a,_b,_c,_d;axis===void 0&&(axis="y");var currentAxis=this.axis[axis];if(!(!this.options.clickOnTrack||!currentAxis.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var elWindow=getElementWindow(this.el);this.axis[axis].scrollbar.rect=currentAxis.scrollbar.el.getBoundingClientRect();var scrollbar=this.axis[axis].scrollbar,scrollbarOffset=(_b=(_a=scrollbar.rect)===null||_a===void 0?void 0:_a[this.axis[axis].offsetAttr])!==null&&_b!==void 0?_b:0,hostSize=parseInt((_d=(_c=this.elStyles)===null||_c===void 0?void 0:_c[this.axis[axis].sizeAttr])!==null&&_d!==void 0?_d:"0px",10),scrolled=this.contentWrapperEl[this.axis[axis].scrollOffsetAttr],t=axis==="y"?this.mouseY-scrollbarOffset:this.mouseX-scrollbarOffset,dir=t<0?-1:1,scrollSize=dir===-1?scrolled-hostSize:scrolled+hostSize,speed=40,scrollTo=function(){_this.contentWrapperEl&&(dir===-1?scrolled>scrollSize&&(scrolled-=speed,_this.contentWrapperEl[_this.axis[axis].scrollOffsetAttr]=scrolled,elWindow.requestAnimationFrame(scrollTo)):scrolled<scrollSize&&(scrolled+=speed,_this.contentWrapperEl[_this.axis[axis].scrollOffsetAttr]=scrolled,elWindow.requestAnimationFrame(scrollTo)))};scrollTo()}},SimpleBarCore2.prototype.getContentElement=function(){return this.contentEl},SimpleBarCore2.prototype.getScrollElement=function(){return this.contentWrapperEl},SimpleBarCore2.prototype.removeListeners=function(){var elWindow=getElementWindow(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),elWindow.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},SimpleBarCore2.prototype.unMount=function(){this.removeListeners()},SimpleBarCore2.prototype.isWithinBounds=function(bbox){return this.mouseX>=bbox.left&&this.mouseX<=bbox.left+bbox.width&&this.mouseY>=bbox.top&&this.mouseY<=bbox.top+bbox.height},SimpleBarCore2.prototype.findChild=function(el,query){var matches=el.matches||el.webkitMatchesSelector||el.mozMatchesSelector||el.msMatchesSelector;return Array.prototype.filter.call(el.children,function(child){return matches.call(child,query)})[0]},SimpleBarCore2.rtlHelpers=null,SimpleBarCore2.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},SimpleBarCore2.getOptions=getOptions,SimpleBarCore2.helpers=helpers,SimpleBarCore2})();var __assign2=function(){return __assign2=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign2.apply(this,arguments)};function __rest(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t}var SimpleBar=React.forwardRef(function(_a,ref){var children=_a.children,_b=_a.scrollableNodeProps,scrollableNodeProps=_b===void 0?{}:_b,otherProps=__rest(_a,["children","scrollableNodeProps"]),elRef=React.useRef(),scrollableNodeRef=React.useRef(),contentNodeRef=React.useRef(),options={},rest={};Object.keys(otherProps).forEach(function(key){Object.prototype.hasOwnProperty.call(SimpleBarCore.defaultOptions,key)?options[key]=otherProps[key]:rest[key]=otherProps[key]});var classNames=__assign2(__assign2({},SimpleBarCore.defaultOptions.classNames),options.classNames),scrollableNodeFullProps=__assign2(__assign2({},scrollableNodeProps),{className:"".concat(classNames.contentWrapper).concat(scrollableNodeProps.className?" ".concat(scrollableNodeProps.className):""),tabIndex:options.tabIndex||SimpleBarCore.defaultOptions.tabIndex,role:"region","aria-label":options.ariaLabel||SimpleBarCore.defaultOptions.ariaLabel});return React.useEffect(function(){var instance;return scrollableNodeRef.current=scrollableNodeFullProps.ref?scrollableNodeFullProps.ref.current:scrollableNodeRef.current,elRef.current&&(instance=new SimpleBarCore(elRef.current,__assign2(__assign2(__assign2({},options),scrollableNodeRef.current&&{scrollableNode:scrollableNodeRef.current}),contentNodeRef.current&&{contentNode:contentNodeRef.current})),typeof ref=="function"?ref(instance):ref&&(ref.current=instance)),function(){instance?.unMount(),instance=null,typeof ref=="function"&&ref(null)}},[]),React.createElement("div",__assign2({"data-simplebar":"init",ref:elRef},rest),React.createElement("div",{className:classNames.wrapper},React.createElement("div",{className:classNames.heightAutoObserverWrapperEl},React.createElement("div",{className:classNames.heightAutoObserverEl})),React.createElement("div",{className:classNames.mask},React.createElement("div",{className:classNames.offset},typeof children=="function"?children({scrollableNodeRef,scrollableNodeProps:__assign2(__assign2({},scrollableNodeFullProps),{ref:scrollableNodeRef}),contentNodeRef,contentNodeProps:{className:classNames.contentEl,ref:contentNodeRef}}):React.createElement("div",__assign2({},scrollableNodeFullProps),React.createElement("div",{className:classNames.contentEl},children)))),React.createElement("div",{className:classNames.placeholder})),React.createElement("div",{className:"".concat(classNames.track," ").concat(classNames.horizontal)},React.createElement("div",{className:classNames.scrollbar})),React.createElement("div",{className:"".concat(classNames.track," ").concat(classNames.vertical)},React.createElement("div",{className:classNames.scrollbar})))});SimpleBar.displayName="SimpleBar";var ojm_shim_simplebar_react_default=SimpleBar??dist_exports;export{ojm_shim_simplebar_react_default as default};
@@ -0,0 +1,9 @@
1
+ import * as __rad_ext_0 from "react";
2
+ var __rad_require = {
3
+ "react": __rad_ext_0
4
+ };
5
+ var require = function (id) {
6
+ if (Object.prototype.hasOwnProperty.call(__rad_require, id)) return __rad_require[id];
7
+ throw new Error("Dynamic require of " + JSON.stringify(id) + " is not supported(该说明符未在共享表内登记)");
8
+ };
9
+ var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var __commonJS=(cb,mod)=>function(){try{return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports}catch(e){throw mod=0,e}};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var require_dist=__commonJS({"../../node_modules/.pnpm/spin-delay@2.0.1_react@19.2.8/node_modules/spin-delay/dist/index.js"(exports,module){(function(global,factory){typeof exports=="object"&&typeof module<"u"?factory(exports,__require("react")):typeof define=="function"&&define.amd?define(["exports","react"],factory):(global=global||self,factory(global.spinDelay={},global.react))})(exports,(function(exports2,react){let defaultOptions3={delay:500,minDuration:200,ssr:!0};function useIsSSR(){let[isSSR,setIsSSR]=react.useState(!0);return react.useEffect(()=>{setIsSSR(!1)},[]),isSSR}function useSpinDelay3(loading,options){options=Object.assign({},defaultOptions3,options);let isSSR=useIsSSR()&&options.ssr,initialState=isSSR&&loading?"DISPLAY":"IDLE",[state,setState]=react.useState(initialState),timeout=react.useRef(null);return react.useEffect(()=>{if(loading&&(state==="IDLE"||isSSR)){clearTimeout(timeout.current);let delay=isSSR?0:options.delay;timeout.current=setTimeout(()=>{if(!loading)return setState("IDLE");timeout.current=setTimeout(()=>{setState("EXPIRE")},options.minDuration),setState("DISPLAY")},delay),isSSR||setState("DELAY")}!loading&&state!=="DISPLAY"&&(clearTimeout(timeout.current),setState("IDLE"))},[loading,state,options.delay,options.minDuration,isSSR]),react.useEffect(()=>()=>clearTimeout(timeout.current),[]),state==="DISPLAY"||state==="EXPIRE"}exports2.defaultOptions=defaultOptions3,exports2.useSpinDelay=useSpinDelay3}))}});var __m=__toESM(require_dist(),1),defaultOptions2=__m.defaultOptions,useSpinDelay2=__m.useSpinDelay,ojm_shim_spin_delay_default=__m.default??__m;export{ojm_shim_spin_delay_default as default,defaultOptions2 as defaultOptions,useSpinDelay2 as useSpinDelay};
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var bundle_mjs_exports={};__export(bundle_mjs_exports,{createTailwindMerge:()=>createTailwindMerge,extendTailwindMerge:()=>extendTailwindMerge,fromTheme:()=>fromTheme,getDefaultConfig:()=>getDefaultConfig,mergeConfigs:()=>mergeConfigs,twJoin:()=>twJoin,twMerge:()=>twMerge,validators:()=>validators});var concatArrays=(array1,array2)=>{let combinedArray=new Array(array1.length+array2.length);for(let i=0;i<array1.length;i++)combinedArray[i]=array1[i];for(let i=0;i<array2.length;i++)combinedArray[array1.length+i]=array2[i];return combinedArray},createClassValidatorObject=(classGroupId,validator)=>({classGroupId,validator}),createClassPartObject=(nextPart=new Map,validators2=null,classGroupId)=>({nextPart,validators:validators2,classGroupId});var EMPTY_CONFLICTS=[],ARBITRARY_PROPERTY_PREFIX="arbitrary..",createClassGroupUtils=config=>{let classMap=createClassMap(config),{conflictingClassGroups,conflictingClassGroupModifiers}=config;return{getClassGroupId:className=>{if(className.startsWith("[")&&className.endsWith("]"))return getGroupIdForArbitraryProperty(className);let classParts=className.split("-"),startIndex=classParts[0]===""&&classParts.length>1?1:0;return getGroupRecursive(classParts,startIndex,classMap)},getConflictingClassGroupIds:(classGroupId,hasPostfixModifier)=>{if(hasPostfixModifier){let modifierConflicts=conflictingClassGroupModifiers[classGroupId],baseConflicts=conflictingClassGroups[classGroupId];return modifierConflicts?baseConflicts?concatArrays(baseConflicts,modifierConflicts):modifierConflicts:baseConflicts||EMPTY_CONFLICTS}return conflictingClassGroups[classGroupId]||EMPTY_CONFLICTS}}},getGroupRecursive=(classParts,startIndex,classPartObject)=>{if(classParts.length-startIndex===0)return classPartObject.classGroupId;let currentClassPart=classParts[startIndex],nextClassPartObject=classPartObject.nextPart.get(currentClassPart);if(nextClassPartObject){let result=getGroupRecursive(classParts,startIndex+1,nextClassPartObject);if(result)return result}let validators2=classPartObject.validators;if(validators2===null)return;let classRest=startIndex===0?classParts.join("-"):classParts.slice(startIndex).join("-"),validatorsLength=validators2.length;for(let i=0;i<validatorsLength;i++){let validatorObj=validators2[i];if(validatorObj.validator(classRest))return validatorObj.classGroupId}},getGroupIdForArbitraryProperty=className=>className.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let content=className.slice(1,-1),colonIndex=content.indexOf(":"),property=content.slice(0,colonIndex);return property?ARBITRARY_PROPERTY_PREFIX+property:void 0})(),createClassMap=config=>{let{theme,classGroups}=config;return processClassGroups(classGroups,theme)},processClassGroups=(classGroups,theme)=>{let classMap=createClassPartObject();for(let classGroupId in classGroups){let group=classGroups[classGroupId];processClassesRecursively(group,classMap,classGroupId,theme)}return classMap},processClassesRecursively=(classGroup,classPartObject,classGroupId,theme)=>{let len=classGroup.length;for(let i=0;i<len;i++){let classDefinition=classGroup[i];processClassDefinition(classDefinition,classPartObject,classGroupId,theme)}},processClassDefinition=(classDefinition,classPartObject,classGroupId,theme)=>{if(typeof classDefinition=="string"){processStringDefinition(classDefinition,classPartObject,classGroupId);return}if(typeof classDefinition=="function"){processFunctionDefinition(classDefinition,classPartObject,classGroupId,theme);return}processObjectDefinition(classDefinition,classPartObject,classGroupId,theme)},processStringDefinition=(classDefinition,classPartObject,classGroupId)=>{let classPartObjectToEdit=classDefinition===""?classPartObject:getPart(classPartObject,classDefinition);classPartObjectToEdit.classGroupId=classGroupId},processFunctionDefinition=(classDefinition,classPartObject,classGroupId,theme)=>{if(isThemeGetter(classDefinition)){processClassesRecursively(classDefinition(theme),classPartObject,classGroupId,theme);return}classPartObject.validators===null&&(classPartObject.validators=[]),classPartObject.validators.push(createClassValidatorObject(classGroupId,classDefinition))},processObjectDefinition=(classDefinition,classPartObject,classGroupId,theme)=>{let entries=Object.entries(classDefinition),len=entries.length;for(let i=0;i<len;i++){let[key,value]=entries[i];processClassesRecursively(value,getPart(classPartObject,key),classGroupId,theme)}},getPart=(classPartObject,path)=>{let current=classPartObject,parts=path.split("-"),len=parts.length;for(let i=0;i<len;i++){let part=parts[i],next=current.nextPart.get(part);next||(next=createClassPartObject(),current.nextPart.set(part,next)),current=next}return current},isThemeGetter=func=>"isThemeGetter"in func&&func.isThemeGetter===!0,createLruCache=maxCacheSize=>{if(maxCacheSize<1)return{get:()=>{},set:()=>{}};let cacheSize=0,cache=Object.create(null),previousCache=Object.create(null),update=(key,value)=>{cache[key]=value,cacheSize++,cacheSize>maxCacheSize&&(cacheSize=0,previousCache=cache,cache=Object.create(null))};return{get(key){let value=cache[key];if(value!==void 0)return value;if((value=previousCache[key])!==void 0)return update(key,value),value},set(key,value){key in cache?cache[key]=value:update(key,value)}}};var EMPTY_MODIFIERS=[],createResultObject=(modifiers,hasImportantModifier,baseClassName,maybePostfixModifierPosition,isExternal)=>({modifiers,hasImportantModifier,baseClassName,maybePostfixModifierPosition,isExternal}),createParseClassName=config=>{let{prefix,experimentalParseClassName}=config,parseClassName=className=>{let modifiers=[],bracketDepth=0,parenDepth=0,modifierStart=0,postfixModifierPosition,len=className.length;for(let index=0;index<len;index++){let currentCharacter=className[index];if(bracketDepth===0&&parenDepth===0){if(currentCharacter===":"){modifiers.push(className.slice(modifierStart,index)),modifierStart=index+1;continue}if(currentCharacter==="/"){postfixModifierPosition=index;continue}}currentCharacter==="["?bracketDepth++:currentCharacter==="]"?bracketDepth--:currentCharacter==="("?parenDepth++:currentCharacter===")"&&parenDepth--}let baseClassNameWithImportantModifier=modifiers.length===0?className:className.slice(modifierStart),baseClassName=baseClassNameWithImportantModifier,hasImportantModifier=!1;baseClassNameWithImportantModifier.endsWith("!")?(baseClassName=baseClassNameWithImportantModifier.slice(0,-1),hasImportantModifier=!0):baseClassNameWithImportantModifier.startsWith("!")&&(baseClassName=baseClassNameWithImportantModifier.slice(1),hasImportantModifier=!0);let maybePostfixModifierPosition=postfixModifierPosition&&postfixModifierPosition>modifierStart?postfixModifierPosition-modifierStart:void 0;return createResultObject(modifiers,hasImportantModifier,baseClassName,maybePostfixModifierPosition)};if(prefix){let fullPrefix=prefix+":",parseClassNameOriginal=parseClassName;parseClassName=className=>className.startsWith(fullPrefix)?parseClassNameOriginal(className.slice(fullPrefix.length)):createResultObject(EMPTY_MODIFIERS,!1,className,void 0,!0)}if(experimentalParseClassName){let parseClassNameOriginal=parseClassName;parseClassName=className=>experimentalParseClassName({className,parseClassName:parseClassNameOriginal})}return parseClassName},createSortModifiers=config=>{let modifierWeights=new Map;return config.orderSensitiveModifiers.forEach((mod,index)=>{modifierWeights.set(mod,1e6+index)}),modifiers=>{let result=[],currentSegment=[];for(let i=0;i<modifiers.length;i++){let modifier=modifiers[i],isArbitrary=modifier[0]==="[",isOrderSensitive=modifierWeights.has(modifier);isArbitrary||isOrderSensitive?(currentSegment.length>0&&(currentSegment.sort(),result.push(...currentSegment),currentSegment=[]),result.push(modifier)):currentSegment.push(modifier)}return currentSegment.length>0&&(currentSegment.sort(),result.push(...currentSegment)),result}},createConfigUtils=config=>({cache:createLruCache(config.cacheSize),parseClassName:createParseClassName(config),sortModifiers:createSortModifiers(config),postfixLookupClassGroupIds:createPostfixLookupClassGroupIds(config),...createClassGroupUtils(config)}),createPostfixLookupClassGroupIds=config=>{let lookup=Object.create(null),classGroupIds=config.postfixLookupClassGroups;if(classGroupIds)for(let i=0;i<classGroupIds.length;i++)lookup[classGroupIds[i]]=!0;return lookup},SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(classList,configUtils)=>{let{parseClassName,getClassGroupId,getConflictingClassGroupIds,sortModifiers,postfixLookupClassGroupIds}=configUtils,classGroupsInConflict=[],classNames=classList.trim().split(SPLIT_CLASSES_REGEX),result="";for(let index=classNames.length-1;index>=0;index-=1){let originalClassName=classNames[index],{isExternal,modifiers,hasImportantModifier,baseClassName,maybePostfixModifierPosition}=parseClassName(originalClassName);if(isExternal){result=originalClassName+(result.length>0?" "+result:result);continue}let hasPostfixModifier=!!maybePostfixModifierPosition,classGroupId;if(hasPostfixModifier){let baseClassNameWithoutPostfix=baseClassName.substring(0,maybePostfixModifierPosition);classGroupId=getClassGroupId(baseClassNameWithoutPostfix);let classGroupIdWithPostfix=classGroupId&&postfixLookupClassGroupIds[classGroupId]?getClassGroupId(baseClassName):void 0;classGroupIdWithPostfix&&classGroupIdWithPostfix!==classGroupId&&(classGroupId=classGroupIdWithPostfix,hasPostfixModifier=!1)}else classGroupId=getClassGroupId(baseClassName);if(!classGroupId){if(!hasPostfixModifier){result=originalClassName+(result.length>0?" "+result:result);continue}if(classGroupId=getClassGroupId(baseClassName),!classGroupId){result=originalClassName+(result.length>0?" "+result:result);continue}hasPostfixModifier=!1}let variantModifier=modifiers.length===0?"":modifiers.length===1?modifiers[0]:sortModifiers(modifiers).join(":"),modifierId=hasImportantModifier?variantModifier+"!":variantModifier,classId=modifierId+classGroupId;if(classGroupsInConflict.indexOf(classId)>-1)continue;classGroupsInConflict.push(classId);let conflictGroups=getConflictingClassGroupIds(classGroupId,hasPostfixModifier);for(let i=0;i<conflictGroups.length;++i){let group=conflictGroups[i];classGroupsInConflict.push(modifierId+group)}result=originalClassName+(result.length>0?" "+result:result)}return result},twJoin=(...classLists)=>{let index=0,argument,resolvedValue,string="";for(;index<classLists.length;)(argument=classLists[index++])&&(resolvedValue=toValue(argument))&&(string&&(string+=" "),string+=resolvedValue);return string},toValue=mix=>{if(typeof mix=="string")return mix;let resolvedValue,string="";for(let k=0;k<mix.length;k++)mix[k]&&(resolvedValue=toValue(mix[k]))&&(string&&(string+=" "),string+=resolvedValue);return string},createTailwindMerge=(createConfigFirst,...createConfigRest)=>{let configUtils,cacheGet,cacheSet,functionToCall,initTailwindMerge=classList=>{let config=createConfigRest.reduce((previousConfig,createConfigCurrent)=>createConfigCurrent(previousConfig),createConfigFirst());return configUtils=createConfigUtils(config),cacheGet=configUtils.cache.get,cacheSet=configUtils.cache.set,functionToCall=tailwindMerge,tailwindMerge(classList)},tailwindMerge=classList=>{let cachedResult=cacheGet(classList);if(cachedResult)return cachedResult;let result=mergeClassList(classList,configUtils);return cacheSet(classList,result),result};return functionToCall=initTailwindMerge,(...args)=>functionToCall(twJoin(...args))},fallbackThemeArr=[],fromTheme=key=>{let themeGetter=theme=>theme[key]||fallbackThemeArr;return themeGetter.isThemeGetter=!0,themeGetter},arbitraryValueRegex=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,arbitraryVariableRegex=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fractionRegex=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isFraction=value=>fractionRegex.test(value),isNumber=value=>!!value&&!Number.isNaN(Number(value)),isInteger=value=>!!value&&Number.isInteger(Number(value)),isPercent=value=>value.endsWith("%")&&isNumber(value.slice(0,-1)),isTshirtSize=value=>tshirtUnitRegex.test(value),isAny=()=>!0,isLengthOnly=value=>lengthUnitRegex.test(value)&&!colorFunctionRegex.test(value),isNever=()=>!1,isShadow=value=>shadowRegex.test(value),isImage=value=>imageRegex.test(value),isAnyNonArbitrary=value=>!isArbitraryValue(value)&&!isArbitraryVariable(value),isNamedContainerQuery=value=>value.startsWith("@container")&&(value[10]==="/"&&value[11]!==void 0||value[11]==="s"&&value[16]!==void 0&&value.startsWith("-size/",10)||value[11]==="n"&&value[18]!==void 0&&value.startsWith("-normal/",10)),isArbitrarySize=value=>getIsArbitraryValue(value,isLabelSize,isNever),isArbitraryValue=value=>arbitraryValueRegex.test(value),isArbitraryLength=value=>getIsArbitraryValue(value,isLabelLength,isLengthOnly),isArbitraryNumber=value=>getIsArbitraryValue(value,isLabelNumber,isNumber),isArbitraryWeight=value=>getIsArbitraryValue(value,isLabelWeight,isAny),isArbitraryFamilyName=value=>getIsArbitraryValue(value,isLabelFamilyName,isNever),isArbitraryPosition=value=>getIsArbitraryValue(value,isLabelPosition,isNever),isArbitraryImage=value=>getIsArbitraryValue(value,isLabelImage,isImage),isArbitraryShadow=value=>getIsArbitraryValue(value,isLabelShadow,isShadow),isArbitraryVariable=value=>arbitraryVariableRegex.test(value),isArbitraryVariableLength=value=>getIsArbitraryVariable(value,isLabelLength),isArbitraryVariableFamilyName=value=>getIsArbitraryVariable(value,isLabelFamilyName),isArbitraryVariablePosition=value=>getIsArbitraryVariable(value,isLabelPosition),isArbitraryVariableSize=value=>getIsArbitraryVariable(value,isLabelSize),isArbitraryVariableImage=value=>getIsArbitraryVariable(value,isLabelImage),isArbitraryVariableShadow=value=>getIsArbitraryVariable(value,isLabelShadow,!0),isArbitraryVariableWeight=value=>getIsArbitraryVariable(value,isLabelWeight,!0),getIsArbitraryValue=(value,testLabel,testValue)=>{let result=arbitraryValueRegex.exec(value);return result?result[1]?testLabel(result[1]):testValue(result[2]):!1},getIsArbitraryVariable=(value,testLabel,shouldMatchNoLabel=!1)=>{let result=arbitraryVariableRegex.exec(value);return result?result[1]?testLabel(result[1]):shouldMatchNoLabel:!1},isLabelPosition=label=>label==="position"||label==="percentage",isLabelImage=label=>label==="image"||label==="url",isLabelSize=label=>label==="length"||label==="size"||label==="bg-size",isLabelLength=label=>label==="length",isLabelNumber=label=>label==="number",isLabelFamilyName=label=>label==="family-name",isLabelWeight=label=>label==="number"||label==="weight",isLabelShadow=label=>label==="shadow",validators=Object.defineProperty({__proto__:null,isAny,isAnyNonArbitrary,isArbitraryFamilyName,isArbitraryImage,isArbitraryLength,isArbitraryNumber,isArbitraryPosition,isArbitraryShadow,isArbitrarySize,isArbitraryValue,isArbitraryVariable,isArbitraryVariableFamilyName,isArbitraryVariableImage,isArbitraryVariableLength,isArbitraryVariablePosition,isArbitraryVariableShadow,isArbitraryVariableSize,isArbitraryVariableWeight,isArbitraryWeight,isFraction,isInteger,isNamedContainerQuery,isNumber,isPercent,isTshirtSize},Symbol.toStringTag,{value:"Module"}),getDefaultConfig=()=>{let themeColor=fromTheme("color"),themeFont=fromTheme("font"),themeText=fromTheme("text"),themeFontWeight=fromTheme("font-weight"),themeTracking=fromTheme("tracking"),themeLeading=fromTheme("leading"),themeBreakpoint=fromTheme("breakpoint"),themeContainer=fromTheme("container"),themeSpacing=fromTheme("spacing"),themeRadius=fromTheme("radius"),themeShadow=fromTheme("shadow"),themeInsetShadow=fromTheme("inset-shadow"),themeTextShadow=fromTheme("text-shadow"),themeDropShadow=fromTheme("drop-shadow"),themeBlur=fromTheme("blur"),themePerspective=fromTheme("perspective"),themeAspect=fromTheme("aspect"),themeEase=fromTheme("ease"),themeAnimate=fromTheme("animate"),scaleBreak=()=>["auto","avoid","all","avoid-page","page","left","right","column"],scalePosition=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],scalePositionWithArbitrary=()=>[...scalePosition(),isArbitraryVariable,isArbitraryValue],scaleOverflow=()=>["auto","hidden","clip","visible","scroll"],scaleOverscroll=()=>["auto","contain","none"],scaleUnambiguousSpacing=()=>[isArbitraryVariable,isArbitraryValue,themeSpacing],scaleInset=()=>[isFraction,"full","auto",...scaleUnambiguousSpacing()],scaleGridTemplateColsRows=()=>[isInteger,"none","subgrid",isArbitraryVariable,isArbitraryValue],scaleGridColRowStartAndEnd=()=>["auto",{span:["full",isInteger,isArbitraryVariable,isArbitraryValue]},isInteger,isArbitraryVariable,isArbitraryValue],scaleGridColRowStartOrEnd=()=>[isInteger,"auto",isArbitraryVariable,isArbitraryValue],scaleGridAutoColsRows=()=>["auto","min","max","fr",isArbitraryVariable,isArbitraryValue],scaleAlignPrimaryAxis=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],scaleAlignSecondaryAxis=()=>["start","end","center","stretch","center-safe","end-safe"],scaleMargin=()=>["auto",...scaleUnambiguousSpacing()],scaleSizing=()=>[isFraction,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...scaleUnambiguousSpacing()],scaleSizingInline=()=>[isFraction,"screen","full","dvw","lvw","svw","min","max","fit",...scaleUnambiguousSpacing()],scaleSizingBlock=()=>[isFraction,"screen","full","lh","dvh","lvh","svh","min","max","fit",...scaleUnambiguousSpacing()],scaleColor=()=>[themeColor,isArbitraryVariable,isArbitraryValue],scaleBgPosition=()=>[...scalePosition(),isArbitraryVariablePosition,isArbitraryPosition,{position:[isArbitraryVariable,isArbitraryValue]}],scaleBgRepeat=()=>["no-repeat",{repeat:["","x","y","space","round"]}],scaleBgSize=()=>["auto","cover","contain",isArbitraryVariableSize,isArbitrarySize,{size:[isArbitraryVariable,isArbitraryValue]}],scaleGradientStopPosition=()=>[isPercent,isArbitraryVariableLength,isArbitraryLength],scaleRadius=()=>["","none","full",themeRadius,isArbitraryVariable,isArbitraryValue],scaleBorderWidth=()=>["",isNumber,isArbitraryVariableLength,isArbitraryLength],scaleLineStyle=()=>["solid","dashed","dotted","double"],scaleBlendMode=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],scaleMaskImagePosition=()=>[isNumber,isPercent,isArbitraryVariablePosition,isArbitraryPosition],scaleBlur=()=>["","none",themeBlur,isArbitraryVariable,isArbitraryValue],scaleRotate=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],scaleScale=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],scaleSkew=()=>[isNumber,isArbitraryVariable,isArbitraryValue],scaleTranslate=()=>[isFraction,"full",...scaleUnambiguousSpacing()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[isTshirtSize],breakpoint:[isTshirtSize],color:[isAny],container:[isTshirtSize],"drop-shadow":[isTshirtSize],ease:["in","out","in-out"],font:[isAnyNonArbitrary],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[isTshirtSize],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[isTshirtSize],shadow:[isTshirtSize],spacing:["px",isNumber],text:[isTshirtSize],"text-shadow":[isTshirtSize],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",isFraction,isArbitraryValue,isArbitraryVariable,themeAspect]}],container:["container"],"container-type":[{"@container":["","normal","size",isArbitraryVariable,isArbitraryValue]}],"container-named":[isNamedContainerQuery],columns:[{columns:[isNumber,isArbitraryValue,isArbitraryVariable,themeContainer]}],"break-after":[{"break-after":scaleBreak()}],"break-before":[{"break-before":scaleBreak()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:scalePositionWithArbitrary()}],overflow:[{overflow:scaleOverflow()}],"overflow-x":[{"overflow-x":scaleOverflow()}],"overflow-y":[{"overflow-y":scaleOverflow()}],overscroll:[{overscroll:scaleOverscroll()}],"overscroll-x":[{"overscroll-x":scaleOverscroll()}],"overscroll-y":[{"overscroll-y":scaleOverscroll()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:scaleInset()}],"inset-x":[{"inset-x":scaleInset()}],"inset-y":[{"inset-y":scaleInset()}],start:[{"inset-s":scaleInset(),start:scaleInset()}],end:[{"inset-e":scaleInset(),end:scaleInset()}],"inset-bs":[{"inset-bs":scaleInset()}],"inset-be":[{"inset-be":scaleInset()}],top:[{top:scaleInset()}],right:[{right:scaleInset()}],bottom:[{bottom:scaleInset()}],left:[{left:scaleInset()}],visibility:["visible","invisible","collapse"],z:[{z:[isInteger,"auto",isArbitraryVariable,isArbitraryValue]}],basis:[{basis:[isFraction,"full","auto",themeContainer,...scaleUnambiguousSpacing()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[isNumber,isFraction,"auto","initial","none",isArbitraryValue]}],grow:[{grow:["",isNumber,isArbitraryVariable,isArbitraryValue]}],shrink:[{shrink:["",isNumber,isArbitraryVariable,isArbitraryValue]}],order:[{order:[isInteger,"first","last","none",isArbitraryVariable,isArbitraryValue]}],"grid-cols":[{"grid-cols":scaleGridTemplateColsRows()}],"col-start-end":[{col:scaleGridColRowStartAndEnd()}],"col-start":[{"col-start":scaleGridColRowStartOrEnd()}],"col-end":[{"col-end":scaleGridColRowStartOrEnd()}],"grid-rows":[{"grid-rows":scaleGridTemplateColsRows()}],"row-start-end":[{row:scaleGridColRowStartAndEnd()}],"row-start":[{"row-start":scaleGridColRowStartOrEnd()}],"row-end":[{"row-end":scaleGridColRowStartOrEnd()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":scaleGridAutoColsRows()}],"auto-rows":[{"auto-rows":scaleGridAutoColsRows()}],gap:[{gap:scaleUnambiguousSpacing()}],"gap-x":[{"gap-x":scaleUnambiguousSpacing()}],"gap-y":[{"gap-y":scaleUnambiguousSpacing()}],"justify-content":[{justify:[...scaleAlignPrimaryAxis(),"normal"]}],"justify-items":[{"justify-items":[...scaleAlignSecondaryAxis(),"normal"]}],"justify-self":[{"justify-self":["auto",...scaleAlignSecondaryAxis()]}],"align-content":[{content:["normal",...scaleAlignPrimaryAxis()]}],"align-items":[{items:[...scaleAlignSecondaryAxis(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...scaleAlignSecondaryAxis(),{baseline:["","last"]}]}],"place-content":[{"place-content":scaleAlignPrimaryAxis()}],"place-items":[{"place-items":[...scaleAlignSecondaryAxis(),"baseline"]}],"place-self":[{"place-self":["auto",...scaleAlignSecondaryAxis()]}],p:[{p:scaleUnambiguousSpacing()}],px:[{px:scaleUnambiguousSpacing()}],py:[{py:scaleUnambiguousSpacing()}],ps:[{ps:scaleUnambiguousSpacing()}],pe:[{pe:scaleUnambiguousSpacing()}],pbs:[{pbs:scaleUnambiguousSpacing()}],pbe:[{pbe:scaleUnambiguousSpacing()}],pt:[{pt:scaleUnambiguousSpacing()}],pr:[{pr:scaleUnambiguousSpacing()}],pb:[{pb:scaleUnambiguousSpacing()}],pl:[{pl:scaleUnambiguousSpacing()}],m:[{m:scaleMargin()}],mx:[{mx:scaleMargin()}],my:[{my:scaleMargin()}],ms:[{ms:scaleMargin()}],me:[{me:scaleMargin()}],mbs:[{mbs:scaleMargin()}],mbe:[{mbe:scaleMargin()}],mt:[{mt:scaleMargin()}],mr:[{mr:scaleMargin()}],mb:[{mb:scaleMargin()}],ml:[{ml:scaleMargin()}],"space-x":[{"space-x":scaleUnambiguousSpacing()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":scaleUnambiguousSpacing()}],"space-y-reverse":["space-y-reverse"],size:[{size:scaleSizing()}],"inline-size":[{inline:["auto",...scaleSizingInline()]}],"min-inline-size":[{"min-inline":["auto",...scaleSizingInline()]}],"max-inline-size":[{"max-inline":["none",...scaleSizingInline()]}],"block-size":[{block:["auto",...scaleSizingBlock()]}],"min-block-size":[{"min-block":["auto",...scaleSizingBlock()]}],"max-block-size":[{"max-block":["none",...scaleSizingBlock()]}],w:[{w:[themeContainer,"screen",...scaleSizing()]}],"min-w":[{"min-w":[themeContainer,"screen","none",...scaleSizing()]}],"max-w":[{"max-w":[themeContainer,"screen","none","prose",{screen:[themeBreakpoint]},...scaleSizing()]}],h:[{h:["screen","lh",...scaleSizing()]}],"min-h":[{"min-h":["screen","lh","none",...scaleSizing()]}],"max-h":[{"max-h":["screen","lh",...scaleSizing()]}],"font-size":[{text:["base",themeText,isArbitraryVariableLength,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[themeFontWeight,isArbitraryVariableWeight,isArbitraryWeight]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",isPercent,isArbitraryValue]}],"font-family":[{font:[isArbitraryVariableFamilyName,isArbitraryFamilyName,themeFont]}],"font-features":[{"font-features":[isArbitraryValue]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[themeTracking,isArbitraryVariable,isArbitraryValue]}],"line-clamp":[{"line-clamp":[isNumber,"none",isArbitraryVariable,isArbitraryNumber]}],leading:[{leading:[themeLeading,...scaleUnambiguousSpacing()]}],"list-image":[{"list-image":["none",isArbitraryVariable,isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",isArbitraryVariable,isArbitraryValue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:scaleColor()}],"text-color":[{text:scaleColor()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...scaleLineStyle(),"wavy"]}],"text-decoration-thickness":[{decoration:[isNumber,"from-font","auto",isArbitraryVariable,isArbitraryLength]}],"text-decoration-color":[{decoration:scaleColor()}],"underline-offset":[{"underline-offset":[isNumber,"auto",isArbitraryVariable,isArbitraryValue]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:scaleUnambiguousSpacing()}],"tab-size":[{tab:[isInteger,isArbitraryVariable,isArbitraryValue]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryVariable,isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryVariable,isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:scaleBgPosition()}],"bg-repeat":[{bg:scaleBgRepeat()}],"bg-size":[{bg:scaleBgSize()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},isInteger,isArbitraryVariable,isArbitraryValue],radial:["",isArbitraryVariable,isArbitraryValue],conic:[isInteger,isArbitraryVariable,isArbitraryValue]},isArbitraryVariableImage,isArbitraryImage]}],"bg-color":[{bg:scaleColor()}],"gradient-from-pos":[{from:scaleGradientStopPosition()}],"gradient-via-pos":[{via:scaleGradientStopPosition()}],"gradient-to-pos":[{to:scaleGradientStopPosition()}],"gradient-from":[{from:scaleColor()}],"gradient-via":[{via:scaleColor()}],"gradient-to":[{to:scaleColor()}],rounded:[{rounded:scaleRadius()}],"rounded-s":[{"rounded-s":scaleRadius()}],"rounded-e":[{"rounded-e":scaleRadius()}],"rounded-t":[{"rounded-t":scaleRadius()}],"rounded-r":[{"rounded-r":scaleRadius()}],"rounded-b":[{"rounded-b":scaleRadius()}],"rounded-l":[{"rounded-l":scaleRadius()}],"rounded-ss":[{"rounded-ss":scaleRadius()}],"rounded-se":[{"rounded-se":scaleRadius()}],"rounded-ee":[{"rounded-ee":scaleRadius()}],"rounded-es":[{"rounded-es":scaleRadius()}],"rounded-tl":[{"rounded-tl":scaleRadius()}],"rounded-tr":[{"rounded-tr":scaleRadius()}],"rounded-br":[{"rounded-br":scaleRadius()}],"rounded-bl":[{"rounded-bl":scaleRadius()}],"border-w":[{border:scaleBorderWidth()}],"border-w-x":[{"border-x":scaleBorderWidth()}],"border-w-y":[{"border-y":scaleBorderWidth()}],"border-w-s":[{"border-s":scaleBorderWidth()}],"border-w-e":[{"border-e":scaleBorderWidth()}],"border-w-bs":[{"border-bs":scaleBorderWidth()}],"border-w-be":[{"border-be":scaleBorderWidth()}],"border-w-t":[{"border-t":scaleBorderWidth()}],"border-w-r":[{"border-r":scaleBorderWidth()}],"border-w-b":[{"border-b":scaleBorderWidth()}],"border-w-l":[{"border-l":scaleBorderWidth()}],"divide-x":[{"divide-x":scaleBorderWidth()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":scaleBorderWidth()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...scaleLineStyle(),"hidden","none"]}],"divide-style":[{divide:[...scaleLineStyle(),"hidden","none"]}],"border-color":[{border:scaleColor()}],"border-color-x":[{"border-x":scaleColor()}],"border-color-y":[{"border-y":scaleColor()}],"border-color-s":[{"border-s":scaleColor()}],"border-color-e":[{"border-e":scaleColor()}],"border-color-bs":[{"border-bs":scaleColor()}],"border-color-be":[{"border-be":scaleColor()}],"border-color-t":[{"border-t":scaleColor()}],"border-color-r":[{"border-r":scaleColor()}],"border-color-b":[{"border-b":scaleColor()}],"border-color-l":[{"border-l":scaleColor()}],"divide-color":[{divide:scaleColor()}],"outline-style":[{outline:[...scaleLineStyle(),"none","hidden"]}],"outline-offset":[{"outline-offset":[isNumber,isArbitraryVariable,isArbitraryValue]}],"outline-w":[{outline:["",isNumber,isArbitraryVariableLength,isArbitraryLength]}],"outline-color":[{outline:scaleColor()}],shadow:[{shadow:["","none",themeShadow,isArbitraryVariableShadow,isArbitraryShadow]}],"shadow-color":[{shadow:scaleColor()}],"inset-shadow":[{"inset-shadow":["none",themeInsetShadow,isArbitraryVariableShadow,isArbitraryShadow]}],"inset-shadow-color":[{"inset-shadow":scaleColor()}],"ring-w":[{ring:scaleBorderWidth()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:scaleColor()}],"ring-offset-w":[{"ring-offset":[isNumber,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":scaleColor()}],"inset-ring-w":[{"inset-ring":scaleBorderWidth()}],"inset-ring-color":[{"inset-ring":scaleColor()}],"text-shadow":[{"text-shadow":["none",themeTextShadow,isArbitraryVariableShadow,isArbitraryShadow]}],"text-shadow-color":[{"text-shadow":scaleColor()}],opacity:[{opacity:[isNumber,isArbitraryVariable,isArbitraryValue]}],"mix-blend":[{"mix-blend":[...scaleBlendMode(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":scaleBlendMode()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[isNumber]}],"mask-image-linear-from-pos":[{"mask-linear-from":scaleMaskImagePosition()}],"mask-image-linear-to-pos":[{"mask-linear-to":scaleMaskImagePosition()}],"mask-image-linear-from-color":[{"mask-linear-from":scaleColor()}],"mask-image-linear-to-color":[{"mask-linear-to":scaleColor()}],"mask-image-t-from-pos":[{"mask-t-from":scaleMaskImagePosition()}],"mask-image-t-to-pos":[{"mask-t-to":scaleMaskImagePosition()}],"mask-image-t-from-color":[{"mask-t-from":scaleColor()}],"mask-image-t-to-color":[{"mask-t-to":scaleColor()}],"mask-image-r-from-pos":[{"mask-r-from":scaleMaskImagePosition()}],"mask-image-r-to-pos":[{"mask-r-to":scaleMaskImagePosition()}],"mask-image-r-from-color":[{"mask-r-from":scaleColor()}],"mask-image-r-to-color":[{"mask-r-to":scaleColor()}],"mask-image-b-from-pos":[{"mask-b-from":scaleMaskImagePosition()}],"mask-image-b-to-pos":[{"mask-b-to":scaleMaskImagePosition()}],"mask-image-b-from-color":[{"mask-b-from":scaleColor()}],"mask-image-b-to-color":[{"mask-b-to":scaleColor()}],"mask-image-l-from-pos":[{"mask-l-from":scaleMaskImagePosition()}],"mask-image-l-to-pos":[{"mask-l-to":scaleMaskImagePosition()}],"mask-image-l-from-color":[{"mask-l-from":scaleColor()}],"mask-image-l-to-color":[{"mask-l-to":scaleColor()}],"mask-image-x-from-pos":[{"mask-x-from":scaleMaskImagePosition()}],"mask-image-x-to-pos":[{"mask-x-to":scaleMaskImagePosition()}],"mask-image-x-from-color":[{"mask-x-from":scaleColor()}],"mask-image-x-to-color":[{"mask-x-to":scaleColor()}],"mask-image-y-from-pos":[{"mask-y-from":scaleMaskImagePosition()}],"mask-image-y-to-pos":[{"mask-y-to":scaleMaskImagePosition()}],"mask-image-y-from-color":[{"mask-y-from":scaleColor()}],"mask-image-y-to-color":[{"mask-y-to":scaleColor()}],"mask-image-radial":[{"mask-radial":[isArbitraryVariable,isArbitraryValue]}],"mask-image-radial-from-pos":[{"mask-radial-from":scaleMaskImagePosition()}],"mask-image-radial-to-pos":[{"mask-radial-to":scaleMaskImagePosition()}],"mask-image-radial-from-color":[{"mask-radial-from":scaleColor()}],"mask-image-radial-to-color":[{"mask-radial-to":scaleColor()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":scalePosition()}],"mask-image-conic-pos":[{"mask-conic":[isNumber]}],"mask-image-conic-from-pos":[{"mask-conic-from":scaleMaskImagePosition()}],"mask-image-conic-to-pos":[{"mask-conic-to":scaleMaskImagePosition()}],"mask-image-conic-from-color":[{"mask-conic-from":scaleColor()}],"mask-image-conic-to-color":[{"mask-conic-to":scaleColor()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:scaleBgPosition()}],"mask-repeat":[{mask:scaleBgRepeat()}],"mask-size":[{mask:scaleBgSize()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",isArbitraryVariable,isArbitraryValue]}],filter:[{filter:["","none",isArbitraryVariable,isArbitraryValue]}],blur:[{blur:scaleBlur()}],brightness:[{brightness:[isNumber,isArbitraryVariable,isArbitraryValue]}],contrast:[{contrast:[isNumber,isArbitraryVariable,isArbitraryValue]}],"drop-shadow":[{"drop-shadow":["","none",themeDropShadow,isArbitraryVariableShadow,isArbitraryShadow]}],"drop-shadow-color":[{"drop-shadow":scaleColor()}],grayscale:[{grayscale:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"hue-rotate":[{"hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],invert:[{invert:["",isNumber,isArbitraryVariable,isArbitraryValue]}],saturate:[{saturate:[isNumber,isArbitraryVariable,isArbitraryValue]}],sepia:[{sepia:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-filter":[{"backdrop-filter":["","none",isArbitraryVariable,isArbitraryValue]}],"backdrop-blur":[{"backdrop-blur":scaleBlur()}],"backdrop-brightness":[{"backdrop-brightness":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-contrast":[{"backdrop-contrast":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-invert":[{"backdrop-invert":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-opacity":[{"backdrop-opacity":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-saturate":[{"backdrop-saturate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-sepia":[{"backdrop-sepia":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":scaleUnambiguousSpacing()}],"border-spacing-x":[{"border-spacing-x":scaleUnambiguousSpacing()}],"border-spacing-y":[{"border-spacing-y":scaleUnambiguousSpacing()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",isArbitraryVariable,isArbitraryValue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[isNumber,"initial",isArbitraryVariable,isArbitraryValue]}],ease:[{ease:["linear","initial",themeEase,isArbitraryVariable,isArbitraryValue]}],delay:[{delay:[isNumber,isArbitraryVariable,isArbitraryValue]}],animate:[{animate:["none",themeAnimate,isArbitraryVariable,isArbitraryValue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[themePerspective,isArbitraryVariable,isArbitraryValue]}],"perspective-origin":[{"perspective-origin":scalePositionWithArbitrary()}],rotate:[{rotate:scaleRotate()}],"rotate-x":[{"rotate-x":scaleRotate()}],"rotate-y":[{"rotate-y":scaleRotate()}],"rotate-z":[{"rotate-z":scaleRotate()}],scale:[{scale:scaleScale()}],"scale-x":[{"scale-x":scaleScale()}],"scale-y":[{"scale-y":scaleScale()}],"scale-z":[{"scale-z":scaleScale()}],"scale-3d":["scale-3d"],skew:[{skew:scaleSkew()}],"skew-x":[{"skew-x":scaleSkew()}],"skew-y":[{"skew-y":scaleSkew()}],transform:[{transform:[isArbitraryVariable,isArbitraryValue,"","none","gpu","cpu"]}],"transform-origin":[{origin:scalePositionWithArbitrary()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:scaleTranslate()}],"translate-x":[{"translate-x":scaleTranslate()}],"translate-y":[{"translate-y":scaleTranslate()}],"translate-z":[{"translate-z":scaleTranslate()}],"translate-none":["translate-none"],zoom:[{zoom:[isInteger,isArbitraryVariable,isArbitraryValue]}],accent:[{accent:scaleColor()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:scaleColor()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryVariable,isArbitraryValue]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":scaleColor()}],"scrollbar-track-color":[{"scrollbar-track":scaleColor()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":scaleUnambiguousSpacing()}],"scroll-mx":[{"scroll-mx":scaleUnambiguousSpacing()}],"scroll-my":[{"scroll-my":scaleUnambiguousSpacing()}],"scroll-ms":[{"scroll-ms":scaleUnambiguousSpacing()}],"scroll-me":[{"scroll-me":scaleUnambiguousSpacing()}],"scroll-mbs":[{"scroll-mbs":scaleUnambiguousSpacing()}],"scroll-mbe":[{"scroll-mbe":scaleUnambiguousSpacing()}],"scroll-mt":[{"scroll-mt":scaleUnambiguousSpacing()}],"scroll-mr":[{"scroll-mr":scaleUnambiguousSpacing()}],"scroll-mb":[{"scroll-mb":scaleUnambiguousSpacing()}],"scroll-ml":[{"scroll-ml":scaleUnambiguousSpacing()}],"scroll-p":[{"scroll-p":scaleUnambiguousSpacing()}],"scroll-px":[{"scroll-px":scaleUnambiguousSpacing()}],"scroll-py":[{"scroll-py":scaleUnambiguousSpacing()}],"scroll-ps":[{"scroll-ps":scaleUnambiguousSpacing()}],"scroll-pe":[{"scroll-pe":scaleUnambiguousSpacing()}],"scroll-pbs":[{"scroll-pbs":scaleUnambiguousSpacing()}],"scroll-pbe":[{"scroll-pbe":scaleUnambiguousSpacing()}],"scroll-pt":[{"scroll-pt":scaleUnambiguousSpacing()}],"scroll-pr":[{"scroll-pr":scaleUnambiguousSpacing()}],"scroll-pb":[{"scroll-pb":scaleUnambiguousSpacing()}],"scroll-pl":[{"scroll-pl":scaleUnambiguousSpacing()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryVariable,isArbitraryValue]}],fill:[{fill:["none",...scaleColor()]}],"stroke-w":[{stroke:[isNumber,isArbitraryVariableLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:["none",...scaleColor()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},mergeConfigs=(baseConfig,{cacheSize,prefix,experimentalParseClassName,extend={},override={}})=>(overrideProperty(baseConfig,"cacheSize",cacheSize),overrideProperty(baseConfig,"prefix",prefix),overrideProperty(baseConfig,"experimentalParseClassName",experimentalParseClassName),overrideConfigProperties(baseConfig.theme,override.theme),overrideConfigProperties(baseConfig.classGroups,override.classGroups),overrideConfigProperties(baseConfig.conflictingClassGroups,override.conflictingClassGroups),overrideConfigProperties(baseConfig.conflictingClassGroupModifiers,override.conflictingClassGroupModifiers),overrideProperty(baseConfig,"postfixLookupClassGroups",override.postfixLookupClassGroups),overrideProperty(baseConfig,"orderSensitiveModifiers",override.orderSensitiveModifiers),mergeConfigProperties(baseConfig.theme,extend.theme),mergeConfigProperties(baseConfig.classGroups,extend.classGroups),mergeConfigProperties(baseConfig.conflictingClassGroups,extend.conflictingClassGroups),mergeConfigProperties(baseConfig.conflictingClassGroupModifiers,extend.conflictingClassGroupModifiers),mergeArrayProperties(baseConfig,extend,"postfixLookupClassGroups"),mergeArrayProperties(baseConfig,extend,"orderSensitiveModifiers"),baseConfig),overrideProperty=(baseObject,overrideKey,overrideValue)=>{overrideValue!==void 0&&(baseObject[overrideKey]=overrideValue)},overrideConfigProperties=(baseObject,overrideObject)=>{if(overrideObject)for(let key in overrideObject)overrideProperty(baseObject,key,overrideObject[key])},mergeConfigProperties=(baseObject,mergeObject)=>{if(mergeObject)for(let key in mergeObject)mergeArrayProperties(baseObject,mergeObject,key)},mergeArrayProperties=(baseObject,mergeObject,key)=>{let mergeValue=mergeObject[key];mergeValue!==void 0&&(baseObject[key]=baseObject[key]?baseObject[key].concat(mergeValue):mergeValue)},extendTailwindMerge=(configExtension,...createConfig)=>typeof configExtension=="function"?createTailwindMerge(getDefaultConfig,configExtension,...createConfig):createTailwindMerge(()=>mergeConfigs(getDefaultConfig(),configExtension),...createConfig),twMerge=createTailwindMerge(getDefaultConfig);var ojm_shim_tailwind_merge_default=void 0??bundle_mjs_exports;export{createTailwindMerge,ojm_shim_tailwind_merge_default as default,extendTailwindMerge,fromTheme,getDefaultConfig,mergeConfigs,twJoin,twMerge,validators};
@@ -0,0 +1,22 @@
1
+ import * as __rad_ext_0 from "react";
2
+ var __rad_require = {
3
+ "react": __rad_ext_0
4
+ };
5
+ var require = function (id) {
6
+ if (Object.prototype.hasOwnProperty.call(__rad_require, id)) return __rad_require[id];
7
+ throw new Error("Dynamic require of " + JSON.stringify(id) + " is not supported(该说明符未在共享表内登记)");
8
+ };
9
+ var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var __commonJS=(cb,mod)=>function(){try{return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports}catch(e){throw mod=0,e}};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var require_use_sync_external_store_shim_production=__commonJS({"../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.8/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(exports){"use strict";var React=__require("react");function is(x,y){return x===y&&(x!==0||1/x===1/y)||x!==x&&y!==y}var objectIs=typeof Object.is=="function"?Object.is:is,useState=React.useState,useEffect=React.useEffect,useLayoutEffect=React.useLayoutEffect,useDebugValue=React.useDebugValue;function useSyncExternalStore$2(subscribe,getSnapshot){var value=getSnapshot(),_useState=useState({inst:{value,getSnapshot}}),inst=_useState[0].inst,forceUpdate=_useState[1];return useLayoutEffect(function(){inst.value=value,inst.getSnapshot=getSnapshot,checkIfSnapshotChanged(inst)&&forceUpdate({inst})},[subscribe,value,getSnapshot]),useEffect(function(){return checkIfSnapshotChanged(inst)&&forceUpdate({inst}),subscribe(function(){checkIfSnapshotChanged(inst)&&forceUpdate({inst})})},[subscribe]),useDebugValue(value),value}function checkIfSnapshotChanged(inst){var latestGetSnapshot=inst.getSnapshot;inst=inst.value;try{var nextValue=latestGetSnapshot();return!objectIs(inst,nextValue)}catch{return!0}}function useSyncExternalStore$1(subscribe,getSnapshot){return getSnapshot()}var shim=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?useSyncExternalStore$1:useSyncExternalStore$2;exports.useSyncExternalStore=React.useSyncExternalStore!==void 0?React.useSyncExternalStore:shim}});var require_shim=__commonJS({"../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.8/node_modules/use-sync-external-store/shim/index.js"(exports,module){"use strict";module.exports=require_use_sync_external_store_shim_production()}});var __m=__toESM(require_shim(),1),useSyncExternalStore2=__m.useSyncExternalStore,ojm_shim_use_sync_external_store_shim_default=__m.default??__m;export{ojm_shim_use_sync_external_store_shim_default as default,useSyncExternalStore2 as useSyncExternalStore};
10
+ /*! Bundled license information:
11
+
12
+ use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
13
+ (**
14
+ * @license React
15
+ * use-sync-external-store-shim.production.js
16
+ *
17
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ *)
22
+ */
@@ -0,0 +1,6 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var middleware_exports={};__export(middleware_exports,{combine:()=>combine,createJSONStorage:()=>createJSONStorage,devtools:()=>devtools,persist:()=>persist,redux:()=>redux,subscribeWithSelector:()=>subscribeWithSelector,unstable_ssrSafe:()=>ssrSafe});var reduxImpl=(reducer,initial)=>(set,_get,api)=>(api.dispatch=action=>(set(state=>reducer(state,action),!1,action),action),api.dispatchFromDevtools=!0,{dispatch:(...args)=>api.dispatch(...args),...initial}),redux=reduxImpl,shouldDispatchFromDevtools=api=>!!api.dispatchFromDevtools&&typeof api.dispatch=="function",trackedConnections=new Map,getTrackedConnectionState=name=>{let api=trackedConnections.get(name);return api?Object.fromEntries(Object.entries(api.stores).map(([key,api2])=>[key,api2.getState()])):{}},extractConnectionInformation=(store,extensionConnector,options)=>{if(store===void 0)return{type:"untracked",connection:extensionConnector.connect(options)};let existingConnection=trackedConnections.get(options.name);if(existingConnection)return{type:"tracked",store,...existingConnection};let newConnection={connection:extensionConnector.connect(options),stores:{}};return trackedConnections.set(options.name,newConnection),{type:"tracked",store,...newConnection}},removeStoreFromTrackedConnections=(name,store)=>{if(store===void 0)return;let connectionInfo=trackedConnections.get(name);connectionInfo&&(delete connectionInfo.stores[store],Object.keys(connectionInfo.stores).length===0&&trackedConnections.delete(name))},v8StackLineRe=/^at (?:new |async )?(.+?) \(/,geckoStackLineRe=/^([^@]+)@/;function findCallerName(stack){var _a,_b,_c;if(!stack)return;let traceLines=stack.split(`
2
+ `),apiSetStateLineIndex=traceLines.findIndex(traceLine=>traceLine.includes("api.setState"));if(apiSetStateLineIndex<0)return;let callerLine=((_a=traceLines[apiSetStateLineIndex+1])==null?void 0:_a.trim())||"";return((_b=v8StackLineRe.exec(callerLine))==null?void 0:_b[1])||((_c=geckoStackLineRe.exec(callerLine))==null?void 0:_c[1])}var devtoolsImpl=(fn,devtoolsOptions={})=>(set,get,api)=>{let{enabled,anonymousActionType,store,...options}=devtoolsOptions,extensionConnector;try{extensionConnector=(enabled??(import.meta.env?import.meta.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!extensionConnector)return fn(set,get,api);let{connection,...connectionInformation}=extractConnectionInformation(store,extensionConnector,options),isRecording=!0;api.setState=((state,replace,nameOrAction)=>{let r=set(state,replace);if(!isRecording)return r;let action=nameOrAction===void 0?{type:anonymousActionType||findCallerName(new Error().stack)||"anonymous"}:typeof nameOrAction=="string"?{type:nameOrAction}:nameOrAction;return store===void 0?(connection?.send(action,get()),r):(connection?.send({...action,type:`${store}/${action.type}`},{...getTrackedConnectionState(options.name),[store]:api.getState()}),r)}),api.devtools={cleanup:()=>{connection&&typeof connection.unsubscribe=="function"&&connection.unsubscribe(),removeStoreFromTrackedConnections(options.name,store)}};let setStateFromDevtools=(...a)=>{let originalIsRecording=isRecording;isRecording=!1,set(...a),isRecording=originalIsRecording},initialState=fn(api.setState,get,api);if(connectionInformation.type==="untracked"?connection?.init(initialState):(connectionInformation.stores[connectionInformation.store]=api,connection?.init(Object.fromEntries(Object.entries(connectionInformation.stores).map(([key,store2])=>[key,key===connectionInformation.store?initialState:store2.getState()])))),shouldDispatchFromDevtools(api)){let didWarnAboutReservedActionType=!1,originalDispatch=api.dispatch;api.dispatch=(...args)=>{(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&args[0].type==="__setState"&&!didWarnAboutReservedActionType&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),didWarnAboutReservedActionType=!0),originalDispatch(...args)}}return connection.subscribe(message=>{var _a;switch(message.type){case"ACTION":if(typeof message.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return parseJsonThen(message.payload,action=>{if(action.type==="__setState"){if(store===void 0){setStateFromDevtools(action.state);return}Object.keys(action.state).length!==1&&console.error(`
3
+ [zustand devtools middleware] Unsupported __setState action format.
4
+ When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
5
+ and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
6
+ `);let stateFromDevtools=action.state[store];if(stateFromDevtools==null)return;JSON.stringify(api.getState())!==JSON.stringify(stateFromDevtools)&&setStateFromDevtools(stateFromDevtools);return}shouldDispatchFromDevtools(api)&&api.dispatch(action)});case"DISPATCH":switch(message.payload.type){case"RESET":return setStateFromDevtools(initialState),store===void 0?connection?.init(api.getState()):connection?.init(getTrackedConnectionState(options.name));case"COMMIT":if(store===void 0){connection?.init(api.getState());return}return connection?.init(getTrackedConnectionState(options.name));case"ROLLBACK":return parseJsonThen(message.state,state=>{if(store===void 0){setStateFromDevtools(state),connection?.init(api.getState());return}setStateFromDevtools(state[store]),connection?.init(getTrackedConnectionState(options.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return parseJsonThen(message.state,state=>{if(store===void 0){setStateFromDevtools(state);return}JSON.stringify(api.getState())!==JSON.stringify(state[store])&&setStateFromDevtools(state[store])});case"IMPORT_STATE":{let{nextLiftedState}=message.payload,lastComputedState=(_a=nextLiftedState.computedStates.slice(-1)[0])==null?void 0:_a.state;if(!lastComputedState)return;setStateFromDevtools(store===void 0?lastComputedState:lastComputedState[store]),connection?.send(null,nextLiftedState);return}case"PAUSE_RECORDING":return isRecording=!isRecording}return}}),initialState},devtools=devtoolsImpl,parseJsonThen=(stringified,fn)=>{let parsed;try{parsed=JSON.parse(stringified)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}parsed!==void 0&&fn(parsed)},subscribeWithSelectorImpl=fn=>(set,get,api)=>{let origSubscribe=api.subscribe;return api.subscribe=((selector,optListener,options)=>{let listener=selector;if(optListener){let equalityFn=options?.equalityFn||Object.is,currentSlice=selector(api.getState());listener=state=>{let nextSlice=selector(state);if(!equalityFn(currentSlice,nextSlice)){let previousSlice=currentSlice;optListener(currentSlice=nextSlice,previousSlice)}},options?.fireImmediately&&optListener(currentSlice,currentSlice)}return origSubscribe(listener)}),fn(set,get,api)},subscribeWithSelector=subscribeWithSelectorImpl;function combine(initialState,create){return(...args)=>Object.assign({},initialState,create(...args))}function createJSONStorage(getStorage,options){let storage;try{storage=getStorage()}catch{return}return{getItem:name=>{var _a;let parse=str2=>str2===null?null:JSON.parse(str2,options?.reviver),str=(_a=storage.getItem(name))!=null?_a:null;return str instanceof Promise?str.then(parse):parse(str)},setItem:(name,newValue)=>storage.setItem(name,JSON.stringify(newValue,options?.replacer)),removeItem:name=>storage.removeItem(name)}}var toThenable=fn=>input=>{try{let result=fn(input);return result instanceof Promise?result:{then(onFulfilled){return toThenable(onFulfilled)(result)},catch(_onRejected){return this}}}catch(e){return{then(_onFulfilled){return this},catch(onRejected){return toThenable(onRejected)(e)}}}},persistImpl=(config,baseOptions)=>(set,get,api)=>{let options={storage:createJSONStorage(()=>window.localStorage),partialize:state=>state,version:0,merge:(persistedState,currentState)=>({...currentState,...persistedState}),...baseOptions},hasHydrated=!1,hydrationVersion=0,hydrationListeners=new Set,finishHydrationListeners=new Set,storage=options.storage;if(!storage)return config((...args)=>{console.warn(`[zustand persist middleware] Unable to update item '${options.name}', the given storage is currently unavailable.`),set(...args)},get,api);let setItem=()=>{let state=options.partialize({...get()});return storage.setItem(options.name,{state,version:options.version})},savedSetState=api.setState;api.setState=(state,replace)=>(savedSetState(state,replace),setItem());let configResult=config((...args)=>(set(...args),setItem()),get,api);api.getInitialState=()=>configResult;let stateFromStorage,hydrate=()=>{var _a,_b;if(!storage)return;let currentVersion=++hydrationVersion;hasHydrated=!1,hydrationListeners.forEach(cb=>{var _a2;return cb((_a2=get())!=null?_a2:configResult)});let postRehydrationCallback=((_b=options.onRehydrateStorage)==null?void 0:_b.call(options,(_a=get())!=null?_a:configResult))||void 0;return toThenable(storage.getItem.bind(storage))(options.name).then(deserializedStorageValue=>{if(deserializedStorageValue)if(typeof deserializedStorageValue.version=="number"&&deserializedStorageValue.version!==options.version){if(options.migrate){let migration=options.migrate(deserializedStorageValue.state,deserializedStorageValue.version);return migration instanceof Promise?migration.then(result=>[!0,result]):[!0,migration]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,deserializedStorageValue.state];return[!1,void 0]}).then(migrationResult=>{var _a2;if(currentVersion!==hydrationVersion)return;let[migrated,migratedState]=migrationResult;if(stateFromStorage=options.merge(migratedState,(_a2=get())!=null?_a2:configResult),set(stateFromStorage,!0),migrated)return setItem()}).then(()=>{currentVersion===hydrationVersion&&(postRehydrationCallback?.(get(),void 0),stateFromStorage=get(),hasHydrated=!0,finishHydrationListeners.forEach(cb=>cb(stateFromStorage)))}).catch(e=>{currentVersion===hydrationVersion&&postRehydrationCallback?.(void 0,e)})};return api.persist={setOptions:newOptions=>{options={...options,...newOptions},newOptions.storage&&(storage=newOptions.storage)},clearStorage:()=>{++hydrationVersion,storage?.removeItem(options.name)},getOptions:()=>options,rehydrate:()=>hydrate(),hasHydrated:()=>hasHydrated,onHydrate:cb=>(hydrationListeners.add(cb),()=>{hydrationListeners.delete(cb)}),onFinishHydration:cb=>(finishHydrationListeners.add(cb),()=>{finishHydrationListeners.delete(cb)})},options.skipHydration||hydrate(),stateFromStorage||configResult},persist=persistImpl;function ssrSafe(config,isSSR=typeof window>"u"){return(set,get,api)=>{if(!isSSR)return config(set,get,api);let ssrSet=()=>{throw new Error("Cannot set state of Zustand store in SSR")};return api.setState=ssrSet,config(ssrSet,get,api)}}var ojm_shim_zustand_middleware_default=void 0??middleware_exports;export{combine,createJSONStorage,ojm_shim_zustand_middleware_default as default,devtools,persist,redux,subscribeWithSelector,ssrSafe as unstable_ssrSafe};
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var shallow_exports={};__export(shallow_exports,{useShallow:()=>useShallow});import React from"react";import{shallow}from"zustand/vanilla/shallow";function useShallow(selector){let prev=React.useRef(void 0);return state=>{let next=selector(state);return shallow(prev.current,next)?prev.current:prev.current=next}}var ojm_shim_zustand_react_shallow_default=void 0??shallow_exports;export{ojm_shim_zustand_react_shallow_default as default,useShallow};
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var react_exports={};__export(react_exports,{create:()=>create,useStore:()=>useStore});import React from"react";import{createStore}from"zustand/vanilla";var identity=arg=>arg;function useStore(api,selector=identity){let slice=React.useSyncExternalStore(api.subscribe,React.useCallback(()=>selector(api.getState()),[api,selector]),React.useCallback(()=>selector(api.getInitialState()),[api,selector]));return React.useDebugValue(slice),slice}var createImpl=createState=>{let api=createStore(createState),useBoundStore=selector=>useStore(api,selector);return Object.assign(useBoundStore,api),useBoundStore},create=(createState=>createState?createImpl(createState):createImpl);var ojm_shim_zustand_react_default=void 0??react_exports;export{create,ojm_shim_zustand_react_default as default,useStore};
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var shallow_exports={};__export(shallow_exports,{shallow:()=>shallow,useShallow:()=>useShallow});import{shallow}from"zustand/vanilla/shallow";import{useShallow}from"zustand/react/shallow";var ojm_shim_zustand_shallow_default=void 0??shallow_exports;export{ojm_shim_zustand_shallow_default as default,shallow,useShallow};
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var shallow_exports={};__export(shallow_exports,{shallow:()=>shallow});var isIterable=obj=>Symbol.iterator in obj,hasIterableEntries=value=>"entries"in value,compareEntries=(valueA,valueB)=>{let mapA=valueA instanceof Map?valueA:new Map(valueA.entries()),mapB=valueB instanceof Map?valueB:new Map(valueB.entries());if(mapA.size!==mapB.size)return!1;for(let[key,value]of mapA)if(!mapB.has(key)||!Object.is(value,mapB.get(key)))return!1;return!0},compareIterables=(valueA,valueB)=>{let iteratorA=valueA[Symbol.iterator](),iteratorB=valueB[Symbol.iterator](),nextA=iteratorA.next(),nextB=iteratorB.next();for(;!nextA.done&&!nextB.done;){if(!Object.is(nextA.value,nextB.value))return!1;nextA=iteratorA.next(),nextB=iteratorB.next()}return!!nextA.done&&!!nextB.done};function shallow(valueA,valueB){return Object.is(valueA,valueB)?!0:typeof valueA!="object"||valueA===null||typeof valueB!="object"||valueB===null||Object.getPrototypeOf(valueA)!==Object.getPrototypeOf(valueB)?!1:isIterable(valueA)&&isIterable(valueB)?hasIterableEntries(valueA)&&hasIterableEntries(valueB)?compareEntries(valueA,valueB):compareIterables(valueA,valueB):compareEntries({entries:()=>Object.entries(valueA)},{entries:()=>Object.entries(valueB)})}var ojm_shim_zustand_vanilla_shallow_default=void 0??shallow_exports;export{ojm_shim_zustand_vanilla_shallow_default as default,shallow};
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})};var vanilla_exports={};__export(vanilla_exports,{createStore:()=>createStore});var createStoreImpl=createState=>{let state,listeners=new Set,setState=(partial,replace)=>{let nextState=typeof partial=="function"?partial(state):partial;if(!Object.is(nextState,state)){let previousState=state;state=replace??(typeof nextState!="object"||nextState===null)?nextState:Object.assign({},state,nextState),listeners.forEach(listener=>listener(state,previousState))}},getState=()=>state,api={setState,getState,getInitialState:()=>initialState,subscribe:listener=>(listeners.add(listener),()=>listeners.delete(listener))},initialState=state=createState(setState,getState,api);return api},createStore=(createState=>createState?createStoreImpl(createState):createStoreImpl);var ojm_shim_zustand_vanilla_default=void 0??vanilla_exports;export{createStore,ojm_shim_zustand_vanilla_default as default};
@@ -0,0 +1 @@
1
+ var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__reExport=(target,mod,secondTarget)=>(__copyProps(target,mod,"default"),secondTarget&&__copyProps(secondTarget,mod,"default"));var esm_exports={};__reExport(esm_exports,vanilla_star);__reExport(esm_exports,react_star);import*as vanilla_star from"zustand/vanilla";import*as react_star from"zustand/react";var create2=esm_exports.create,createStore2=esm_exports.createStore,useStore2=esm_exports.useStore,ojm_shim_zustand_default=esm_exports.default??esm_exports;export{create2 as create,createStore2 as createStore,ojm_shim_zustand_default as default,useStore2 as useStore};
@@ -5,124 +5,73 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <link rel="icon" href="/favicon.ico" />
7
7
  <title>React Antd Admin · Shell</title>
8
- <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' https://modules.cdn.example.com 'wasm-unsafe-eval' 'nonce-gqN0clQxQgnlBz0xSRc+IA=='; script-src-attr 'none'; connect-src 'self' data: https://modules.cdn.example.com; style-src 'self' https://modules.cdn.example.com 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; frame-src https://ant.design https://react.dev https://condorheroblog.github.io; form-action 'none'; base-uri 'none'; object-src 'none'; upgrade-insecure-requests" />
9
- <script type="importmap" nonce="gqN0clQxQgnlBz0xSRc+IA==">{
8
+ <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' https://modules.cdn.example.com 'wasm-unsafe-eval' 'nonce-amDdx1bR3PQtIt4AbHBZJg=='; script-src-attr 'none'; connect-src 'self' data: https://modules.cdn.example.com; style-src 'self' https://modules.cdn.example.com 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; frame-src https://ant.design https://react.dev https://condorheroblog.github.io; form-action 'none'; base-uri 'none'; object-src 'none'; upgrade-insecure-requests" />
9
+ <script type="importmap" nonce="amDdx1bR3PQtIt4AbHBZJg==">{
10
10
  "imports": {
11
- "react": "/assets/react.js",
12
- "react/jsx-runtime": "/assets/jsx-runtime.js",
13
- "react/jsx-dev-runtime": "/assets/jsx-dev-runtime.js",
14
- "react-dom": "/assets/react-dom.js",
15
- "react-dom/client": "/assets/react-dom-client.js",
16
- "react-router": "/assets/react-router.js",
17
- "react-router/dom": "/assets/react-router-dom.js",
18
- "@tanstack/react-query": "/assets/react-query.js",
19
- "@oj-module/runtime": "/assets/runtime.js",
20
- "@oj-module/runtime/contract": "/assets/contract.js",
21
- "@oj-module/runtime/contract/errors": "/assets/contract-errors.js",
22
- "@plane/kit": "/assets/kit.js",
23
- "antd": "/assets/antd.js",
24
- "antd/locale/en_US": "/assets/antd-locale-en_US.js",
25
- "antd/locale/zh_CN": "/assets/antd-locale-zh_CN.js",
26
- "antd/es/locale/zh_CN": "/assets/antd-es-locale-zh_CN.js",
27
- "@ant-design/icons": "/assets/icons.js",
28
- "@ant-design/icons/es/components/Context": "/assets/icons-es-components-Context.js",
29
- "@ant-design/cssinjs": "/assets/cssinjs.js",
30
- "@ant-design/pro-components": "/assets/pro-components.js",
31
- "i18next": "/assets/i18next.js",
32
- "react-i18next": "/assets/react-i18next.js",
33
- "zustand": "/assets/zustand.js",
34
- "zustand/middleware": "/assets/zustand-middleware.js",
35
- "zustand/shallow": "/assets/zustand-shallow.js",
36
- "zustand/vanilla": "/assets/zustand-vanilla.js",
37
- "zustand/react": "/assets/zustand-react.js",
38
- "zustand/react/shallow": "/assets/zustand-react-shallow.js",
39
- "zustand/vanilla/shallow": "/assets/zustand-vanilla-shallow.js",
40
- "use-sync-external-store/shim": "/assets/use-sync-external-store-shim.js",
41
- "dayjs": "/assets/dayjs.js",
42
- "dayjs/plugin/advancedFormat": "/assets/dayjs-plugin-advancedFormat.js",
43
- "dayjs/plugin/customParseFormat": "/assets/dayjs-plugin-customParseFormat.js",
44
- "dayjs/plugin/isoWeek": "/assets/dayjs-plugin-isoWeek.js",
45
- "dayjs/plugin/localeData": "/assets/dayjs-plugin-localeData.js",
46
- "dayjs/plugin/quarterOfYear": "/assets/dayjs-plugin-quarterOfYear.js",
47
- "dayjs/plugin/relativeTime": "/assets/dayjs-plugin-relativeTime.js",
48
- "dayjs/plugin/weekday": "/assets/dayjs-plugin-weekday.js",
49
- "dayjs/plugin/weekOfYear": "/assets/dayjs-plugin-weekOfYear.js",
50
- "dayjs/plugin/weekYear": "/assets/dayjs-plugin-weekYear.js",
51
- "motion": "/assets/motion.js",
52
- "motion/react": "/assets/motion-react.js",
53
- "@dnd-kit/core": "/assets/dnd-kit-core.js",
54
- "@dnd-kit/sortable": "/assets/dnd-kit-sortable.js",
55
- "@dnd-kit/utilities": "/assets/dnd-kit-utilities.js",
56
- "ahooks": "/assets/ahooks.js",
57
- "antd-img-crop": "/assets/antd-img-crop.js",
58
- "keepalive-for-react": "/assets/keepalive-for-react.js",
59
- "ky": "/assets/ky.js",
60
- "nprogress": "/assets/nprogress.js",
61
- "nprogress/nprogress.css": "/assets/nprogress-css.js",
62
- "pinyin-pro": "/assets/pinyin-pro.js",
63
- "react-error-boundary": "/assets/react-error-boundary.js",
64
- "react-jss": "/assets/react-jss.js",
65
- "clsx": "/assets/clsx.js",
66
- "react-countup": "/assets/react-countup.js",
67
- "simplebar-react": "/assets/simplebar-react.js",
68
- "spin-delay": "/assets/spin-delay.js",
69
- "tailwind-merge": "/assets/tailwind-merge.js",
70
- "antd/es/modal": "/assets/ojm-antd-es-modal.js",
71
- "antd/es/upload": "/assets/ojm-antd-es-upload.js",
72
- "antd/es/button": "/assets/ojm-antd-es-button.js",
73
- "antd/es/slider": "/assets/ojm-antd-es-slider.js",
74
- "@ant-design/icons/es/icons/CheckCircleFilled": "/assets/ojm--ant-design-icons-es-icons-CheckCircleFilled.js",
75
- "@ant-design/icons/es/icons/CloseCircleFilled": "/assets/ojm--ant-design-icons-es-icons-CloseCircleFilled.js",
76
- "@ant-design/icons/es/icons/CloseOutlined": "/assets/ojm--ant-design-icons-es-icons-CloseOutlined.js",
77
- "@ant-design/icons/es/icons/ExclamationCircleFilled": "/assets/ojm--ant-design-icons-es-icons-ExclamationCircleFilled.js",
78
- "@ant-design/icons/es/icons/InfoCircleFilled": "/assets/ojm--ant-design-icons-es-icons-InfoCircleFilled.js",
79
- "@ant-design/icons/es/icons/LoadingOutlined": "/assets/ojm--ant-design-icons-es-icons-LoadingOutlined.js",
80
- "@ant-design/icons/es/icons/RightOutlined": "/assets/ojm--ant-design-icons-es-icons-RightOutlined.js",
81
- "@ant-design/icons/es/icons/CheckOutlined": "/assets/ojm--ant-design-icons-es-icons-CheckOutlined.js",
82
- "@ant-design/icons/es/icons/DownOutlined": "/assets/ojm--ant-design-icons-es-icons-DownOutlined.js",
83
- "@ant-design/icons/es/icons/SearchOutlined": "/assets/ojm--ant-design-icons-es-icons-SearchOutlined.js",
84
- "@ant-design/icons/es/icons/VerticalAlignTopOutlined": "/assets/ojm--ant-design-icons-es-icons-VerticalAlignTopOutlined.js",
85
- "@ant-design/icons/es/icons/LeftOutlined": "/assets/ojm--ant-design-icons-es-icons-LeftOutlined.js",
86
- "@ant-design/icons/es/icons/BarsOutlined": "/assets/ojm--ant-design-icons-es-icons-BarsOutlined.js",
87
- "@ant-design/icons/es/icons/EllipsisOutlined": "/assets/ojm--ant-design-icons-es-icons-EllipsisOutlined.js",
88
- "@ant-design/icons/es/icons/PlusOutlined": "/assets/ojm--ant-design-icons-es-icons-PlusOutlined.js",
89
- "@ant-design/icons/es/icons/MinusOutlined": "/assets/ojm--ant-design-icons-es-icons-MinusOutlined.js",
90
- "@ant-design/icons/es/icons/UpOutlined": "/assets/ojm--ant-design-icons-es-icons-UpOutlined.js",
91
- "@ant-design/icons/es/icons/SwapRightOutlined": "/assets/ojm--ant-design-icons-es-icons-SwapRightOutlined.js",
92
- "@ant-design/icons/es/icons/CalendarOutlined": "/assets/ojm--ant-design-icons-es-icons-CalendarOutlined.js",
93
- "@ant-design/icons/es/icons/ClockCircleOutlined": "/assets/ojm--ant-design-icons-es-icons-ClockCircleOutlined.js",
94
- "@ant-design/icons/es/icons/FileTextOutlined": "/assets/ojm--ant-design-icons-es-icons-FileTextOutlined.js",
95
- "@ant-design/icons/es/icons/QuestionCircleOutlined": "/assets/ojm--ant-design-icons-es-icons-QuestionCircleOutlined.js",
96
- "@ant-design/icons/es/icons/RotateLeftOutlined": "/assets/ojm--ant-design-icons-es-icons-RotateLeftOutlined.js",
97
- "@ant-design/icons/es/icons/RotateRightOutlined": "/assets/ojm--ant-design-icons-es-icons-RotateRightOutlined.js",
98
- "@ant-design/icons/es/icons/SwapOutlined": "/assets/ojm--ant-design-icons-es-icons-SwapOutlined.js",
99
- "@ant-design/icons/es/icons/ZoomInOutlined": "/assets/ojm--ant-design-icons-es-icons-ZoomInOutlined.js",
100
- "@ant-design/icons/es/icons/ZoomOutOutlined": "/assets/ojm--ant-design-icons-es-icons-ZoomOutOutlined.js",
101
- "@ant-design/icons/es/icons/EyeInvisibleOutlined": "/assets/ojm--ant-design-icons-es-icons-EyeInvisibleOutlined.js",
102
- "@ant-design/icons/es/icons/EyeOutlined": "/assets/ojm--ant-design-icons-es-icons-EyeOutlined.js",
103
- "@ant-design/icons/es/icons/DoubleLeftOutlined": "/assets/ojm--ant-design-icons-es-icons-DoubleLeftOutlined.js",
104
- "@ant-design/icons/es/icons/DoubleRightOutlined": "/assets/ojm--ant-design-icons-es-icons-DoubleRightOutlined.js",
105
- "@ant-design/icons/es/icons/ReloadOutlined": "/assets/ojm--ant-design-icons-es-icons-ReloadOutlined.js",
106
- "@ant-design/icons/es/icons/StarFilled": "/assets/ojm--ant-design-icons-es-icons-StarFilled.js",
107
- "@ant-design/icons/es/icons/WarningFilled": "/assets/ojm--ant-design-icons-es-icons-WarningFilled.js",
108
- "@ant-design/icons/es/icons/FilterFilled": "/assets/ojm--ant-design-icons-es-icons-FilterFilled.js",
109
- "@ant-design/icons/es/icons/FileOutlined": "/assets/ojm--ant-design-icons-es-icons-FileOutlined.js",
110
- "@ant-design/icons/es/icons/FolderOpenOutlined": "/assets/ojm--ant-design-icons-es-icons-FolderOpenOutlined.js",
111
- "@ant-design/icons/es/icons/FolderOutlined": "/assets/ojm--ant-design-icons-es-icons-FolderOutlined.js",
112
- "@ant-design/icons/es/icons/HolderOutlined": "/assets/ojm--ant-design-icons-es-icons-HolderOutlined.js",
113
- "@ant-design/icons/es/icons/CaretDownFilled": "/assets/ojm--ant-design-icons-es-icons-CaretDownFilled.js",
114
- "@ant-design/icons/es/icons/MinusSquareOutlined": "/assets/ojm--ant-design-icons-es-icons-MinusSquareOutlined.js",
115
- "@ant-design/icons/es/icons/PlusSquareOutlined": "/assets/ojm--ant-design-icons-es-icons-PlusSquareOutlined.js",
116
- "@ant-design/icons/es/icons/CaretDownOutlined": "/assets/ojm--ant-design-icons-es-icons-CaretDownOutlined.js",
117
- "@ant-design/icons/es/icons/CaretUpOutlined": "/assets/ojm--ant-design-icons-es-icons-CaretUpOutlined.js",
118
- "@ant-design/icons/es/icons/DeleteOutlined": "/assets/ojm--ant-design-icons-es-icons-DeleteOutlined.js",
119
- "@ant-design/icons/es/icons/EditOutlined": "/assets/ojm--ant-design-icons-es-icons-EditOutlined.js",
120
- "@ant-design/icons/es/icons/EnterOutlined": "/assets/ojm--ant-design-icons-es-icons-EnterOutlined.js",
121
- "@ant-design/icons/es/icons/CopyOutlined": "/assets/ojm--ant-design-icons-es-icons-CopyOutlined.js",
122
- "@ant-design/icons/es/icons/PaperClipOutlined": "/assets/ojm--ant-design-icons-es-icons-PaperClipOutlined.js",
123
- "@ant-design/icons/es/icons/PictureOutlined": "/assets/ojm--ant-design-icons-es-icons-PictureOutlined.js",
124
- "@ant-design/icons/es/icons/DownloadOutlined": "/assets/ojm--ant-design-icons-es-icons-DownloadOutlined.js",
125
- "dayjs/locale/zh-cn": "/assets/ojm-dayjs-locale-zh-cn.js"
11
+ "react": "/assets/react.1ew63mwts0.js",
12
+ "react/jsx-runtime": "/assets/jsx-runtime.h40xu4o5b0.js",
13
+ "react/jsx-dev-runtime": "/assets/jsx-dev-runtime.3uibuc82f0.js",
14
+ "react-dom": "/assets/react-dom.2so9uxg3f0.js",
15
+ "react-dom/client": "/assets/react-dom-client.ick0v05ob0.js",
16
+ "react-router": "/assets/react-router.2h9rebcv50.js",
17
+ "react-router/dom": "/assets/react-router-dom.3c6zld8h40.js",
18
+ "@tanstack/react-query": "/assets/react-query.3rln45ow00.js",
19
+ "@oj-module/runtime": "/assets/runtime.2dgstpjsu0.js",
20
+ "@oj-module/runtime/contract": "/assets/contract.3h327o3mj0.js",
21
+ "@oj-module/runtime/contract/errors": "/assets/contract-errors.2o17vz9u50.js",
22
+ "@plane/kit": "/assets/kit.37kr8ui390.js",
23
+ "antd": "/assets/antd.uw1coq15l0.js",
24
+ "antd/locale/en_US": "/assets/antd-locale-en_US.561tozx860.js",
25
+ "antd/locale/zh_CN": "/assets/antd-locale-zh_CN.1cmpmgzh70.js",
26
+ "antd/es/locale/zh_CN": "/assets/antd-es-locale-zh_CN.1gjjsvxbf0.js",
27
+ "@ant-design/icons": "/assets/icons.159wjwals0.js",
28
+ "@ant-design/icons/es/components/Context": "/assets/icons-es-components-Context.365qmflwg0.js",
29
+ "@ant-design/cssinjs": "/assets/cssinjs.atgmhan7m0.js",
30
+ "@ant-design/pro-components": "/assets/pro-components.2kyot1vcl0.js",
31
+ "i18next": "/assets/i18next.33zqofapj0.js",
32
+ "react-i18next": "/assets/react-i18next.auhvjhqv00.js",
33
+ "zustand": "/assets/zustand.3gjgzlnqo0.js",
34
+ "zustand/middleware": "/assets/zustand-middleware.1xaxjueme0.js",
35
+ "zustand/shallow": "/assets/zustand-shallow.6cz0yyv9x0.js",
36
+ "zustand/vanilla": "/assets/zustand-vanilla.1mo3ka3g30.js",
37
+ "zustand/react": "/assets/zustand-react.9fsl9brxy0.js",
38
+ "zustand/react/shallow": "/assets/zustand-react-shallow.pybayv1hx0.js",
39
+ "zustand/vanilla/shallow": "/assets/zustand-vanilla-shallow.3424monv50.js",
40
+ "use-sync-external-store/shim": "/assets/use-sync-external-store-shim.1nz1pi9bb0.js",
41
+ "dayjs": "/assets/dayjs.pa60l6wjo0.js",
42
+ "dayjs/plugin/advancedFormat": "/assets/dayjs-plugin-advancedFormat.3vsyd2eis0.js",
43
+ "dayjs/plugin/customParseFormat": "/assets/dayjs-plugin-customParseFormat.13xhghv1d0.js",
44
+ "dayjs/plugin/isoWeek": "/assets/dayjs-plugin-isoWeek.1fn1tw82p0.js",
45
+ "dayjs/plugin/localeData": "/assets/dayjs-plugin-localeData.2rwbjp9nk0.js",
46
+ "dayjs/plugin/quarterOfYear": "/assets/dayjs-plugin-quarterOfYear.2oqo1lcx80.js",
47
+ "dayjs/plugin/relativeTime": "/assets/dayjs-plugin-relativeTime.2pqs3et4y0.js",
48
+ "dayjs/plugin/weekday": "/assets/dayjs-plugin-weekday.2d56a4tml0.js",
49
+ "dayjs/plugin/weekOfYear": "/assets/dayjs-plugin-weekOfYear.gvn9iph080.js",
50
+ "dayjs/plugin/weekYear": "/assets/dayjs-plugin-weekYear.2u78l3ex10.js",
51
+ "motion": "/assets/motion.21tciqutg0.js",
52
+ "motion/react": "/assets/motion-react.pjsxytvjs0.js",
53
+ "@dnd-kit/core": "/assets/dnd-kit-core.1xyreig6r0.js",
54
+ "@dnd-kit/sortable": "/assets/dnd-kit-sortable.s94qciuft0.js",
55
+ "@dnd-kit/utilities": "/assets/dnd-kit-utilities.1umw4xphb0.js",
56
+ "ahooks": "/assets/ahooks.2l850ymmh0.js",
57
+ "antd-img-crop": "/assets/antd-img-crop.196rkty480.js",
58
+ "keepalive-for-react": "/assets/keepalive-for-react.xenu5vam70.js",
59
+ "ky": "/assets/ky.1cgch7gu60.js",
60
+ "nprogress": "/assets/nprogress.2nz76n9ny0.js",
61
+ "nprogress/nprogress.css": "/assets/nprogress-css.1cq2pzkre0.js",
62
+ "pinyin-pro": "/assets/pinyin-pro.3v0mnxczn0.js",
63
+ "react-error-boundary": "/assets/react-error-boundary.2dncdfj3b0.js",
64
+ "react-jss": "/assets/react-jss.1ei6dr9e00.js",
65
+ "clsx": "/assets/clsx.jotilrt2e0.js",
66
+ "react-countup": "/assets/react-countup.2x8idnr8y0.js",
67
+ "simplebar-react": "/assets/simplebar-react.2g739uvai0.js",
68
+ "spin-delay": "/assets/spin-delay.yjeyj6iwp0.js",
69
+ "tailwind-merge": "/assets/tailwind-merge.125ehiqjw0.js",
70
+ "antd/es/modal": "/assets/ojm-antd-es-modal.bf3tgdh8v0.js",
71
+ "antd/es/upload": "/assets/ojm-antd-es-upload.13gx45e0g0.js",
72
+ "antd/es/button": "/assets/ojm-antd-es-button.2uriphio50.js",
73
+ "antd/es/slider": "/assets/ojm-antd-es-slider.xyvptuhid0.js",
74
+ "dayjs/locale/zh-cn": "/assets/ojm-dayjs-locale-zh-cn.3vr3beiyp0.js"
126
75
  }
127
76
  }</script>
128
77
  <style>
@@ -130,7 +79,7 @@
130
79
  .boot-skeleton:after{content:"";width:18px;height:18px;margin-left:8px;border:2px solid #d9d9d9;border-top-color:#1677ff;border-radius:50%;animation:bs-spin .8s linear infinite}
131
80
  @keyframes bs-spin{to{transform:rotate(360deg)}}
132
81
  </style>
133
- <script nonce="gqN0clQxQgnlBz0xSRc+IA==" data-ojm-entry="/assets/index-xZhmujjM.js">(function(){try{var ua=(navigator.userAgent||"").toLowerCase(),p=location.pathname;while(p.length>1&&p.charAt(p.length-1)==="/")p=p.slice(0,-1);if(ua.indexOf("wxwork")>=0&&p.slice(-6)==="/login"&&!new URLSearchParams(location.search).get("wecom_ticket")){var a=(typeof window.__OJ_API_BASE__==="string"&&window.__OJ_API_BASE__.trim())||"/api";while(a.length>1&&a.charAt(a.length-1)==="/")a=a.slice(0,-1);location.replace(a+"/auth/wecom/login");return}}catch(e){}var s=document.createElement("script");s.type="module";s.src=document.currentScript.getAttribute("data-ojm-entry");document.head.appendChild(s);})();</script>
82
+ <script nonce="amDdx1bR3PQtIt4AbHBZJg==" data-ojm-preload="/assets/cssinjs.atgmhan7m0.js,/assets/pro-components.2kyot1vcl0.js,/assets/runtime.2dgstpjsu0.js,/assets/react-query.3rln45ow00.js,/assets/antd.uw1coq15l0.js,/assets/react.1ew63mwts0.js,/assets/react-dom-client.ick0v05ob0.js,/assets/react-i18next.auhvjhqv00.js,/assets/react-router.2h9rebcv50.js,/assets/jsx-runtime.h40xu4o5b0.js,/assets/react-dom.2so9uxg3f0.js,/assets/clsx.jotilrt2e0.js,/assets/antd-es-locale-zh_CN.1gjjsvxbf0.js,/assets/dayjs.pa60l6wjo0.js,/assets/ojm-dayjs-locale-zh-cn.3vr3beiyp0.js,/assets/use-sync-external-store-shim.1nz1pi9bb0.js,/assets/icons.159wjwals0.js,/assets/dayjs-plugin-quarterOfYear.2oqo1lcx80.js,/assets/dayjs-plugin-customParseFormat.13xhghv1d0.js,/assets/dayjs-plugin-advancedFormat.3vsyd2eis0.js,/assets/dayjs-plugin-isoWeek.1fn1tw82p0.js,/assets/dayjs-plugin-localeData.2rwbjp9nk0.js,/assets/dayjs-plugin-weekday.2d56a4tml0.js,/assets/dayjs-plugin-weekOfYear.gvn9iph080.js,/assets/dayjs-plugin-relativeTime.2pqs3et4y0.js,/assets/dnd-kit-core.1xyreig6r0.js,/assets/dnd-kit-utilities.1umw4xphb0.js,/assets/dnd-kit-sortable.s94qciuft0.js,/assets/ky.1cgch7gu60.js,/assets/zustand.3gjgzlnqo0.js,/assets/zustand-middleware.1xaxjueme0.js,/assets/react-error-boundary.2dncdfj3b0.js,/assets/antd-locale-en_US.561tozx860.js,/assets/antd-locale-zh_CN.1cmpmgzh70.js,/assets/i18next.33zqofapj0.js,/assets/tailwind-merge.125ehiqjw0.js,/assets/nprogress.2nz76n9ny0.js,/assets/nprogress-css.1cq2pzkre0.js,/assets/react-jss.1ei6dr9e00.js,/assets/ahooks.2l850ymmh0.js,/assets/spin-delay.yjeyj6iwp0.js,/assets/simplebar-react.2g739uvai0.js,/assets/keepalive-for-react.xenu5vam70.js,/assets/zustand-shallow.6cz0yyv9x0.js,/assets/contract-errors.2o17vz9u50.js,/assets/antd-img-crop.196rkty480.js,/assets/icons-es-components-Context.365qmflwg0.js,/assets/dayjs-plugin-weekYear.2u78l3ex10.js,/assets/zustand-vanilla.1mo3ka3g30.js,/assets/zustand-react.9fsl9brxy0.js,/assets/zustand-vanilla-shallow.3424monv50.js,/assets/zustand-react-shallow.pybayv1hx0.js,/assets/ojm-antd-es-modal.bf3tgdh8v0.js,/assets/ojm-antd-es-upload.13gx45e0g0.js,/assets/ojm-antd-es-button.2uriphio50.js,/assets/ojm-antd-es-slider.xyvptuhid0.js" data-ojm-entry="/assets/index.6alqyx6ae0.js">(function(){var cs=document.currentScript;try{var ua=(navigator.userAgent||"").toLowerCase(),p=location.pathname;while(p.length>1&&p.charAt(p.length-1)==="/")p=p.slice(0,-1);if(ua.indexOf("wxwork")>=0&&p.slice(-6)==="/login"&&!new URLSearchParams(location.search).get("wecom_ticket")){var a=(typeof window.__OJ_API_BASE__==="string"&&window.__OJ_API_BASE__.trim())||"/api";while(a.length>1&&a.charAt(a.length-1)==="/")a=a.slice(0,-1);var q=new URLSearchParams(location.search),w=new URLSearchParams(),k=["corp","agent"];for(var i=0;i<k.length;i++){var v=(q.get(k[i])||"").trim();if(v)w.set(k[i],v)}var qs=w.toString();location.replace(a+"/auth/wecom/login"+(qs?"?"+qs:""));return}}catch(e){}var pl=cs.getAttribute("data-ojm-preload");if(pl){var ps=pl.split(",");for(var i=0;i<ps.length;i++){var l=document.createElement("link");l.rel="modulepreload";l.href=ps[i];document.head.appendChild(l);}}var s=document.createElement("script");s.type="module";s.src=cs.getAttribute("data-ojm-entry");document.head.appendChild(s);})();</script>
134
83
  </head>
135
84
  <body>
136
85
  <div id="root"><div class="boot-skeleton">加载中…</div></div>
@@ -7,9 +7,9 @@
7
7
  "react-router": "7.18.2",
8
8
  "react-router/dom": "7.18.2",
9
9
  "@tanstack/react-query": "5.102.8",
10
- "@oj-module/runtime": "0.2.64",
11
- "@oj-module/runtime/contract": "0.2.64",
12
- "@oj-module/runtime/contract/errors": "0.2.64",
10
+ "@oj-module/runtime": "0.2.67",
11
+ "@oj-module/runtime/contract": "0.2.67",
12
+ "@oj-module/runtime/contract/errors": "0.2.67",
13
13
  "@plane/kit": "0.1.20",
14
14
  "@plane/editor": "0.1.20",
15
15
  "antd": "6.6.1",