@carlonicora/nextjs-jsonapi 1.24.3 → 1.25.1

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 (76) hide show
  1. package/dist/{BlockNoteEditor-OFSTXGZX.js → BlockNoteEditor-7WAWEZVW.js} +13 -13
  2. package/dist/{BlockNoteEditor-OFSTXGZX.js.map → BlockNoteEditor-7WAWEZVW.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-TJNLCNIP.mjs → BlockNoteEditor-UNVKGZ2G.mjs} +3 -3
  4. package/dist/billing/index.js +342 -342
  5. package/dist/billing/index.mjs +2 -2
  6. package/dist/{chunk-H5JZ5E7M.mjs → chunk-6BDOZDZ3.mjs} +1247 -54
  7. package/dist/chunk-6BDOZDZ3.mjs.map +1 -0
  8. package/dist/{chunk-EJALOG7L.js → chunk-JI6BDV7L.js} +1598 -405
  9. package/dist/chunk-JI6BDV7L.js.map +1 -0
  10. package/dist/{chunk-5U4NJJOF.mjs → chunk-LNBT2YPZ.mjs} +289 -2
  11. package/dist/chunk-LNBT2YPZ.mjs.map +1 -0
  12. package/dist/{chunk-NQVPCNRS.js → chunk-O3LLMGP7.js} +290 -3
  13. package/dist/chunk-O3LLMGP7.js.map +1 -0
  14. package/dist/client/index.d.mts +96 -1
  15. package/dist/client/index.d.ts +96 -1
  16. package/dist/client/index.js +9 -3
  17. package/dist/client/index.js.map +1 -1
  18. package/dist/client/index.mjs +8 -2
  19. package/dist/components/index.d.mts +225 -1
  20. package/dist/components/index.d.ts +225 -1
  21. package/dist/components/index.js +25 -3
  22. package/dist/components/index.js.map +1 -1
  23. package/dist/components/index.mjs +24 -2
  24. package/dist/contexts/index.js +3 -3
  25. package/dist/contexts/index.mjs +2 -2
  26. package/dist/core/index.d.mts +108 -1
  27. package/dist/core/index.d.ts +108 -1
  28. package/dist/core/index.js +14 -2
  29. package/dist/core/index.js.map +1 -1
  30. package/dist/core/index.mjs +13 -1
  31. package/dist/index.d.mts +2 -1
  32. package/dist/index.d.ts +2 -1
  33. package/dist/index.js +14 -2
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +13 -1
  36. package/dist/oauth.interface-DsZ5ecSX.d.mts +119 -0
  37. package/dist/oauth.interface-vL7za9Bz.d.ts +119 -0
  38. package/dist/server/index.js +3 -3
  39. package/dist/server/index.mjs +1 -1
  40. package/package.json +3 -2
  41. package/src/client/index.ts +1 -0
  42. package/src/components/index.ts +1 -0
  43. package/src/core/index.ts +3 -0
  44. package/src/core/registry/ModuleRegistry.ts +2 -0
  45. package/src/features/index.ts +1 -0
  46. package/src/features/oauth/atoms/index.ts +1 -0
  47. package/src/features/oauth/atoms/oauth.atoms.ts +131 -0
  48. package/src/features/oauth/components/OAuthClientCard.tsx +105 -0
  49. package/src/features/oauth/components/OAuthClientDetail.tsx +269 -0
  50. package/src/features/oauth/components/OAuthClientForm.tsx +212 -0
  51. package/src/features/oauth/components/OAuthClientList.tsx +127 -0
  52. package/src/features/oauth/components/OAuthClientSecretDisplay.tsx +127 -0
  53. package/src/features/oauth/components/OAuthRedirectUriInput.tsx +152 -0
  54. package/src/features/oauth/components/OAuthScopeSelector.tsx +123 -0
  55. package/src/features/oauth/components/consent/OAuthConsentActions.tsx +41 -0
  56. package/src/features/oauth/components/consent/OAuthConsentHeader.tsx +51 -0
  57. package/src/features/oauth/components/consent/OAuthConsentScreen.tsx +142 -0
  58. package/src/features/oauth/components/consent/OAuthScopeList.tsx +72 -0
  59. package/src/features/oauth/components/consent/index.ts +4 -0
  60. package/src/features/oauth/components/index.ts +8 -0
  61. package/src/features/oauth/data/index.ts +2 -0
  62. package/src/features/oauth/data/oauth.service.ts +191 -0
  63. package/src/features/oauth/data/oauth.ts +87 -0
  64. package/src/features/oauth/hooks/index.ts +3 -0
  65. package/src/features/oauth/hooks/useOAuthClient.ts +161 -0
  66. package/src/features/oauth/hooks/useOAuthClients.ts +111 -0
  67. package/src/features/oauth/hooks/useOAuthConsent.ts +125 -0
  68. package/src/features/oauth/index.ts +6 -0
  69. package/src/features/oauth/interfaces/index.ts +1 -0
  70. package/src/features/oauth/interfaces/oauth.interface.ts +175 -0
  71. package/src/features/oauth/oauth.module.ts +9 -0
  72. package/dist/chunk-5U4NJJOF.mjs.map +0 -1
  73. package/dist/chunk-EJALOG7L.js.map +0 -1
  74. package/dist/chunk-H5JZ5E7M.mjs.map +0 -1
  75. package/dist/chunk-NQVPCNRS.js.map +0 -1
  76. /package/dist/{BlockNoteEditor-TJNLCNIP.mjs.map → BlockNoteEditor-UNVKGZ2G.mjs.map} +0 -0
@@ -32,7 +32,11 @@ var _chunkEW6QPMN3js = require('./chunk-EW6QPMN3.js');
32
32
 
33
33
 
34
34
 
35
- var _chunkNQVPCNRSjs = require('./chunk-NQVPCNRS.js');
35
+
36
+
37
+
38
+
39
+ var _chunkO3LLMGP7js = require('./chunk-O3LLMGP7.js');
36
40
 
37
41
 
38
42
  var _chunk3EPNHTMHjs = require('./chunk-3EPNHTMH.js');
@@ -161,7 +165,7 @@ function useDataListRetriever(params) {
161
165
  const abortControllerRef = _react.useRef.call(void 0, null);
162
166
  const isFetchingRef = _react.useRef.call(void 0, false);
163
167
  const resolvedType = params.module;
164
- const resolvedService = _chunkNQVPCNRSjs.ClientAbstractService;
168
+ const resolvedService = _chunkO3LLMGP7js.ClientAbstractService;
165
169
  const parsePageParams = _react.useCallback.call(void 0, (url) => {
166
170
  if (!url) return null;
167
171
  try {
@@ -863,20 +867,20 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
863
867
  if (!token && dehydratedUser) setDehydratedUser(null);
864
868
  }, [dehydratedUser, setDehydratedUser]);
865
869
  const matchUrlToModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
866
- const moduleKeys = Object.getOwnPropertyNames(_chunkNQVPCNRSjs.Modules).filter(
870
+ const moduleKeys = Object.getOwnPropertyNames(_chunkO3LLMGP7js.Modules).filter(
867
871
  (key) => key !== "prototype" && key !== "_factory" && key !== "length" && key !== "name"
868
872
  );
869
873
  const matchedModuleKey = moduleKeys.find((key) => {
870
- const descriptor2 = Object.getOwnPropertyDescriptor(_chunkNQVPCNRSjs.Modules, key);
874
+ const descriptor2 = Object.getOwnPropertyDescriptor(_chunkO3LLMGP7js.Modules, key);
871
875
  if (!_optionalChain([descriptor2, 'optionalAccess', _25 => _25.get])) return false;
872
- const selectedModule = descriptor2.get.call(_chunkNQVPCNRSjs.Modules);
876
+ const selectedModule = descriptor2.get.call(_chunkO3LLMGP7js.Modules);
873
877
  return path.toLowerCase().startsWith(_optionalChain([selectedModule, 'access', _26 => _26.pageUrl, 'optionalAccess', _27 => _27.toLowerCase, 'call', _28 => _28()]));
874
878
  });
875
879
  if (!matchedModuleKey) return void 0;
876
- const descriptor = Object.getOwnPropertyDescriptor(_chunkNQVPCNRSjs.Modules, matchedModuleKey);
877
- return _optionalChain([descriptor, 'optionalAccess', _29 => _29.get, 'optionalAccess', _30 => _30.call, 'call', _31 => _31(_chunkNQVPCNRSjs.Modules)]);
880
+ const descriptor = Object.getOwnPropertyDescriptor(_chunkO3LLMGP7js.Modules, matchedModuleKey);
881
+ return _optionalChain([descriptor, 'optionalAccess', _29 => _29.get, 'optionalAccess', _30 => _30.call, 'call', _31 => _31(_chunkO3LLMGP7js.Modules)]);
878
882
  }, "matchUrlToModule");
879
- const currentUser = dehydratedUser ? _chunkNQVPCNRSjs.rehydrate.call(void 0, _chunkNQVPCNRSjs.Modules.User, dehydratedUser) : null;
883
+ const currentUser = dehydratedUser ? _chunkO3LLMGP7js.rehydrate.call(void 0, _chunkO3LLMGP7js.Modules.User, dehydratedUser) : null;
880
884
  const company = _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _32 => _32.company]), () => ( null));
881
885
  const setUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (user) => {
882
886
  if (user) setDehydratedUser(user.dehydrate());
@@ -894,14 +898,14 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
894
898
  function hasPermissionToModule(params) {
895
899
  if (!currentUser) return false;
896
900
  if (!!params.module.feature && !hasAccesToFeature(params.module.feature)) return false;
897
- return _chunkNQVPCNRSjs.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
901
+ return _chunkO3LLMGP7js.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
898
902
  }
899
903
  _chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModule, "hasPermissionToModule");
900
904
  function hasPermissionToModules(params) {
901
905
  if (!currentUser) return false;
902
906
  if (!params.modules.every((module) => !module.feature || hasAccesToFeature(module.feature))) return false;
903
907
  return params.modules.every(
904
- (module) => _chunkNQVPCNRSjs.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
908
+ (module) => _chunkO3LLMGP7js.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
905
909
  );
906
910
  }
907
911
  _chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModules, "hasPermissionToModules");
@@ -957,7 +961,7 @@ function AddUserToRoleInternal({ role, refresh }) {
957
961
  const [existingUsers, setExistingUsers] = _react.useState.call(void 0, null);
958
962
  _react.useEffect.call(void 0, () => {
959
963
  const fetchExistingUsers = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
960
- setExistingUsers(await _chunkNQVPCNRSjs.UserService.findMany({ roleId: role.id, fetchAll: true }));
964
+ setExistingUsers(await _chunkO3LLMGP7js.UserService.findMany({ roleId: role.id, fetchAll: true }));
961
965
  }, "fetchExistingUsers");
962
966
  if (show) {
963
967
  setExistingUsers(null);
@@ -965,7 +969,7 @@ function AddUserToRoleInternal({ role, refresh }) {
965
969
  }
966
970
  }, [show]);
967
971
  const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (user) => {
968
- await _chunkNQVPCNRSjs.RoleService.addUserToRole({
972
+ await _chunkO3LLMGP7js.RoleService.addUserToRole({
969
973
  roleId: role.id,
970
974
  userId: user.id
971
975
  });
@@ -981,9 +985,9 @@ function AddUserToRoleInternal({ role, refresh }) {
981
985
  }, "addUserToRole");
982
986
  const data = useDataListRetriever({
983
987
  ready: !!company && show,
984
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.UserService.findAllUsers(params), "retriever"),
988
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.UserService.findAllUsers(params), "retriever"),
985
989
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _36 => _36.id]) },
986
- module: _chunkNQVPCNRSjs.Modules.User
990
+ module: _chunkO3LLMGP7js.Modules.User
987
991
  });
988
992
  _react.useEffect.call(void 0, () => {
989
993
  if (!!company && show) {
@@ -1034,7 +1038,7 @@ function Accordion({ className, ...props }) {
1034
1038
  _accordion.Accordion.Root,
1035
1039
  {
1036
1040
  "data-slot": "accordion",
1037
- className: _chunkNQVPCNRSjs.cn.call(void 0, "overflow-hidden rounded-md border flex w-full flex-col", className),
1041
+ className: _chunkO3LLMGP7js.cn.call(void 0, "overflow-hidden rounded-md border flex w-full flex-col", className),
1038
1042
  ...props
1039
1043
  }
1040
1044
  );
@@ -1045,7 +1049,7 @@ function AccordionItem({ className, ...props }) {
1045
1049
  _accordion.Accordion.Item,
1046
1050
  {
1047
1051
  "data-slot": "accordion-item",
1048
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-open:bg-muted/50 not-last:border-b", className),
1052
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-open:bg-muted/50 not-last:border-b", className),
1049
1053
  ...props
1050
1054
  }
1051
1055
  );
@@ -1060,7 +1064,7 @@ function AccordionTrigger({
1060
1064
  _accordion.Accordion.Trigger,
1061
1065
  {
1062
1066
  "data-slot": "accordion-trigger",
1063
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1067
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1064
1068
  "**:data-[slot=accordion-trigger-icon]:text-muted-foreground gap-6 p-2 text-left text-xs/relaxed font-medium hover:underline **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 group/accordion-trigger relative flex flex-1 items-start justify-between border border-transparent transition-all outline-none disabled:pointer-events-none disabled:opacity-50",
1065
1069
  className
1066
1070
  ),
@@ -1088,7 +1092,7 @@ function AccordionContent({
1088
1092
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1089
1093
  "div",
1090
1094
  {
1091
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1095
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1092
1096
  "pt-0 pb-4 [&_a]:hover:text-foreground h-(--accordion-panel-height) data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",
1093
1097
  className
1094
1098
  ),
@@ -1124,7 +1128,7 @@ function Alert({
1124
1128
  {
1125
1129
  "data-slot": "alert",
1126
1130
  role: "alert",
1127
- className: _chunkNQVPCNRSjs.cn.call(void 0, alertVariants({ variant }), className),
1131
+ className: _chunkO3LLMGP7js.cn.call(void 0, alertVariants({ variant }), className),
1128
1132
  ...props
1129
1133
  }
1130
1134
  );
@@ -1135,7 +1139,7 @@ function AlertTitle({ className, ...props }) {
1135
1139
  "div",
1136
1140
  {
1137
1141
  "data-slot": "alert-title",
1138
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1142
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1139
1143
  "font-medium group-has-[>svg]/alert:col-start-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
1140
1144
  className
1141
1145
  ),
@@ -1152,7 +1156,7 @@ function AlertDescription({
1152
1156
  "div",
1153
1157
  {
1154
1158
  "data-slot": "alert-description",
1155
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1159
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1156
1160
  "text-muted-foreground text-xs/relaxed text-balance md:text-pretty [&_p:not(:last-child)]:mb-4 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
1157
1161
  className
1158
1162
  ),
@@ -1166,7 +1170,7 @@ function AlertAction({ className, ...props }) {
1166
1170
  "div",
1167
1171
  {
1168
1172
  "data-slot": "alert-action",
1169
- className: _chunkNQVPCNRSjs.cn.call(void 0, "absolute top-1.5 right-2", className),
1173
+ className: _chunkO3LLMGP7js.cn.call(void 0, "absolute top-1.5 right-2", className),
1170
1174
  ...props
1171
1175
  }
1172
1176
  );
@@ -1219,7 +1223,7 @@ function Button({
1219
1223
  _button.Button,
1220
1224
  {
1221
1225
  "data-slot": "button",
1222
- className: _chunkNQVPCNRSjs.cn.call(void 0, buttonVariants({ variant, size, className })),
1226
+ className: _chunkO3LLMGP7js.cn.call(void 0, buttonVariants({ variant, size, className })),
1223
1227
  ...props
1224
1228
  }
1225
1229
  );
@@ -1248,7 +1252,7 @@ function AlertDialogOverlay({
1248
1252
  _alertdialog.AlertDialog.Backdrop,
1249
1253
  {
1250
1254
  "data-slot": "alert-dialog-overlay",
1251
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1255
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1252
1256
  "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50",
1253
1257
  className
1254
1258
  ),
@@ -1269,7 +1273,7 @@ function AlertDialogContent({
1269
1273
  {
1270
1274
  "data-slot": "alert-dialog-content",
1271
1275
  "data-size": size,
1272
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1276
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1273
1277
  "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-3 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",
1274
1278
  className
1275
1279
  ),
@@ -1287,7 +1291,7 @@ function AlertDialogHeader({
1287
1291
  "div",
1288
1292
  {
1289
1293
  "data-slot": "alert-dialog-header",
1290
- className: _chunkNQVPCNRSjs.cn.call(void 0, "grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", className),
1294
+ className: _chunkO3LLMGP7js.cn.call(void 0, "grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", className),
1291
1295
  ...props
1292
1296
  }
1293
1297
  );
@@ -1301,7 +1305,7 @@ function AlertDialogFooter({
1301
1305
  "div",
1302
1306
  {
1303
1307
  "data-slot": "alert-dialog-footer",
1304
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1308
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1305
1309
  "flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",
1306
1310
  className
1307
1311
  ),
@@ -1318,7 +1322,7 @@ function AlertDialogMedia({
1318
1322
  "div",
1319
1323
  {
1320
1324
  "data-slot": "alert-dialog-media",
1321
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-muted mb-2 inline-flex size-8 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4", className),
1325
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-muted mb-2 inline-flex size-8 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4", className),
1322
1326
  ...props
1323
1327
  }
1324
1328
  );
@@ -1332,7 +1336,7 @@ function AlertDialogTitle({
1332
1336
  _alertdialog.AlertDialog.Title,
1333
1337
  {
1334
1338
  "data-slot": "alert-dialog-title",
1335
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", className),
1339
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", className),
1336
1340
  ...props
1337
1341
  }
1338
1342
  );
@@ -1346,7 +1350,7 @@ function AlertDialogDescription({
1346
1350
  _alertdialog.AlertDialog.Description,
1347
1351
  {
1348
1352
  "data-slot": "alert-dialog-description",
1349
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", className),
1353
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", className),
1350
1354
  ...props
1351
1355
  }
1352
1356
  );
@@ -1360,7 +1364,7 @@ function AlertDialogAction({
1360
1364
  Button,
1361
1365
  {
1362
1366
  "data-slot": "alert-dialog-action",
1363
- className: _chunkNQVPCNRSjs.cn.call(void 0, className),
1367
+ className: _chunkO3LLMGP7js.cn.call(void 0, className),
1364
1368
  ...props
1365
1369
  }
1366
1370
  );
@@ -1376,7 +1380,7 @@ function AlertDialogCancel({
1376
1380
  _alertdialog.AlertDialog.Close,
1377
1381
  {
1378
1382
  "data-slot": "alert-dialog-cancel",
1379
- className: _chunkNQVPCNRSjs.cn.call(void 0, className),
1383
+ className: _chunkO3LLMGP7js.cn.call(void 0, className),
1380
1384
  render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { variant, size }),
1381
1385
  ...props
1382
1386
  }
@@ -1397,7 +1401,7 @@ function Avatar({
1397
1401
  {
1398
1402
  "data-slot": "avatar",
1399
1403
  "data-size": size,
1400
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1404
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1401
1405
  "size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten",
1402
1406
  className
1403
1407
  ),
@@ -1411,7 +1415,7 @@ function AvatarImage({ className, ...props }) {
1411
1415
  _avatar.Avatar.Image,
1412
1416
  {
1413
1417
  "data-slot": "avatar-image",
1414
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1418
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1415
1419
  "rounded-full aspect-square size-full object-cover",
1416
1420
  className
1417
1421
  ),
@@ -1428,7 +1432,7 @@ function AvatarFallback({
1428
1432
  _avatar.Avatar.Fallback,
1429
1433
  {
1430
1434
  "data-slot": "avatar-fallback",
1431
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1435
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1432
1436
  "bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs",
1433
1437
  className
1434
1438
  ),
@@ -1442,7 +1446,7 @@ function AvatarBadge({ className, ...props }) {
1442
1446
  "span",
1443
1447
  {
1444
1448
  "data-slot": "avatar-badge",
1445
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1449
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1446
1450
  "bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none",
1447
1451
  "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",
1448
1452
  "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",
@@ -1459,7 +1463,7 @@ function AvatarGroup({ className, ...props }) {
1459
1463
  "div",
1460
1464
  {
1461
1465
  "data-slot": "avatar-group",
1462
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1466
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1463
1467
  "*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",
1464
1468
  className
1465
1469
  ),
@@ -1476,7 +1480,7 @@ function AvatarGroupCount({
1476
1480
  "div",
1477
1481
  {
1478
1482
  "data-slot": "avatar-group-count",
1479
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-muted text-muted-foreground size-8 rounded-full text-xs/relaxed group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", className),
1483
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-muted text-muted-foreground size-8 rounded-full text-xs/relaxed group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", className),
1480
1484
  ...props
1481
1485
  }
1482
1486
  );
@@ -1515,7 +1519,7 @@ function Badge({
1515
1519
  defaultTagName: "span",
1516
1520
  props: _mergeprops.mergeProps.call(void 0,
1517
1521
  {
1518
- className: _chunkNQVPCNRSjs.cn.call(void 0, badgeVariants({ className, variant }))
1522
+ className: _chunkO3LLMGP7js.cn.call(void 0, badgeVariants({ className, variant }))
1519
1523
  },
1520
1524
  props
1521
1525
  ),
@@ -1539,7 +1543,7 @@ function Breadcrumb({ className, ...props }) {
1539
1543
  {
1540
1544
  "aria-label": "breadcrumb",
1541
1545
  "data-slot": "breadcrumb",
1542
- className: _chunkNQVPCNRSjs.cn.call(void 0, className),
1546
+ className: _chunkO3LLMGP7js.cn.call(void 0, className),
1543
1547
  ...props
1544
1548
  }
1545
1549
  );
@@ -1550,7 +1554,7 @@ function BreadcrumbList({ className, ...props }) {
1550
1554
  "ol",
1551
1555
  {
1552
1556
  "data-slot": "breadcrumb-list",
1553
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1557
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1554
1558
  "text-muted-foreground gap-1.5 text-xs/relaxed flex flex-wrap items-center break-words",
1555
1559
  className
1556
1560
  ),
@@ -1564,7 +1568,7 @@ function BreadcrumbItem({ className, ...props }) {
1564
1568
  "li",
1565
1569
  {
1566
1570
  "data-slot": "breadcrumb-item",
1567
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-1 inline-flex items-center", className),
1571
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-1 inline-flex items-center", className),
1568
1572
  ...props
1569
1573
  }
1570
1574
  );
@@ -1579,7 +1583,7 @@ function BreadcrumbLink({
1579
1583
  defaultTagName: "a",
1580
1584
  props: _mergeprops.mergeProps.call(void 0,
1581
1585
  {
1582
- className: _chunkNQVPCNRSjs.cn.call(void 0, "hover:text-foreground transition-colors", className)
1586
+ className: _chunkO3LLMGP7js.cn.call(void 0, "hover:text-foreground transition-colors", className)
1583
1587
  },
1584
1588
  props
1585
1589
  ),
@@ -1598,7 +1602,7 @@ function BreadcrumbPage({ className, ...props }) {
1598
1602
  role: "link",
1599
1603
  "aria-disabled": "true",
1600
1604
  "aria-current": "page",
1601
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-foreground font-normal", className),
1605
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-foreground font-normal", className),
1602
1606
  ...props
1603
1607
  }
1604
1608
  );
@@ -1615,7 +1619,7 @@ function BreadcrumbSeparator({
1615
1619
  "data-slot": "breadcrumb-separator",
1616
1620
  role: "presentation",
1617
1621
  "aria-hidden": "true",
1618
- className: _chunkNQVPCNRSjs.cn.call(void 0, "[&>svg]:size-3.5", className),
1622
+ className: _chunkO3LLMGP7js.cn.call(void 0, "[&>svg]:size-3.5", className),
1619
1623
  ...props,
1620
1624
  children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1621
1625
  _lucidereact.ChevronRightIcon,
@@ -1635,7 +1639,7 @@ function BreadcrumbEllipsis({
1635
1639
  "data-slot": "breadcrumb-ellipsis",
1636
1640
  role: "presentation",
1637
1641
  "aria-hidden": "true",
1638
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1642
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1639
1643
  "size-4 [&>svg]:size-3.5 flex items-center justify-center",
1640
1644
  className
1641
1645
  ),
@@ -1675,7 +1679,7 @@ function Calendar({
1675
1679
  _reactdaypicker.DayPicker,
1676
1680
  {
1677
1681
  showOutsideDays,
1678
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1682
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1679
1683
  "p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(6)] bg-background group/calendar [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
1680
1684
  String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
1681
1685
  String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
@@ -1687,89 +1691,89 @@ function Calendar({
1687
1691
  ...formatters
1688
1692
  },
1689
1693
  classNames: {
1690
- root: _chunkNQVPCNRSjs.cn.call(void 0, "w-fit", defaultClassNames.root),
1691
- months: _chunkNQVPCNRSjs.cn.call(void 0,
1694
+ root: _chunkO3LLMGP7js.cn.call(void 0, "w-fit", defaultClassNames.root),
1695
+ months: _chunkO3LLMGP7js.cn.call(void 0,
1692
1696
  "flex gap-4 flex-col md:flex-row relative",
1693
1697
  defaultClassNames.months
1694
1698
  ),
1695
- month: _chunkNQVPCNRSjs.cn.call(void 0, "flex flex-col w-full gap-4", defaultClassNames.month),
1696
- nav: _chunkNQVPCNRSjs.cn.call(void 0,
1699
+ month: _chunkO3LLMGP7js.cn.call(void 0, "flex flex-col w-full gap-4", defaultClassNames.month),
1700
+ nav: _chunkO3LLMGP7js.cn.call(void 0,
1697
1701
  "flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",
1698
1702
  defaultClassNames.nav
1699
1703
  ),
1700
- button_previous: _chunkNQVPCNRSjs.cn.call(void 0,
1704
+ button_previous: _chunkO3LLMGP7js.cn.call(void 0,
1701
1705
  buttonVariants({ variant: buttonVariant }),
1702
1706
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
1703
1707
  defaultClassNames.button_previous
1704
1708
  ),
1705
- button_next: _chunkNQVPCNRSjs.cn.call(void 0,
1709
+ button_next: _chunkO3LLMGP7js.cn.call(void 0,
1706
1710
  buttonVariants({ variant: buttonVariant }),
1707
1711
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
1708
1712
  defaultClassNames.button_next
1709
1713
  ),
1710
- month_caption: _chunkNQVPCNRSjs.cn.call(void 0,
1714
+ month_caption: _chunkO3LLMGP7js.cn.call(void 0,
1711
1715
  "flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",
1712
1716
  defaultClassNames.month_caption
1713
1717
  ),
1714
- dropdowns: _chunkNQVPCNRSjs.cn.call(void 0,
1718
+ dropdowns: _chunkO3LLMGP7js.cn.call(void 0,
1715
1719
  "w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",
1716
1720
  defaultClassNames.dropdowns
1717
1721
  ),
1718
- dropdown_root: _chunkNQVPCNRSjs.cn.call(void 0,
1722
+ dropdown_root: _chunkO3LLMGP7js.cn.call(void 0,
1719
1723
  "relative cn-calendar-dropdown-root rounded-(--cell-radius)",
1720
1724
  defaultClassNames.dropdown_root
1721
1725
  ),
1722
- dropdown: _chunkNQVPCNRSjs.cn.call(void 0,
1726
+ dropdown: _chunkO3LLMGP7js.cn.call(void 0,
1723
1727
  "absolute bg-popover inset-0 opacity-0",
1724
1728
  defaultClassNames.dropdown
1725
1729
  ),
1726
- caption_label: _chunkNQVPCNRSjs.cn.call(void 0,
1730
+ caption_label: _chunkO3LLMGP7js.cn.call(void 0,
1727
1731
  "select-none font-medium",
1728
1732
  captionLayout === "label" ? "text-sm" : "cn-calendar-caption-label rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5",
1729
1733
  defaultClassNames.caption_label
1730
1734
  ),
1731
1735
  table: "w-full border-collapse",
1732
- weekdays: _chunkNQVPCNRSjs.cn.call(void 0, "flex", defaultClassNames.weekdays),
1733
- weekday: _chunkNQVPCNRSjs.cn.call(void 0,
1736
+ weekdays: _chunkO3LLMGP7js.cn.call(void 0, "flex", defaultClassNames.weekdays),
1737
+ weekday: _chunkO3LLMGP7js.cn.call(void 0,
1734
1738
  "text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",
1735
1739
  defaultClassNames.weekday
1736
1740
  ),
1737
- week: _chunkNQVPCNRSjs.cn.call(void 0, "flex w-full mt-2", defaultClassNames.week),
1738
- week_number_header: _chunkNQVPCNRSjs.cn.call(void 0,
1741
+ week: _chunkO3LLMGP7js.cn.call(void 0, "flex w-full mt-2", defaultClassNames.week),
1742
+ week_number_header: _chunkO3LLMGP7js.cn.call(void 0,
1739
1743
  "select-none w-(--cell-size)",
1740
1744
  defaultClassNames.week_number_header
1741
1745
  ),
1742
- week_number: _chunkNQVPCNRSjs.cn.call(void 0,
1746
+ week_number: _chunkO3LLMGP7js.cn.call(void 0,
1743
1747
  "text-[0.8rem] select-none text-muted-foreground",
1744
1748
  defaultClassNames.week_number
1745
1749
  ),
1746
- day: _chunkNQVPCNRSjs.cn.call(void 0,
1750
+ day: _chunkO3LLMGP7js.cn.call(void 0,
1747
1751
  "relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius) group/day aspect-square select-none",
1748
1752
  props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",
1749
1753
  defaultClassNames.day
1750
1754
  ),
1751
- range_start: _chunkNQVPCNRSjs.cn.call(void 0,
1755
+ range_start: _chunkO3LLMGP7js.cn.call(void 0,
1752
1756
  "rounded-l-(--cell-radius) bg-muted elative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:right-0 -z-0 isolate",
1753
1757
  defaultClassNames.range_start
1754
1758
  ),
1755
- range_middle: _chunkNQVPCNRSjs.cn.call(void 0, "rounded-none", defaultClassNames.range_middle),
1756
- range_end: _chunkNQVPCNRSjs.cn.call(void 0,
1759
+ range_middle: _chunkO3LLMGP7js.cn.call(void 0, "rounded-none", defaultClassNames.range_middle),
1760
+ range_end: _chunkO3LLMGP7js.cn.call(void 0,
1757
1761
  "rounded-r-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:left-0 -z-0 isolate",
1758
1762
  defaultClassNames.range_end
1759
1763
  ),
1760
- today: _chunkNQVPCNRSjs.cn.call(void 0,
1764
+ today: _chunkO3LLMGP7js.cn.call(void 0,
1761
1765
  "bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",
1762
1766
  defaultClassNames.today
1763
1767
  ),
1764
- outside: _chunkNQVPCNRSjs.cn.call(void 0,
1768
+ outside: _chunkO3LLMGP7js.cn.call(void 0,
1765
1769
  "text-muted-foreground aria-selected:text-muted-foreground",
1766
1770
  defaultClassNames.outside
1767
1771
  ),
1768
- disabled: _chunkNQVPCNRSjs.cn.call(void 0,
1772
+ disabled: _chunkO3LLMGP7js.cn.call(void 0,
1769
1773
  "text-muted-foreground opacity-50",
1770
1774
  defaultClassNames.disabled
1771
1775
  ),
1772
- hidden: _chunkNQVPCNRSjs.cn.call(void 0, "invisible", defaultClassNames.hidden),
1776
+ hidden: _chunkO3LLMGP7js.cn.call(void 0, "invisible", defaultClassNames.hidden),
1773
1777
  ...classNames
1774
1778
  },
1775
1779
  components: {
@@ -1779,19 +1783,19 @@ function Calendar({
1779
1783
  {
1780
1784
  "data-slot": "calendar",
1781
1785
  ref: rootRef,
1782
- className: _chunkNQVPCNRSjs.cn.call(void 0, className2),
1786
+ className: _chunkO3LLMGP7js.cn.call(void 0, className2),
1783
1787
  ...props2
1784
1788
  }
1785
1789
  );
1786
1790
  }, "Root"),
1787
1791
  Chevron: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className: className2, orientation, ...props2 }) => {
1788
1792
  if (orientation === "left") {
1789
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className: _chunkNQVPCNRSjs.cn.call(void 0, "size-4", className2), ...props2 });
1793
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className: _chunkO3LLMGP7js.cn.call(void 0, "size-4", className2), ...props2 });
1790
1794
  }
1791
1795
  if (orientation === "right") {
1792
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className: _chunkNQVPCNRSjs.cn.call(void 0, "size-4", className2), ...props2 });
1796
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className: _chunkO3LLMGP7js.cn.call(void 0, "size-4", className2), ...props2 });
1793
1797
  }
1794
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: _chunkNQVPCNRSjs.cn.call(void 0, "size-4", className2), ...props2 });
1798
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: _chunkO3LLMGP7js.cn.call(void 0, "size-4", className2), ...props2 });
1795
1799
  }, "Chevron"),
1796
1800
  DayButton: CalendarDayButton,
1797
1801
  WeekNumber: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ children, ...props2 }) => {
@@ -1825,7 +1829,7 @@ function CalendarDayButton({
1825
1829
  "data-range-start": modifiers.range_start,
1826
1830
  "data-range-end": modifiers.range_end,
1827
1831
  "data-range-middle": modifiers.range_middle,
1828
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1832
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1829
1833
  "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-foreground relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) [&>span]:text-xs [&>span]:opacity-70",
1830
1834
  defaultClassNames.day,
1831
1835
  className
@@ -1848,7 +1852,7 @@ function Card({
1848
1852
  {
1849
1853
  "data-slot": "card",
1850
1854
  "data-size": size,
1851
- className: _chunkNQVPCNRSjs.cn.call(void 0, "ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-lg py-4 text-xs/relaxed ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 *:[img:first-child]:rounded-t-lg *:[img:last-child]:rounded-b-lg group/card flex flex-col", className),
1855
+ className: _chunkO3LLMGP7js.cn.call(void 0, "ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-lg py-4 text-xs/relaxed ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 *:[img:first-child]:rounded-t-lg *:[img:last-child]:rounded-b-lg group/card flex flex-col", className),
1852
1856
  ...props
1853
1857
  }
1854
1858
  );
@@ -1859,7 +1863,7 @@ function CardHeader({ className, ...props }) {
1859
1863
  "div",
1860
1864
  {
1861
1865
  "data-slot": "card-header",
1862
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1866
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1863
1867
  "gap-1 rounded-t-lg px-4 group-data-[size=sm]/card:px-3 [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",
1864
1868
  className
1865
1869
  ),
@@ -1873,7 +1877,7 @@ function CardTitle({ className, ...props }) {
1873
1877
  "div",
1874
1878
  {
1875
1879
  "data-slot": "card-title",
1876
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-sm font-medium", className),
1880
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-sm font-medium", className),
1877
1881
  ...props
1878
1882
  }
1879
1883
  );
@@ -1884,7 +1888,7 @@ function CardDescription({ className, ...props }) {
1884
1888
  "div",
1885
1889
  {
1886
1890
  "data-slot": "card-description",
1887
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
1891
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
1888
1892
  ...props
1889
1893
  }
1890
1894
  );
@@ -1895,7 +1899,7 @@ function CardAction({ className, ...props }) {
1895
1899
  "div",
1896
1900
  {
1897
1901
  "data-slot": "card-action",
1898
- className: _chunkNQVPCNRSjs.cn.call(void 0,
1902
+ className: _chunkO3LLMGP7js.cn.call(void 0,
1899
1903
  "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
1900
1904
  className
1901
1905
  ),
@@ -1909,7 +1913,7 @@ function CardContent({ className, ...props }) {
1909
1913
  "div",
1910
1914
  {
1911
1915
  "data-slot": "card-content",
1912
- className: _chunkNQVPCNRSjs.cn.call(void 0, "px-4 group-data-[size=sm]/card:px-3", className),
1916
+ className: _chunkO3LLMGP7js.cn.call(void 0, "px-4 group-data-[size=sm]/card:px-3", className),
1913
1917
  ...props
1914
1918
  }
1915
1919
  );
@@ -1920,7 +1924,7 @@ function CardFooter({ className, ...props }) {
1920
1924
  "div",
1921
1925
  {
1922
1926
  "data-slot": "card-footer",
1923
- className: _chunkNQVPCNRSjs.cn.call(void 0, "rounded-b-lg px-4 group-data-[size=sm]/card:px-3 [.border-t]:pt-4 group-data-[size=sm]/card:[.border-t]:pt-3 flex items-center", className),
1927
+ className: _chunkO3LLMGP7js.cn.call(void 0, "rounded-b-lg px-4 group-data-[size=sm]/card:px-3 [.border-t]:pt-4 group-data-[size=sm]/card:[.border-t]:pt-3 flex items-center", className),
1924
1928
  ...props
1925
1929
  }
1926
1930
  );
@@ -2012,7 +2016,7 @@ function Carousel({
2012
2016
  "div",
2013
2017
  {
2014
2018
  onKeyDownCapture: handleKeyDown,
2015
- className: _chunkNQVPCNRSjs.cn.call(void 0, "relative", className),
2019
+ className: _chunkO3LLMGP7js.cn.call(void 0, "relative", className),
2016
2020
  role: "region",
2017
2021
  "aria-roledescription": "carousel",
2018
2022
  "data-slot": "carousel",
@@ -2035,7 +2039,7 @@ function CarouselContent({ className, ...props }) {
2035
2039
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2036
2040
  "div",
2037
2041
  {
2038
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2042
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2039
2043
  "flex",
2040
2044
  orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
2041
2045
  className
@@ -2055,7 +2059,7 @@ function CarouselItem({ className, ...props }) {
2055
2059
  role: "group",
2056
2060
  "aria-roledescription": "slide",
2057
2061
  "data-slot": "carousel-item",
2058
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2062
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2059
2063
  "min-w-0 shrink-0 grow-0 basis-full",
2060
2064
  orientation === "horizontal" ? "pl-4" : "pt-4",
2061
2065
  className
@@ -2078,7 +2082,7 @@ function CarouselPrevious({
2078
2082
  "data-slot": "carousel-previous",
2079
2083
  variant,
2080
2084
  size,
2081
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2085
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2082
2086
  "rounded-full absolute touch-manipulation",
2083
2087
  orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
2084
2088
  className
@@ -2110,7 +2114,7 @@ function CarouselNext({
2110
2114
  "data-slot": "carousel-next",
2111
2115
  variant,
2112
2116
  size,
2113
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2117
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2114
2118
  "rounded-full absolute touch-manipulation",
2115
2119
  orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
2116
2120
  className
@@ -2158,7 +2162,7 @@ function ChartContainer({
2158
2162
  {
2159
2163
  "data-slot": "chart",
2160
2164
  "data-chart": chartId,
2161
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2165
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2162
2166
  "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
2163
2167
  className
2164
2168
  ),
@@ -2222,12 +2226,12 @@ function ChartTooltipContent({
2222
2226
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
2223
2227
  const value = !labelKey && typeof label === "string" ? _optionalChain([config, 'access', _52 => _52[label], 'optionalAccess', _53 => _53.label]) || label : _optionalChain([itemConfig, 'optionalAccess', _54 => _54.label]);
2224
2228
  if (labelFormatter) {
2225
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkNQVPCNRSjs.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
2229
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkO3LLMGP7js.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
2226
2230
  }
2227
2231
  if (!value) {
2228
2232
  return null;
2229
2233
  }
2230
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkNQVPCNRSjs.cn.call(void 0, "font-medium", labelClassName), children: value });
2234
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkO3LLMGP7js.cn.call(void 0, "font-medium", labelClassName), children: value });
2231
2235
  }, [
2232
2236
  label,
2233
2237
  labelFormatter,
@@ -2244,7 +2248,7 @@ function ChartTooltipContent({
2244
2248
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2245
2249
  "div",
2246
2250
  {
2247
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2251
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2248
2252
  "border-border/50 bg-background gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs/relaxed shadow-xl grid min-w-[8rem] items-start",
2249
2253
  className
2250
2254
  ),
@@ -2257,7 +2261,7 @@ function ChartTooltipContent({
2257
2261
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2258
2262
  "div",
2259
2263
  {
2260
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2264
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2261
2265
  "[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
2262
2266
  indicator === "dot" && "items-center"
2263
2267
  ),
@@ -2265,7 +2269,7 @@ function ChartTooltipContent({
2265
2269
  _optionalChain([itemConfig, 'optionalAccess', _59 => _59.icon]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2266
2270
  "div",
2267
2271
  {
2268
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2272
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2269
2273
  "shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
2270
2274
  {
2271
2275
  "h-2.5 w-2.5": indicator === "dot",
@@ -2283,7 +2287,7 @@ function ChartTooltipContent({
2283
2287
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2284
2288
  "div",
2285
2289
  {
2286
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2290
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2287
2291
  "flex flex-1 justify-between leading-none",
2288
2292
  nestLabel ? "items-end" : "items-center"
2289
2293
  ),
@@ -2321,7 +2325,7 @@ function ChartLegendContent({
2321
2325
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2322
2326
  "div",
2323
2327
  {
2324
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2328
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2325
2329
  "flex items-center justify-center gap-4",
2326
2330
  verticalAlign === "top" ? "pb-3" : "pt-3",
2327
2331
  className
@@ -2332,7 +2336,7 @@ function ChartLegendContent({
2332
2336
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2333
2337
  "div",
2334
2338
  {
2335
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2339
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2336
2340
  "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
2337
2341
  ),
2338
2342
  children: [
@@ -2379,7 +2383,7 @@ function Checkbox({ className, ...props }) {
2379
2383
  _checkbox.Checkbox.Root,
2380
2384
  {
2381
2385
  "data-slot": "checkbox",
2382
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2386
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2383
2387
  "border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-shadow group-has-disabled/field:opacity-50 focus-visible:ring-[2px] aria-invalid:ring-[2px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
2384
2388
  className
2385
2389
  ),
@@ -2447,7 +2451,7 @@ function DialogOverlay({
2447
2451
  _dialog.Dialog.Backdrop,
2448
2452
  {
2449
2453
  "data-slot": "dialog-overlay",
2450
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", className),
2454
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", className),
2451
2455
  ...props
2452
2456
  }
2453
2457
  );
@@ -2465,7 +2469,7 @@ function DialogContent({
2465
2469
  _dialog.Dialog.Popup,
2466
2470
  {
2467
2471
  "data-slot": "dialog-content",
2468
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2472
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2469
2473
  "bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid gap-4 rounded-xl p-4 text-xs/relaxed ring-1 duration-100 fixed top-1/2 left-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 outline-none",
2470
2474
  className
2471
2475
  ),
@@ -2504,7 +2508,7 @@ function DialogHeader({ className, ...props }) {
2504
2508
  "div",
2505
2509
  {
2506
2510
  "data-slot": "dialog-header",
2507
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-1 flex flex-col", className),
2511
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-1 flex flex-col", className),
2508
2512
  ...props
2509
2513
  }
2510
2514
  );
@@ -2520,7 +2524,7 @@ function DialogFooter({
2520
2524
  "div",
2521
2525
  {
2522
2526
  "data-slot": "dialog-footer",
2523
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2527
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2524
2528
  "gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
2525
2529
  className
2526
2530
  ),
@@ -2538,7 +2542,7 @@ function DialogTitle({ className, ...props }) {
2538
2542
  _dialog.Dialog.Title,
2539
2543
  {
2540
2544
  "data-slot": "dialog-title",
2541
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-sm font-medium", className),
2545
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-sm font-medium", className),
2542
2546
  ...props
2543
2547
  }
2544
2548
  );
@@ -2552,7 +2556,7 @@ function DialogDescription({
2552
2556
  _dialog.Dialog.Description,
2553
2557
  {
2554
2558
  "data-slot": "dialog-description",
2555
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3", className),
2559
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3", className),
2556
2560
  ...props
2557
2561
  }
2558
2562
  );
@@ -2571,7 +2575,7 @@ function Input({ className, type, ...props }) {
2571
2575
  {
2572
2576
  type,
2573
2577
  "data-slot": "input",
2574
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2578
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2575
2579
  "bg-input/20 dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 h-7 rounded-md border px-2 py-0.5 text-sm transition-colors file:h-6 file:text-xs/relaxed file:font-medium focus-visible:ring-[2px] aria-invalid:ring-[2px] md:text-xs/relaxed file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
2576
2580
  className
2577
2581
  ),
@@ -2588,7 +2592,7 @@ function Textarea({ className, ...props }) {
2588
2592
  "textarea",
2589
2593
  {
2590
2594
  "data-slot": "textarea",
2591
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2595
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2592
2596
  "border-input bg-input/20 dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 resize-none rounded-md border px-2 py-2 text-sm transition-colors focus-visible:ring-[2px] aria-invalid:ring-[2px] md:text-xs/relaxed placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50",
2593
2597
  className
2594
2598
  ),
@@ -2606,7 +2610,7 @@ function InputGroup({ className, ...props }) {
2606
2610
  {
2607
2611
  "data-slot": "input-group",
2608
2612
  role: "group",
2609
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2613
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2610
2614
  "border-input bg-input/20 dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/30 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 h-7 rounded-md border transition-colors has-data-[align=block-end]:rounded-md has-data-[align=block-start]:rounded-md has-[[data-slot=input-group-control]:focus-visible]:ring-[2px] has-[[data-slot][aria-invalid=true]]:ring-[2px] has-[textarea]:rounded-md has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",
2611
2615
  className
2612
2616
  ),
@@ -2642,7 +2646,7 @@ function InputGroupAddon({
2642
2646
  role: "group",
2643
2647
  "data-slot": "input-group-addon",
2644
2648
  "data-align": align,
2645
- className: _chunkNQVPCNRSjs.cn.call(void 0, inputGroupAddonVariants({ align }), className),
2649
+ className: _chunkO3LLMGP7js.cn.call(void 0, inputGroupAddonVariants({ align }), className),
2646
2650
  onClick: (e) => {
2647
2651
  if (e.target.closest("button")) {
2648
2652
  return;
@@ -2683,7 +2687,7 @@ function InputGroupButton({
2683
2687
  type,
2684
2688
  "data-size": size,
2685
2689
  variant,
2686
- className: _chunkNQVPCNRSjs.cn.call(void 0, inputGroupButtonVariants({ size }), className),
2690
+ className: _chunkO3LLMGP7js.cn.call(void 0, inputGroupButtonVariants({ size }), className),
2687
2691
  ...props
2688
2692
  }
2689
2693
  );
@@ -2693,7 +2697,7 @@ function InputGroupText({ className, ...props }) {
2693
2697
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2694
2698
  "span",
2695
2699
  {
2696
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2700
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2697
2701
  "text-muted-foreground gap-2 text-xs/relaxed [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",
2698
2702
  className
2699
2703
  ),
@@ -2710,7 +2714,7 @@ function InputGroupInput({
2710
2714
  Input,
2711
2715
  {
2712
2716
  "data-slot": "input-group-control",
2713
- className: _chunkNQVPCNRSjs.cn.call(void 0, "rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1", className),
2717
+ className: _chunkO3LLMGP7js.cn.call(void 0, "rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1", className),
2714
2718
  ...props
2715
2719
  }
2716
2720
  );
@@ -2724,7 +2728,7 @@ function InputGroupTextarea({
2724
2728
  Textarea,
2725
2729
  {
2726
2730
  "data-slot": "input-group-control",
2727
- className: _chunkNQVPCNRSjs.cn.call(void 0, "rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1 resize-none", className),
2731
+ className: _chunkO3LLMGP7js.cn.call(void 0, "rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1 resize-none", className),
2728
2732
  ...props
2729
2733
  }
2730
2734
  );
@@ -2742,7 +2746,7 @@ function Command({
2742
2746
  _cmdk.Command,
2743
2747
  {
2744
2748
  "data-slot": "command",
2745
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2749
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2746
2750
  "bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden",
2747
2751
  className
2748
2752
  ),
@@ -2767,7 +2771,7 @@ function CommandDialog({
2767
2771
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2768
2772
  DialogContent,
2769
2773
  {
2770
- className: _chunkNQVPCNRSjs.cn.call(void 0, "rounded-xl! p-0 overflow-hidden p-0", className),
2774
+ className: _chunkO3LLMGP7js.cn.call(void 0, "rounded-xl! p-0 overflow-hidden p-0", className),
2771
2775
  showCloseButton,
2772
2776
  children
2773
2777
  }
@@ -2784,7 +2788,7 @@ function CommandInput({
2784
2788
  _cmdk.Command.Input,
2785
2789
  {
2786
2790
  "data-slot": "command-input",
2787
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2791
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2788
2792
  "w-full text-xs/relaxed outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
2789
2793
  className
2790
2794
  ),
@@ -2803,7 +2807,7 @@ function CommandList({
2803
2807
  _cmdk.Command.List,
2804
2808
  {
2805
2809
  "data-slot": "command-list",
2806
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2810
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2807
2811
  "no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto",
2808
2812
  className
2809
2813
  ),
@@ -2820,7 +2824,7 @@ function CommandEmpty({
2820
2824
  _cmdk.Command.Empty,
2821
2825
  {
2822
2826
  "data-slot": "command-empty",
2823
- className: _chunkNQVPCNRSjs.cn.call(void 0, "py-6 text-center text-xs/relaxed", className),
2827
+ className: _chunkO3LLMGP7js.cn.call(void 0, "py-6 text-center text-xs/relaxed", className),
2824
2828
  ...props
2825
2829
  }
2826
2830
  );
@@ -2834,7 +2838,7 @@ function CommandGroup({
2834
2838
  _cmdk.Command.Group,
2835
2839
  {
2836
2840
  "data-slot": "command-group",
2837
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
2841
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
2838
2842
  ...props
2839
2843
  }
2840
2844
  );
@@ -2848,7 +2852,7 @@ function CommandSeparator({
2848
2852
  _cmdk.Command.Separator,
2849
2853
  {
2850
2854
  "data-slot": "command-separator",
2851
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
2855
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
2852
2856
  ...props
2853
2857
  }
2854
2858
  );
@@ -2863,7 +2867,7 @@ function CommandItem({
2863
2867
  _cmdk.Command.Item,
2864
2868
  {
2865
2869
  "data-slot": "command-item",
2866
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2870
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2867
2871
  "data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex min-h-7 cursor-default items-center gap-2 rounded-md px-2.5 py-1.5 text-xs/relaxed outline-hidden select-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=dialog-content]_&]:rounded-md group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2868
2872
  className
2869
2873
  ),
@@ -2884,7 +2888,7 @@ function CommandShortcut({
2884
2888
  "span",
2885
2889
  {
2886
2890
  "data-slot": "command-shortcut",
2887
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest", className),
2891
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest", className),
2888
2892
  ...props
2889
2893
  }
2890
2894
  );
@@ -2911,7 +2915,7 @@ function ContextMenuTrigger({
2911
2915
  _contextmenu.ContextMenu.Trigger,
2912
2916
  {
2913
2917
  "data-slot": "context-menu-trigger",
2914
- className: _chunkNQVPCNRSjs.cn.call(void 0, "select-none", className),
2918
+ className: _chunkO3LLMGP7js.cn.call(void 0, "select-none", className),
2915
2919
  ...props
2916
2920
  }
2917
2921
  );
@@ -2937,7 +2941,7 @@ function ContextMenuContent({
2937
2941
  _contextmenu.ContextMenu.Popup,
2938
2942
  {
2939
2943
  "data-slot": "context-menu-content",
2940
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none", className),
2944
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none", className),
2941
2945
  ...props
2942
2946
  }
2943
2947
  )
@@ -2959,7 +2963,7 @@ function ContextMenuLabel({
2959
2963
  {
2960
2964
  "data-slot": "context-menu-label",
2961
2965
  "data-inset": inset,
2962
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
2966
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
2963
2967
  ...props
2964
2968
  }
2965
2969
  );
@@ -2977,7 +2981,7 @@ function ContextMenuItem({
2977
2981
  "data-slot": "context-menu-item",
2978
2982
  "data-inset": inset,
2979
2983
  "data-variant": variant,
2980
- className: _chunkNQVPCNRSjs.cn.call(void 0,
2984
+ className: _chunkO3LLMGP7js.cn.call(void 0,
2981
2985
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2982
2986
  className
2983
2987
  ),
@@ -3001,7 +3005,7 @@ function ContextMenuSubTrigger({
3001
3005
  {
3002
3006
  "data-slot": "context-menu-sub-trigger",
3003
3007
  "data-inset": inset,
3004
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3008
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3005
3009
  "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3006
3010
  className
3007
3011
  ),
@@ -3038,7 +3042,7 @@ function ContextMenuCheckboxItem({
3038
3042
  _contextmenu.ContextMenu.CheckboxItem,
3039
3043
  {
3040
3044
  "data-slot": "context-menu-checkbox-item",
3041
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3045
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3042
3046
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3043
3047
  className
3044
3048
  ),
@@ -3076,7 +3080,7 @@ function ContextMenuRadioItem({
3076
3080
  _contextmenu.ContextMenu.RadioItem,
3077
3081
  {
3078
3082
  "data-slot": "context-menu-radio-item",
3079
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3083
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3080
3084
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3081
3085
  className
3082
3086
  ),
@@ -3100,7 +3104,7 @@ function ContextMenuSeparator({
3100
3104
  _contextmenu.ContextMenu.Separator,
3101
3105
  {
3102
3106
  "data-slot": "context-menu-separator",
3103
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3107
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3104
3108
  ...props
3105
3109
  }
3106
3110
  );
@@ -3114,7 +3118,7 @@ function ContextMenuShortcut({
3114
3118
  "span",
3115
3119
  {
3116
3120
  "data-slot": "context-menu-shortcut",
3117
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3121
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3118
3122
  ...props
3119
3123
  }
3120
3124
  );
@@ -3156,7 +3160,7 @@ function DrawerOverlay({
3156
3160
  _vaul.Drawer.Overlay,
3157
3161
  {
3158
3162
  "data-slot": "drawer-overlay",
3159
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
3163
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
3160
3164
  ...props
3161
3165
  }
3162
3166
  );
@@ -3173,7 +3177,7 @@ function DrawerContent({
3173
3177
  _vaul.Drawer.Content,
3174
3178
  {
3175
3179
  "data-slot": "drawer-content",
3176
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3180
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3177
3181
  "before:bg-background relative flex h-auto flex-col bg-transparent p-2 text-xs/relaxed before:absolute before:inset-2 before:-z-10 before:rounded-xl data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50",
3178
3182
  className
3179
3183
  ),
@@ -3192,7 +3196,7 @@ function DrawerHeader({ className, ...props }) {
3192
3196
  "div",
3193
3197
  {
3194
3198
  "data-slot": "drawer-header",
3195
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-1 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:text-left flex flex-col", className),
3199
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-1 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:text-left flex flex-col", className),
3196
3200
  ...props
3197
3201
  }
3198
3202
  );
@@ -3203,7 +3207,7 @@ function DrawerFooter({ className, ...props }) {
3203
3207
  "div",
3204
3208
  {
3205
3209
  "data-slot": "drawer-footer",
3206
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-2 p-4 mt-auto flex flex-col", className),
3210
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-2 p-4 mt-auto flex flex-col", className),
3207
3211
  ...props
3208
3212
  }
3209
3213
  );
@@ -3217,7 +3221,7 @@ function DrawerTitle({
3217
3221
  _vaul.Drawer.Title,
3218
3222
  {
3219
3223
  "data-slot": "drawer-title",
3220
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-foreground text-sm font-medium", className),
3224
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-foreground text-sm font-medium", className),
3221
3225
  ...props
3222
3226
  }
3223
3227
  );
@@ -3231,7 +3235,7 @@ function DrawerDescription({
3231
3235
  _vaul.Drawer.Description,
3232
3236
  {
3233
3237
  "data-slot": "drawer-description",
3234
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
3238
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
3235
3239
  ...props
3236
3240
  }
3237
3241
  );
@@ -3274,7 +3278,7 @@ function DropdownMenuContent({
3274
3278
  _menu.Menu.Popup,
3275
3279
  {
3276
3280
  "data-slot": "dropdown-menu-content",
3277
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden", className),
3281
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden", className),
3278
3282
  ...props
3279
3283
  }
3280
3284
  )
@@ -3296,7 +3300,7 @@ function DropdownMenuLabel({
3296
3300
  {
3297
3301
  "data-slot": "dropdown-menu-label",
3298
3302
  "data-inset": inset,
3299
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
3303
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
3300
3304
  ...props
3301
3305
  }
3302
3306
  );
@@ -3314,7 +3318,7 @@ function DropdownMenuItem({
3314
3318
  "data-slot": "dropdown-menu-item",
3315
3319
  "data-inset": inset,
3316
3320
  "data-variant": variant,
3317
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3321
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3318
3322
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/dropdown-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3319
3323
  className
3320
3324
  ),
@@ -3338,7 +3342,7 @@ function DropdownMenuSubTrigger({
3338
3342
  {
3339
3343
  "data-slot": "dropdown-menu-sub-trigger",
3340
3344
  "data-inset": inset,
3341
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3345
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3342
3346
  "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3343
3347
  className
3344
3348
  ),
@@ -3363,7 +3367,7 @@ function DropdownMenuSubContent({
3363
3367
  DropdownMenuContent,
3364
3368
  {
3365
3369
  "data-slot": "dropdown-menu-sub-content",
3366
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 w-auto", className),
3370
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 w-auto", className),
3367
3371
  align,
3368
3372
  alignOffset,
3369
3373
  side,
@@ -3383,7 +3387,7 @@ function DropdownMenuCheckboxItem({
3383
3387
  _menu.Menu.CheckboxItem,
3384
3388
  {
3385
3389
  "data-slot": "dropdown-menu-checkbox-item",
3386
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3390
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3387
3391
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3388
3392
  className
3389
3393
  ),
@@ -3426,7 +3430,7 @@ function DropdownMenuRadioItem({
3426
3430
  _menu.Menu.RadioItem,
3427
3431
  {
3428
3432
  "data-slot": "dropdown-menu-radio-item",
3429
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3433
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3430
3434
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3431
3435
  className
3432
3436
  ),
@@ -3457,7 +3461,7 @@ function DropdownMenuSeparator({
3457
3461
  _menu.Menu.Separator,
3458
3462
  {
3459
3463
  "data-slot": "dropdown-menu-separator",
3460
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3464
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3461
3465
  ...props
3462
3466
  }
3463
3467
  );
@@ -3471,7 +3475,7 @@ function DropdownMenuShortcut({
3471
3475
  "span",
3472
3476
  {
3473
3477
  "data-slot": "dropdown-menu-shortcut",
3474
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3478
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3475
3479
  ...props
3476
3480
  }
3477
3481
  );
@@ -3489,7 +3493,7 @@ function Label({ className, ...props }) {
3489
3493
  "label",
3490
3494
  {
3491
3495
  "data-slot": "label",
3492
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3496
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3493
3497
  "gap-2 text-xs/relaxed leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",
3494
3498
  className
3495
3499
  ),
@@ -3512,7 +3516,7 @@ function Separator({
3512
3516
  {
3513
3517
  "data-slot": "separator",
3514
3518
  orientation,
3515
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3519
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3516
3520
  "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",
3517
3521
  className
3518
3522
  ),
@@ -3529,7 +3533,7 @@ function FieldSet({ className, ...props }) {
3529
3533
  "fieldset",
3530
3534
  {
3531
3535
  "data-slot": "field-set",
3532
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", className),
3536
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", className),
3533
3537
  ...props
3534
3538
  }
3535
3539
  );
@@ -3545,7 +3549,7 @@ function FieldLegend({
3545
3549
  {
3546
3550
  "data-slot": "field-legend",
3547
3551
  "data-variant": variant,
3548
- className: _chunkNQVPCNRSjs.cn.call(void 0, "mb-2 font-medium data-[variant=label]:text-xs/relaxed data-[variant=legend]:text-sm", className),
3552
+ className: _chunkO3LLMGP7js.cn.call(void 0, "mb-2 font-medium data-[variant=label]:text-xs/relaxed data-[variant=legend]:text-sm", className),
3549
3553
  ...props
3550
3554
  }
3551
3555
  );
@@ -3556,7 +3560,7 @@ function FieldGroup({ className, ...props }) {
3556
3560
  "div",
3557
3561
  {
3558
3562
  "data-slot": "field-group",
3559
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3563
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3560
3564
  "gap-4 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col",
3561
3565
  className
3562
3566
  ),
@@ -3588,7 +3592,7 @@ function Field({
3588
3592
  role: "group",
3589
3593
  "data-slot": "field",
3590
3594
  "data-orientation": orientation,
3591
- className: _chunkNQVPCNRSjs.cn.call(void 0, fieldVariants({ orientation }), className),
3595
+ className: _chunkO3LLMGP7js.cn.call(void 0, fieldVariants({ orientation }), className),
3592
3596
  ...props
3593
3597
  }
3594
3598
  );
@@ -3599,7 +3603,7 @@ function FieldContent({ className, ...props }) {
3599
3603
  "div",
3600
3604
  {
3601
3605
  "data-slot": "field-content",
3602
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3606
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3603
3607
  "gap-0.5 group/field-content flex flex-1 flex-col leading-snug",
3604
3608
  className
3605
3609
  ),
@@ -3616,7 +3620,7 @@ function FieldLabel({
3616
3620
  Label,
3617
3621
  {
3618
3622
  "data-slot": "field-label",
3619
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3623
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3620
3624
  "has-data-checked:bg-primary/5 dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2 group/field-label peer/field-label flex w-fit leading-snug",
3621
3625
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
3622
3626
  className
@@ -3631,7 +3635,7 @@ function FieldTitle({ className, ...props }) {
3631
3635
  "div",
3632
3636
  {
3633
3637
  "data-slot": "field-label",
3634
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3638
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3635
3639
  "gap-2 text-xs/relaxed font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug",
3636
3640
  className
3637
3641
  ),
@@ -3645,7 +3649,7 @@ function FieldDescription({ className, ...props }) {
3645
3649
  "p",
3646
3650
  {
3647
3651
  "data-slot": "field-description",
3648
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3652
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3649
3653
  "text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance",
3650
3654
  "last:mt-0 nth-last-2:-mt-1",
3651
3655
  "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
@@ -3666,7 +3670,7 @@ function FieldSeparator({
3666
3670
  {
3667
3671
  "data-slot": "field-separator",
3668
3672
  "data-content": !!children,
3669
- className: _chunkNQVPCNRSjs.cn.call(void 0, "-my-2 h-5 text-xs/relaxed group-data-[variant=outline]/field-group:-mb-2 relative", className),
3673
+ className: _chunkO3LLMGP7js.cn.call(void 0, "-my-2 h-5 text-xs/relaxed group-data-[variant=outline]/field-group:-mb-2 relative", className),
3670
3674
  ...props,
3671
3675
  children: [
3672
3676
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, { className: "absolute inset-0 top-1/2" }),
@@ -3714,7 +3718,7 @@ function FieldError({
3714
3718
  {
3715
3719
  role: "alert",
3716
3720
  "data-slot": "field-error",
3717
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-destructive text-xs/relaxed font-normal", className),
3721
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-destructive text-xs/relaxed font-normal", className),
3718
3722
  ...props,
3719
3723
  children: content
3720
3724
  }
@@ -3757,7 +3761,7 @@ function HoverCardContent({
3757
3761
  _previewcard.PreviewCard.Popup,
3758
3762
  {
3759
3763
  "data-slot": "hover-card-content",
3760
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3764
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3761
3765
  "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-72 rounded-lg p-2.5 text-xs/relaxed shadow-md ring-1 duration-100 z-50 origin-(--transform-origin) outline-hidden",
3762
3766
  className
3763
3767
  ),
@@ -3783,12 +3787,12 @@ function InputOTP({
3783
3787
  _inputotp.OTPInput,
3784
3788
  {
3785
3789
  "data-slot": "input-otp",
3786
- containerClassName: _chunkNQVPCNRSjs.cn.call(void 0,
3790
+ containerClassName: _chunkO3LLMGP7js.cn.call(void 0,
3787
3791
  "cn-input-otp flex items-center has-disabled:opacity-50",
3788
3792
  containerClassName
3789
3793
  ),
3790
3794
  spellCheck: false,
3791
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3795
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3792
3796
  "disabled:cursor-not-allowed",
3793
3797
  className
3794
3798
  ),
@@ -3802,7 +3806,7 @@ function InputOTPGroup({ className, ...props }) {
3802
3806
  "div",
3803
3807
  {
3804
3808
  "data-slot": "input-otp-group",
3805
- className: _chunkNQVPCNRSjs.cn.call(void 0, "has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive rounded-md has-aria-invalid:ring-[2px] flex items-center", className),
3809
+ className: _chunkO3LLMGP7js.cn.call(void 0, "has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive rounded-md has-aria-invalid:ring-[2px] flex items-center", className),
3806
3810
  ...props
3807
3811
  }
3808
3812
  );
@@ -3820,7 +3824,7 @@ function InputOTPSlot({
3820
3824
  {
3821
3825
  "data-slot": "input-otp-slot",
3822
3826
  "data-active": isActive,
3823
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3827
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3824
3828
  "bg-input/20 dark:bg-input/30 border-input data-[active=true]:border-ring data-[active=true]:ring-ring/30 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive size-7 border-y border-r text-xs/relaxed transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:ring-[2px] relative flex items-center justify-center data-[active=true]:z-10",
3825
3829
  className
3826
3830
  ),
@@ -3864,7 +3868,7 @@ function NavigationMenu({
3864
3868
  _navigationmenu.NavigationMenu.Root,
3865
3869
  {
3866
3870
  "data-slot": "navigation-menu",
3867
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3871
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3868
3872
  "max-w-max group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
3869
3873
  className
3870
3874
  ),
@@ -3885,7 +3889,7 @@ function NavigationMenuList({
3885
3889
  _navigationmenu.NavigationMenu.List,
3886
3890
  {
3887
3891
  "data-slot": "navigation-menu-list",
3888
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3892
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3889
3893
  "gap-0 group flex flex-1 list-none items-center justify-center",
3890
3894
  className
3891
3895
  ),
@@ -3902,7 +3906,7 @@ function NavigationMenuItem({
3902
3906
  _navigationmenu.NavigationMenu.Item,
3903
3907
  {
3904
3908
  "data-slot": "navigation-menu-item",
3905
- className: _chunkNQVPCNRSjs.cn.call(void 0, "relative", className),
3909
+ className: _chunkO3LLMGP7js.cn.call(void 0, "relative", className),
3906
3910
  ...props
3907
3911
  }
3908
3912
  );
@@ -3920,7 +3924,7 @@ function NavigationMenuTrigger({
3920
3924
  _navigationmenu.NavigationMenu.Trigger,
3921
3925
  {
3922
3926
  "data-slot": "navigation-menu-trigger",
3923
- className: _chunkNQVPCNRSjs.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
3927
+ className: _chunkO3LLMGP7js.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
3924
3928
  ...props,
3925
3929
  children: [
3926
3930
  children,
@@ -3939,7 +3943,7 @@ function NavigationMenuContent({
3939
3943
  _navigationmenu.NavigationMenu.Content,
3940
3944
  {
3941
3945
  "data-slot": "navigation-menu-content",
3942
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3946
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3943
3947
  "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-1.5 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 h-full w-auto **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
3944
3948
  className
3945
3949
  ),
@@ -3963,7 +3967,7 @@ function NavigationMenuPositioner({
3963
3967
  sideOffset,
3964
3968
  align,
3965
3969
  alignOffset,
3966
- className: _chunkNQVPCNRSjs.cn.call(void 0,
3970
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3967
3971
  "transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0 isolate z-50 h-[var(--positioner-height)] w-[var(--positioner-width)] max-w-[var(--available-width)] data-[instant]:transition-none",
3968
3972
  className
3969
3973
  ),
@@ -3981,7 +3985,7 @@ function NavigationMenuLink({
3981
3985
  _navigationmenu.NavigationMenu.Link,
3982
3986
  {
3983
3987
  "data-slot": "navigation-menu-link",
3984
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/30 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-lg p-2 text-xs/relaxed transition-all outline-none focus-visible:ring-[2px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className),
3988
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/30 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-lg p-2 text-xs/relaxed transition-all outline-none focus-visible:ring-[2px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className),
3985
3989
  ...props
3986
3990
  }
3987
3991
  );
@@ -3995,7 +3999,7 @@ function NavigationMenuIndicator({
3995
3999
  _navigationmenu.NavigationMenu.Icon,
3996
4000
  {
3997
4001
  "data-slot": "navigation-menu-indicator",
3998
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4002
+ className: _chunkO3LLMGP7js.cn.call(void 0,
3999
4003
  "data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",
4000
4004
  className
4001
4005
  ),
@@ -4037,7 +4041,7 @@ function PopoverContent({
4037
4041
  _popover.Popover.Popup,
4038
4042
  {
4039
4043
  "data-slot": "popover-content",
4040
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4044
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4041
4045
  "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-4 rounded-lg p-2.5 text-xs shadow-md ring-1 duration-100 z-50 w-72 origin-(--transform-origin) outline-hidden",
4042
4046
  className
4043
4047
  ),
@@ -4053,7 +4057,7 @@ function PopoverHeader({ className, ...props }) {
4053
4057
  "div",
4054
4058
  {
4055
4059
  "data-slot": "popover-header",
4056
- className: _chunkNQVPCNRSjs.cn.call(void 0, "flex flex-col gap-1 text-xs", className),
4060
+ className: _chunkO3LLMGP7js.cn.call(void 0, "flex flex-col gap-1 text-xs", className),
4057
4061
  ...props
4058
4062
  }
4059
4063
  );
@@ -4064,7 +4068,7 @@ function PopoverTitle({ className, ...props }) {
4064
4068
  _popover.Popover.Title,
4065
4069
  {
4066
4070
  "data-slot": "popover-title",
4067
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-sm font-medium", className),
4071
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-sm font-medium", className),
4068
4072
  ...props
4069
4073
  }
4070
4074
  );
@@ -4078,7 +4082,7 @@ function PopoverDescription({
4078
4082
  _popover.Popover.Description,
4079
4083
  {
4080
4084
  "data-slot": "popover-description",
4081
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground", className),
4085
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground", className),
4082
4086
  ...props
4083
4087
  }
4084
4088
  );
@@ -4099,7 +4103,7 @@ function Progress({
4099
4103
  {
4100
4104
  value,
4101
4105
  "data-slot": "progress",
4102
- className: _chunkNQVPCNRSjs.cn.call(void 0, "flex flex-wrap gap-3", className),
4106
+ className: _chunkO3LLMGP7js.cn.call(void 0, "flex flex-wrap gap-3", className),
4103
4107
  ...props,
4104
4108
  children: [
4105
4109
  children,
@@ -4113,7 +4117,7 @@ function ProgressTrack({ className, ...props }) {
4113
4117
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4114
4118
  _progress.Progress.Track,
4115
4119
  {
4116
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4120
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4117
4121
  "bg-muted h-1 rounded-md relative flex w-full items-center overflow-x-hidden",
4118
4122
  className
4119
4123
  ),
@@ -4131,7 +4135,7 @@ function ProgressIndicator({
4131
4135
  _progress.Progress.Indicator,
4132
4136
  {
4133
4137
  "data-slot": "progress-indicator",
4134
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-primary h-full transition-all", className),
4138
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-primary h-full transition-all", className),
4135
4139
  ...props
4136
4140
  }
4137
4141
  );
@@ -4141,7 +4145,7 @@ function ProgressLabel({ className, ...props }) {
4141
4145
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4142
4146
  _progress.Progress.Label,
4143
4147
  {
4144
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-xs/relaxed font-medium", className),
4148
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-xs/relaxed font-medium", className),
4145
4149
  "data-slot": "progress-label",
4146
4150
  ...props
4147
4151
  }
@@ -4152,7 +4156,7 @@ function ProgressValue({ className, ...props }) {
4152
4156
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4153
4157
  _progress.Progress.Value,
4154
4158
  {
4155
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground ml-auto text-xs/relaxed tabular-nums", className),
4159
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground ml-auto text-xs/relaxed tabular-nums", className),
4156
4160
  "data-slot": "progress-value",
4157
4161
  ...props
4158
4162
  }
@@ -4170,7 +4174,7 @@ function RadioGroup({ className, ...props }) {
4170
4174
  _radiogroup.RadioGroup,
4171
4175
  {
4172
4176
  "data-slot": "radio-group",
4173
- className: _chunkNQVPCNRSjs.cn.call(void 0, "grid gap-3 w-full", className),
4177
+ className: _chunkO3LLMGP7js.cn.call(void 0, "grid gap-3 w-full", className),
4174
4178
  ...props
4175
4179
  }
4176
4180
  );
@@ -4181,7 +4185,7 @@ function RadioGroupItem({ className, ...props }) {
4181
4185
  _radio.Radio.Root,
4182
4186
  {
4183
4187
  "data-slot": "radio-group-item",
4184
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4188
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4185
4189
  "border-input text-primary dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 data-checked:bg-primary data-checked:border-primary flex size-4 rounded-full transition-none focus-visible:ring-[2px] aria-invalid:ring-[2px] group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
4186
4190
  className
4187
4191
  ),
@@ -4210,7 +4214,7 @@ function ResizablePanelGroup({
4210
4214
  ResizablePrimitive.PanelGroup,
4211
4215
  {
4212
4216
  "data-slot": "resizable-panel-group",
4213
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4217
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4214
4218
  "flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
4215
4219
  className
4216
4220
  ),
@@ -4234,7 +4238,7 @@ function ResizableHandle({
4234
4238
  ResizablePrimitive.PanelResizeHandle,
4235
4239
  {
4236
4240
  "data-slot": "resizable-handle",
4237
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4241
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4238
4242
  "bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",
4239
4243
  className
4240
4244
  ),
@@ -4257,7 +4261,7 @@ function ScrollArea({
4257
4261
  _scrollarea.ScrollArea.Root,
4258
4262
  {
4259
4263
  "data-slot": "scroll-area",
4260
- className: _chunkNQVPCNRSjs.cn.call(void 0, "relative", className),
4264
+ className: _chunkO3LLMGP7js.cn.call(void 0, "relative", className),
4261
4265
  ...props,
4262
4266
  children: [
4263
4267
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -4286,7 +4290,7 @@ function ScrollBar({
4286
4290
  "data-slot": "scroll-area-scrollbar",
4287
4291
  "data-orientation": orientation,
4288
4292
  orientation,
4289
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4293
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4290
4294
  "data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none",
4291
4295
  className
4292
4296
  ),
@@ -4313,7 +4317,7 @@ function SelectGroup({ className, ...props }) {
4313
4317
  _select.Select.Group,
4314
4318
  {
4315
4319
  "data-slot": "select-group",
4316
- className: _chunkNQVPCNRSjs.cn.call(void 0, "scroll-my-1 p-1", className),
4320
+ className: _chunkO3LLMGP7js.cn.call(void 0, "scroll-my-1 p-1", className),
4317
4321
  ...props
4318
4322
  }
4319
4323
  );
@@ -4324,7 +4328,7 @@ function SelectValue({ className, ...props }) {
4324
4328
  _select.Select.Value,
4325
4329
  {
4326
4330
  "data-slot": "select-value",
4327
- className: _chunkNQVPCNRSjs.cn.call(void 0, "flex flex-1 text-left", className),
4331
+ className: _chunkO3LLMGP7js.cn.call(void 0, "flex flex-1 text-left", className),
4328
4332
  ...props
4329
4333
  }
4330
4334
  );
@@ -4341,7 +4345,7 @@ function SelectTrigger({
4341
4345
  {
4342
4346
  "data-slot": "select-trigger",
4343
4347
  "data-size": size,
4344
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4348
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4345
4349
  "border-input data-[placeholder]:text-muted-foreground bg-input/20 dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-md border px-2 py-1.5 text-xs/relaxed transition-colors focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-3.5 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
4346
4350
  className
4347
4351
  ),
@@ -4382,7 +4386,7 @@ function SelectContent({
4382
4386
  _select.Select.Popup,
4383
4387
  {
4384
4388
  "data-slot": "select-content",
4385
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg shadow-md ring-1 duration-100 relative isolate z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto", className),
4389
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg shadow-md ring-1 duration-100 relative isolate z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto", className),
4386
4390
  ...props,
4387
4391
  children: [
4388
4392
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollUpButton, {}),
@@ -4403,7 +4407,7 @@ function SelectLabel({
4403
4407
  _select.Select.GroupLabel,
4404
4408
  {
4405
4409
  "data-slot": "select-label",
4406
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs", className),
4410
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs", className),
4407
4411
  ...props
4408
4412
  }
4409
4413
  );
@@ -4418,7 +4422,7 @@ function SelectItem({
4418
4422
  _select.Select.Item,
4419
4423
  {
4420
4424
  "data-slot": "select-item",
4421
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4425
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4422
4426
  "focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
4423
4427
  className
4424
4428
  ),
@@ -4445,7 +4449,7 @@ function SelectSeparator({
4445
4449
  _select.Select.Separator,
4446
4450
  {
4447
4451
  "data-slot": "select-separator",
4448
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px pointer-events-none", className),
4452
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px pointer-events-none", className),
4449
4453
  ...props
4450
4454
  }
4451
4455
  );
@@ -4459,7 +4463,7 @@ function SelectScrollUpButton({
4459
4463
  _select.Select.ScrollUpArrow,
4460
4464
  {
4461
4465
  "data-slot": "select-scroll-up-button",
4462
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 top-0 w-full", className),
4466
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 top-0 w-full", className),
4463
4467
  ...props,
4464
4468
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4465
4469
  _lucidereact.ChevronUpIcon,
@@ -4477,7 +4481,7 @@ function SelectScrollDownButton({
4477
4481
  _select.Select.ScrollDownArrow,
4478
4482
  {
4479
4483
  "data-slot": "select-scroll-down-button",
4480
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 bottom-0 w-full", className),
4484
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 bottom-0 w-full", className),
4481
4485
  ...props,
4482
4486
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4483
4487
  _lucidereact.ChevronDownIcon,
@@ -4513,7 +4517,7 @@ function SheetOverlay({ className, ...props }) {
4513
4517
  _dialog.Dialog.Backdrop,
4514
4518
  {
4515
4519
  "data-slot": "sheet-overlay",
4516
- className: _chunkNQVPCNRSjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
4520
+ className: _chunkO3LLMGP7js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
4517
4521
  ...props
4518
4522
  }
4519
4523
  );
@@ -4533,7 +4537,7 @@ function SheetContent({
4533
4537
  {
4534
4538
  "data-slot": "sheet-content",
4535
4539
  "data-side": side,
4536
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className),
4540
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className),
4537
4541
  ...props,
4538
4542
  children: [
4539
4543
  children,
@@ -4569,7 +4573,7 @@ function SheetHeader({ className, ...props }) {
4569
4573
  "div",
4570
4574
  {
4571
4575
  "data-slot": "sheet-header",
4572
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-1.5 p-6 flex flex-col", className),
4576
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-1.5 p-6 flex flex-col", className),
4573
4577
  ...props
4574
4578
  }
4575
4579
  );
@@ -4580,7 +4584,7 @@ function SheetFooter({ className, ...props }) {
4580
4584
  "div",
4581
4585
  {
4582
4586
  "data-slot": "sheet-footer",
4583
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-2 p-6 mt-auto flex flex-col", className),
4587
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-2 p-6 mt-auto flex flex-col", className),
4584
4588
  ...props
4585
4589
  }
4586
4590
  );
@@ -4591,7 +4595,7 @@ function SheetTitle({ className, ...props }) {
4591
4595
  _dialog.Dialog.Title,
4592
4596
  {
4593
4597
  "data-slot": "sheet-title",
4594
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-foreground text-sm font-medium", className),
4598
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-foreground text-sm font-medium", className),
4595
4599
  ...props
4596
4600
  }
4597
4601
  );
@@ -4605,7 +4609,7 @@ function SheetDescription({
4605
4609
  _dialog.Dialog.Description,
4606
4610
  {
4607
4611
  "data-slot": "sheet-description",
4608
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
4612
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
4609
4613
  ...props
4610
4614
  }
4611
4615
  );
@@ -4625,7 +4629,7 @@ function Skeleton({ className, ...props }) {
4625
4629
  "div",
4626
4630
  {
4627
4631
  "data-slot": "skeleton",
4628
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-muted rounded-md animate-pulse", className),
4632
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-muted rounded-md animate-pulse", className),
4629
4633
  ...props
4630
4634
  }
4631
4635
  );
@@ -4678,7 +4682,7 @@ function TooltipContent({
4678
4682
  _tooltip.Tooltip.Popup,
4679
4683
  {
4680
4684
  "data-slot": "tooltip-content",
4681
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4685
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4682
4686
  "data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-md px-3 py-1.5 text-xs **:data-[slot=kbd]:rounded-md bg-foreground text-background z-50 w-fit max-w-xs origin-(--transform-origin)",
4683
4687
  className
4684
4688
  ),
@@ -4721,7 +4725,7 @@ function SidebarProvider({
4721
4725
  children,
4722
4726
  ...props
4723
4727
  }) {
4724
- const isMobile = _chunkNQVPCNRSjs.useIsMobile.call(void 0, );
4728
+ const isMobile = _chunkO3LLMGP7js.useIsMobile.call(void 0, );
4725
4729
  const [openMobile, setOpenMobile] = React6.useState(false);
4726
4730
  const [_open, _setOpen] = React6.useState(defaultOpen);
4727
4731
  const open = _nullishCoalesce(openProp, () => ( _open));
@@ -4772,7 +4776,7 @@ function SidebarProvider({
4772
4776
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
4773
4777
  ...style
4774
4778
  },
4775
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4779
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4776
4780
  "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
4777
4781
  className
4778
4782
  ),
@@ -4796,7 +4800,7 @@ function Sidebar({
4796
4800
  "div",
4797
4801
  {
4798
4802
  "data-slot": "sidebar",
4799
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4803
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4800
4804
  "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
4801
4805
  className
4802
4806
  ),
@@ -4841,7 +4845,7 @@ function Sidebar({
4841
4845
  "div",
4842
4846
  {
4843
4847
  "data-slot": "sidebar-gap",
4844
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4848
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4845
4849
  "transition-[width] duration-200 ease-linear relative w-(--sidebar-width) bg-transparent",
4846
4850
  "group-data-[collapsible=offExamples]:w-0",
4847
4851
  "group-data-[side=right]:rotate-180",
@@ -4853,7 +4857,7 @@ function Sidebar({
4853
4857
  "div",
4854
4858
  {
4855
4859
  "data-slot": "sidebar-container",
4856
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4860
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4857
4861
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
4858
4862
  side === "left" ? "left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]",
4859
4863
  // Adjust the padding for floating and inset variants.
@@ -4890,7 +4894,7 @@ function SidebarTrigger({
4890
4894
  "data-slot": "sidebar-trigger",
4891
4895
  variant: "ghost",
4892
4896
  size: "icon-sm",
4893
- className: _chunkNQVPCNRSjs.cn.call(void 0, className),
4897
+ className: _chunkO3LLMGP7js.cn.call(void 0, className),
4894
4898
  onClick: (event) => {
4895
4899
  _optionalChain([onClick, 'optionalCall', _78 => _78(event)]);
4896
4900
  toggleSidebar();
@@ -4918,7 +4922,7 @@ function SidebarRail({ className, ...props }) {
4918
4922
  tabIndex: -1,
4919
4923
  onClick: toggleSidebar,
4920
4924
  title: "Toggle Sidebar",
4921
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4925
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4922
4926
  "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
4923
4927
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
4924
4928
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -4937,7 +4941,7 @@ function SidebarInset({ className, ...props }) {
4937
4941
  "main",
4938
4942
  {
4939
4943
  "data-slot": "sidebar-inset",
4940
- className: _chunkNQVPCNRSjs.cn.call(void 0,
4944
+ className: _chunkO3LLMGP7js.cn.call(void 0,
4941
4945
  "bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 relative flex w-full flex-1 flex-col",
4942
4946
  className
4943
4947
  ),
@@ -4955,7 +4959,7 @@ function SidebarInput({
4955
4959
  {
4956
4960
  "data-slot": "sidebar-input",
4957
4961
  "data-sidebar": "input",
4958
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-muted/20 dark:bg-muted/30 border-input h-8 w-full", className),
4962
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-muted/20 dark:bg-muted/30 border-input h-8 w-full", className),
4959
4963
  ...props
4960
4964
  }
4961
4965
  );
@@ -4967,7 +4971,7 @@ function SidebarHeader({ className, ...props }) {
4967
4971
  {
4968
4972
  "data-slot": "sidebar-header",
4969
4973
  "data-sidebar": "header",
4970
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
4974
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
4971
4975
  ...props
4972
4976
  }
4973
4977
  );
@@ -4979,7 +4983,7 @@ function SidebarFooter({ className, ...props }) {
4979
4983
  {
4980
4984
  "data-slot": "sidebar-footer",
4981
4985
  "data-sidebar": "footer",
4982
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
4986
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
4983
4987
  ...props
4984
4988
  }
4985
4989
  );
@@ -4994,7 +4998,7 @@ function SidebarSeparator({
4994
4998
  {
4995
4999
  "data-slot": "sidebar-separator",
4996
5000
  "data-sidebar": "separator",
4997
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
5001
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
4998
5002
  ...props
4999
5003
  }
5000
5004
  );
@@ -5006,7 +5010,7 @@ function SidebarContent({ className, ...props }) {
5006
5010
  {
5007
5011
  "data-slot": "sidebar-content",
5008
5012
  "data-sidebar": "content",
5009
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5013
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5010
5014
  "no-scrollbar gap-0 flex min-h-0 flex-1 flex-col overflow-auto group-data-[collapsible=icon]:overflow-hidden",
5011
5015
  className
5012
5016
  ),
@@ -5021,7 +5025,7 @@ function SidebarGroup({ className, ...props }) {
5021
5025
  {
5022
5026
  "data-slot": "sidebar-group",
5023
5027
  "data-sidebar": "group",
5024
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5028
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5025
5029
  "px-2 py-1 relative flex w-full min-w-0 flex-col",
5026
5030
  className
5027
5031
  ),
@@ -5039,7 +5043,7 @@ function SidebarGroupLabel({
5039
5043
  defaultTagName: "div",
5040
5044
  props: _mergeprops.mergeProps.call(void 0,
5041
5045
  {
5042
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5046
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5043
5047
  "text-sidebar-foreground/70 ring-sidebar-ring h-8 rounded-md px-2 text-xs transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 flex shrink-0 items-center outline-hidden [&>svg]:shrink-0",
5044
5048
  className
5045
5049
  )
@@ -5063,7 +5067,7 @@ function SidebarGroupAction({
5063
5067
  defaultTagName: "button",
5064
5068
  props: _mergeprops.mergeProps.call(void 0,
5065
5069
  {
5066
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5070
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5067
5071
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 w-5 rounded-md p-0 focus-visible:ring-2 [&>svg]:size-4 flex aspect-square items-center justify-center outline-hidden transition-transform [&>svg]:shrink-0 after:absolute after:-inset-2 md:after:hidden group-data-[collapsible=icon]:hidden",
5068
5072
  className
5069
5073
  )
@@ -5087,7 +5091,7 @@ function SidebarGroupContent({
5087
5091
  {
5088
5092
  "data-slot": "sidebar-group-content",
5089
5093
  "data-sidebar": "group-content",
5090
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-xs w-full", className),
5094
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-xs w-full", className),
5091
5095
  ...props
5092
5096
  }
5093
5097
  );
@@ -5099,7 +5103,7 @@ function SidebarMenu({ className, ...props }) {
5099
5103
  {
5100
5104
  "data-slot": "sidebar-menu",
5101
5105
  "data-sidebar": "menu",
5102
- className: _chunkNQVPCNRSjs.cn.call(void 0, "gap-px flex w-full min-w-0 flex-col", className),
5106
+ className: _chunkO3LLMGP7js.cn.call(void 0, "gap-px flex w-full min-w-0 flex-col", className),
5103
5107
  ...props
5104
5108
  }
5105
5109
  );
@@ -5111,7 +5115,7 @@ function SidebarMenuItem({ className, ...props }) {
5111
5115
  {
5112
5116
  "data-slot": "sidebar-menu-item",
5113
5117
  "data-sidebar": "menu-item",
5114
- className: _chunkNQVPCNRSjs.cn.call(void 0, "group/menu-item relative", className),
5118
+ className: _chunkO3LLMGP7js.cn.call(void 0, "group/menu-item relative", className),
5115
5119
  ...props
5116
5120
  }
5117
5121
  );
@@ -5151,7 +5155,7 @@ function SidebarMenuButton({
5151
5155
  defaultTagName: "button",
5152
5156
  props: _mergeprops.mergeProps.call(void 0,
5153
5157
  {
5154
- className: _chunkNQVPCNRSjs.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className)
5158
+ className: _chunkO3LLMGP7js.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className)
5155
5159
  },
5156
5160
  props
5157
5161
  ),
@@ -5195,7 +5199,7 @@ function SidebarMenuAction({
5195
5199
  defaultTagName: "button",
5196
5200
  props: _mergeprops.mergeProps.call(void 0,
5197
5201
  {
5198
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5202
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5199
5203
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 aspect-square w-5 rounded-[calc(var(--radius-sm)-2px)] p-0 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 focus-visible:ring-2 [&>svg]:size-4 flex items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",
5200
5204
  showOnHover && "peer-data-active/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-open:opacity-100 md:opacity-0",
5201
5205
  className
@@ -5220,7 +5224,7 @@ function SidebarMenuBadge({
5220
5224
  {
5221
5225
  "data-slot": "sidebar-menu-badge",
5222
5226
  "data-sidebar": "menu-badge",
5223
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5227
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5224
5228
  "text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-[calc(var(--radius-sm)-2px)] px-1 text-xs font-medium peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 flex items-center justify-center tabular-nums select-none group-data-[collapsible=icon]:hidden",
5225
5229
  className
5226
5230
  ),
@@ -5242,7 +5246,7 @@ function SidebarMenuSkeleton({
5242
5246
  {
5243
5247
  "data-slot": "sidebar-menu-skeleton",
5244
5248
  "data-sidebar": "menu-skeleton",
5245
- className: _chunkNQVPCNRSjs.cn.call(void 0, "h-8 gap-2 rounded-md px-2 flex items-center", className),
5249
+ className: _chunkO3LLMGP7js.cn.call(void 0, "h-8 gap-2 rounded-md px-2 flex items-center", className),
5246
5250
  ...props,
5247
5251
  children: [
5248
5252
  showIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -5273,7 +5277,7 @@ function SidebarMenuSub({ className, ...props }) {
5273
5277
  {
5274
5278
  "data-slot": "sidebar-menu-sub",
5275
5279
  "data-sidebar": "menu-sub",
5276
- className: _chunkNQVPCNRSjs.cn.call(void 0, "border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden flex min-w-0 flex-col", className),
5280
+ className: _chunkO3LLMGP7js.cn.call(void 0, "border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden flex min-w-0 flex-col", className),
5277
5281
  ...props
5278
5282
  }
5279
5283
  );
@@ -5288,7 +5292,7 @@ function SidebarMenuSubItem({
5288
5292
  {
5289
5293
  "data-slot": "sidebar-menu-sub-item",
5290
5294
  "data-sidebar": "menu-sub-item",
5291
- className: _chunkNQVPCNRSjs.cn.call(void 0, "group/menu-sub-item relative", className),
5295
+ className: _chunkO3LLMGP7js.cn.call(void 0, "group/menu-sub-item relative", className),
5292
5296
  ...props
5293
5297
  }
5294
5298
  );
@@ -5305,7 +5309,7 @@ function SidebarMenuSubButton({
5305
5309
  defaultTagName: "a",
5306
5310
  props: _mergeprops.mergeProps.call(void 0,
5307
5311
  {
5308
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5312
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5309
5313
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground h-7 gap-2 rounded-md px-2 focus-visible:ring-2 data-[size=md]:text-xs data-[size=sm]:text-xs [&>svg]:size-4 flex min-w-0 -translate-x-px items-center overflow-hidden outline-hidden group-data-[collapsible=icon]:hidden disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0",
5310
5314
  className
5311
5315
  )
@@ -5353,7 +5357,7 @@ function Slider({
5353
5357
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
5354
5358
  _slider.Slider.Control,
5355
5359
  {
5356
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5360
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5357
5361
  "data-vertical:min-h-40 relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:w-auto data-vertical:flex-col",
5358
5362
  className
5359
5363
  ),
@@ -5437,7 +5441,7 @@ function Switch({
5437
5441
  {
5438
5442
  "data-slot": "switch",
5439
5443
  "data-size": size,
5440
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5444
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5441
5445
  "data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-[16.6px] data-[size=default]:w-[28px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50",
5442
5446
  className
5443
5447
  ),
@@ -5446,7 +5450,7 @@ function Switch({
5446
5450
  _switch.Switch.Thumb,
5447
5451
  {
5448
5452
  "data-slot": "switch-thumb",
5449
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5453
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5450
5454
  "bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-3.5 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 pointer-events-none block ring-0 transition-transform",
5451
5455
  children && "flex items-center justify-center"
5452
5456
  ),
@@ -5465,7 +5469,7 @@ function Table({ className, ...props }) {
5465
5469
  "table",
5466
5470
  {
5467
5471
  "data-slot": "table",
5468
- className: _chunkNQVPCNRSjs.cn.call(void 0, "w-full caption-bottom text-xs", className),
5472
+ className: _chunkO3LLMGP7js.cn.call(void 0, "w-full caption-bottom text-xs", className),
5469
5473
  ...props
5470
5474
  }
5471
5475
  ) });
@@ -5476,7 +5480,7 @@ function TableHeader({ className, ...props }) {
5476
5480
  "thead",
5477
5481
  {
5478
5482
  "data-slot": "table-header",
5479
- className: _chunkNQVPCNRSjs.cn.call(void 0, "[&_tr]:border-b", className),
5483
+ className: _chunkO3LLMGP7js.cn.call(void 0, "[&_tr]:border-b", className),
5480
5484
  ...props
5481
5485
  }
5482
5486
  );
@@ -5487,7 +5491,7 @@ function TableBody({ className, ...props }) {
5487
5491
  "tbody",
5488
5492
  {
5489
5493
  "data-slot": "table-body",
5490
- className: _chunkNQVPCNRSjs.cn.call(void 0, "[&_tr:last-child]:border-0", className),
5494
+ className: _chunkO3LLMGP7js.cn.call(void 0, "[&_tr:last-child]:border-0", className),
5491
5495
  ...props
5492
5496
  }
5493
5497
  );
@@ -5498,7 +5502,7 @@ function TableFooter({ className, ...props }) {
5498
5502
  "tfoot",
5499
5503
  {
5500
5504
  "data-slot": "table-footer",
5501
- className: _chunkNQVPCNRSjs.cn.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
5505
+ className: _chunkO3LLMGP7js.cn.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
5502
5506
  ...props
5503
5507
  }
5504
5508
  );
@@ -5509,7 +5513,7 @@ function TableRow({ className, ...props }) {
5509
5513
  "tr",
5510
5514
  {
5511
5515
  "data-slot": "table-row",
5512
- className: _chunkNQVPCNRSjs.cn.call(void 0, "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
5516
+ className: _chunkO3LLMGP7js.cn.call(void 0, "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
5513
5517
  ...props
5514
5518
  }
5515
5519
  );
@@ -5520,7 +5524,7 @@ function TableHead({ className, ...props }) {
5520
5524
  "th",
5521
5525
  {
5522
5526
  "data-slot": "table-head",
5523
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5527
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5524
5528
  ...props
5525
5529
  }
5526
5530
  );
@@ -5531,7 +5535,7 @@ function TableCell({ className, ...props }) {
5531
5535
  "td",
5532
5536
  {
5533
5537
  "data-slot": "table-cell",
5534
- className: _chunkNQVPCNRSjs.cn.call(void 0, "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5538
+ className: _chunkO3LLMGP7js.cn.call(void 0, "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5535
5539
  ...props
5536
5540
  }
5537
5541
  );
@@ -5545,7 +5549,7 @@ function TableCaption({
5545
5549
  "caption",
5546
5550
  {
5547
5551
  "data-slot": "table-caption",
5548
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-muted-foreground mt-4 text-xs", className),
5552
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-muted-foreground mt-4 text-xs", className),
5549
5553
  ...props
5550
5554
  }
5551
5555
  );
@@ -5566,7 +5570,7 @@ function Tabs({
5566
5570
  {
5567
5571
  "data-slot": "tabs",
5568
5572
  "data-orientation": orientation,
5569
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5573
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5570
5574
  "gap-2 group/tabs flex data-[orientation=horizontal]:flex-col",
5571
5575
  className
5572
5576
  ),
@@ -5599,7 +5603,7 @@ function TabsList({
5599
5603
  {
5600
5604
  "data-slot": "tabs-list",
5601
5605
  "data-variant": variant,
5602
- className: _chunkNQVPCNRSjs.cn.call(void 0, tabsListVariants({ variant }), className),
5606
+ className: _chunkO3LLMGP7js.cn.call(void 0, tabsListVariants({ variant }), className),
5603
5607
  ...props
5604
5608
  }
5605
5609
  );
@@ -5610,7 +5614,7 @@ function TabsTrigger({ className, ...props }) {
5610
5614
  _tabs.Tabs.Tab,
5611
5615
  {
5612
5616
  "data-slot": "tabs-trigger",
5613
- className: _chunkNQVPCNRSjs.cn.call(void 0,
5617
+ className: _chunkO3LLMGP7js.cn.call(void 0,
5614
5618
  "gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-xs font-medium group-data-vertical/tabs:py-[calc(--spacing(1.25))] [&_svg:not([class*='size-'])]:size-3.5 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
5615
5619
  "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
5616
5620
  "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground",
@@ -5627,7 +5631,7 @@ function TabsContent({ className, ...props }) {
5627
5631
  _tabs.Tabs.Panel,
5628
5632
  {
5629
5633
  "data-slot": "tabs-content",
5630
- className: _chunkNQVPCNRSjs.cn.call(void 0, "text-xs/relaxed flex-1 outline-none", className),
5634
+ className: _chunkO3LLMGP7js.cn.call(void 0, "text-xs/relaxed flex-1 outline-none", className),
5631
5635
  ...props
5632
5636
  }
5633
5637
  );
@@ -5668,7 +5672,7 @@ function Toggle({
5668
5672
  _toggle.Toggle,
5669
5673
  {
5670
5674
  "data-slot": "toggle",
5671
- className: _chunkNQVPCNRSjs.cn.call(void 0, toggleVariants({ variant, size, className })),
5675
+ className: _chunkO3LLMGP7js.cn.call(void 0, toggleVariants({ variant, size, className })),
5672
5676
  ...props
5673
5677
  }
5674
5678
  );
@@ -6137,7 +6141,7 @@ var KanbanBoard = React8.forwardRef((props, forwardedRef) => {
6137
6141
  "data-slot": "kanban-board",
6138
6142
  ...boardProps,
6139
6143
  ref: forwardedRef,
6140
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6144
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6141
6145
  "flex size-full gap-4",
6142
6146
  context.orientation === "horizontal" ? "flex-row" : "flex-col",
6143
6147
  className
@@ -6176,7 +6180,7 @@ var KanbanColumn = React8.forwardRef((props, forwardedRef) => {
6176
6180
  disabled,
6177
6181
  animateLayoutChanges
6178
6182
  });
6179
- const composedRef = _chunkNQVPCNRSjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6183
+ const composedRef = _chunkO3LLMGP7js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6180
6184
  if (disabled) return;
6181
6185
  setNodeRef(node);
6182
6186
  });
@@ -6220,7 +6224,7 @@ var KanbanColumn = React8.forwardRef((props, forwardedRef) => {
6220
6224
  ...asHandle && !disabled ? listeners : {},
6221
6225
  ref: composedRef,
6222
6226
  style: composedStyle,
6223
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6227
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6224
6228
  "flex size-full w-full flex-col gap-2 rounded-lg border bg-zinc-100 p-2.5 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:bg-zinc-900",
6225
6229
  {
6226
6230
  "touch-none select-none": asHandle,
@@ -6243,7 +6247,7 @@ var KanbanColumnHandle = React8.forwardRef((props, forwardedRef) => {
6243
6247
  const context = useKanbanContext(COLUMN_NAME);
6244
6248
  const columnContext = useKanbanColumnContext(COLUMN_HANDLE_NAME);
6245
6249
  const isDisabled = _nullishCoalesce(disabled, () => ( columnContext.disabled));
6246
- const composedRef = _chunkNQVPCNRSjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6250
+ const composedRef = _chunkO3LLMGP7js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6247
6251
  if (isDisabled) return;
6248
6252
  columnContext.setActivatorNodeRef(node);
6249
6253
  });
@@ -6260,7 +6264,7 @@ var KanbanColumnHandle = React8.forwardRef((props, forwardedRef) => {
6260
6264
  ...isDisabled ? {} : columnContext.attributes,
6261
6265
  ...isDisabled ? {} : columnContext.listeners,
6262
6266
  ref: composedRef,
6263
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6267
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6264
6268
  "select-none disabled:pointer-events-none disabled:opacity-50",
6265
6269
  context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
6266
6270
  className
@@ -6296,7 +6300,7 @@ var KanbanItem = React8.forwardRef((props, forwardedRef) => {
6296
6300
  if (value === "") {
6297
6301
  throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);
6298
6302
  }
6299
- const composedRef = _chunkNQVPCNRSjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6303
+ const composedRef = _chunkO3LLMGP7js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6300
6304
  if (disabled) return;
6301
6305
  setNodeRef(node);
6302
6306
  });
@@ -6331,7 +6335,7 @@ var KanbanItem = React8.forwardRef((props, forwardedRef) => {
6331
6335
  ...asHandle && !disabled ? listeners : {},
6332
6336
  ref: composedRef,
6333
6337
  style: composedStyle,
6334
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6338
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6335
6339
  "focus-visible:ring-ring focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden",
6336
6340
  {
6337
6341
  "touch-none select-none": asHandle,
@@ -6352,7 +6356,7 @@ var KanbanItemHandle = React8.forwardRef((props, forwardedRef) => {
6352
6356
  const context = useKanbanContext(ITEM_HANDLE_NAME);
6353
6357
  const itemContext = useKanbanItemContext(ITEM_HANDLE_NAME);
6354
6358
  const isDisabled = _nullishCoalesce(disabled, () => ( itemContext.disabled));
6355
- const composedRef = _chunkNQVPCNRSjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6359
+ const composedRef = _chunkO3LLMGP7js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6356
6360
  if (isDisabled) return;
6357
6361
  itemContext.setActivatorNodeRef(node);
6358
6362
  });
@@ -6369,7 +6373,7 @@ var KanbanItemHandle = React8.forwardRef((props, forwardedRef) => {
6369
6373
  ...isDisabled ? {} : itemContext.attributes,
6370
6374
  ...isDisabled ? {} : itemContext.listeners,
6371
6375
  ref: composedRef,
6372
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6376
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6373
6377
  "select-none disabled:pointer-events-none disabled:opacity-50",
6374
6378
  context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
6375
6379
  className
@@ -6404,7 +6408,7 @@ function KanbanOverlay(props) {
6404
6408
  {
6405
6409
  dropAnimation,
6406
6410
  modifiers: context.modifiers,
6407
- className: _chunkNQVPCNRSjs.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
6411
+ className: _chunkO3LLMGP7js.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
6408
6412
  ...overlayProps,
6409
6413
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, KanbanOverlayContext.Provider, { value: true, children: context.activeId && children ? typeof children === "function" ? children({
6410
6414
  value: context.activeId,
@@ -6422,7 +6426,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, KanbanOverlay, "KanbanOverlay");
6422
6426
 
6423
6427
  var Link = React9.forwardRef(({ className, href, children, ...props }, ref) => {
6424
6428
  const NextIntlLink = _chunkEW6QPMN3js.getI18nLink.call(void 0, );
6425
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className: _chunkNQVPCNRSjs.cn.call(void 0, `font-medium`, className), ...props, children });
6429
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className: _chunkO3LLMGP7js.cn.call(void 0, `font-medium`, className), ...props, children });
6426
6430
  });
6427
6431
  Link.displayName = "Link";
6428
6432
 
@@ -6519,7 +6523,7 @@ var MultiSelect = React10.forwardRef(
6519
6523
  {
6520
6524
  ...props,
6521
6525
  onClick: handleTogglePopover,
6522
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6526
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6523
6527
  "flex h-auto min-h-10 w-full items-center justify-between rounded-md border bg-inherit p-1 hover:bg-inherit [&_svg]:pointer-events-auto",
6524
6528
  className
6525
6529
  ),
@@ -6531,7 +6535,7 @@ var MultiSelect = React10.forwardRef(
6531
6535
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6532
6536
  Badge,
6533
6537
  {
6534
- className: _chunkNQVPCNRSjs.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
6538
+ className: _chunkO3LLMGP7js.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
6535
6539
  style: { animationDuration: `${animation}s` },
6536
6540
  children: [
6537
6541
  IconComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "mr-2 h-4 w-4" }),
@@ -6554,7 +6558,7 @@ var MultiSelect = React10.forwardRef(
6554
6558
  selectedValues.length > maxCount && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6555
6559
  Badge,
6556
6560
  {
6557
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6561
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6558
6562
  "text-foreground border-foreground/1 bg-transparent hover:bg-transparent",
6559
6563
  isAnimating ? "animate-bounce" : "",
6560
6564
  multiSelectVariants({ variant })
@@ -6618,7 +6622,7 @@ var MultiSelect = React10.forwardRef(
6618
6622
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6619
6623
  "div",
6620
6624
  {
6621
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6625
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6622
6626
  "border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
6623
6627
  selectedValues.length === options.length ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
6624
6628
  ),
@@ -6641,7 +6645,7 @@ var MultiSelect = React10.forwardRef(
6641
6645
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6642
6646
  "div",
6643
6647
  {
6644
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6648
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6645
6649
  "border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
6646
6650
  isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
6647
6651
  ),
@@ -6676,7 +6680,7 @@ var MultiSelect = React10.forwardRef(
6676
6680
  animation > 0 && selectedValues.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6677
6681
  _lucidereact.WandSparkles,
6678
6682
  {
6679
- className: _chunkNQVPCNRSjs.cn.call(void 0,
6683
+ className: _chunkO3LLMGP7js.cn.call(void 0,
6680
6684
  "text-foreground bg-background my-2 h-3 w-3 cursor-pointer",
6681
6685
  isAnimating ? "" : "text-muted-foreground"
6682
6686
  ),
@@ -6764,8 +6768,8 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
6764
6768
  CommonDeleter,
6765
6769
  {
6766
6770
  type: `users`,
6767
- deleteFunction: () => _chunkNQVPCNRSjs.UserService.delete({ userId: user.id, companyId: cId }).then(
6768
- () => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunkNQVPCNRSjs.Modules.User }))
6771
+ deleteFunction: () => _chunkO3LLMGP7js.UserService.delete({ userId: user.id, companyId: cId }).then(
6772
+ () => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunkO3LLMGP7js.Modules.User }))
6769
6773
  )
6770
6774
  }
6771
6775
  );
@@ -6773,7 +6777,7 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
6773
6777
  _chunk7QVYU63Ejs.__name.call(void 0, UserDeleterInternal, "UserDeleterInternal");
6774
6778
  function UserDeleter(props) {
6775
6779
  const { hasPermissionToModule } = useCurrentUserContext();
6776
- if (!hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
6780
+ if (!hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
6777
6781
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserDeleterInternal, { ...props });
6778
6782
  }
6779
6783
  _chunk7QVYU63Ejs.__name.call(void 0, UserDeleter, "UserDeleter");
@@ -6837,7 +6841,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6837
6841
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
6838
6842
  if (!user) {
6839
6843
  try {
6840
- const existingUser = await _chunkNQVPCNRSjs.UserService.findByEmail({ email: values.email });
6844
+ const existingUser = await _chunkO3LLMGP7js.UserService.findByEmail({ email: values.email });
6841
6845
  if (existingUser) {
6842
6846
  form.setError("email", {
6843
6847
  type: "manual",
@@ -6850,7 +6854,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6850
6854
  }
6851
6855
  }
6852
6856
  if (values.avatar && contentType) {
6853
- const s3 = await _chunkNQVPCNRSjs.S3Service.getPreSignedUrl({
6857
+ const s3 = await _chunkO3LLMGP7js.S3Service.getPreSignedUrl({
6854
6858
  key: values.avatar,
6855
6859
  contentType,
6856
6860
  isPublic: true
@@ -6876,16 +6880,16 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6876
6880
  adminCreated
6877
6881
  };
6878
6882
  try {
6879
- const updatedUser = user ? await _chunkNQVPCNRSjs.UserService.update(payload) : await _chunkNQVPCNRSjs.UserService.create(payload);
6883
+ const updatedUser = user ? await _chunkO3LLMGP7js.UserService.update(payload) : await _chunkO3LLMGP7js.UserService.create(payload);
6880
6884
  if (_optionalChain([currentUser, 'optionalAccess', _131 => _131.id]) === updatedUser.id) setUser(updatedUser);
6881
6885
  if (onRevalidate) {
6882
- await onRevalidate(generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: updatedUser.id, language: `[locale]` }));
6886
+ await onRevalidate(generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: updatedUser.id, language: `[locale]` }));
6883
6887
  }
6884
6888
  if (propagateChanges) {
6885
6889
  propagateChanges(updatedUser);
6886
6890
  setOpen(false);
6887
6891
  } else {
6888
- router.push(generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: updatedUser.id }));
6892
+ router.push(generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: updatedUser.id }));
6889
6893
  }
6890
6894
  } catch (error) {
6891
6895
  errorToast({ title: user ? t(`generic.errors.update`) : t(`generic.errors.create`), error });
@@ -6893,7 +6897,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6893
6897
  }, "onSubmit");
6894
6898
  _react.useEffect.call(void 0, () => {
6895
6899
  async function fetchRoles() {
6896
- const roles2 = await _chunkNQVPCNRSjs.RoleService.findAllRoles({});
6900
+ const roles2 = await _chunkO3LLMGP7js.RoleService.findAllRoles({});
6897
6901
  const availableRoles = roles2.filter(
6898
6902
  (role) => role.id !== _chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator && (role.requiredFeature === void 0 || _optionalChain([company, 'optionalAccess', _132 => _132.features, 'access', _133 => _133.some, 'call', _134 => _134((feature) => feature.id === _optionalChain([role, 'access', _135 => _135.requiredFeature, 'optionalAccess', _136 => _136.id]))]))
6899
6903
  );
@@ -6921,7 +6925,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6921
6925
  setContentType(null);
6922
6926
  }
6923
6927
  }, [file]);
6924
- const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _140 => _140.id]) === _optionalChain([user, 'optionalAccess', _141 => _141.id]) && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator));
6928
+ const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _140 => _140.id]) === _optionalChain([user, 'optionalAccess', _141 => _141.id]) && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator));
6925
6929
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Dialog, { open, onOpenChange: setOpen, children: [
6926
6930
  trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTrigger, { children: trigger }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorTrigger, { isEdit: !!user }),
6927
6931
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -7038,7 +7042,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserEditorInternal, "UserEditorInternal");
7038
7042
  function UserEditor(props) {
7039
7043
  const { hasPermissionToModule } = useCurrentUserContext();
7040
7044
  if (!hasPermissionToModule({
7041
- module: _chunkNQVPCNRSjs.Modules.User,
7045
+ module: _chunkO3LLMGP7js.Modules.User,
7042
7046
  action: props.user ? "update" /* Update */ : "create" /* Create */,
7043
7047
  data: props.user
7044
7048
  }))
@@ -7389,7 +7393,7 @@ var DatePickerPopover = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
7389
7393
  }, "handleClear");
7390
7394
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open: isOpen, onOpenChange: setIsOpen, children: [
7391
7395
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children }),
7392
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunkNQVPCNRSjs.cn.call(void 0, "w-auto p-0", className), align, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
7396
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunkO3LLMGP7js.cn.call(void 0, "w-auto p-0", className), align, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
7393
7397
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative mb-3", children: [
7394
7398
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7395
7399
  Input,
@@ -7505,13 +7509,13 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
7505
7509
  setDate(range);
7506
7510
  }
7507
7511
  }, "handleSelect");
7508
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkNQVPCNRSjs.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
7512
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkO3LLMGP7js.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
7509
7513
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7510
7514
  Button,
7511
7515
  {
7512
7516
  id: "date",
7513
7517
  variant: "outline",
7514
- className: _chunkNQVPCNRSjs.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
7518
+ className: _chunkO3LLMGP7js.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
7515
7519
  children: [
7516
7520
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CalendarIcon, {}),
7517
7521
  _optionalChain([date, 'optionalAccess', _158 => _158.from]) ? date.to ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -7704,7 +7708,7 @@ var FileUploader = _react.forwardRef.call(void 0,
7704
7708
  ref,
7705
7709
  tabIndex: 0,
7706
7710
  onKeyDownCapture: handleKeyDown,
7707
- className: _chunkNQVPCNRSjs.cn.call(void 0,
7711
+ className: _chunkO3LLMGP7js.cn.call(void 0,
7708
7712
  "grid w-full overflow-hidden focus:outline-none",
7709
7713
  className,
7710
7714
  // Original className from props
@@ -7728,12 +7732,12 @@ var FileUploaderContent = _react.forwardRef.call(void 0,
7728
7732
  ({ children, className, ...props }, ref) => {
7729
7733
  const { orientation } = useFileUpload();
7730
7734
  const containerRef = _react.useRef.call(void 0, null);
7731
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkNQVPCNRSjs.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7735
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkO3LLMGP7js.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7732
7736
  "div",
7733
7737
  {
7734
7738
  ...props,
7735
7739
  ref,
7736
- className: _chunkNQVPCNRSjs.cn.call(void 0,
7740
+ className: _chunkO3LLMGP7js.cn.call(void 0,
7737
7741
  "flex gap-1 rounded-xl",
7738
7742
  orientation === "horizontal" ? "flex-raw flex-wrap" : "flex-col",
7739
7743
  className
@@ -7753,7 +7757,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
7753
7757
  "div",
7754
7758
  {
7755
7759
  ref,
7756
- className: _chunkNQVPCNRSjs.cn.call(void 0,
7760
+ className: _chunkO3LLMGP7js.cn.call(void 0,
7757
7761
  buttonVariants({ variant: "ghost" }),
7758
7762
  "relative h-6 cursor-pointer justify-between p-1",
7759
7763
  className,
@@ -7766,7 +7770,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
7766
7770
  "button",
7767
7771
  {
7768
7772
  type: "button",
7769
- className: _chunkNQVPCNRSjs.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
7773
+ className: _chunkO3LLMGP7js.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
7770
7774
  onClick: () => removeFileFromSet(index),
7771
7775
  children: [
7772
7776
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: t(`generic.remove_item`, { index }) }),
@@ -7790,12 +7794,12 @@ var FileInput = _react.forwardRef.call(void 0,
7790
7794
  {
7791
7795
  ref,
7792
7796
  ...props,
7793
- className: _chunkNQVPCNRSjs.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
7797
+ className: _chunkO3LLMGP7js.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
7794
7798
  children: [
7795
7799
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7796
7800
  "div",
7797
7801
  {
7798
- className: _chunkNQVPCNRSjs.cn.call(void 0,
7802
+ className: _chunkO3LLMGP7js.cn.call(void 0,
7799
7803
  "w-full rounded-lg duration-300 ease-in-out",
7800
7804
  // Simpler border logic: if parent is drag-active, it controls the border.
7801
7805
  // Otherwise, FileInput can show its own accept/reject/default border.
@@ -8135,7 +8139,7 @@ function FormDateTime({
8135
8139
  Button,
8136
8140
  {
8137
8141
  variant: "outline",
8138
- className: _chunkNQVPCNRSjs.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground")
8142
+ className: _chunkO3LLMGP7js.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground")
8139
8143
  }
8140
8144
  ),
8141
8145
  children: [
@@ -8334,7 +8338,7 @@ var PasswordInput = React11.forwardRef(({ className, type, ...props }, ref) => {
8334
8338
  const disabled = props.value === "" || props.value === void 0 || props.disabled;
8335
8339
  const t = _nextintl.useTranslations.call(void 0, );
8336
8340
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
8337
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunkNQVPCNRSjs.cn.call(void 0, "", className), ref, ...props }),
8341
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunkO3LLMGP7js.cn.call(void 0, "", className), ref, ...props }),
8338
8342
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8339
8343
  Button,
8340
8344
  {
@@ -8528,7 +8532,7 @@ function FormPlaceAutocomplete({
8528
8532
  placeholder,
8529
8533
  disabled,
8530
8534
  "data-testid": testId,
8531
- className: _chunkNQVPCNRSjs.cn.call(void 0, "w-full", className)
8535
+ className: _chunkO3LLMGP7js.cn.call(void 0, "w-full", className)
8532
8536
  }
8533
8537
  ) }) });
8534
8538
  }
@@ -8547,7 +8551,7 @@ function FormPlaceAutocomplete({
8547
8551
  placeholder,
8548
8552
  disabled: disabled || !apiKey,
8549
8553
  "data-testid": testId,
8550
- className: _chunkNQVPCNRSjs.cn.call(void 0, "w-full", className)
8554
+ className: _chunkO3LLMGP7js.cn.call(void 0, "w-full", className)
8551
8555
  }
8552
8556
  ),
8553
8557
  isLoading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute right-3 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-primary h-4 w-4 animate-spin rounded-full border-2 border-t-transparent" }) }),
@@ -8678,7 +8682,7 @@ function FormTextarea({
8678
8682
  Textarea,
8679
8683
  {
8680
8684
  ...field,
8681
- className: _chunkNQVPCNRSjs.cn.call(void 0, "min-h-96 w-full", className),
8685
+ className: _chunkO3LLMGP7js.cn.call(void 0, "min-h-96 w-full", className),
8682
8686
  disabled: form.formState.isSubmitting,
8683
8687
  placeholder,
8684
8688
  "data-testid": testId
@@ -8764,10 +8768,10 @@ function UserMultiSelect({
8764
8768
  const data = useDataListRetriever({
8765
8769
  ready: !!company,
8766
8770
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
8767
- return _chunkNQVPCNRSjs.UserService.findAllUsers(params);
8771
+ return _chunkO3LLMGP7js.UserService.findAllUsers(params);
8768
8772
  }, "retriever"),
8769
8773
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _189 => _189.id]) },
8770
- module: _chunkNQVPCNRSjs.Modules.User
8774
+ module: _chunkO3LLMGP7js.Modules.User
8771
8775
  });
8772
8776
  _react.useEffect.call(void 0, () => {
8773
8777
  if (company) data.setReady(true);
@@ -8864,7 +8868,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
8864
8868
  const t = _nextintl.useTranslations.call(void 0, );
8865
8869
  const reactivateUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
8866
8870
  try {
8867
- const updatedUser = await _chunkNQVPCNRSjs.UserService.reactivate({ userId: user.id });
8871
+ const updatedUser = await _chunkO3LLMGP7js.UserService.reactivate({ userId: user.id });
8868
8872
  setOpen(false);
8869
8873
  propagateChanges(updatedUser);
8870
8874
  } catch (error) {
@@ -8902,7 +8906,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
8902
8906
  _chunk7QVYU63Ejs.__name.call(void 0, UserReactivatorInterface, "UserReactivatorInterface");
8903
8907
  function UserReactivator(props) {
8904
8908
  const { hasPermissionToModule } = useCurrentUserContext();
8905
- if (!hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
8909
+ if (!hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.User, action: "update" /* Update */, data: props.user })) return null;
8906
8910
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserReactivatorInterface, { ...props });
8907
8911
  }
8908
8912
  _chunk7QVYU63Ejs.__name.call(void 0, UserReactivator, "UserReactivator");
@@ -8918,7 +8922,7 @@ function UserResentInvitationEmailInternal({ user }) {
8918
8922
  const t = _nextintl.useTranslations.call(void 0, );
8919
8923
  const sendInvitationEmail = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
8920
8924
  try {
8921
- await _chunkNQVPCNRSjs.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
8925
+ await _chunkO3LLMGP7js.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
8922
8926
  setOpen(false);
8923
8927
  _sonner.toast.message(t(`foundations.user.resend_activation.email_sent`), {
8924
8928
  description: t(`foundations.user.resend_activation.email_sent_description`, { email: user.email })
@@ -8958,7 +8962,7 @@ function UserResentInvitationEmailInternal({ user }) {
8958
8962
  _chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmailInternal, "UserResentInvitationEmailInternal");
8959
8963
  function UserResentInvitationEmail(props) {
8960
8964
  const { hasPermissionToModule } = useCurrentUserContext();
8961
- if (!hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
8965
+ if (!hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.User, action: "update" /* Update */, data: props.user })) return null;
8962
8966
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserResentInvitationEmailInternal, { ...props });
8963
8967
  }
8964
8968
  _chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmail, "UserResentInvitationEmail");
@@ -8989,22 +8993,22 @@ function UserAvatar({ user, className, showFull, showLink, showTooltip = true })
8989
8993
  }, "getAvatar");
8990
8994
  const content = showLink === false ? (
8991
8995
  // If showLink is explicitly false, never show a link
8992
- showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkNQVPCNRSjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
8996
+ showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkO3LLMGP7js.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
8993
8997
  getAvatar(),
8994
8998
  user.name
8995
8999
  ] }) : getAvatar()
8996
9000
  ) : showFull ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8997
9001
  Link,
8998
9002
  {
8999
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: user.id }),
9000
- className: _chunkNQVPCNRSjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
9003
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: user.id }),
9004
+ className: _chunkO3LLMGP7js.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
9001
9005
  onClick: (e) => e.stopPropagation(),
9002
9006
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center gap-x-2", children: [
9003
9007
  getAvatar(),
9004
9008
  user.name
9005
9009
  ] })
9006
9010
  }
9007
- ) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar();
9011
+ ) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar();
9008
9012
  if (!showTooltip) {
9009
9013
  return content;
9010
9014
  }
@@ -9025,10 +9029,10 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
9025
9029
  const [isSearching, setIsSearching] = _react.useState.call(void 0, false);
9026
9030
  const data = useDataListRetriever({
9027
9031
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
9028
- return _chunkNQVPCNRSjs.UserService.findMany(params);
9032
+ return _chunkO3LLMGP7js.UserService.findMany(params);
9029
9033
  }, "retriever"),
9030
9034
  retrieverParams: {},
9031
- module: _chunkNQVPCNRSjs.Modules.User
9035
+ module: _chunkO3LLMGP7js.Modules.User
9032
9036
  });
9033
9037
  const search = _react.useCallback.call(void 0,
9034
9038
  async (searchedTerm) => {
@@ -9136,24 +9140,24 @@ var UserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
9136
9140
  const { hasPermissionToModule } = useCurrentUserContext();
9137
9141
  const t = _nextintl.useTranslations.call(void 0, );
9138
9142
  const [user, setUser] = _react.useState.call(void 0,
9139
- dehydratedUser ? _chunkNQVPCNRSjs.rehydrate.call(void 0, _chunkNQVPCNRSjs.Modules.User, dehydratedUser) : void 0
9143
+ dehydratedUser ? _chunkO3LLMGP7js.rehydrate.call(void 0, _chunkO3LLMGP7js.Modules.User, dehydratedUser) : void 0
9140
9144
  );
9141
9145
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
9142
9146
  const response = [];
9143
- if (hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.User, action: "update" /* Update */ })) {
9147
+ if (hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.User, action: "update" /* Update */ })) {
9144
9148
  response.push({
9145
9149
  name: t(`generic.settings`),
9146
9150
  href: generateUrl({ page: `/settings` })
9147
9151
  });
9148
9152
  response.push({
9149
9153
  name: t(`types.users`, { count: 2 }),
9150
- href: generateUrl({ page: `/settings`, id: _chunkNQVPCNRSjs.Modules.User.pageUrl })
9154
+ href: generateUrl({ page: `/settings`, id: _chunkO3LLMGP7js.Modules.User.pageUrl })
9151
9155
  });
9152
9156
  }
9153
9157
  if (user)
9154
9158
  response.push({
9155
9159
  name: `${user.name}${user.isDeleted ? ` (${t(`foundations.user.deleted`)})` : ""}`,
9156
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: user.id })
9160
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: user.id })
9157
9161
  });
9158
9162
  return response;
9159
9163
  }, "breadcrumb");
@@ -9208,7 +9212,7 @@ function UserDetails({ user }) {
9208
9212
  const { title } = useSharedContext();
9209
9213
  let roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
9210
9214
  if (user.roles && user.roles.length > 0) {
9211
- roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: user.roles.map((role, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.Role, id: role.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { className: "mr-2", variant: `default`, children: t(`foundations.role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }) });
9215
+ roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: user.roles.map((role, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkO3LLMGP7js.Modules.Role, id: role.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { className: "mr-2", variant: `default`, children: t(`foundations.role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }) });
9212
9216
  }
9213
9217
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
9214
9218
  user.avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-auto w-full max-w-md overflow-hidden rounded-lg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9221,7 +9225,7 @@ function UserDetails({ user }) {
9221
9225
  className: "h-auto w-full rounded-lg object-contain"
9222
9226
  }
9223
9227
  ) }),
9224
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkNQVPCNRSjs.Modules.User, type: title.type, element: title.element, functions: title.functions }),
9228
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkO3LLMGP7js.Modules.User, type: title.type, element: title.element, functions: title.functions }),
9225
9229
  user.isDeleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "destructive", children: t(`foundations.user.errors.deleted`) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: !user.isActivated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "destructive", children: t(`foundations.user.errors.inactive`) }) }) }),
9226
9230
  roles,
9227
9231
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AttributeElement, { inline: true, title: t(`foundations.user.fields.title.label`), value: user.title }),
@@ -9275,18 +9279,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserIndexContainer, "UserIndexContainer");
9275
9279
  function UsersListContainerInternal() {
9276
9280
  const { hasPermissionToModule } = useCurrentUserContext();
9277
9281
  const t = _nextintl.useTranslations.call(void 0, );
9278
- if (!hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
9282
+ if (!hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
9279
9283
  const tabs = [
9280
9284
  {
9281
9285
  label: t(`types.users`, { count: 2 }),
9282
9286
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {}),
9283
- modules: [_chunkNQVPCNRSjs.Modules.Company],
9287
+ modules: [_chunkO3LLMGP7js.Modules.Company],
9284
9288
  action: "read" /* Read */
9285
9289
  },
9286
9290
  {
9287
9291
  label: t(`foundations.user.deleted`),
9288
9292
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, { isDeleted: true }),
9289
- modules: [_chunkNQVPCNRSjs.Modules.Company],
9293
+ modules: [_chunkO3LLMGP7js.Modules.Company],
9290
9294
  action: "update" /* Update */
9291
9295
  }
9292
9296
  ];
@@ -9304,9 +9308,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersListContainer, "UsersListContainer");
9304
9308
  function AdminUsersListInternal({ company }) {
9305
9309
  const t = _nextintl.useTranslations.call(void 0, );
9306
9310
  const data = useDataListRetriever({
9307
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.UserService.findManyForAmin(params), "retriever"),
9311
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.UserService.findManyForAmin(params), "retriever"),
9308
9312
  retrieverParams: { companyId: company.id },
9309
- module: _chunkNQVPCNRSjs.Modules.User
9313
+ module: _chunkO3LLMGP7js.Modules.User
9310
9314
  });
9311
9315
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9312
9316
  ContentListTable,
@@ -9314,7 +9318,7 @@ function AdminUsersListInternal({ company }) {
9314
9318
  title: t(`types.users`, { count: 2 }),
9315
9319
  data,
9316
9320
  fields: ["name" /* name */, "email" /* email */, "createdAt" /* createdAt */],
9317
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.User,
9321
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.User,
9318
9322
  functions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserEditor, { propagateChanges: data.refresh, adminCreated: true })
9319
9323
  }
9320
9324
  );
@@ -9336,9 +9340,9 @@ function CompanyUsersList({ isDeleted }) {
9336
9340
  const t = _nextintl.useTranslations.call(void 0, );
9337
9341
  const data = useDataListRetriever({
9338
9342
  ready: !!company,
9339
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.UserService.findAllUsers(params), "retriever"),
9343
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.UserService.findAllUsers(params), "retriever"),
9340
9344
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _208 => _208.id]), isDeleted },
9341
- module: _chunkNQVPCNRSjs.Modules.User
9345
+ module: _chunkO3LLMGP7js.Modules.User
9342
9346
  });
9343
9347
  _react.useEffect.call(void 0, () => {
9344
9348
  if (company) data.setReady(true);
@@ -9351,7 +9355,7 @@ function CompanyUsersList({ isDeleted }) {
9351
9355
  {
9352
9356
  data,
9353
9357
  fields: ["name" /* name */, "email" /* email */],
9354
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.User,
9358
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.User,
9355
9359
  functions,
9356
9360
  title: t(`types.users`, { count: 2 })
9357
9361
  }
@@ -9367,7 +9371,7 @@ function ContributorsList({ content }) {
9367
9371
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9368
9372
  Link,
9369
9373
  {
9370
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: content.author.id }),
9374
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: content.author.id }),
9371
9375
  onClick: (e) => e.stopPropagation(),
9372
9376
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: content.author, className: "mr-1 h-6 w-6" })
9373
9377
  },
@@ -9376,7 +9380,7 @@ function ContributorsList({ content }) {
9376
9380
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-row-reverse justify-end -space-x-1 space-x-reverse", children: content.editors.filter((editor) => editor.id !== content.author.id).map((editor) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9377
9381
  Link,
9378
9382
  {
9379
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: editor.id }),
9383
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: editor.id }),
9380
9384
  onClick: (e) => e.stopPropagation(),
9381
9385
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: editor, className: "h-5 w-5" })
9382
9386
  },
@@ -9392,8 +9396,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContributorsList, "ContributorsList");
9392
9396
  function RelevantUsersList({ id }) {
9393
9397
  const t = _nextintl.useTranslations.call(void 0, );
9394
9398
  const data = useDataListRetriever({
9395
- module: _chunkNQVPCNRSjs.Modules.User,
9396
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.UserService.findRelevant(params), "retriever"),
9399
+ module: _chunkO3LLMGP7js.Modules.User,
9400
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.UserService.findRelevant(params), "retriever"),
9397
9401
  retrieverParams: { id }
9398
9402
  });
9399
9403
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9401,7 +9405,7 @@ function RelevantUsersList({ id }) {
9401
9405
  {
9402
9406
  data,
9403
9407
  fields: ["name" /* name */, "email" /* email */, "relevance" /* relevance */],
9404
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.User,
9408
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.User,
9405
9409
  title: t(`generic.relevant_users`)
9406
9410
  }
9407
9411
  );
@@ -9414,16 +9418,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RelevantUsersList, "RelevantUsersList");
9414
9418
  function RoleUsersList({ role }) {
9415
9419
  const t = _nextintl.useTranslations.call(void 0, );
9416
9420
  const data = useDataListRetriever({
9417
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.UserService.findAllUsersByRole(params), "retriever"),
9421
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.UserService.findAllUsersByRole(params), "retriever"),
9418
9422
  retrieverParams: { roleId: role.id },
9419
- module: _chunkNQVPCNRSjs.Modules.User
9423
+ module: _chunkO3LLMGP7js.Modules.User
9420
9424
  });
9421
9425
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9422
9426
  ContentListTable,
9423
9427
  {
9424
9428
  data,
9425
9429
  fields: ["name" /* name */, "email" /* email */],
9426
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.User,
9430
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.User,
9427
9431
  title: t(`types.users`, { count: 2 })
9428
9432
  }
9429
9433
  );
@@ -9473,7 +9477,7 @@ function UsersList({ data, optionComponents, removeFunction, hideOptions, showRe
9473
9477
  {
9474
9478
  data,
9475
9479
  fields: ["name" /* name */, "email" /* email */],
9476
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.User,
9480
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.User,
9477
9481
  title: t(`types.users`, { count: 2 })
9478
9482
  }
9479
9483
  );
@@ -9486,8 +9490,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersList, "UsersList");
9486
9490
  function UsersListByContentIds({ contentIds }) {
9487
9491
  const t = _nextintl.useTranslations.call(void 0, );
9488
9492
  const data = useDataListRetriever({
9489
- module: _chunkNQVPCNRSjs.Modules.User,
9490
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.UserService.findManyByContentIds(params), "retriever"),
9493
+ module: _chunkO3LLMGP7js.Modules.User,
9494
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.UserService.findManyByContentIds(params), "retriever"),
9491
9495
  retrieverParams: { contentIds }
9492
9496
  });
9493
9497
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9495,7 +9499,7 @@ function UsersListByContentIds({ contentIds }) {
9495
9499
  {
9496
9500
  data,
9497
9501
  fields: ["name" /* name */, "email" /* email */],
9498
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.User,
9502
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.User,
9499
9503
  title: t(`generic.relevant_users`)
9500
9504
  }
9501
9505
  );
@@ -9513,7 +9517,7 @@ function CompanyDetails() {
9513
9517
  const { company } = useCompanyContext();
9514
9518
  if (!company) return null;
9515
9519
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
9516
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkNQVPCNRSjs.Modules.Company, type: title.type, element: title.element, functions: title.functions }),
9520
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkO3LLMGP7js.Modules.Company, type: title.type, element: title.element, functions: title.functions }),
9517
9521
  company.logo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _image2.default, { src: company.logo, alt: company.name, width: 150, height: 150, className: "mb-4 rounded-md" })
9518
9522
  ] });
9519
9523
  }
@@ -9653,8 +9657,8 @@ function CompanyConfigurationEditorInternal({ company }) {
9653
9657
  }
9654
9658
  };
9655
9659
  try {
9656
- await _chunkNQVPCNRSjs.CompanyService.updateConfigurations(payload);
9657
- const fullUser = await _chunkNQVPCNRSjs.UserService.findFullUser();
9660
+ await _chunkO3LLMGP7js.CompanyService.updateConfigurations(payload);
9661
+ const fullUser = await _chunkO3LLMGP7js.UserService.findFullUser();
9658
9662
  if (fullUser) {
9659
9663
  setUser(fullUser);
9660
9664
  }
@@ -9709,7 +9713,7 @@ function CompanyDeleterInternal({ company }) {
9709
9713
  const handleDelete = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
9710
9714
  setIsDeleting(true);
9711
9715
  try {
9712
- await _chunkNQVPCNRSjs.CompanyService.delete({ companyId: company.id });
9716
+ await _chunkO3LLMGP7js.CompanyService.delete({ companyId: company.id });
9713
9717
  router.push("/");
9714
9718
  } catch (error) {
9715
9719
  errorToast({ title: t(`generic.errors.delete`), error });
@@ -9779,7 +9783,7 @@ function CompanyDeleterInternal({ company }) {
9779
9783
  _chunk7QVYU63Ejs.__name.call(void 0, CompanyDeleterInternal, "CompanyDeleterInternal");
9780
9784
  function CompanyDeleter({ company }) {
9781
9785
  const { hasPermissionToModule, hasRole } = useCurrentUserContext();
9782
- if (!hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.Company, action: "delete" /* Delete */ }))
9786
+ if (!hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.Company, action: "delete" /* Delete */ }))
9783
9787
  return null;
9784
9788
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleterInternal, { company });
9785
9789
  }
@@ -9827,7 +9831,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
9827
9831
  });
9828
9832
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
9829
9833
  if (values.logo && contentType) {
9830
- const s3 = await _chunkNQVPCNRSjs.S3Service.getPreSignedUrl({
9834
+ const s3 = await _chunkO3LLMGP7js.S3Service.getPreSignedUrl({
9831
9835
  key: values.logo,
9832
9836
  contentType,
9833
9837
  isPublic: true
@@ -9846,9 +9850,9 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
9846
9850
  moduleIds: values.moduleIds
9847
9851
  };
9848
9852
  try {
9849
- const updatedCompany = company ? await _chunkNQVPCNRSjs.CompanyService.update(payload) : await _chunkNQVPCNRSjs.CompanyService.create(payload);
9853
+ const updatedCompany = company ? await _chunkO3LLMGP7js.CompanyService.update(payload) : await _chunkO3LLMGP7js.CompanyService.create(payload);
9850
9854
  if (onRevalidate) {
9851
- await onRevalidate(generateUrl({ page: _chunkNQVPCNRSjs.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
9855
+ await onRevalidate(generateUrl({ page: _chunkO3LLMGP7js.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
9852
9856
  }
9853
9857
  if (company && propagateChanges) {
9854
9858
  _cookiesnext.setCookie.call(void 0, "reloadData", "true", { path: "/" });
@@ -9866,7 +9870,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
9866
9870
  }, "onSubmit");
9867
9871
  _react.useEffect.call(void 0, () => {
9868
9872
  async function fetchFeatures() {
9869
- const allfeatures = await _chunkNQVPCNRSjs.FeatureService.findMany({});
9873
+ const allfeatures = await _chunkO3LLMGP7js.FeatureService.findMany({});
9870
9874
  if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) {
9871
9875
  setFeatures(allfeatures);
9872
9876
  } else {
@@ -9980,9 +9984,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyEditor, "CompanyEditor");
9980
9984
  function CompaniesList() {
9981
9985
  const t = _nextintl.useTranslations.call(void 0, );
9982
9986
  const data = useDataListRetriever({
9983
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.CompanyService.findMany(params), "retriever"),
9987
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.CompanyService.findMany(params), "retriever"),
9984
9988
  retrieverParams: {},
9985
- module: _chunkNQVPCNRSjs.Modules.Company
9989
+ module: _chunkO3LLMGP7js.Modules.Company
9986
9990
  });
9987
9991
  const functions = [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, {}, "create-account")];
9988
9992
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9990,7 +9994,7 @@ function CompaniesList() {
9990
9994
  {
9991
9995
  data,
9992
9996
  fields: ["name" /* name */, "createdAt" /* createdAt */],
9993
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.Company,
9997
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.Company,
9994
9998
  functions,
9995
9999
  title: t(`types.companies`, { count: 2 })
9996
10000
  }
@@ -10011,14 +10015,14 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
10011
10015
  const t = _nextintl.useTranslations.call(void 0, );
10012
10016
  const { hasPermissionToModule, hasRole } = useCurrentUserContext();
10013
10017
  const [company, setCompany] = _react.useState.call(void 0,
10014
- dehydratedCompany ? _chunkNQVPCNRSjs.rehydrate.call(void 0, _chunkNQVPCNRSjs.Modules.Company, dehydratedCompany) : void 0
10018
+ dehydratedCompany ? _chunkO3LLMGP7js.rehydrate.call(void 0, _chunkO3LLMGP7js.Modules.Company, dehydratedCompany) : void 0
10015
10019
  );
10016
10020
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
10017
10021
  const response = [];
10018
10022
  if (company)
10019
10023
  response.push({
10020
10024
  name: company.name,
10021
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.Company })
10025
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.Company })
10022
10026
  });
10023
10027
  return response;
10024
10028
  }, "breadcrumb");
@@ -10028,9 +10032,9 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
10028
10032
  };
10029
10033
  if (company) response.element = company.name;
10030
10034
  const functions = [];
10031
- if (company && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.Company, action: "delete" /* Delete */ }))
10035
+ if (company && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.Company, action: "delete" /* Delete */ }))
10032
10036
  functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleter, { company }, "companyDeleter"));
10033
- if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunkNQVPCNRSjs.Modules.Company, action: "update" /* Update */ })) {
10037
+ if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunkO3LLMGP7js.Modules.Company, action: "update" /* Update */ })) {
10034
10038
  functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, { company, propagateChanges: setCompany }, "companyEditor"));
10035
10039
  }
10036
10040
  if (functions.length > 0) response.functions = functions;
@@ -10147,7 +10151,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
10147
10151
  setIsLoading(true);
10148
10152
  setError(null);
10149
10153
  try {
10150
- const fetchedNotifications = await _chunkNQVPCNRSjs.NotificationService.findMany({});
10154
+ const fetchedNotifications = await _chunkO3LLMGP7js.NotificationService.findMany({});
10151
10155
  setNotifications(fetchedNotifications);
10152
10156
  setLastLoaded(Date.now());
10153
10157
  } catch (error2) {
@@ -10163,7 +10167,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
10163
10167
  try {
10164
10168
  const data = {
10165
10169
  data: ids.map((id) => ({
10166
- type: _chunkNQVPCNRSjs.Modules.Notification.name,
10170
+ type: _chunkO3LLMGP7js.Modules.Notification.name,
10167
10171
  id,
10168
10172
  attributes: {
10169
10173
  isRead: true
@@ -10172,8 +10176,8 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
10172
10176
  relationships: {}
10173
10177
  }))
10174
10178
  };
10175
- await _chunkNQVPCNRSjs.NotificationService.markAsRead({ data });
10176
- const allNotifications = await _chunkNQVPCNRSjs.NotificationService.findMany({});
10179
+ await _chunkO3LLMGP7js.NotificationService.markAsRead({ data });
10180
+ const allNotifications = await _chunkO3LLMGP7js.NotificationService.findMany({});
10177
10181
  setNotifications(allNotifications);
10178
10182
  setLastLoaded(Date.now());
10179
10183
  } catch (error2) {
@@ -10241,18 +10245,18 @@ var RoleProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
10241
10245
  const generateUrl = usePageUrlGenerator();
10242
10246
  const t = _nextintl.useTranslations.call(void 0, );
10243
10247
  const [role, setRole] = _react.useState.call(void 0,
10244
- dehydratedRole ? _chunkNQVPCNRSjs.rehydrate.call(void 0, _chunkNQVPCNRSjs.Modules.Role, dehydratedRole) : void 0
10248
+ dehydratedRole ? _chunkO3LLMGP7js.rehydrate.call(void 0, _chunkO3LLMGP7js.Modules.Role, dehydratedRole) : void 0
10245
10249
  );
10246
10250
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
10247
10251
  const response = [];
10248
10252
  response.push({
10249
10253
  name: t(`types.roles`, { count: 2 }),
10250
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.Role })
10254
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.Role })
10251
10255
  });
10252
10256
  if (role)
10253
10257
  response.push({
10254
10258
  name: role.name,
10255
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.Role, id: role.id })
10259
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.Role, id: role.id })
10256
10260
  });
10257
10261
  return response;
10258
10262
  }, "breadcrumb");
@@ -10487,7 +10491,7 @@ function usePushNotifications() {
10487
10491
  };
10488
10492
  const subscriptionHash = btoa(JSON.stringify(plainSubscription));
10489
10493
  if (lastRegisteredSubscription !== subscriptionHash) {
10490
- await _chunkNQVPCNRSjs.PushService.register({ data: plainSubscription });
10494
+ await _chunkO3LLMGP7js.PushService.register({ data: plainSubscription });
10491
10495
  sessionStorage.setItem(sessionKey, subscriptionHash);
10492
10496
  }
10493
10497
  } catch (error) {
@@ -10570,7 +10574,7 @@ function useSocket({ token }) {
10570
10574
  });
10571
10575
  }, "handleMessage");
10572
10576
  const handleNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (data) => {
10573
- const notification = _chunkNQVPCNRSjs.rehydrate.call(void 0, _chunkNQVPCNRSjs.Modules.Notification, data);
10577
+ const notification = _chunkO3LLMGP7js.rehydrate.call(void 0, _chunkO3LLMGP7js.Modules.Notification, data);
10574
10578
  if (notification) {
10575
10579
  setSocketNotifications((prev) => {
10576
10580
  const newNotifications = [...prev, notification];
@@ -10685,7 +10689,7 @@ function ContentTitle({ module, type, element, functions, className }) {
10685
10689
  setClientFunctions(functions);
10686
10690
  }, [functions]);
10687
10691
  if (!element) return null;
10688
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkNQVPCNRSjs.cn.call(void 0, `mb-4 flex items-center justify-between gap-x-4 w-full`, className), children: [
10692
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkO3LLMGP7js.cn.call(void 0, `mb-4 flex items-center justify-between gap-x-4 w-full`, className), children: [
10689
10693
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col w-full", children: [
10690
10694
  type && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `text-muted-foreground text-xl font-light flex gap-x-2 items-center`, children: [
10691
10695
  module && module.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, module.icon, { className: "w-5 h-5 inline-block" }),
@@ -10802,7 +10806,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, RecentPagesNavigator, "RecentPagesNavigator
10802
10806
  function PageContainer({ children, testId, className }) {
10803
10807
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex h-full w-full flex-col`, "data-testid": testId, children: [
10804
10808
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, {}),
10805
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunkNQVPCNRSjs.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4 pb-20`, className), children })
10809
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunkO3LLMGP7js.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4 pb-20`, className), children })
10806
10810
  ] });
10807
10811
  }
10808
10812
  _chunk7QVYU63Ejs.__name.call(void 0, PageContainer, "PageContainer");
@@ -10911,7 +10915,7 @@ function TabsContainer({
10911
10915
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10912
10916
  TabsList,
10913
10917
  {
10914
- className: _chunkNQVPCNRSjs.cn.call(void 0,
10918
+ className: _chunkO3LLMGP7js.cn.call(void 0,
10915
10919
  `${style ? `my-4 flex w-full justify-start rounded-none border-b bg-transparent pb-0` : ``}`,
10916
10920
  tabsListClassName
10917
10921
  ),
@@ -10919,7 +10923,7 @@ function TabsContainer({
10919
10923
  TabsTrigger,
10920
10924
  {
10921
10925
  value: tab.label,
10922
- className: _chunkNQVPCNRSjs.cn.call(void 0,
10926
+ className: _chunkO3LLMGP7js.cn.call(void 0,
10923
10927
  `${style ? `text-muted-foreground border-accent data-[state=active]:text-foreground hover:text-foreground cursor-pointer rounded-none bg-transparent pb-2 text-sm font-light hover:border-0 data-[state=active]:border-b data-[state=active]:font-medium data-[state=active]:shadow-none` : `text-primary text-xs`}`,
10924
10928
  tabsTriggerClassName
10925
10929
  ),
@@ -10939,7 +10943,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, TabsContainer, "TabsContainer");
10939
10943
  // src/components/contents/AttributeElement.tsx
10940
10944
 
10941
10945
  function AttributeElement({ inline, title, value, className }) {
10942
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkNQVPCNRSjs.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
10946
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkO3LLMGP7js.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
10943
10947
  title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-sm font-semibold`, children: title }),
10944
10948
  value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col text-sm", children: value })
10945
10949
  ] });
@@ -10962,7 +10966,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails")
10962
10966
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
10963
10967
 
10964
10968
 
10965
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-OFSTXGZX.js"))), {
10969
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-7WAWEZVW.js"))), {
10966
10970
  ssr: false
10967
10971
  });
10968
10972
  var BlockNoteEditorContainer = React2.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -11013,7 +11017,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, PageContainerContentDetails, "PageContainer
11013
11017
 
11014
11018
  function PageContentContainer({ header, details, footer, content }) {
11015
11019
  const [mounted, setMounted] = _react.useState.call(void 0, false);
11016
- const isMobile = _chunkNQVPCNRSjs.useIsMobile.call(void 0, );
11020
+ const isMobile = _chunkO3LLMGP7js.useIsMobile.call(void 0, );
11017
11021
  _react.useEffect.call(void 0, () => {
11018
11022
  setMounted(true);
11019
11023
  }, []);
@@ -11345,14 +11349,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, useJsonApiMutation, "useJsonApiMutation");
11345
11349
  function useRehydration(classKey, data) {
11346
11350
  return _react.useMemo.call(void 0, () => {
11347
11351
  if (!data) return null;
11348
- return _chunkNQVPCNRSjs.RehydrationFactory.rehydrate(classKey, data);
11352
+ return _chunkO3LLMGP7js.RehydrationFactory.rehydrate(classKey, data);
11349
11353
  }, [classKey, data]);
11350
11354
  }
11351
11355
  _chunk7QVYU63Ejs.__name.call(void 0, useRehydration, "useRehydration");
11352
11356
  function useRehydrationList(classKey, data) {
11353
11357
  return _react.useMemo.call(void 0, () => {
11354
11358
  if (!data || data.length === 0) return [];
11355
- return _chunkNQVPCNRSjs.RehydrationFactory.rehydrateList(classKey, data);
11359
+ return _chunkO3LLMGP7js.RehydrationFactory.rehydrateList(classKey, data);
11356
11360
  }, [classKey, data]);
11357
11361
  }
11358
11362
  _chunk7QVYU63Ejs.__name.call(void 0, useRehydrationList, "useRehydrationList");
@@ -11394,9 +11398,9 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
11394
11398
  {
11395
11399
  href: hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) ? generateUrl({
11396
11400
  page: "/administration",
11397
- id: _optionalChain([_chunkNQVPCNRSjs.Modules, 'access', _276 => _276.Company, 'access', _277 => _277.pageUrl, 'optionalAccess', _278 => _278.substring, 'call', _279 => _279(1)]),
11401
+ id: _optionalChain([_chunkO3LLMGP7js.Modules, 'access', _276 => _276.Company, 'access', _277 => _277.pageUrl, 'optionalAccess', _278 => _278.substring, 'call', _279 => _279(1)]),
11398
11402
  childPage: company.id
11399
- }) : generateUrl({ page: _chunkNQVPCNRSjs.Modules.Company, id: company.id }),
11403
+ }) : generateUrl({ page: _chunkO3LLMGP7js.Modules.Company, id: company.id }),
11400
11404
  children: row.getValue("name")
11401
11405
  }
11402
11406
  );
@@ -11446,7 +11450,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
11446
11450
  header: t(`foundations.role.fields.name.label`),
11447
11451
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
11448
11452
  const role = row.original.jsonApiData;
11449
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.Role, id: role.id }), children: row.getValue("name") });
11453
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkO3LLMGP7js.Modules.Role, id: role.id }), children: row.getValue("name") });
11450
11454
  }, "cell"),
11451
11455
  enableSorting: false,
11452
11456
  enableHiding: false
@@ -11483,7 +11487,7 @@ var useUserSearch = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
11483
11487
  if (search === searchQueryRef.current && users.length > 0) return;
11484
11488
  setIsLoading(true);
11485
11489
  searchQueryRef.current = search;
11486
- const fetchedUsers = await _chunkNQVPCNRSjs.UserService.findMany({ search, fetchAll: true });
11490
+ const fetchedUsers = await _chunkO3LLMGP7js.UserService.findMany({ search, fetchAll: true });
11487
11491
  setUsers(fetchedUsers);
11488
11492
  } catch (error) {
11489
11493
  console.error("Failed to load users:", error);
@@ -11549,8 +11553,8 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
11549
11553
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
11550
11554
  Link,
11551
11555
  {
11552
- href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: user.id }),
11553
- className: _chunkNQVPCNRSjs.cn.call(void 0,
11556
+ href: generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: user.id }),
11557
+ className: _chunkO3LLMGP7js.cn.call(void 0,
11554
11558
  `flex items-center justify-start gap-2`,
11555
11559
  user.isDeleted || !user.isActivated ? "text-muted-foreground italic" : ""
11556
11560
  ),
@@ -11644,11 +11648,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
11644
11648
  header: t(`foundations.content.fields.name.label`),
11645
11649
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
11646
11650
  const content = row.original.jsonApiData;
11647
- const contentModule = content.contentType ? _chunkNQVPCNRSjs.Modules.findByModelName(content.contentType) : void 0;
11651
+ const contentModule = content.contentType ? _chunkO3LLMGP7js.Modules.findByModelName(content.contentType) : void 0;
11648
11652
  const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
11649
11653
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip2, { children: [
11650
11654
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { className: "flex items-center justify-start space-x-2", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
11651
- contentModule && _chunkNQVPCNRSjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
11655
+ contentModule && _chunkO3LLMGP7js.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
11652
11656
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: link, children: content.name })
11653
11657
  ] }) }),
11654
11658
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: content.tldr })
@@ -11717,6 +11721,294 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
11717
11721
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
11718
11722
  }, "useContentTableStructure");
11719
11723
 
11724
+ // src/features/oauth/hooks/useOAuthClients.ts
11725
+
11726
+
11727
+
11728
+ // src/features/oauth/atoms/oauth.atoms.ts
11729
+
11730
+ var _jotaifamily = require('jotai-family');
11731
+ var oauthClientsAtom = _jotai.atom.call(void 0, []);
11732
+ var oauthClientsLoadingAtom = _jotai.atom.call(void 0, false);
11733
+ var oauthClientsErrorAtom = _jotai.atom.call(void 0, null);
11734
+ var oauthClientByIdAtom = _jotaifamily.atomFamily.call(void 0,
11735
+ (clientId) => _jotai.atom.call(void 0, (get) => {
11736
+ const clients = get(oauthClientsAtom);
11737
+ return clients.find((c) => c.clientId === clientId || c.id === clientId);
11738
+ })
11739
+ );
11740
+ var oauthNewClientSecretAtom = _jotai.atom.call(void 0, null);
11741
+ var oauthNewClientIdAtom = _jotai.atom.call(void 0, null);
11742
+ var oauthConsentLoadingAtom = _jotai.atom.call(void 0, false);
11743
+ var oauthConsentErrorAtom = _jotai.atom.call(void 0, null);
11744
+ var setNewClientSecretAtom = _jotai.atom.call(void 0, null, (get, set, value) => {
11745
+ if (value === null) {
11746
+ set(oauthNewClientSecretAtom, null);
11747
+ set(oauthNewClientIdAtom, null);
11748
+ } else {
11749
+ set(oauthNewClientSecretAtom, value.secret);
11750
+ set(oauthNewClientIdAtom, value.clientId);
11751
+ }
11752
+ });
11753
+ var clearNewClientSecretAtom = _jotai.atom.call(void 0, null, (get, set) => {
11754
+ set(oauthNewClientSecretAtom, null);
11755
+ set(oauthNewClientIdAtom, null);
11756
+ });
11757
+ var setOAuthClientsAtom = _jotai.atom.call(void 0, null, (get, set, clients) => {
11758
+ set(oauthClientsAtom, clients);
11759
+ });
11760
+ var addOAuthClientAtom = _jotai.atom.call(void 0, null, (get, set, client) => {
11761
+ const clients = get(oauthClientsAtom);
11762
+ set(oauthClientsAtom, [...clients, client]);
11763
+ });
11764
+ var updateOAuthClientAtom = _jotai.atom.call(void 0, null, (get, set, updatedClient) => {
11765
+ const clients = get(oauthClientsAtom);
11766
+ const index = clients.findIndex((c) => c.id === updatedClient.id || c.clientId === updatedClient.clientId);
11767
+ if (index !== -1) {
11768
+ const newClients = [...clients];
11769
+ newClients[index] = updatedClient;
11770
+ set(oauthClientsAtom, newClients);
11771
+ }
11772
+ });
11773
+ var removeOAuthClientAtom = _jotai.atom.call(void 0, null, (get, set, clientId) => {
11774
+ const clients = get(oauthClientsAtom);
11775
+ set(
11776
+ oauthClientsAtom,
11777
+ clients.filter((c) => c.id !== clientId && c.clientId !== clientId)
11778
+ );
11779
+ });
11780
+
11781
+ // src/features/oauth/hooks/useOAuthClients.ts
11782
+ function useOAuthClients() {
11783
+ const [clients, setClients] = _jotai.useAtom.call(void 0, oauthClientsAtom);
11784
+ const [isLoading, setIsLoading] = _jotai.useAtom.call(void 0, oauthClientsLoadingAtom);
11785
+ const [error, setError] = _jotai.useAtom.call(void 0, oauthClientsErrorAtom);
11786
+ const addClient = _jotai.useSetAtom.call(void 0, addOAuthClientAtom);
11787
+ const setNewClientSecret = _jotai.useSetAtom.call(void 0, setNewClientSecretAtom);
11788
+ const fetchClients = _react.useCallback.call(void 0, async () => {
11789
+ setIsLoading(true);
11790
+ setError(null);
11791
+ try {
11792
+ const fetchedClients = await _chunkO3LLMGP7js.OAuthService.listClients();
11793
+ setClients(fetchedClients);
11794
+ } catch (err) {
11795
+ console.error("[useOAuthClients] Failed to fetch clients:", err);
11796
+ setError(err instanceof Error ? err : new Error("Failed to fetch OAuth clients"));
11797
+ } finally {
11798
+ setIsLoading(false);
11799
+ }
11800
+ }, [setClients, setIsLoading, setError]);
11801
+ _react.useEffect.call(void 0, () => {
11802
+ fetchClients();
11803
+ }, [fetchClients]);
11804
+ const createClient = _react.useCallback.call(void 0,
11805
+ async (data) => {
11806
+ setIsLoading(true);
11807
+ setError(null);
11808
+ try {
11809
+ const result = await _chunkO3LLMGP7js.OAuthService.createClient(data);
11810
+ addClient(result.client);
11811
+ if (result.clientSecret) {
11812
+ setNewClientSecret({
11813
+ clientId: result.client.clientId,
11814
+ secret: result.clientSecret
11815
+ });
11816
+ }
11817
+ return result;
11818
+ } catch (err) {
11819
+ console.error("[useOAuthClients] Failed to create client:", err);
11820
+ const error2 = err instanceof Error ? err : new Error("Failed to create OAuth client");
11821
+ setError(error2);
11822
+ throw error2;
11823
+ } finally {
11824
+ setIsLoading(false);
11825
+ }
11826
+ },
11827
+ [addClient, setNewClientSecret, setIsLoading, setError]
11828
+ );
11829
+ return {
11830
+ clients,
11831
+ isLoading,
11832
+ error,
11833
+ refetch: fetchClients,
11834
+ createClient
11835
+ };
11836
+ }
11837
+ _chunk7QVYU63Ejs.__name.call(void 0, useOAuthClients, "useOAuthClients");
11838
+
11839
+ // src/features/oauth/hooks/useOAuthClient.ts
11840
+
11841
+
11842
+ function useOAuthClient(clientId) {
11843
+ const storedClient = _jotai.useAtomValue.call(void 0, oauthClientByIdAtom(clientId));
11844
+ const updateClientInStore = _jotai.useSetAtom.call(void 0, updateOAuthClientAtom);
11845
+ const removeClientFromStore = _jotai.useSetAtom.call(void 0, removeOAuthClientAtom);
11846
+ const setNewClientSecret = _jotai.useSetAtom.call(void 0, setNewClientSecretAtom);
11847
+ const [fetchedClient, setFetchedClient] = _react.useState.call(void 0, null);
11848
+ const [isLoading, setIsLoading] = _react.useState.call(void 0, false);
11849
+ const [error, setError] = _react.useState.call(void 0, null);
11850
+ const client = storedClient || fetchedClient;
11851
+ const fetchClient = _react.useCallback.call(void 0, async () => {
11852
+ if (!clientId) return;
11853
+ setIsLoading(true);
11854
+ setError(null);
11855
+ try {
11856
+ const fetched = await _chunkO3LLMGP7js.OAuthService.getClient({ clientId });
11857
+ setFetchedClient(fetched);
11858
+ } catch (err) {
11859
+ console.error("[useOAuthClient] Failed to fetch client:", err);
11860
+ setError(err instanceof Error ? err : new Error("Failed to fetch OAuth client"));
11861
+ } finally {
11862
+ setIsLoading(false);
11863
+ }
11864
+ }, [clientId]);
11865
+ _react.useEffect.call(void 0, () => {
11866
+ if (!storedClient && clientId) {
11867
+ fetchClient();
11868
+ }
11869
+ }, [storedClient, clientId, fetchClient]);
11870
+ const update = _react.useCallback.call(void 0,
11871
+ async (data) => {
11872
+ if (!clientId) throw new Error("No client ID");
11873
+ setIsLoading(true);
11874
+ setError(null);
11875
+ try {
11876
+ const updated = await _chunkO3LLMGP7js.OAuthService.updateClient({ clientId, data });
11877
+ updateClientInStore(updated);
11878
+ setFetchedClient(updated);
11879
+ } catch (err) {
11880
+ console.error("[useOAuthClient] Failed to update client:", err);
11881
+ const error2 = err instanceof Error ? err : new Error("Failed to update OAuth client");
11882
+ setError(error2);
11883
+ throw error2;
11884
+ } finally {
11885
+ setIsLoading(false);
11886
+ }
11887
+ },
11888
+ [clientId, updateClientInStore]
11889
+ );
11890
+ const deleteClient = _react.useCallback.call(void 0, async () => {
11891
+ if (!clientId) throw new Error("No client ID");
11892
+ setIsLoading(true);
11893
+ setError(null);
11894
+ try {
11895
+ await _chunkO3LLMGP7js.OAuthService.deleteClient({ clientId });
11896
+ removeClientFromStore(clientId);
11897
+ } catch (err) {
11898
+ console.error("[useOAuthClient] Failed to delete client:", err);
11899
+ const error2 = err instanceof Error ? err : new Error("Failed to delete OAuth client");
11900
+ setError(error2);
11901
+ throw error2;
11902
+ } finally {
11903
+ setIsLoading(false);
11904
+ }
11905
+ }, [clientId, removeClientFromStore]);
11906
+ const regenerateSecret = _react.useCallback.call(void 0, async () => {
11907
+ if (!clientId) throw new Error("No client ID");
11908
+ setIsLoading(true);
11909
+ setError(null);
11910
+ try {
11911
+ const result = await _chunkO3LLMGP7js.OAuthService.regenerateSecret({ clientId });
11912
+ setNewClientSecret({
11913
+ clientId,
11914
+ secret: result.clientSecret
11915
+ });
11916
+ return result.clientSecret;
11917
+ } catch (err) {
11918
+ console.error("[useOAuthClient] Failed to regenerate secret:", err);
11919
+ const error2 = err instanceof Error ? err : new Error("Failed to regenerate client secret");
11920
+ setError(error2);
11921
+ throw error2;
11922
+ } finally {
11923
+ setIsLoading(false);
11924
+ }
11925
+ }, [clientId, setNewClientSecret]);
11926
+ return {
11927
+ client,
11928
+ isLoading,
11929
+ error,
11930
+ update,
11931
+ deleteClient,
11932
+ regenerateSecret,
11933
+ refetch: fetchClient
11934
+ };
11935
+ }
11936
+ _chunk7QVYU63Ejs.__name.call(void 0, useOAuthClient, "useOAuthClient");
11937
+
11938
+ // src/features/oauth/hooks/useOAuthConsent.ts
11939
+
11940
+ function useOAuthConsent(params) {
11941
+ const [clientInfo, setClientInfo] = _react.useState.call(void 0, null);
11942
+ const [isLoading, setIsLoading] = _react.useState.call(void 0, true);
11943
+ const [error, setError] = _react.useState.call(void 0, null);
11944
+ const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
11945
+ _react.useEffect.call(void 0, () => {
11946
+ const fetchInfo = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
11947
+ if (!params.clientId || !params.redirectUri || !params.scope) {
11948
+ setError(new Error("Missing required authorization parameters"));
11949
+ setIsLoading(false);
11950
+ return;
11951
+ }
11952
+ setIsLoading(true);
11953
+ setError(null);
11954
+ try {
11955
+ const info = await _chunkO3LLMGP7js.OAuthService.getAuthorizationInfo(params);
11956
+ setClientInfo(info);
11957
+ } catch (err) {
11958
+ console.error("[useOAuthConsent] Failed to fetch authorization info:", err);
11959
+ setError(err instanceof Error ? err : new Error("Failed to load authorization info"));
11960
+ } finally {
11961
+ setIsLoading(false);
11962
+ }
11963
+ }, "fetchInfo");
11964
+ fetchInfo();
11965
+ }, [
11966
+ params.clientId,
11967
+ params.redirectUri,
11968
+ params.scope,
11969
+ params.state,
11970
+ params.codeChallenge,
11971
+ params.codeChallengeMethod
11972
+ ]);
11973
+ const approve = _react.useCallback.call(void 0, async () => {
11974
+ setIsSubmitting(true);
11975
+ setError(null);
11976
+ try {
11977
+ const result = await _chunkO3LLMGP7js.OAuthService.approveAuthorization(params);
11978
+ if (result.redirectUrl) {
11979
+ window.location.href = result.redirectUrl;
11980
+ }
11981
+ } catch (err) {
11982
+ console.error("[useOAuthConsent] Failed to approve authorization:", err);
11983
+ setError(err instanceof Error ? err : new Error("Failed to approve authorization"));
11984
+ setIsSubmitting(false);
11985
+ }
11986
+ }, [params]);
11987
+ const deny = _react.useCallback.call(void 0, async () => {
11988
+ setIsSubmitting(true);
11989
+ setError(null);
11990
+ try {
11991
+ const result = await _chunkO3LLMGP7js.OAuthService.denyAuthorization(params);
11992
+ if (result.redirectUrl) {
11993
+ window.location.href = result.redirectUrl;
11994
+ }
11995
+ } catch (err) {
11996
+ console.error("[useOAuthConsent] Failed to deny authorization:", err);
11997
+ setError(err instanceof Error ? err : new Error("Failed to deny authorization"));
11998
+ setIsSubmitting(false);
11999
+ }
12000
+ }, [params]);
12001
+ return {
12002
+ clientInfo,
12003
+ isLoading,
12004
+ error,
12005
+ approve,
12006
+ deny,
12007
+ isSubmitting
12008
+ };
12009
+ }
12010
+ _chunk7QVYU63Ejs.__name.call(void 0, useOAuthConsent, "useOAuthConsent");
12011
+
11720
12012
  // src/client/index.ts
11721
12013
  registerTableGenerator("roles", useRoleTableStructure);
11722
12014
  registerTableGenerator("users", useUserTableStructure);
@@ -11952,7 +12244,7 @@ function Register() {
11952
12244
  email: values.email,
11953
12245
  password: values.password
11954
12246
  };
11955
- await _chunkNQVPCNRSjs.AuthService.register(payload);
12247
+ await _chunkO3LLMGP7js.AuthService.register(payload);
11956
12248
  setShowConfirmation(true);
11957
12249
  } catch (e) {
11958
12250
  errorToast({ error: e });
@@ -12153,7 +12445,7 @@ function AcceptInvitation() {
12153
12445
  const payload = {
12154
12446
  code
12155
12447
  };
12156
- await _chunkNQVPCNRSjs.AuthService.validateCode(payload);
12448
+ await _chunkO3LLMGP7js.AuthService.validateCode(payload);
12157
12449
  } catch (e) {
12158
12450
  setError(e instanceof Error ? e.message : String(e));
12159
12451
  errorToast({ title: t(`generic.errors.error`), error: e });
@@ -12191,7 +12483,7 @@ function AcceptInvitation() {
12191
12483
  code: _optionalChain([params, 'optionalAccess', _302 => _302.code]),
12192
12484
  password: values.password
12193
12485
  };
12194
- await _chunkNQVPCNRSjs.AuthService.acceptInvitation(payload);
12486
+ await _chunkO3LLMGP7js.AuthService.acceptInvitation(payload);
12195
12487
  setShowConfirmation(true);
12196
12488
  _sonner.toast.success(t("foundations.auth.account_activated"), {
12197
12489
  description: t("foundations.auth.account_activated_description")
@@ -12254,7 +12546,7 @@ function ActivateAccount() {
12254
12546
  const payload = {
12255
12547
  activationCode: code
12256
12548
  };
12257
- await _chunkNQVPCNRSjs.AuthService.activate(payload);
12549
+ await _chunkO3LLMGP7js.AuthService.activate(payload);
12258
12550
  setShowConfirmation(true);
12259
12551
  setParams(void 0);
12260
12552
  _sonner.toast.success(t("foundations.auth.account_activated"), {
@@ -12297,8 +12589,8 @@ function Cookies({ dehydratedAuth, page }) {
12297
12589
  _react.useEffect.call(void 0, () => {
12298
12590
  if (hasSaved) return;
12299
12591
  async function saveTokenOnServer() {
12300
- await _chunkNQVPCNRSjs.AuthService.saveToken({ dehydratedAuth });
12301
- const auth = _chunkNQVPCNRSjs.rehydrate.call(void 0, _chunkNQVPCNRSjs.Modules.Auth, dehydratedAuth);
12592
+ await _chunkO3LLMGP7js.AuthService.saveToken({ dehydratedAuth });
12593
+ const auth = _chunkO3LLMGP7js.rehydrate.call(void 0, _chunkO3LLMGP7js.Modules.Auth, dehydratedAuth);
12302
12594
  setUser(auth.user);
12303
12595
  setHasSaved(true);
12304
12596
  if (page) {
@@ -12341,7 +12633,7 @@ function ForgotPassword() {
12341
12633
  const payload = {
12342
12634
  email: values.email
12343
12635
  };
12344
- await _chunkNQVPCNRSjs.AuthService.initialiseForgotPassword(payload);
12636
+ await _chunkO3LLMGP7js.AuthService.initialiseForgotPassword(payload);
12345
12637
  setShowConfirmation(true);
12346
12638
  } catch (e) {
12347
12639
  errorToast({ error: e });
@@ -12412,7 +12704,7 @@ function Login() {
12412
12704
  });
12413
12705
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
12414
12706
  try {
12415
- const user = await _chunkNQVPCNRSjs.AuthService.login({
12707
+ const user = await _chunkO3LLMGP7js.AuthService.login({
12416
12708
  email: values.email,
12417
12709
  password: values.password
12418
12710
  });
@@ -12494,7 +12786,7 @@ function Logout() {
12494
12786
  const generateUrl = usePageUrlGenerator();
12495
12787
  _react.useEffect.call(void 0, () => {
12496
12788
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
12497
- await _chunkNQVPCNRSjs.AuthService.logout();
12789
+ await _chunkO3LLMGP7js.AuthService.logout();
12498
12790
  window.location.href = generateUrl({ page: `/` });
12499
12791
  }, "logOut");
12500
12792
  logOut();
@@ -12509,7 +12801,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, Logout, "Logout");
12509
12801
  function RefreshUser() {
12510
12802
  const { setUser } = useCurrentUserContext();
12511
12803
  const loadFullUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
12512
- const fullUser = await _chunkNQVPCNRSjs.UserService.findFullUser();
12804
+ const fullUser = await _chunkO3LLMGP7js.UserService.findFullUser();
12513
12805
  if (fullUser) {
12514
12806
  setUser(fullUser);
12515
12807
  const token = {
@@ -12522,7 +12814,7 @@ function RefreshUser() {
12522
12814
  return { id: module.id, permissions: module.permissions };
12523
12815
  })
12524
12816
  };
12525
- await _optionalChain([_chunkNQVPCNRSjs.getTokenHandler.call(void 0, ), 'optionalAccess', _311 => _311.updateToken, 'call', _312 => _312(token)]);
12817
+ await _optionalChain([_chunkO3LLMGP7js.getTokenHandler.call(void 0, ), 'optionalAccess', _311 => _311.updateToken, 'call', _312 => _312(token)]);
12526
12818
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
12527
12819
  }
12528
12820
  }, "loadFullUser");
@@ -12554,7 +12846,7 @@ function ResetPassword() {
12554
12846
  const payload = {
12555
12847
  code
12556
12848
  };
12557
- await _chunkNQVPCNRSjs.AuthService.validateCode(payload);
12849
+ await _chunkO3LLMGP7js.AuthService.validateCode(payload);
12558
12850
  } catch (e) {
12559
12851
  setError(e instanceof Error ? e.message : String(e));
12560
12852
  errorToast({ title: t(`generic.errors.error`), error: e });
@@ -12592,7 +12884,7 @@ function ResetPassword() {
12592
12884
  code: _optionalChain([params, 'optionalAccess', _314 => _314.code]),
12593
12885
  password: values.password
12594
12886
  };
12595
- await _chunkNQVPCNRSjs.AuthService.resetPassword(payload);
12887
+ await _chunkO3LLMGP7js.AuthService.resetPassword(payload);
12596
12888
  setShowConfirmation(true);
12597
12889
  _sonner.toast.success(t(`foundations.auth.reset_success`), {
12598
12890
  description: t(`foundations.auth.reset_success_description`)
@@ -12635,12 +12927,12 @@ function ContentsList({ contentList }) {
12635
12927
  _chunk7QVYU63Ejs.__name.call(void 0, ContentsList, "ContentsList");
12636
12928
  function ContentsListElement({ content }) {
12637
12929
  const generateUrl = usePageUrlGenerator();
12638
- const contentModule = content.contentType ? _chunkNQVPCNRSjs.Modules.findByModelName(content.contentType) : void 0;
12930
+ const contentModule = content.contentType ? _chunkO3LLMGP7js.Modules.findByModelName(content.contentType) : void 0;
12639
12931
  const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
12640
12932
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hover:bg-muted flex w-full flex-col gap-y-2 border-b p-2 py-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full justify-between gap-x-2", children: [
12641
12933
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCard, { children: [
12642
12934
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoverCardTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Link, { href: link, className: "flex w-full items-center justify-start gap-2 font-semibold", children: [
12643
- contentModule && _chunkNQVPCNRSjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
12935
+ contentModule && _chunkO3LLMGP7js.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
12644
12936
  content.name
12645
12937
  ] }) }),
12646
12938
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCardContent, { className: "flex max-h-96 w-96 flex-col gap-y-4 overflow-y-auto", children: [
@@ -12659,8 +12951,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListElement, "ContentsListElement")
12659
12951
  function ContentsListById({ contentIds }) {
12660
12952
  const t = _nextintl.useTranslations.call(void 0, );
12661
12953
  const data = useDataListRetriever({
12662
- module: _chunkNQVPCNRSjs.Modules.Content,
12663
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.ContentService.findMany(params), "retriever"),
12954
+ module: _chunkO3LLMGP7js.Modules.Content,
12955
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.ContentService.findMany(params), "retriever"),
12664
12956
  retrieverParams: { contentIds }
12665
12957
  });
12666
12958
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -12668,7 +12960,7 @@ function ContentsListById({ contentIds }) {
12668
12960
  {
12669
12961
  data,
12670
12962
  fields: ["name" /* name */, "authors" /* authors */, "updatedAt" /* updatedAt */],
12671
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.Content,
12963
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.Content,
12672
12964
  title: t(`generic.relevant`)
12673
12965
  }
12674
12966
  );
@@ -12681,8 +12973,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListById, "ContentsListById");
12681
12973
  function RelevantContentsList({ id }) {
12682
12974
  const t = _nextintl.useTranslations.call(void 0, );
12683
12975
  const data = useDataListRetriever({
12684
- module: _chunkNQVPCNRSjs.Modules.Content,
12685
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.ContentService.findRelevant(params), "retriever"),
12976
+ module: _chunkO3LLMGP7js.Modules.Content,
12977
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.ContentService.findRelevant(params), "retriever"),
12686
12978
  retrieverParams: { id }
12687
12979
  });
12688
12980
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -12690,7 +12982,7 @@ function RelevantContentsList({ id }) {
12690
12982
  {
12691
12983
  data,
12692
12984
  fields: ["name" /* name */, "authors" /* authors */, "relevance" /* relevance */, "updatedAt" /* updatedAt */],
12693
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.Content,
12985
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.Content,
12694
12986
  title: t(`generic.relevant`)
12695
12987
  }
12696
12988
  );
@@ -12743,12 +13035,12 @@ function NotificationsList({ archived }) {
12743
13035
  const t = _nextintl.useTranslations.call(void 0, );
12744
13036
  const generateUrl = usePageUrlGenerator();
12745
13037
  const data = useDataListRetriever({
12746
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.NotificationService.findMany(params), "retriever"),
13038
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.NotificationService.findMany(params), "retriever"),
12747
13039
  retrieverParams: { isArchived: archived },
12748
- module: _chunkNQVPCNRSjs.Modules.Notification
13040
+ module: _chunkO3LLMGP7js.Modules.Notification
12749
13041
  });
12750
13042
  const archiveNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (notification) => {
12751
- await _chunkNQVPCNRSjs.NotificationService.archive({ id: notification.id });
13043
+ await _chunkO3LLMGP7js.NotificationService.archive({ id: notification.id });
12752
13044
  data.removeElement(notification);
12753
13045
  }, "archiveNotification");
12754
13046
  const LoadingSkeleton = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-2", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center", children: [
@@ -12762,7 +13054,7 @@ function NotificationsList({ archived }) {
12762
13054
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _315 => _315.data, 'optionalAccess', _316 => _316.map, 'call', _317 => _317((notification) => {
12763
13055
  const notificationData = generateNotificationData({ notification, generateUrl });
12764
13056
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex w-full flex-row items-center p-2`, children: [
12765
- notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkNQVPCNRSjs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
13057
+ notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkO3LLMGP7js.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
12766
13058
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
12767
13059
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`foundations.notification.${notification.notificationType}.description`, {
12768
13060
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
@@ -13067,7 +13359,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
13067
13359
  const t = _nextintl.useTranslations.call(void 0, );
13068
13360
  _react.useEffect.call(void 0, () => {
13069
13361
  async function checkCompanyAdminDeletability() {
13070
- const roleUsers = await _chunkNQVPCNRSjs.UserService.findAllUsersByRole({
13362
+ const roleUsers = await _chunkO3LLMGP7js.UserService.findAllUsersByRole({
13071
13363
  roleId: role.id
13072
13364
  });
13073
13365
  if (roleUsers.length > 1) setCanRemove(true);
@@ -13081,7 +13373,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
13081
13373
  }, [role]);
13082
13374
  const remove = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
13083
13375
  try {
13084
- await _chunkNQVPCNRSjs.RoleService.removeUserFromRole({
13376
+ await _chunkO3LLMGP7js.RoleService.removeUserFromRole({
13085
13377
  roleId: role.id,
13086
13378
  userId: user.id
13087
13379
  });
@@ -13145,7 +13437,7 @@ function UserRoleAdd({ user, refresh }) {
13145
13437
  const [roles, setRoles] = _react.useState.call(void 0, []);
13146
13438
  const t = _nextintl.useTranslations.call(void 0, );
13147
13439
  const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (role) => {
13148
- await _chunkNQVPCNRSjs.RoleService.addUserToRole({
13440
+ await _chunkO3LLMGP7js.RoleService.addUserToRole({
13149
13441
  roleId: role.id,
13150
13442
  userId: user.id
13151
13443
  });
@@ -13169,7 +13461,7 @@ function UserRoleAdd({ user, refresh }) {
13169
13461
  const searchRoles = _react.useCallback.call(void 0,
13170
13462
  async (term) => {
13171
13463
  setRoles(
13172
- await _chunkNQVPCNRSjs.RoleService.findAllRolesUserNotIn({
13464
+ await _chunkO3LLMGP7js.RoleService.findAllRolesUserNotIn({
13173
13465
  search: term,
13174
13466
  userId: user.id
13175
13467
  })
@@ -13237,16 +13529,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserRoleAdd, "UserRoleAdd");
13237
13529
  function RolesList() {
13238
13530
  const t = _nextintl.useTranslations.call(void 0, );
13239
13531
  const data = useDataListRetriever({
13240
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.RoleService.findAllRoles(params), "retriever"),
13532
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.RoleService.findAllRoles(params), "retriever"),
13241
13533
  retrieverParams: {},
13242
- module: _chunkNQVPCNRSjs.Modules.Role
13534
+ module: _chunkO3LLMGP7js.Modules.Role
13243
13535
  });
13244
13536
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13245
13537
  ContentListTable,
13246
13538
  {
13247
13539
  data,
13248
13540
  fields: ["name" /* name */, "description" /* description */],
13249
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.Role,
13541
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.Role,
13250
13542
  title: t(`types.roles`, { count: 2 })
13251
13543
  }
13252
13544
  );
@@ -13259,22 +13551,923 @@ _chunk7QVYU63Ejs.__name.call(void 0, RolesList, "RolesList");
13259
13551
  function UserRolesList({ user }) {
13260
13552
  const t = _nextintl.useTranslations.call(void 0, );
13261
13553
  const data = useDataListRetriever({
13262
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkNQVPCNRSjs.RoleService.findAllRolesByUser(params), "retriever"),
13554
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkO3LLMGP7js.RoleService.findAllRolesByUser(params), "retriever"),
13263
13555
  retrieverParams: { userId: user.id },
13264
- module: _chunkNQVPCNRSjs.Modules.Role
13556
+ module: _chunkO3LLMGP7js.Modules.Role
13265
13557
  });
13266
13558
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13267
13559
  ContentListTable,
13268
13560
  {
13269
13561
  data,
13270
13562
  fields: ["name" /* name */, "description" /* description */],
13271
- tableGeneratorType: _chunkNQVPCNRSjs.Modules.Role,
13563
+ tableGeneratorType: _chunkO3LLMGP7js.Modules.Role,
13272
13564
  title: t(`types.roles`, { count: 2 })
13273
13565
  }
13274
13566
  );
13275
13567
  }
13276
13568
  _chunk7QVYU63Ejs.__name.call(void 0, UserRolesList, "UserRolesList");
13277
13569
 
13570
+ // src/features/oauth/components/OAuthRedirectUriInput.tsx
13571
+
13572
+
13573
+
13574
+ function isValidRedirectUri(uri) {
13575
+ if (!uri.trim()) return false;
13576
+ if (uri.startsWith("http://localhost") || uri.startsWith("http://127.0.0.1")) {
13577
+ return true;
13578
+ }
13579
+ if (uri.startsWith("https://")) {
13580
+ try {
13581
+ new URL(uri);
13582
+ return true;
13583
+ } catch (e5) {
13584
+ return false;
13585
+ }
13586
+ }
13587
+ if (uri.includes("://")) {
13588
+ const schemeMatch = uri.match(/^([a-zA-Z][a-zA-Z0-9+.-]*):\/\//);
13589
+ return schemeMatch !== null;
13590
+ }
13591
+ return false;
13592
+ }
13593
+ _chunk7QVYU63Ejs.__name.call(void 0, isValidRedirectUri, "isValidRedirectUri");
13594
+ function OAuthRedirectUriInput({
13595
+ value,
13596
+ onChange,
13597
+ error,
13598
+ disabled = false,
13599
+ label = "Redirect URIs"
13600
+ }) {
13601
+ const handleAdd = _react.useCallback.call(void 0, () => {
13602
+ onChange([...value, ""]);
13603
+ }, [value, onChange]);
13604
+ const handleRemove = _react.useCallback.call(void 0,
13605
+ (index) => {
13606
+ const newUris = value.filter((_, i) => i !== index);
13607
+ onChange(newUris.length > 0 ? newUris : [""]);
13608
+ },
13609
+ [value, onChange]
13610
+ );
13611
+ const handleChange = _react.useCallback.call(void 0,
13612
+ (index, newValue) => {
13613
+ const newUris = [...value];
13614
+ newUris[index] = newValue;
13615
+ onChange(newUris);
13616
+ },
13617
+ [value, onChange]
13618
+ );
13619
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
13620
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Label, { children: [
13621
+ label,
13622
+ " *"
13623
+ ] }),
13624
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: "Enter the URIs where users will be redirected after authorization. Use https:// for production, or custom schemes for mobile apps." }),
13625
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: value.map((uri, index) => {
13626
+ const isValid3 = !uri || isValidRedirectUri(uri);
13627
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
13628
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
13629
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13630
+ Input,
13631
+ {
13632
+ value: uri,
13633
+ onChange: (e) => handleChange(index, e.target.value),
13634
+ placeholder: "https://example.com/callback or myapp://oauth",
13635
+ disabled,
13636
+ className: !isValid3 ? "border-destructive" : ""
13637
+ }
13638
+ ),
13639
+ !isValid3 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs text-destructive mt-1", children: "Must be https://, http://localhost, or a custom scheme (app://)" })
13640
+ ] }),
13641
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13642
+ Button,
13643
+ {
13644
+ type: "button",
13645
+ variant: "ghost",
13646
+ size: "icon",
13647
+ onClick: () => handleRemove(index),
13648
+ disabled: disabled || value.length === 1,
13649
+ title: "Remove URI",
13650
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4" })
13651
+ }
13652
+ )
13653
+ ] }, index);
13654
+ }) }),
13655
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13656
+ Button,
13657
+ {
13658
+ type: "button",
13659
+ variant: "outline",
13660
+ size: "sm",
13661
+ onClick: handleAdd,
13662
+ disabled,
13663
+ className: "mt-2",
13664
+ children: [
13665
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4 mr-2" }),
13666
+ "Add Redirect URI"
13667
+ ]
13668
+ }
13669
+ ),
13670
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-destructive", children: error })
13671
+ ] });
13672
+ }
13673
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthRedirectUriInput, "OAuthRedirectUriInput");
13674
+
13675
+ // src/features/oauth/components/OAuthScopeSelector.tsx
13676
+
13677
+
13678
+ function OAuthScopeSelector({
13679
+ value,
13680
+ onChange,
13681
+ availableScopes = _chunkO3LLMGP7js.AVAILABLE_OAUTH_SCOPES,
13682
+ disabled = false,
13683
+ error,
13684
+ label = "Allowed Scopes"
13685
+ }) {
13686
+ const handleToggle = _react.useCallback.call(void 0,
13687
+ (scope, checked) => {
13688
+ if (checked) {
13689
+ onChange([...value, scope]);
13690
+ } else {
13691
+ onChange(value.filter((s) => s !== scope));
13692
+ }
13693
+ },
13694
+ [value, onChange]
13695
+ );
13696
+ const groupedScopes = availableScopes.reduce((acc, scope) => {
13697
+ const [category] = scope.scope.split(":");
13698
+ const groupName = category === scope.scope ? "General" : category;
13699
+ if (!acc[groupName]) {
13700
+ acc[groupName] = [];
13701
+ }
13702
+ acc[groupName].push(scope);
13703
+ return acc;
13704
+ }, {});
13705
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
13706
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
13707
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Label, { children: [
13708
+ label,
13709
+ " *"
13710
+ ] }),
13711
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: "Select the permissions your application needs." })
13712
+ ] }),
13713
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: Object.entries(groupedScopes).map(([groupName, scopes]) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
13714
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h4", { className: "text-sm font-medium capitalize", children: groupName }),
13715
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 md:grid-cols-2 gap-2 pl-2", children: scopes.map((scopeInfo) => {
13716
+ const isChecked = value.includes(scopeInfo.scope);
13717
+ const isAdmin = scopeInfo.scope === "admin";
13718
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13719
+ "div",
13720
+ {
13721
+ className: `flex items-start space-x-3 p-2 rounded-md border ${isChecked ? "bg-primary/5 border-primary/20" : "border-transparent"} ${isAdmin ? "bg-destructive/5" : ""}`,
13722
+ children: [
13723
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13724
+ Checkbox,
13725
+ {
13726
+ id: `scope-${scopeInfo.scope}`,
13727
+ checked: isChecked,
13728
+ onCheckedChange: (checked) => handleToggle(scopeInfo.scope, checked === true),
13729
+ disabled
13730
+ }
13731
+ ),
13732
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
13733
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13734
+ Label,
13735
+ {
13736
+ htmlFor: `scope-${scopeInfo.scope}`,
13737
+ className: "text-sm font-medium cursor-pointer",
13738
+ children: [
13739
+ scopeInfo.name,
13740
+ isAdmin && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-2 text-xs text-destructive", children: "(Dangerous)" })
13741
+ ]
13742
+ }
13743
+ ),
13744
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs text-muted-foreground", children: scopeInfo.description })
13745
+ ] })
13746
+ ]
13747
+ },
13748
+ scopeInfo.scope
13749
+ );
13750
+ }) })
13751
+ ] }, groupName)) }),
13752
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-destructive", children: error })
13753
+ ] });
13754
+ }
13755
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthScopeSelector, "OAuthScopeSelector");
13756
+
13757
+ // src/features/oauth/components/OAuthClientSecretDisplay.tsx
13758
+
13759
+
13760
+
13761
+ function OAuthClientSecretDisplay({
13762
+ secret,
13763
+ onDismiss,
13764
+ open,
13765
+ clientName
13766
+ }) {
13767
+ const [copied, setCopied] = _react.useState.call(void 0, false);
13768
+ const handleCopy = _react.useCallback.call(void 0, async () => {
13769
+ try {
13770
+ await navigator.clipboard.writeText(secret);
13771
+ setCopied(true);
13772
+ setTimeout(() => setCopied(false), 2e3);
13773
+ } catch (err) {
13774
+ console.error("Failed to copy to clipboard:", err);
13775
+ }
13776
+ }, [secret]);
13777
+ const handleDismiss = _react.useCallback.call(void 0, () => {
13778
+ setCopied(false);
13779
+ onDismiss();
13780
+ }, [onDismiss]);
13781
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Dialog, { open, onOpenChange: (isOpen) => !isOpen && handleDismiss(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogContent, { className: "sm:max-w-md", children: [
13782
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogHeader, { children: [
13783
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogTitle, { className: "flex items-center gap-2", children: [
13784
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-5 w-5 text-warning" }),
13785
+ "Save Your Client Secret"
13786
+ ] }),
13787
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogDescription, { children: clientName ? `Your client secret for "${clientName}" is shown below.` : "Your client secret is shown below." })
13788
+ ] }),
13789
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", className: "my-4", children: [
13790
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
13791
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDescription, { children: [
13792
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "This is the only time your client secret will be displayed." }),
13793
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "br", {}),
13794
+ "Copy it now and store it securely. You will not be able to retrieve it later."
13795
+ ] })
13796
+ ] }),
13797
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-2", children: [
13798
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13799
+ Input,
13800
+ {
13801
+ value: secret,
13802
+ readOnly: true,
13803
+ className: "font-mono text-sm",
13804
+ onClick: (e) => e.currentTarget.select()
13805
+ }
13806
+ ) }),
13807
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13808
+ Button,
13809
+ {
13810
+ type: "button",
13811
+ variant: "outline",
13812
+ size: "icon",
13813
+ onClick: handleCopy,
13814
+ title: copied ? "Copied!" : "Copy to clipboard",
13815
+ children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-4 w-4 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Copy, { className: "h-4 w-4" })
13816
+ }
13817
+ )
13818
+ ] }),
13819
+ copied && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-green-600 text-center", children: "Copied to clipboard!" }),
13820
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogFooter, { className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { onClick: handleDismiss, className: "w-full", children: "I've Saved My Secret" }) })
13821
+ ] }) });
13822
+ }
13823
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientSecretDisplay, "OAuthClientSecretDisplay");
13824
+
13825
+ // src/features/oauth/components/OAuthClientCard.tsx
13826
+
13827
+
13828
+
13829
+ function OAuthClientCard({
13830
+ client,
13831
+ onClick,
13832
+ onEdit,
13833
+ onDelete
13834
+ }) {
13835
+ const truncatedId = client.clientId.length > 12 ? `${client.clientId.slice(0, 8)}...${client.clientId.slice(-4)}` : client.clientId;
13836
+ const createdAgo = client.createdAt ? _datefns.formatDistanceToNow.call(void 0, new Date(client.createdAt), { addSuffix: true }) : "Unknown";
13837
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13838
+ Card,
13839
+ {
13840
+ className: `cursor-pointer transition-colors hover:bg-accent/50 ${!client.isActive ? "opacity-60" : ""}`,
13841
+ onClick,
13842
+ children: [
13843
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardHeader, { className: "pb-2", children: [
13844
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
13845
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
13846
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Key, { className: "h-5 w-5 text-muted-foreground" }),
13847
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardTitle, { className: "text-lg", children: client.name })
13848
+ ] }),
13849
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
13850
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: client.isActive ? "default" : "secondary", children: client.isActive ? "Active" : "Inactive" }),
13851
+ (onEdit || onDelete) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenu, { children: [
13852
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuTrigger, { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {}), nativeButton: false, variant: "ghost", size: "icon", className: "h-8 w-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.MoreVertical, { className: "h-4 w-4" }) }) }),
13853
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenuContent, { align: "end", children: [
13854
+ onEdit && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenuItem, { onClick: (e) => {
13855
+ e.stopPropagation();
13856
+ onEdit();
13857
+ }, children: [
13858
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Pencil, { className: "h-4 w-4 mr-2" }),
13859
+ "Edit"
13860
+ ] }),
13861
+ onDelete && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13862
+ DropdownMenuItem,
13863
+ {
13864
+ onClick: (e) => {
13865
+ e.stopPropagation();
13866
+ onDelete();
13867
+ },
13868
+ className: "text-destructive",
13869
+ children: [
13870
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 mr-2" }),
13871
+ "Delete"
13872
+ ]
13873
+ }
13874
+ )
13875
+ ] })
13876
+ ] })
13877
+ ] })
13878
+ ] }),
13879
+ client.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { className: "line-clamp-2", children: client.description })
13880
+ ] }),
13881
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-x-4 gap-y-1 text-sm text-muted-foreground", children: [
13882
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-mono", children: truncatedId }),
13883
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { children: [
13884
+ "Created ",
13885
+ createdAgo
13886
+ ] }),
13887
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: client.isConfidential ? "Confidential" : "Public" })
13888
+ ] }) })
13889
+ ]
13890
+ }
13891
+ );
13892
+ }
13893
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientCard, "OAuthClientCard");
13894
+
13895
+ // src/features/oauth/components/OAuthClientList.tsx
13896
+
13897
+
13898
+ function OAuthClientList({
13899
+ clients,
13900
+ isLoading = false,
13901
+ error,
13902
+ onClientClick,
13903
+ onCreateClick,
13904
+ onEditClick,
13905
+ onDeleteClick,
13906
+ emptyStateMessage = "No OAuth applications yet. Create one to get started.",
13907
+ title = "OAuth Applications"
13908
+ }) {
13909
+ if (isLoading && clients.length === 0) {
13910
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
13911
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
13912
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold", children: title }),
13913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-10 w-32" })
13914
+ ] }),
13915
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: [1, 2, 3].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-32 w-full" }, i)) })
13916
+ ] });
13917
+ }
13918
+ if (error) {
13919
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
13920
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-between", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold", children: title }) }),
13921
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-destructive/50 bg-destructive/10 p-6 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-destructive", children: error.message }) })
13922
+ ] });
13923
+ }
13924
+ if (clients.length === 0) {
13925
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
13926
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
13927
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold", children: title }),
13928
+ onCreateClick && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Button, { onClick: onCreateClick, children: [
13929
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4 mr-2" }),
13930
+ "New App"
13931
+ ] })
13932
+ ] }),
13933
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-dashed p-12 text-center", children: [
13934
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Key, { className: "h-12 w-12 mx-auto text-muted-foreground mb-4" }),
13935
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-lg font-medium mb-2", children: "No OAuth Applications" }),
13936
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground mb-4", children: emptyStateMessage }),
13937
+ onCreateClick && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Button, { onClick: onCreateClick, children: [
13938
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4 mr-2" }),
13939
+ "Create Application"
13940
+ ] })
13941
+ ] })
13942
+ ] });
13943
+ }
13944
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
13945
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
13946
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold", children: title }),
13947
+ onCreateClick && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Button, { onClick: onCreateClick, children: [
13948
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4 mr-2" }),
13949
+ "New App"
13950
+ ] })
13951
+ ] }),
13952
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: clients.map((client) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13953
+ OAuthClientCard,
13954
+ {
13955
+ client,
13956
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _320 => _320(client)]),
13957
+ onEdit: onEditClick ? () => onEditClick(client) : void 0,
13958
+ onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
13959
+ },
13960
+ client.id || client.clientId
13961
+ )) })
13962
+ ] });
13963
+ }
13964
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
13965
+
13966
+ // src/features/oauth/components/OAuthClientForm.tsx
13967
+
13968
+
13969
+ function OAuthClientForm({
13970
+ client,
13971
+ onSubmit,
13972
+ onCancel,
13973
+ isLoading = false
13974
+ }) {
13975
+ const isEditMode = !!client;
13976
+ const [formState, setFormState] = _react.useState.call(void 0, {
13977
+ name: _optionalChain([client, 'optionalAccess', _321 => _321.name]) || "",
13978
+ description: _optionalChain([client, 'optionalAccess', _322 => _322.description]) || "",
13979
+ redirectUris: _optionalChain([client, 'optionalAccess', _323 => _323.redirectUris, 'optionalAccess', _324 => _324.length]) ? client.redirectUris : [""],
13980
+ allowedScopes: _optionalChain([client, 'optionalAccess', _325 => _325.allowedScopes]) || [],
13981
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _326 => _326.isConfidential]), () => ( true))
13982
+ });
13983
+ const [errors, setErrors] = _react.useState.call(void 0, {});
13984
+ const validate = _react.useCallback.call(void 0, () => {
13985
+ const newErrors = {};
13986
+ if (!formState.name.trim()) {
13987
+ newErrors.name = "Application name is required";
13988
+ }
13989
+ const validUris = formState.redirectUris.filter((uri) => uri.trim());
13990
+ if (validUris.length === 0) {
13991
+ newErrors.redirectUris = "At least one redirect URI is required";
13992
+ }
13993
+ if (formState.allowedScopes.length === 0) {
13994
+ newErrors.allowedScopes = "At least one scope must be selected";
13995
+ }
13996
+ setErrors(newErrors);
13997
+ return Object.keys(newErrors).length === 0;
13998
+ }, [formState]);
13999
+ const handleSubmit = _react.useCallback.call(void 0,
14000
+ async (e) => {
14001
+ e.preventDefault();
14002
+ if (!validate()) return;
14003
+ const data = {
14004
+ name: formState.name.trim(),
14005
+ description: formState.description.trim() || void 0,
14006
+ redirectUris: formState.redirectUris.filter((uri) => uri.trim()),
14007
+ allowedScopes: formState.allowedScopes,
14008
+ allowedGrantTypes: _chunkO3LLMGP7js.DEFAULT_GRANT_TYPES,
14009
+ isConfidential: formState.isConfidential
14010
+ };
14011
+ await onSubmit(data);
14012
+ },
14013
+ [formState, validate, onSubmit]
14014
+ );
14015
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, children: [
14016
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardHeader, { children: [
14017
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardTitle, { children: isEditMode ? "Edit Application" : "Create OAuth Application" }),
14018
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { children: isEditMode ? "Update your OAuth application settings." : "Register a new application to access the API." })
14019
+ ] }),
14020
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardContent, { className: "space-y-6", children: [
14021
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14022
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "name", children: "Application Name *" }),
14023
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14024
+ Input,
14025
+ {
14026
+ id: "name",
14027
+ value: formState.name,
14028
+ onChange: (e) => setFormState((s) => ({ ...s, name: e.target.value })),
14029
+ placeholder: "My Lightroom Plugin",
14030
+ disabled: isLoading,
14031
+ className: errors.name ? "border-destructive" : ""
14032
+ }
14033
+ ),
14034
+ errors.name && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-destructive", children: errors.name })
14035
+ ] }),
14036
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14037
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "description", children: "Description" }),
14038
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14039
+ Textarea,
14040
+ {
14041
+ id: "description",
14042
+ value: formState.description,
14043
+ onChange: (e) => setFormState((s) => ({ ...s, description: e.target.value })),
14044
+ placeholder: "A brief description of your application",
14045
+ disabled: isLoading,
14046
+ rows: 3
14047
+ }
14048
+ )
14049
+ ] }),
14050
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14051
+ OAuthRedirectUriInput,
14052
+ {
14053
+ value: formState.redirectUris,
14054
+ onChange: (uris) => setFormState((s) => ({ ...s, redirectUris: uris })),
14055
+ error: errors.redirectUris,
14056
+ disabled: isLoading
14057
+ }
14058
+ ),
14059
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14060
+ OAuthScopeSelector,
14061
+ {
14062
+ value: formState.allowedScopes,
14063
+ onChange: (scopes) => setFormState((s) => ({ ...s, allowedScopes: scopes })),
14064
+ error: errors.allowedScopes,
14065
+ disabled: isLoading
14066
+ }
14067
+ ),
14068
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
14069
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Client Type" }),
14070
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
14071
+ RadioGroup,
14072
+ {
14073
+ value: formState.isConfidential ? "confidential" : "public",
14074
+ onValueChange: (v) => setFormState((s) => ({ ...s, isConfidential: v === "confidential" })),
14075
+ disabled: isLoading || isEditMode,
14076
+ children: [
14077
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start space-x-3 p-3 rounded-md border", children: [
14078
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioGroupItem, { value: "confidential", id: "confidential", className: "mt-1" }),
14079
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
14080
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "confidential", className: "font-medium cursor-pointer", children: "Confidential" }),
14081
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: "Server-side application that can securely store the client secret." })
14082
+ ] })
14083
+ ] }),
14084
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start space-x-3 p-3 rounded-md border", children: [
14085
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioGroupItem, { value: "public", id: "public", className: "mt-1" }),
14086
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
14087
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "public", className: "font-medium cursor-pointer", children: "Public" }),
14088
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: "Mobile or desktop application. Requires PKCE for authorization." })
14089
+ ] })
14090
+ ] })
14091
+ ]
14092
+ }
14093
+ ),
14094
+ isEditMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: "Client type cannot be changed after creation." })
14095
+ ] })
14096
+ ] }),
14097
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFooter, { className: "flex justify-end gap-3", children: [
14098
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { type: "button", variant: "outline", onClick: onCancel, disabled: isLoading, children: "Cancel" }),
14099
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { type: "submit", disabled: isLoading, children: isLoading ? "Saving..." : isEditMode ? "Save Changes" : "Create Application" })
14100
+ ] })
14101
+ ] }) });
14102
+ }
14103
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientForm, "OAuthClientForm");
14104
+
14105
+ // src/features/oauth/components/OAuthClientDetail.tsx
14106
+
14107
+
14108
+
14109
+
14110
+ function OAuthClientDetail({
14111
+ client,
14112
+ isLoading = false,
14113
+ onEdit,
14114
+ onDelete,
14115
+ onRegenerateSecret
14116
+ }) {
14117
+ const [copiedField, setCopiedField] = _react.useState.call(void 0, null);
14118
+ const [showDeleteConfirm, setShowDeleteConfirm] = _react.useState.call(void 0, false);
14119
+ const [showRegenerateConfirm, setShowRegenerateConfirm] = _react.useState.call(void 0, false);
14120
+ const [isDeleting, setIsDeleting] = _react.useState.call(void 0, false);
14121
+ const [isRegenerating, setIsRegenerating] = _react.useState.call(void 0, false);
14122
+ const copyToClipboard = _react.useCallback.call(void 0, async (text, field) => {
14123
+ try {
14124
+ await navigator.clipboard.writeText(text);
14125
+ setCopiedField(field);
14126
+ setTimeout(() => setCopiedField(null), 2e3);
14127
+ } catch (err) {
14128
+ console.error("Failed to copy:", err);
14129
+ }
14130
+ }, []);
14131
+ const handleDelete = _react.useCallback.call(void 0, async () => {
14132
+ if (!onDelete) return;
14133
+ setIsDeleting(true);
14134
+ try {
14135
+ await onDelete();
14136
+ } finally {
14137
+ setIsDeleting(false);
14138
+ setShowDeleteConfirm(false);
14139
+ }
14140
+ }, [onDelete]);
14141
+ const handleRegenerateSecret = _react.useCallback.call(void 0, async () => {
14142
+ if (!onRegenerateSecret) return;
14143
+ setIsRegenerating(true);
14144
+ try {
14145
+ await onRegenerateSecret();
14146
+ } finally {
14147
+ setIsRegenerating(false);
14148
+ setShowRegenerateConfirm(false);
14149
+ }
14150
+ }, [onRegenerateSecret]);
14151
+ const createdDate = client.createdAt ? _datefns.format.call(void 0, new Date(client.createdAt), "MMMM d, yyyy") : "Unknown";
14152
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
14153
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
14154
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
14155
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
14156
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardTitle, { className: "text-2xl", children: client.name }),
14157
+ client.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { className: "mt-1", children: client.description })
14158
+ ] }),
14159
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
14160
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: client.isActive ? "default" : "secondary", children: client.isActive ? "Active" : "Inactive" }),
14161
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", children: client.isConfidential ? "Confidential" : "Public" })
14162
+ ] })
14163
+ ] }) }),
14164
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardContent, { className: "space-y-6", children: [
14165
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14166
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Client ID" }),
14167
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
14168
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { value: client.clientId, readOnly: true, className: "font-mono" }),
14169
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14170
+ Button,
14171
+ {
14172
+ variant: "outline",
14173
+ size: "icon",
14174
+ onClick: () => copyToClipboard(client.clientId, "clientId"),
14175
+ title: "Copy Client ID",
14176
+ children: copiedField === "clientId" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-4 w-4 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Copy, { className: "h-4 w-4" })
14177
+ }
14178
+ )
14179
+ ] })
14180
+ ] }),
14181
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14182
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Client Secret" }),
14183
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
14184
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { value: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022", readOnly: true, className: "font-mono" }),
14185
+ onRegenerateSecret && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14186
+ Button,
14187
+ {
14188
+ variant: "outline",
14189
+ size: "icon",
14190
+ onClick: () => setShowRegenerateConfirm(true),
14191
+ title: "Regenerate Secret",
14192
+ disabled: isLoading,
14193
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.RefreshCw, { className: "h-4 w-4" })
14194
+ }
14195
+ )
14196
+ ] }),
14197
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs text-muted-foreground", children: "Regenerating will invalidate the current secret and all existing tokens." })
14198
+ ] }),
14199
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
14200
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14201
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Redirect URIs" }),
14202
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-1", children: client.redirectUris.map((uri, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "flex items-center gap-2 text-sm font-mono", children: [
14203
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3 w-3 text-muted-foreground" }),
14204
+ uri
14205
+ ] }, index)) })
14206
+ ] }),
14207
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14208
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
14209
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkO3LLMGP7js.OAUTH_SCOPE_DISPLAY, 'access', _327 => _327[scope], 'optionalAccess', _328 => _328.name]) || scope }, scope)) })
14210
+ ] }),
14211
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
14213
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedGrantTypes.map((grant) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", children: grant.replace(/_/g, " ") }, grant)) })
14214
+ ] }),
14215
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
14216
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-x-6 gap-y-2 text-sm text-muted-foreground", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { children: [
14217
+ "Created: ",
14218
+ createdDate
14219
+ ] }) }),
14220
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-3 pt-4", children: [
14221
+ onEdit && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Button, { variant: "outline", onClick: onEdit, disabled: isLoading, children: [
14222
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Pencil, { className: "h-4 w-4 mr-2" }),
14223
+ "Edit"
14224
+ ] }),
14225
+ onDelete && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
14226
+ Button,
14227
+ {
14228
+ variant: "destructive",
14229
+ onClick: () => setShowDeleteConfirm(true),
14230
+ disabled: isLoading,
14231
+ children: [
14232
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 mr-2" }),
14233
+ "Delete"
14234
+ ]
14235
+ }
14236
+ )
14237
+ ] })
14238
+ ] })
14239
+ ] }),
14240
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialog, { open: showDeleteConfirm, onOpenChange: setShowDeleteConfirm, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogContent, { children: [
14241
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogHeader, { children: [
14242
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogTitle, { children: "Delete OAuth Application?" }),
14243
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogDescription, { children: [
14244
+ 'This will permanently delete "',
14245
+ client.name,
14246
+ '" and revoke all access tokens. This action cannot be undone.'
14247
+ ] })
14248
+ ] }),
14249
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogFooter, { children: [
14250
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogCancel, { disabled: isDeleting, children: "Cancel" }),
14251
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14252
+ AlertDialogAction,
14253
+ {
14254
+ onClick: handleDelete,
14255
+ disabled: isDeleting,
14256
+ className: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
14257
+ children: isDeleting ? "Deleting..." : "Delete"
14258
+ }
14259
+ )
14260
+ ] })
14261
+ ] }) }),
14262
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialog, { open: showRegenerateConfirm, onOpenChange: setShowRegenerateConfirm, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogContent, { children: [
14263
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogHeader, { children: [
14264
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogTitle, { children: "Regenerate Client Secret?" }),
14265
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogDescription, { children: "This will generate a new client secret and invalidate the old one. All existing tokens will be revoked. You will need to update your application with the new secret." })
14266
+ ] }),
14267
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogFooter, { children: [
14268
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogCancel, { disabled: isRegenerating, children: "Cancel" }),
14269
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogAction, { onClick: handleRegenerateSecret, disabled: isRegenerating, children: isRegenerating ? "Regenerating..." : "Regenerate" })
14270
+ ] })
14271
+ ] }) })
14272
+ ] });
14273
+ }
14274
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientDetail, "OAuthClientDetail");
14275
+
14276
+ // src/features/oauth/components/consent/OAuthConsentHeader.tsx
14277
+
14278
+
14279
+ function OAuthConsentHeader({
14280
+ client,
14281
+ logoUrl,
14282
+ appName = "Only35"
14283
+ }) {
14284
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center space-y-4", children: [
14285
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex justify-center", children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14286
+ "img",
14287
+ {
14288
+ src: logoUrl,
14289
+ alt: appName,
14290
+ className: "h-12 w-auto"
14291
+ }
14292
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-12 w-12 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Shield, { className: "h-6 w-6 text-primary-foreground" }) }) }),
14293
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14294
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h1", { className: "text-2xl font-bold", children: [
14295
+ "Authorize ",
14296
+ client.name
14297
+ ] }),
14298
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-muted-foreground", children: [
14299
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-foreground", children: client.name }),
14300
+ " ",
14301
+ "wants to access your ",
14302
+ appName,
14303
+ " account"
14304
+ ] })
14305
+ ] })
14306
+ ] });
14307
+ }
14308
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthConsentHeader, "OAuthConsentHeader");
14309
+
14310
+ // src/features/oauth/components/consent/OAuthScopeList.tsx
14311
+
14312
+
14313
+
14314
+
14315
+
14316
+
14317
+
14318
+
14319
+
14320
+
14321
+
14322
+ var SCOPE_ICONS = {
14323
+ eye: _lucidereact.Eye,
14324
+ pencil: _lucidereact.Pencil,
14325
+ image: _lucidereact.Image,
14326
+ upload: _lucidereact.Upload,
14327
+ film: _lucidereact.Film,
14328
+ "folder-plus": _lucidereact.FolderPlus,
14329
+ user: _lucidereact.User,
14330
+ shield: _lucidereact.Shield
14331
+ };
14332
+ function OAuthScopeList({ scopes }) {
14333
+ if (scopes.length === 0) {
14334
+ return null;
14335
+ }
14336
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
14337
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-sm font-medium text-muted-foreground uppercase tracking-wide", children: "This will allow the application to:" }),
14338
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-3", children: scopes.map((scope) => {
14339
+ const IconComponent = scope.icon ? SCOPE_ICONS[scope.icon] : _lucidereact.Eye;
14340
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
14341
+ "li",
14342
+ {
14343
+ className: "flex items-start gap-3 p-3 rounded-lg bg-muted/50",
14344
+ children: [
14345
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 rounded-full bg-primary/10 flex items-center justify-center", children: IconComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "h-4 w-4 text-primary" }) }) }),
14346
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
14347
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-medium", children: scope.name }),
14348
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: scope.description })
14349
+ ] })
14350
+ ]
14351
+ },
14352
+ scope.scope
14353
+ );
14354
+ }) })
14355
+ ] });
14356
+ }
14357
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthScopeList, "OAuthScopeList");
14358
+
14359
+ // src/features/oauth/components/consent/OAuthConsentActions.tsx
14360
+
14361
+ function OAuthConsentActions({
14362
+ onApprove,
14363
+ onDeny,
14364
+ isLoading = false
14365
+ }) {
14366
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col sm:flex-row gap-3", children: [
14367
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14368
+ Button,
14369
+ {
14370
+ variant: "outline",
14371
+ onClick: onDeny,
14372
+ disabled: isLoading,
14373
+ className: "flex-1",
14374
+ children: "Deny"
14375
+ }
14376
+ ),
14377
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14378
+ Button,
14379
+ {
14380
+ onClick: onApprove,
14381
+ disabled: isLoading,
14382
+ className: "flex-1",
14383
+ children: isLoading ? "Authorizing..." : "Authorize"
14384
+ }
14385
+ )
14386
+ ] });
14387
+ }
14388
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthConsentActions, "OAuthConsentActions");
14389
+
14390
+ // src/features/oauth/components/consent/OAuthConsentScreen.tsx
14391
+
14392
+
14393
+ function OAuthConsentScreen({
14394
+ params,
14395
+ logoUrl,
14396
+ appName = "Only35",
14397
+ termsUrl = "/terms",
14398
+ privacyUrl = "/privacy"
14399
+ }) {
14400
+ const { clientInfo, isLoading, error, approve, deny, isSubmitting } = useOAuthConsent(params);
14401
+ if (isLoading) {
14402
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardContent, { className: "flex flex-col items-center justify-center py-12", children: [
14403
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-muted-foreground" }),
14404
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-4 text-muted-foreground", children: "Loading authorization request..." })
14405
+ ] }) }) });
14406
+ }
14407
+ if (error || !clientInfo) {
14408
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
14409
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
14410
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _329 => _329.message]) || "Invalid authorization request. Please try again." })
14411
+ ] }) }) }) });
14412
+ }
14413
+ const { client, scopes } = clientInfo;
14414
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4 bg-muted/30", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: "w-full max-w-md", children: [
14415
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardContent, { className: "pt-6 space-y-6", children: [
14416
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14417
+ OAuthConsentHeader,
14418
+ {
14419
+ client,
14420
+ logoUrl,
14421
+ appName
14422
+ }
14423
+ ),
14424
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
14425
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OAuthScopeList, { scopes }),
14426
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
14427
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-2 text-sm text-muted-foreground", children: [
14428
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4 mt-0.5 flex-shrink-0" }),
14429
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
14430
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Authorizing will redirect you to:" }),
14431
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-mono text-xs mt-1 break-all", children: params.redirectUri })
14432
+ ] })
14433
+ ] }),
14434
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14435
+ OAuthConsentActions,
14436
+ {
14437
+ onApprove: approve,
14438
+ onDeny: deny,
14439
+ isLoading: isSubmitting
14440
+ }
14441
+ )
14442
+ ] }),
14443
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardFooter, { className: "justify-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-xs text-center text-muted-foreground", children: [
14444
+ "By authorizing, you agree to the app's",
14445
+ " ",
14446
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: termsUrl, className: "underline hover:text-foreground", target: "_blank", rel: "noopener", children: "Terms of Service" }),
14447
+ " ",
14448
+ "and",
14449
+ " ",
14450
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: privacyUrl, className: "underline hover:text-foreground", target: "_blank", rel: "noopener", children: "Privacy Policy" }),
14451
+ "."
14452
+ ] }) })
14453
+ ] }) });
14454
+ }
14455
+ _chunk7QVYU63Ejs.__name.call(void 0, OAuthConsentScreen, "OAuthConsentScreen");
14456
+
14457
+
14458
+
14459
+
14460
+
14461
+
14462
+
14463
+
14464
+
14465
+
14466
+
14467
+
14468
+
14469
+
14470
+
13278
14471
 
13279
14472
 
13280
14473
 
@@ -13673,5 +14866,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserRolesList, "UserRolesList");
13673
14866
 
13674
14867
 
13675
14868
 
13676
- exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.UserDetails = UserDetails; exports.UserAvatar = UserAvatar; exports.UserIndexDetails = UserIndexDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.errorToast = errorToast; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormFieldWrapper = FormFieldWrapper; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.AuthContainer = AuthContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationSecurityForm = CompanyConfigurationSecurityForm; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure;
13677
- //# sourceMappingURL=chunk-EJALOG7L.js.map
14869
+ exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.UserDetails = UserDetails; exports.UserAvatar = UserAvatar; exports.UserIndexDetails = UserIndexDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.errorToast = errorToast; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormFieldWrapper = FormFieldWrapper; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.AuthContainer = AuthContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationSecurityForm = CompanyConfigurationSecurityForm; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
14870
+ //# sourceMappingURL=chunk-JI6BDV7L.js.map