@carlonicora/nextjs-jsonapi 1.6.0 → 1.7.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 (122) hide show
  1. package/dist/{ApiResponseInterface-CfcC7pPC.d.mts → ApiResponseInterface-DMwITHYP.d.mts} +1 -1
  2. package/dist/{ApiResponseInterface-DTBJaV5R.d.ts → ApiResponseInterface-DWgIAXI-.d.ts} +1 -1
  3. package/dist/{BlockNoteEditor-7FM7B737.js → BlockNoteEditor-IJASTIUZ.js} +14 -18
  4. package/dist/BlockNoteEditor-IJASTIUZ.js.map +1 -0
  5. package/dist/{BlockNoteEditor-RVL76ZAS.mjs → BlockNoteEditor-M6TUP3NT.mjs} +5 -9
  6. package/dist/{BlockNoteEditor-RVL76ZAS.mjs.map → BlockNoteEditor-M6TUP3NT.mjs.map} +1 -1
  7. package/dist/JsonApiRequest-2OM5NDAW.js +24 -0
  8. package/dist/JsonApiRequest-2OM5NDAW.js.map +1 -0
  9. package/dist/{JsonApiRequest-VCCRO732.mjs → JsonApiRequest-SYZ6FGCA.mjs} +2 -3
  10. package/dist/{chunk-SVX7E6RR.js → chunk-4L7OWJ2P.js} +360 -364
  11. package/dist/chunk-4L7OWJ2P.js.map +1 -0
  12. package/dist/{chunk-KFL5ZFM4.mjs → chunk-4U5CJA44.mjs} +732 -20
  13. package/dist/chunk-4U5CJA44.mjs.map +1 -0
  14. package/dist/{chunk-ZUEEIQHW.js → chunk-CKS6SVUK.js} +158 -22
  15. package/dist/chunk-CKS6SVUK.js.map +1 -0
  16. package/dist/{chunk-F4Y3GZG4.mjs → chunk-SAL7XW2G.mjs} +141 -5
  17. package/dist/chunk-SAL7XW2G.mjs.map +1 -0
  18. package/dist/{chunk-ZQTFZKLJ.mjs → chunk-TW4QRJ7D.mjs} +10 -14
  19. package/dist/{chunk-ZQTFZKLJ.mjs.map → chunk-TW4QRJ7D.mjs.map} +1 -1
  20. package/dist/{chunk-2Z56AS2S.js → chunk-U4NADAHN.js} +744 -32
  21. package/dist/chunk-U4NADAHN.js.map +1 -0
  22. package/dist/client/index.d.mts +5 -5
  23. package/dist/client/index.d.ts +5 -5
  24. package/dist/client/index.js +4 -7
  25. package/dist/client/index.js.map +1 -1
  26. package/dist/client/index.mjs +3 -6
  27. package/dist/components/index.d.mts +2 -2
  28. package/dist/components/index.d.ts +2 -2
  29. package/dist/components/index.js +4 -7
  30. package/dist/components/index.js.map +1 -1
  31. package/dist/components/index.mjs +3 -6
  32. package/dist/{config-B43zxEvn.d.mts → config-BdCV25CE.d.mts} +1 -1
  33. package/dist/{config-D2OUrI_G.d.ts → config-C9dt1QiR.d.ts} +1 -1
  34. package/dist/{content.interface-Bs8a7uW6.d.mts → content.interface-B6qP_ABq.d.mts} +1 -1
  35. package/dist/{content.interface-UtsJ-mzs.d.ts → content.interface-DHAFLasV.d.ts} +1 -1
  36. package/dist/contexts/index.d.mts +2 -2
  37. package/dist/contexts/index.d.ts +2 -2
  38. package/dist/contexts/index.js +4 -7
  39. package/dist/contexts/index.js.map +1 -1
  40. package/dist/contexts/index.mjs +3 -6
  41. package/dist/core/index.d.mts +43 -7
  42. package/dist/core/index.d.ts +43 -7
  43. package/dist/core/index.js +29 -3
  44. package/dist/core/index.js.map +1 -1
  45. package/dist/core/index.mjs +28 -2
  46. package/dist/index.d.mts +7 -44
  47. package/dist/index.d.ts +7 -44
  48. package/dist/index.js +20 -4
  49. package/dist/index.js.map +1 -1
  50. package/dist/index.mjs +24 -8
  51. package/dist/{notification.interface-BdcwkuQE.d.mts → notification.interface-agcMYCkg.d.mts} +1 -1
  52. package/dist/{notification.interface-BdcwkuQE.d.ts → notification.interface-agcMYCkg.d.ts} +1 -1
  53. package/dist/s3.service-DYnmymEd.d.mts +350 -0
  54. package/dist/s3.service-DyXjKTqr.d.ts +350 -0
  55. package/dist/scripts/generate-web-module/templates/components/container.template.js +1 -1
  56. package/dist/scripts/generate-web-module/templates/components/content.template.js +1 -1
  57. package/dist/scripts/generate-web-module/templates/components/deleter.template.js +1 -1
  58. package/dist/scripts/generate-web-module/templates/components/editor.template.js +4 -4
  59. package/dist/scripts/generate-web-module/templates/components/editor.template.js.map +1 -1
  60. package/dist/scripts/generate-web-module/templates/components/list.template.js +1 -1
  61. package/dist/scripts/generate-web-module/templates/components/multi-selector.template.js +3 -3
  62. package/dist/scripts/generate-web-module/templates/components/selector.template.js +3 -3
  63. package/dist/scripts/generate-web-module/templates/context.template.js +2 -2
  64. package/dist/scripts/generate-web-module/templates/module.template.js +1 -1
  65. package/dist/scripts/generate-web-module/templates/pages/detail-page.template.js +1 -1
  66. package/dist/scripts/generate-web-module/templates/pages/list-page.template.js +1 -1
  67. package/dist/scripts/generate-web-module/templates/table-hook.template.js +3 -3
  68. package/dist/scripts/generate-web-module/templates/table-hook.template.js.map +1 -1
  69. package/dist/server/index.d.mts +5 -235
  70. package/dist/server/index.d.ts +5 -235
  71. package/dist/server/index.js +12 -16
  72. package/dist/server/index.js.map +1 -1
  73. package/dist/server/index.mjs +3 -7
  74. package/dist/server/index.mjs.map +1 -1
  75. package/dist/{useSocket-BWJUXuOl.d.mts → useSocket-91s8M4Xd.d.mts} +1 -1
  76. package/dist/{useSocket-8vwK_R_c.d.ts → useSocket-DSR7vaXj.d.ts} +1 -1
  77. package/package.json +1 -1
  78. package/scripts/generate-web-module/templates/components/container.template.ts +1 -1
  79. package/scripts/generate-web-module/templates/components/content.template.ts +1 -1
  80. package/scripts/generate-web-module/templates/components/deleter.template.ts +1 -1
  81. package/scripts/generate-web-module/templates/components/editor.template.ts +4 -4
  82. package/scripts/generate-web-module/templates/components/list.template.ts +1 -1
  83. package/scripts/generate-web-module/templates/components/multi-selector.template.ts +3 -3
  84. package/scripts/generate-web-module/templates/components/selector.template.ts +3 -3
  85. package/scripts/generate-web-module/templates/context.template.ts +2 -2
  86. package/scripts/generate-web-module/templates/module.template.ts +1 -1
  87. package/scripts/generate-web-module/templates/pages/detail-page.template.ts +1 -1
  88. package/scripts/generate-web-module/templates/pages/list-page.template.ts +1 -1
  89. package/scripts/generate-web-module/templates/table-hook.template.ts +3 -3
  90. package/src/core/index.ts +3 -0
  91. package/src/features/auth/data/index.ts +1 -0
  92. package/src/features/company/data/index.ts +1 -0
  93. package/src/features/content/data/index.ts +1 -0
  94. package/src/features/feature/data/index.ts +1 -0
  95. package/src/features/notification/data/index.ts +1 -0
  96. package/src/features/push/data/index.ts +1 -0
  97. package/src/features/role/data/index.ts +1 -0
  98. package/src/features/s3/data/index.ts +1 -0
  99. package/src/features/user/data/index.ts +1 -0
  100. package/dist/BlockNoteEditor-7FM7B737.js.map +0 -1
  101. package/dist/JsonApiRequest-KOKGVPBI.js +0 -25
  102. package/dist/JsonApiRequest-KOKGVPBI.js.map +0 -1
  103. package/dist/chunk-2Z56AS2S.js.map +0 -1
  104. package/dist/chunk-37NJZ2VD.mjs +0 -637
  105. package/dist/chunk-37NJZ2VD.mjs.map +0 -1
  106. package/dist/chunk-AGAJMJ4T.js +0 -147
  107. package/dist/chunk-AGAJMJ4T.js.map +0 -1
  108. package/dist/chunk-CSM6AIAP.js +0 -98
  109. package/dist/chunk-CSM6AIAP.js.map +0 -1
  110. package/dist/chunk-F4Y3GZG4.mjs.map +0 -1
  111. package/dist/chunk-K4W5QXL5.mjs +0 -98
  112. package/dist/chunk-K4W5QXL5.mjs.map +0 -1
  113. package/dist/chunk-KFL5ZFM4.mjs.map +0 -1
  114. package/dist/chunk-LOSPCUCF.js +0 -637
  115. package/dist/chunk-LOSPCUCF.js.map +0 -1
  116. package/dist/chunk-RBIVEH2K.mjs +0 -147
  117. package/dist/chunk-RBIVEH2K.mjs.map +0 -1
  118. package/dist/chunk-SVX7E6RR.js.map +0 -1
  119. package/dist/chunk-ZUEEIQHW.js.map +0 -1
  120. package/dist/s3.interface-D7ttGatc.d.ts +0 -119
  121. package/dist/s3.interface-DlaMDRTn.d.mts +0 -119
  122. /package/dist/{JsonApiRequest-VCCRO732.mjs.map → JsonApiRequest-SYZ6FGCA.mjs.map} +0 -0
@@ -20,10 +20,8 @@ var _chunkAGWQ75PQjs = require('./chunk-AGWQ75PQ.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkLOSPCUCFjs = require('./chunk-LOSPCUCF.js');
24
23
 
25
24
 
26
- var _chunkCSM6AIAPjs = require('./chunk-CSM6AIAP.js');
27
25
 
28
26
 
29
27
 
@@ -32,9 +30,7 @@ var _chunkCSM6AIAPjs = require('./chunk-CSM6AIAP.js');
32
30
 
33
31
 
34
32
 
35
-
36
-
37
- var _chunk2Z56AS2Sjs = require('./chunk-2Z56AS2S.js');
33
+ var _chunkU4NADAHNjs = require('./chunk-U4NADAHN.js');
38
34
 
39
35
 
40
36
  var _chunk7QVYU63Ejs = require('./chunk-7QVYU63E.js');
@@ -154,7 +150,7 @@ function useDataListRetriever(params) {
154
150
  const abortControllerRef = _react.useRef.call(void 0, null);
155
151
  const isFetchingRef = _react.useRef.call(void 0, false);
156
152
  const resolvedType = params.module;
157
- const resolvedService = _chunk2Z56AS2Sjs.ClientAbstractService;
153
+ const resolvedService = _chunkU4NADAHNjs.ClientAbstractService;
158
154
  const parsePageParams = _react.useCallback.call(void 0, (url) => {
159
155
  if (!url) return null;
160
156
  try {
@@ -855,20 +851,20 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
855
851
  if (!token && dehydratedUser) setDehydratedUser(null);
856
852
  }, [dehydratedUser, setDehydratedUser]);
857
853
  const matchUrlToModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
858
- const moduleKeys = Object.getOwnPropertyNames(_chunk2Z56AS2Sjs.Modules).filter(
854
+ const moduleKeys = Object.getOwnPropertyNames(_chunkU4NADAHNjs.Modules).filter(
859
855
  (key) => key !== "prototype" && key !== "_factory" && key !== "length" && key !== "name"
860
856
  );
861
857
  const matchedModuleKey = moduleKeys.find((key) => {
862
- const descriptor2 = Object.getOwnPropertyDescriptor(_chunk2Z56AS2Sjs.Modules, key);
858
+ const descriptor2 = Object.getOwnPropertyDescriptor(_chunkU4NADAHNjs.Modules, key);
863
859
  if (!_optionalChain([descriptor2, 'optionalAccess', _25 => _25.get])) return false;
864
- const selectedModule = descriptor2.get.call(_chunk2Z56AS2Sjs.Modules);
860
+ const selectedModule = descriptor2.get.call(_chunkU4NADAHNjs.Modules);
865
861
  return path.toLowerCase().startsWith(_optionalChain([selectedModule, 'access', _26 => _26.pageUrl, 'optionalAccess', _27 => _27.toLowerCase, 'call', _28 => _28()]));
866
862
  });
867
863
  if (!matchedModuleKey) return void 0;
868
- const descriptor = Object.getOwnPropertyDescriptor(_chunk2Z56AS2Sjs.Modules, matchedModuleKey);
869
- return _optionalChain([descriptor, 'optionalAccess', _29 => _29.get, 'optionalAccess', _30 => _30.call, 'call', _31 => _31(_chunk2Z56AS2Sjs.Modules)]);
864
+ const descriptor = Object.getOwnPropertyDescriptor(_chunkU4NADAHNjs.Modules, matchedModuleKey);
865
+ return _optionalChain([descriptor, 'optionalAccess', _29 => _29.get, 'optionalAccess', _30 => _30.call, 'call', _31 => _31(_chunkU4NADAHNjs.Modules)]);
870
866
  }, "matchUrlToModule");
871
- const currentUser = dehydratedUser ? _chunk2Z56AS2Sjs.rehydrate.call(void 0, _chunk2Z56AS2Sjs.Modules.User, dehydratedUser) : null;
867
+ const currentUser = dehydratedUser ? _chunkU4NADAHNjs.rehydrate.call(void 0, _chunkU4NADAHNjs.Modules.User, dehydratedUser) : null;
872
868
  const company = _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _32 => _32.company]), () => ( null));
873
869
  const setUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (user) => {
874
870
  if (user) setDehydratedUser(user.dehydrate());
@@ -886,14 +882,14 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
886
882
  function hasPermissionToModule(params) {
887
883
  if (!currentUser) return false;
888
884
  if (!!params.module.feature && !hasAccesToFeature(params.module.feature)) return false;
889
- return _chunkCSM6AIAPjs.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
885
+ return _chunkU4NADAHNjs.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
890
886
  }
891
887
  _chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModule, "hasPermissionToModule");
892
888
  function hasPermissionToModules(params) {
893
889
  if (!currentUser) return false;
894
890
  if (!params.modules.every((module) => !module.feature || hasAccesToFeature(module.feature))) return false;
895
891
  return params.modules.every(
896
- (module) => _chunkCSM6AIAPjs.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
892
+ (module) => _chunkU4NADAHNjs.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
897
893
  );
898
894
  }
899
895
  _chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModules, "hasPermissionToModules");
@@ -949,7 +945,7 @@ function AddUserToRoleInternal({ role, refresh }) {
949
945
  const [existingUsers, setExistingUsers] = _react.useState.call(void 0, null);
950
946
  _react.useEffect.call(void 0, () => {
951
947
  const fetchExistingUsers = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
952
- setExistingUsers(await _chunkLOSPCUCFjs.UserService.findMany({ roleId: role.id, fetchAll: true }));
948
+ setExistingUsers(await _chunkU4NADAHNjs.UserService.findMany({ roleId: role.id, fetchAll: true }));
953
949
  }, "fetchExistingUsers");
954
950
  if (show) {
955
951
  setExistingUsers(null);
@@ -957,7 +953,7 @@ function AddUserToRoleInternal({ role, refresh }) {
957
953
  }
958
954
  }, [show]);
959
955
  const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (user) => {
960
- await _chunkLOSPCUCFjs.RoleService.addUserToRole({
956
+ await _chunkU4NADAHNjs.RoleService.addUserToRole({
961
957
  roleId: role.id,
962
958
  userId: user.id
963
959
  });
@@ -973,9 +969,9 @@ function AddUserToRoleInternal({ role, refresh }) {
973
969
  }, "addUserToRole");
974
970
  const data = useDataListRetriever({
975
971
  ready: !!company && show,
976
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.UserService.findAllUsers(params), "retriever"),
972
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.UserService.findAllUsers(params), "retriever"),
977
973
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _36 => _36.id]) },
978
- module: _chunk2Z56AS2Sjs.Modules.User
974
+ module: _chunkU4NADAHNjs.Modules.User
979
975
  });
980
976
  _react.useEffect.call(void 0, () => {
981
977
  if (!!company && show) {
@@ -1023,13 +1019,13 @@ var _reacticons = require('@radix-ui/react-icons');
1023
1019
 
1024
1020
 
1025
1021
  var Accordion = AccordionPrimitive.Root;
1026
- var AccordionItem = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AccordionPrimitive.Item, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "border-b", className), ...props }));
1022
+ var AccordionItem = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AccordionPrimitive.Item, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "border-b", className), ...props }));
1027
1023
  AccordionItem.displayName = "AccordionItem";
1028
1024
  var AccordionTrigger = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AccordionPrimitive.Header, { className: "flex", asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1029
1025
  AccordionPrimitive.Trigger,
1030
1026
  {
1031
1027
  ref,
1032
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all", className),
1028
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all", className),
1033
1029
  ...props,
1034
1030
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center", children: [
1035
1031
  children,
@@ -1044,7 +1040,7 @@ var AccordionContent = React2.forwardRef(({ className, children, ...props }, ref
1044
1040
  ref,
1045
1041
  className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
1046
1042
  ...props,
1047
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "pb-4 pt-0", className), children })
1043
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "pb-4 pt-0", className), children })
1048
1044
  }
1049
1045
  ));
1050
1046
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
@@ -1067,14 +1063,14 @@ var alertVariants = _classvarianceauthority.cva.call(void 0,
1067
1063
  }
1068
1064
  }
1069
1065
  );
1070
- var Alert = React3.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, role: "alert", className: _chunk2Z56AS2Sjs.cn.call(void 0, alertVariants({ variant }), className), ...props }));
1066
+ var Alert = React3.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, role: "alert", className: _chunkU4NADAHNjs.cn.call(void 0, alertVariants({ variant }), className), ...props }));
1071
1067
  Alert.displayName = "Alert";
1072
1068
  var AlertTitle = React3.forwardRef(
1073
- ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h5", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "mb-1 font-medium leading-none tracking-tight", className), ...props })
1069
+ ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h5", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "mb-1 font-medium leading-none tracking-tight", className), ...props })
1074
1070
  );
1075
1071
  AlertTitle.displayName = "AlertTitle";
1076
1072
  var AlertDescription = React3.forwardRef(
1077
- ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-sm [&_p]:leading-relaxed", className), ...props })
1073
+ ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "text-sm [&_p]:leading-relaxed", className), ...props })
1078
1074
  );
1079
1075
  AlertDescription.displayName = "AlertDescription";
1080
1076
 
@@ -1120,7 +1116,7 @@ function Button({
1120
1116
  ...props
1121
1117
  }) {
1122
1118
  const Comp = asChild ? _reactslot.Slot : "button";
1123
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Comp, { "data-slot": "button", className: _chunk2Z56AS2Sjs.cn.call(void 0, buttonVariants({ variant, size, className })), ...props });
1119
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Comp, { "data-slot": "button", className: _chunkU4NADAHNjs.cn.call(void 0, buttonVariants({ variant, size, className })), ...props });
1124
1120
  }
1125
1121
  _chunk7QVYU63Ejs.__name.call(void 0, Button, "Button");
1126
1122
 
@@ -1132,7 +1128,7 @@ var AlertDialogPortal = AlertDialogPrimitive.Portal;
1132
1128
  var AlertDialogOverlay = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1133
1129
  AlertDialogPrimitive.Overlay,
1134
1130
  {
1135
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1131
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1136
1132
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
1137
1133
  className
1138
1134
  ),
@@ -1147,7 +1143,7 @@ var AlertDialogContent = React4.forwardRef(({ className, ...props }, ref) => /*
1147
1143
  AlertDialogPrimitive.Content,
1148
1144
  {
1149
1145
  ref,
1150
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1146
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1151
1147
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
1152
1148
  className
1153
1149
  ),
@@ -1162,7 +1158,7 @@ var AlertDialogHeader = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
1162
1158
  }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1163
1159
  "div",
1164
1160
  {
1165
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1161
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1166
1162
  "flex flex-col space-y-2 text-center sm:text-left",
1167
1163
  className
1168
1164
  ),
@@ -1176,7 +1172,7 @@ var AlertDialogFooter = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
1176
1172
  }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1177
1173
  "div",
1178
1174
  {
1179
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1175
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1180
1176
  "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
1181
1177
  className
1182
1178
  ),
@@ -1188,7 +1184,7 @@ var AlertDialogTitle = React4.forwardRef(({ className, ...props }, ref) => /* @_
1188
1184
  AlertDialogPrimitive.Title,
1189
1185
  {
1190
1186
  ref,
1191
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-lg font-semibold", className),
1187
+ className: _chunkU4NADAHNjs.cn.call(void 0, "text-lg font-semibold", className),
1192
1188
  ...props
1193
1189
  }
1194
1190
  ));
@@ -1197,7 +1193,7 @@ var AlertDialogDescription = React4.forwardRef(({ className, ...props }, ref) =>
1197
1193
  AlertDialogPrimitive.Description,
1198
1194
  {
1199
1195
  ref,
1200
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-sm text-muted-foreground", className),
1196
+ className: _chunkU4NADAHNjs.cn.call(void 0, "text-sm text-muted-foreground", className),
1201
1197
  ...props
1202
1198
  }
1203
1199
  ));
@@ -1206,7 +1202,7 @@ var AlertDialogAction = React4.forwardRef(({ className, ...props }, ref) => /* @
1206
1202
  AlertDialogPrimitive.Action,
1207
1203
  {
1208
1204
  ref,
1209
- className: _chunk2Z56AS2Sjs.cn.call(void 0, buttonVariants(), className),
1205
+ className: _chunkU4NADAHNjs.cn.call(void 0, buttonVariants(), className),
1210
1206
  ...props
1211
1207
  }
1212
1208
  ));
@@ -1215,7 +1211,7 @@ var AlertDialogCancel = React4.forwardRef(({ className, ...props }, ref) => /* @
1215
1211
  AlertDialogPrimitive.Cancel,
1216
1212
  {
1217
1213
  ref,
1218
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1214
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1219
1215
  buttonVariants({ variant: "outline" }),
1220
1216
  "mt-2 sm:mt-0",
1221
1217
  className
@@ -1233,7 +1229,7 @@ var Avatar = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
1233
1229
  AvatarPrimitive.Root,
1234
1230
  {
1235
1231
  ref,
1236
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1232
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1237
1233
  "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
1238
1234
  className
1239
1235
  ),
@@ -1245,7 +1241,7 @@ var AvatarImage = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE
1245
1241
  AvatarPrimitive.Image,
1246
1242
  {
1247
1243
  ref,
1248
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "aspect-square h-full w-full", className),
1244
+ className: _chunkU4NADAHNjs.cn.call(void 0, "aspect-square h-full w-full", className),
1249
1245
  ...props
1250
1246
  }
1251
1247
  ));
@@ -1254,7 +1250,7 @@ var AvatarFallback = React5.forwardRef(({ className, ...props }, ref) => /* @__P
1254
1250
  AvatarPrimitive.Fallback,
1255
1251
  {
1256
1252
  ref,
1257
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1253
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1258
1254
  "flex h-full w-full items-center justify-center rounded-full bg-muted",
1259
1255
  className
1260
1256
  ),
@@ -1293,7 +1289,7 @@ var badgeVariants = _classvarianceauthority.cva.call(void 0,
1293
1289
  }
1294
1290
  );
1295
1291
  function Badge({ className, variant, ...props }) {
1296
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, badgeVariants({ variant }), className), ...props });
1292
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, badgeVariants({ variant }), className), ...props });
1297
1293
  }
1298
1294
  _chunk7QVYU63Ejs.__name.call(void 0, Badge, "Badge");
1299
1295
 
@@ -1308,7 +1304,7 @@ var BreadcrumbList = React6.forwardRef(({ className, ...props }, ref) => /* @__P
1308
1304
  "ol",
1309
1305
  {
1310
1306
  ref,
1311
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1307
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1312
1308
  "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
1313
1309
  className
1314
1310
  ),
@@ -1320,7 +1316,7 @@ var BreadcrumbItem = React6.forwardRef(({ className, ...props }, ref) => /* @__P
1320
1316
  "li",
1321
1317
  {
1322
1318
  ref,
1323
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "inline-flex items-center gap-1.5", className),
1319
+ className: _chunkU4NADAHNjs.cn.call(void 0, "inline-flex items-center gap-1.5", className),
1324
1320
  ...props
1325
1321
  }
1326
1322
  ));
@@ -1331,7 +1327,7 @@ var BreadcrumbLink = React6.forwardRef(({ asChild, className, ...props }, ref) =
1331
1327
  Comp,
1332
1328
  {
1333
1329
  ref,
1334
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "transition-colors hover:text-foreground", className),
1330
+ className: _chunkU4NADAHNjs.cn.call(void 0, "transition-colors hover:text-foreground", className),
1335
1331
  ...props
1336
1332
  }
1337
1333
  );
@@ -1344,7 +1340,7 @@ var BreadcrumbPage = React6.forwardRef(({ className, ...props }, ref) => /* @__P
1344
1340
  role: "link",
1345
1341
  "aria-disabled": "true",
1346
1342
  "aria-current": "page",
1347
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "font-normal text-foreground", className),
1343
+ className: _chunkU4NADAHNjs.cn.call(void 0, "font-normal text-foreground", className),
1348
1344
  ...props
1349
1345
  }
1350
1346
  ));
@@ -1358,7 +1354,7 @@ var BreadcrumbSeparator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
1358
1354
  {
1359
1355
  role: "presentation",
1360
1356
  "aria-hidden": "true",
1361
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "[&>svg]:h-3.5 [&>svg]:w-3.5", className),
1357
+ className: _chunkU4NADAHNjs.cn.call(void 0, "[&>svg]:h-3.5 [&>svg]:w-3.5", className),
1362
1358
  ...props,
1363
1359
  children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon, {})))
1364
1360
  }
@@ -1372,7 +1368,7 @@ var BreadcrumbEllipsis = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
1372
1368
  {
1373
1369
  role: "presentation",
1374
1370
  "aria-hidden": "true",
1375
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex h-9 w-9 items-center justify-center", className),
1371
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex h-9 w-9 items-center justify-center", className),
1376
1372
  ...props,
1377
1373
  children: [
1378
1374
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reacticons.DotsHorizontalIcon, { className: "h-4 w-4" }),
@@ -1391,55 +1387,55 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
1391
1387
  _reactdaypicker.DayPicker,
1392
1388
  {
1393
1389
  showOutsideDays,
1394
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "p-3", className),
1390
+ className: _chunkU4NADAHNjs.cn.call(void 0, "p-3", className),
1395
1391
  classNames: {
1396
1392
  months: `relative flex ${defaultClassNames.month}`,
1397
1393
  month_caption: `relative mx-10 flex h-7 items-center justify-center ${defaultClassNames.month_caption}`,
1398
- weekdays: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-row", _optionalChain([classNames, 'optionalAccess', _37 => _37.weekdays])),
1399
- weekday: _chunk2Z56AS2Sjs.cn.call(void 0, "w-8 text-sm font-normal text-muted-foreground", _optionalChain([classNames, 'optionalAccess', _38 => _38.weekday])),
1400
- month: _chunk2Z56AS2Sjs.cn.call(void 0, "w-full", _optionalChain([classNames, 'optionalAccess', _39 => _39.month])),
1401
- caption_label: _chunk2Z56AS2Sjs.cn.call(void 0, "truncate text-sm font-medium", _optionalChain([classNames, 'optionalAccess', _40 => _40.caption_label])),
1402
- button_next: _chunk2Z56AS2Sjs.cn.call(void 0,
1394
+ weekdays: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-row", _optionalChain([classNames, 'optionalAccess', _37 => _37.weekdays])),
1395
+ weekday: _chunkU4NADAHNjs.cn.call(void 0, "w-8 text-sm font-normal text-muted-foreground", _optionalChain([classNames, 'optionalAccess', _38 => _38.weekday])),
1396
+ month: _chunkU4NADAHNjs.cn.call(void 0, "w-full", _optionalChain([classNames, 'optionalAccess', _39 => _39.month])),
1397
+ caption_label: _chunkU4NADAHNjs.cn.call(void 0, "truncate text-sm font-medium", _optionalChain([classNames, 'optionalAccess', _40 => _40.caption_label])),
1398
+ button_next: _chunkU4NADAHNjs.cn.call(void 0,
1403
1399
  buttonVariants({ variant: "outline" }),
1404
1400
  "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute right-1 [&_svg]:fill-foreground",
1405
1401
  _optionalChain([classNames, 'optionalAccess', _41 => _41.button_next])
1406
1402
  ),
1407
- button_previous: _chunk2Z56AS2Sjs.cn.call(void 0,
1403
+ button_previous: _chunkU4NADAHNjs.cn.call(void 0,
1408
1404
  buttonVariants({ variant: "outline" }),
1409
1405
  "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute left-1 [&_svg]:fill-foreground",
1410
1406
  _optionalChain([classNames, 'optionalAccess', _42 => _42.button_previous])
1411
1407
  ),
1412
- nav: _chunk2Z56AS2Sjs.cn.call(void 0, "flex items-start", _optionalChain([classNames, 'optionalAccess', _43 => _43.nav])),
1413
- month_grid: _chunk2Z56AS2Sjs.cn.call(void 0, "mx-auto mt-4", _optionalChain([classNames, 'optionalAccess', _44 => _44.month_grid])),
1414
- week: _chunk2Z56AS2Sjs.cn.call(void 0, "mt-2 flex w-max items-start", _optionalChain([classNames, 'optionalAccess', _45 => _45.week])),
1415
- day: _chunk2Z56AS2Sjs.cn.call(void 0, "flex size-8 flex-1 items-center justify-center p-0 text-sm", _optionalChain([classNames, 'optionalAccess', _46 => _46.day])),
1416
- day_button: _chunk2Z56AS2Sjs.cn.call(void 0,
1408
+ nav: _chunkU4NADAHNjs.cn.call(void 0, "flex items-start", _optionalChain([classNames, 'optionalAccess', _43 => _43.nav])),
1409
+ month_grid: _chunkU4NADAHNjs.cn.call(void 0, "mx-auto mt-4", _optionalChain([classNames, 'optionalAccess', _44 => _44.month_grid])),
1410
+ week: _chunkU4NADAHNjs.cn.call(void 0, "mt-2 flex w-max items-start", _optionalChain([classNames, 'optionalAccess', _45 => _45.week])),
1411
+ day: _chunkU4NADAHNjs.cn.call(void 0, "flex size-8 flex-1 items-center justify-center p-0 text-sm", _optionalChain([classNames, 'optionalAccess', _46 => _46.day])),
1412
+ day_button: _chunkU4NADAHNjs.cn.call(void 0,
1417
1413
  "size-8 rounded-md p-0 font-normal transition-none aria-selected:opacity-100",
1418
1414
  _optionalChain([classNames, 'optionalAccess', _47 => _47.day_button])
1419
1415
  ),
1420
- range_start: _chunk2Z56AS2Sjs.cn.call(void 0,
1416
+ range_start: _chunkU4NADAHNjs.cn.call(void 0,
1421
1417
  "bg-accent [&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground day-range-start rounded-s-md",
1422
1418
  _optionalChain([classNames, 'optionalAccess', _48 => _48.range_start])
1423
1419
  ),
1424
- range_middle: _chunk2Z56AS2Sjs.cn.call(void 0,
1420
+ range_middle: _chunkU4NADAHNjs.cn.call(void 0,
1425
1421
  "bg-accent !text-foreground [&>button]:bg-transparent [&>button]:!text-foreground [&>button]:hover:bg-transparent [&>button]:hover:!text-foreground",
1426
1422
  _optionalChain([classNames, 'optionalAccess', _49 => _49.range_middle])
1427
1423
  ),
1428
- range_end: _chunk2Z56AS2Sjs.cn.call(void 0,
1424
+ range_end: _chunkU4NADAHNjs.cn.call(void 0,
1429
1425
  "bg-accent [&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground day-range-end rounded-e-md",
1430
1426
  _optionalChain([classNames, 'optionalAccess', _50 => _50.range_end])
1431
1427
  ),
1432
- selected: _chunk2Z56AS2Sjs.cn.call(void 0,
1428
+ selected: _chunkU4NADAHNjs.cn.call(void 0,
1433
1429
  "[&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground",
1434
1430
  _optionalChain([classNames, 'optionalAccess', _51 => _51.selected])
1435
1431
  ),
1436
- today: _chunk2Z56AS2Sjs.cn.call(void 0, "[&>button]:bg-accent [&>button]:text-accent-foreground", _optionalChain([classNames, 'optionalAccess', _52 => _52.today])),
1437
- outside: _chunk2Z56AS2Sjs.cn.call(void 0,
1432
+ today: _chunkU4NADAHNjs.cn.call(void 0, "[&>button]:bg-accent [&>button]:text-accent-foreground", _optionalChain([classNames, 'optionalAccess', _52 => _52.today])),
1433
+ outside: _chunkU4NADAHNjs.cn.call(void 0,
1438
1434
  "day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",
1439
1435
  _optionalChain([classNames, 'optionalAccess', _53 => _53.outside])
1440
1436
  ),
1441
- disabled: _chunk2Z56AS2Sjs.cn.call(void 0, "text-muted-foreground opacity-50", _optionalChain([classNames, 'optionalAccess', _54 => _54.disabled])),
1442
- hidden: _chunk2Z56AS2Sjs.cn.call(void 0, "invisible flex-1", _optionalChain([classNames, 'optionalAccess', _55 => _55.hidden])),
1437
+ disabled: _chunkU4NADAHNjs.cn.call(void 0, "text-muted-foreground opacity-50", _optionalChain([classNames, 'optionalAccess', _54 => _54.disabled])),
1438
+ hidden: _chunkU4NADAHNjs.cn.call(void 0, "invisible flex-1", _optionalChain([classNames, 'optionalAccess', _55 => _55.hidden])),
1443
1439
  ...classNames
1444
1440
  },
1445
1441
  ...props
@@ -1452,26 +1448,26 @@ Calendar.displayName = "Calendar";
1452
1448
  // src/shadcnui/ui/card.tsx
1453
1449
 
1454
1450
 
1455
- var Card = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "rounded-xl border bg-card text-card-foreground shadow", className), ...props }));
1451
+ var Card = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "rounded-xl border bg-card text-card-foreground shadow", className), ...props }));
1456
1452
  Card.displayName = "Card";
1457
1453
  var CardHeader = React7.forwardRef(
1458
- ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-col space-y-1.5 p-6", className), ...props })
1454
+ ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-col space-y-1.5 p-6", className), ...props })
1459
1455
  );
1460
1456
  CardHeader.displayName = "CardHeader";
1461
1457
  var CardTitle = React7.forwardRef(
1462
- ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "font-semibold leading-none tracking-tight", className), ...props })
1458
+ ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "font-semibold leading-none tracking-tight", className), ...props })
1463
1459
  );
1464
1460
  CardTitle.displayName = "CardTitle";
1465
1461
  var CardDescription = React7.forwardRef(
1466
- ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-sm text-muted-foreground", className), ...props })
1462
+ ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "text-sm text-muted-foreground", className), ...props })
1467
1463
  );
1468
1464
  CardDescription.displayName = "CardDescription";
1469
1465
  var CardContent = React7.forwardRef(
1470
- ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "p-6 pt-0", className), ...props })
1466
+ ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "p-6 pt-0", className), ...props })
1471
1467
  );
1472
1468
  CardContent.displayName = "CardContent";
1473
1469
  var CardFooter = React7.forwardRef(
1474
- ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex items-center p-6 pt-0", className), ...props })
1470
+ ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "flex items-center p-6 pt-0", className), ...props })
1475
1471
  );
1476
1472
  CardFooter.displayName = "CardFooter";
1477
1473
 
@@ -1560,7 +1556,7 @@ var Carousel = React8.forwardRef(
1560
1556
  {
1561
1557
  ref,
1562
1558
  onKeyDownCapture: handleKeyDown,
1563
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "relative", className),
1559
+ className: _chunkU4NADAHNjs.cn.call(void 0, "relative", className),
1564
1560
  role: "region",
1565
1561
  "aria-roledescription": "carousel",
1566
1562
  ...props,
@@ -1579,7 +1575,7 @@ var CarouselContent = React8.forwardRef(
1579
1575
  "div",
1580
1576
  {
1581
1577
  ref,
1582
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className),
1578
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className),
1583
1579
  ...props
1584
1580
  }
1585
1581
  ) });
@@ -1595,7 +1591,7 @@ var CarouselItem = React8.forwardRef(
1595
1591
  ref,
1596
1592
  role: "group",
1597
1593
  "aria-roledescription": "slide",
1598
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className),
1594
+ className: _chunkU4NADAHNjs.cn.call(void 0, "min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className),
1599
1595
  ...props
1600
1596
  }
1601
1597
  );
@@ -1611,7 +1607,7 @@ var CarouselPrevious = React8.forwardRef(
1611
1607
  ref,
1612
1608
  variant,
1613
1609
  size,
1614
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1610
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1615
1611
  "absolute h-8 w-8 rounded-full",
1616
1612
  orientation === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
1617
1613
  className
@@ -1637,7 +1633,7 @@ var CarouselNext = React8.forwardRef(
1637
1633
  ref,
1638
1634
  variant,
1639
1635
  size,
1640
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1636
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1641
1637
  "absolute h-8 w-8 rounded-full",
1642
1638
  orientation === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
1643
1639
  className
@@ -1683,7 +1679,7 @@ function ChartContainer({
1683
1679
  {
1684
1680
  "data-slot": "chart",
1685
1681
  "data-chart": chartId,
1686
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1682
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1687
1683
  "[&_.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",
1688
1684
  className
1689
1685
  ),
@@ -1748,12 +1744,12 @@ function ChartTooltipContent({
1748
1744
  return typeof v === "string" || typeof v === "number" ? v : void 0;
1749
1745
  })();
1750
1746
  if (labelFormatter) {
1751
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
1747
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
1752
1748
  }
1753
1749
  if (!value) {
1754
1750
  return null;
1755
1751
  }
1756
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "font-medium", labelClassName), children: value });
1752
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "font-medium", labelClassName), children: value });
1757
1753
  }, [label, labelFormatter, payload, hideLabel, labelClassName, config, labelKey]);
1758
1754
  if (!active || !_optionalChain([payload, 'optionalAccess', _71 => _71.length])) {
1759
1755
  return null;
@@ -1762,7 +1758,7 @@ function ChartTooltipContent({
1762
1758
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1763
1759
  "div",
1764
1760
  {
1765
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1761
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1766
1762
  "border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",
1767
1763
  className
1768
1764
  ),
@@ -1775,7 +1771,7 @@ function ChartTooltipContent({
1775
1771
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1776
1772
  "div",
1777
1773
  {
1778
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1774
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1779
1775
  "[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
1780
1776
  indicator === "dot" && "items-center"
1781
1777
  ),
@@ -1783,7 +1779,7 @@ function ChartTooltipContent({
1783
1779
  _optionalChain([itemConfig, 'optionalAccess', _73 => _73.icon]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1784
1780
  "div",
1785
1781
  {
1786
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "shrink-0 rounded-[2px] border-[var(--color-border)] bg-[var(--color-bg)]", {
1782
+ className: _chunkU4NADAHNjs.cn.call(void 0, "shrink-0 rounded-[2px] border-[var(--color-border)] bg-[var(--color-bg)]", {
1787
1783
  "h-2.5 w-2.5": indicator === "dot",
1788
1784
  "w-1": indicator === "line",
1789
1785
  "w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
@@ -1798,7 +1794,7 @@ function ChartTooltipContent({
1798
1794
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1799
1795
  "div",
1800
1796
  {
1801
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-1 justify-between leading-none", nestLabel ? "items-end" : "items-center"),
1797
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-1 justify-between leading-none", nestLabel ? "items-end" : "items-center"),
1802
1798
  children: [
1803
1799
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-1.5", children: [
1804
1800
  nestLabel ? tooltipLabel : null,
@@ -1830,13 +1826,13 @@ function ChartLegendContent({
1830
1826
  if (!_optionalChain([payload, 'optionalAccess', _75 => _75.length])) {
1831
1827
  return null;
1832
1828
  }
1833
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex items-center justify-center gap-4", verticalAlign === "top" ? "pb-3" : "pt-3", className), children: payload.map((item) => {
1829
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "flex items-center justify-center gap-4", verticalAlign === "top" ? "pb-3" : "pt-3", className), children: payload.map((item) => {
1834
1830
  const key = `${nameKey || item.dataKey || "value"}`;
1835
1831
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
1836
1832
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1837
1833
  "div",
1838
1834
  {
1839
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
1835
+ className: _chunkU4NADAHNjs.cn.call(void 0, "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
1840
1836
  children: [
1841
1837
  _optionalChain([itemConfig, 'optionalAccess', _76 => _76.icon]) && !hideIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, itemConfig.icon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1842
1838
  "div",
@@ -1879,7 +1875,7 @@ var Checkbox = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1879
1875
  CheckboxPrimitive.Root,
1880
1876
  {
1881
1877
  ref,
1882
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1878
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1883
1879
  "peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
1884
1880
  className
1885
1881
  ),
@@ -1887,7 +1883,7 @@ var Checkbox = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1887
1883
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1888
1884
  CheckboxPrimitive.Indicator,
1889
1885
  {
1890
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex items-center justify-center text-current"),
1886
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex items-center justify-center text-current"),
1891
1887
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reacticons.CheckIcon, { className: "h-4 w-4" })
1892
1888
  }
1893
1889
  )
@@ -1919,7 +1915,7 @@ var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__P
1919
1915
  DialogPrimitive.Overlay,
1920
1916
  {
1921
1917
  ref,
1922
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1918
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1923
1919
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
1924
1920
  className
1925
1921
  ),
@@ -1933,7 +1929,7 @@ var DialogContent = React11.forwardRef(({ className, children, ...props }, ref)
1933
1929
  DialogPrimitive.Content,
1934
1930
  {
1935
1931
  ref,
1936
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1932
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1937
1933
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
1938
1934
  className
1939
1935
  ),
@@ -1949,20 +1945,20 @@ var DialogContent = React11.forwardRef(({ className, children, ...props }, ref)
1949
1945
  )
1950
1946
  ] }));
1951
1947
  DialogContent.displayName = DialogPrimitive.Content.displayName;
1952
- var DialogHeader = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-col space-y-1.5 text-center sm:text-left", className), ...props }), "DialogHeader");
1948
+ var DialogHeader = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-col space-y-1.5 text-center sm:text-left", className), ...props }), "DialogHeader");
1953
1949
  DialogHeader.displayName = "DialogHeader";
1954
- var DialogFooter = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props }), "DialogFooter");
1950
+ var DialogFooter = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props }), "DialogFooter");
1955
1951
  DialogFooter.displayName = "DialogFooter";
1956
1952
  var DialogTitle = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1957
1953
  DialogPrimitive.Title,
1958
1954
  {
1959
1955
  ref,
1960
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-lg font-semibold leading-none tracking-tight", className),
1956
+ className: _chunkU4NADAHNjs.cn.call(void 0, "text-lg font-semibold leading-none tracking-tight", className),
1961
1957
  ...props
1962
1958
  }
1963
1959
  ));
1964
1960
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1965
- var DialogDescription = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive.Description, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-sm text-muted-foreground", className), ...props }));
1961
+ var DialogDescription = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive.Description, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "text-sm text-muted-foreground", className), ...props }));
1966
1962
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1967
1963
 
1968
1964
  // src/shadcnui/ui/command.tsx
@@ -1971,7 +1967,7 @@ var Command = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1971
1967
  _cmdk.Command,
1972
1968
  {
1973
1969
  ref,
1974
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1970
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1975
1971
  "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
1976
1972
  className
1977
1973
  ),
@@ -1988,7 +1984,7 @@ var CommandInput = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
1988
1984
  _cmdk.Command.Input,
1989
1985
  {
1990
1986
  ref,
1991
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
1987
+ className: _chunkU4NADAHNjs.cn.call(void 0,
1992
1988
  "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
1993
1989
  className
1994
1990
  ),
@@ -2001,7 +1997,7 @@ var CommandList = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
2001
1997
  _cmdk.Command.List,
2002
1998
  {
2003
1999
  ref,
2004
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "max-h-[300px] overflow-y-auto overflow-x-hidden", className),
2000
+ className: _chunkU4NADAHNjs.cn.call(void 0, "max-h-[300px] overflow-y-auto overflow-x-hidden", className),
2005
2001
  ...props
2006
2002
  }
2007
2003
  ));
@@ -2019,7 +2015,7 @@ var CommandGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
2019
2015
  _cmdk.Command.Group,
2020
2016
  {
2021
2017
  ref,
2022
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2018
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2023
2019
  "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
2024
2020
  className
2025
2021
  ),
@@ -2031,7 +2027,7 @@ var CommandSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @
2031
2027
  _cmdk.Command.Separator,
2032
2028
  {
2033
2029
  ref,
2034
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "-mx-1 h-px bg-border", className),
2030
+ className: _chunkU4NADAHNjs.cn.call(void 0, "-mx-1 h-px bg-border", className),
2035
2031
  ...props
2036
2032
  }
2037
2033
  ));
@@ -2040,7 +2036,7 @@ var CommandItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
2040
2036
  _cmdk.Command.Item,
2041
2037
  {
2042
2038
  ref,
2043
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2039
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2044
2040
  "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
2045
2041
  className
2046
2042
  ),
@@ -2055,7 +2051,7 @@ var CommandShortcut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
2055
2051
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2056
2052
  "span",
2057
2053
  {
2058
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2054
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2059
2055
  "ml-auto text-xs tracking-widest text-muted-foreground",
2060
2056
  className
2061
2057
  ),
@@ -2080,7 +2076,7 @@ var ContextMenuSubTrigger = React13.forwardRef(({ className, inset, children, ..
2080
2076
  ContextMenuPrimitive.SubTrigger,
2081
2077
  {
2082
2078
  ref,
2083
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2079
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2084
2080
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
2085
2081
  inset && "pl-8",
2086
2082
  className
@@ -2097,7 +2093,7 @@ var ContextMenuSubContent = React13.forwardRef(({ className, ...props }, ref) =>
2097
2093
  ContextMenuPrimitive.SubContent,
2098
2094
  {
2099
2095
  ref,
2100
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2096
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2101
2097
  "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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",
2102
2098
  className
2103
2099
  ),
@@ -2109,7 +2105,7 @@ var ContextMenuContent = React13.forwardRef(({ className, ...props }, ref) => /*
2109
2105
  ContextMenuPrimitive.Content,
2110
2106
  {
2111
2107
  ref,
2112
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2108
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2113
2109
  "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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",
2114
2110
  className
2115
2111
  ),
@@ -2121,7 +2117,7 @@ var ContextMenuItem = React13.forwardRef(({ className, inset, ...props }, ref) =
2121
2117
  ContextMenuPrimitive.Item,
2122
2118
  {
2123
2119
  ref,
2124
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2120
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2125
2121
  "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2126
2122
  inset && "pl-8",
2127
2123
  className
@@ -2134,7 +2130,7 @@ var ContextMenuCheckboxItem = React13.forwardRef(({ className, children, checked
2134
2130
  ContextMenuPrimitive.CheckboxItem,
2135
2131
  {
2136
2132
  ref,
2137
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2133
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2138
2134
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2139
2135
  className
2140
2136
  ),
@@ -2151,7 +2147,7 @@ var ContextMenuRadioItem = React13.forwardRef(({ className, children, ...props }
2151
2147
  ContextMenuPrimitive.RadioItem,
2152
2148
  {
2153
2149
  ref,
2154
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2150
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2155
2151
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2156
2152
  className
2157
2153
  ),
@@ -2167,15 +2163,15 @@ var ContextMenuLabel = React13.forwardRef(({ className, inset, ...props }, ref)
2167
2163
  ContextMenuPrimitive.Label,
2168
2164
  {
2169
2165
  ref,
2170
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "px-2 py-1.5 text-sm font-semibold text-foreground", inset && "pl-8", className),
2166
+ className: _chunkU4NADAHNjs.cn.call(void 0, "px-2 py-1.5 text-sm font-semibold text-foreground", inset && "pl-8", className),
2171
2167
  ...props
2172
2168
  }
2173
2169
  ));
2174
2170
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
2175
- var ContextMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuPrimitive.Separator, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "-mx-1 my-1 h-px bg-border", className), ...props }));
2171
+ var ContextMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuPrimitive.Separator, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "-mx-1 my-1 h-px bg-border", className), ...props }));
2176
2172
  ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
2177
2173
  var ContextMenuShortcut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => {
2178
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
2174
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkU4NADAHNjs.cn.call(void 0, "ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
2179
2175
  }, "ContextMenuShortcut");
2180
2176
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
2181
2177
 
@@ -2188,7 +2184,7 @@ Drawer.displayName = "Drawer";
2188
2184
  var DrawerTrigger = _vaul.Drawer.Trigger;
2189
2185
  var DrawerPortal = _vaul.Drawer.Portal;
2190
2186
  var DrawerClose = _vaul.Drawer.Close;
2191
- var DrawerOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Overlay, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "fixed inset-0 z-50 bg-black/80", className), ...props }));
2187
+ var DrawerOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Overlay, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "fixed inset-0 z-50 bg-black/80", className), ...props }));
2192
2188
  DrawerOverlay.displayName = _vaul.Drawer.Overlay.displayName;
2193
2189
  var DrawerContent = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DrawerPortal, { children: [
2194
2190
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOverlay, {}),
@@ -2196,7 +2192,7 @@ var DrawerContent = React14.forwardRef(({ className, children, ...props }, ref)
2196
2192
  _vaul.Drawer.Content,
2197
2193
  {
2198
2194
  ref,
2199
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2195
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2200
2196
  "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
2201
2197
  className
2202
2198
  ),
@@ -2209,20 +2205,20 @@ var DrawerContent = React14.forwardRef(({ className, children, ...props }, ref)
2209
2205
  )
2210
2206
  ] }));
2211
2207
  DrawerContent.displayName = "DrawerContent";
2212
- var DrawerHeader = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "grid gap-1.5 p-4 text-center sm:text-left", className), ...props }), "DrawerHeader");
2208
+ var DrawerHeader = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "grid gap-1.5 p-4 text-center sm:text-left", className), ...props }), "DrawerHeader");
2213
2209
  DrawerHeader.displayName = "DrawerHeader";
2214
- var DrawerFooter = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "mt-auto flex flex-col gap-2 p-4", className), ...props }), "DrawerFooter");
2210
+ var DrawerFooter = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "mt-auto flex flex-col gap-2 p-4", className), ...props }), "DrawerFooter");
2215
2211
  DrawerFooter.displayName = "DrawerFooter";
2216
2212
  var DrawerTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2217
2213
  _vaul.Drawer.Title,
2218
2214
  {
2219
2215
  ref,
2220
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-lg font-semibold leading-none tracking-tight", className),
2216
+ className: _chunkU4NADAHNjs.cn.call(void 0, "text-lg font-semibold leading-none tracking-tight", className),
2221
2217
  ...props
2222
2218
  }
2223
2219
  ));
2224
2220
  DrawerTitle.displayName = _vaul.Drawer.Title.displayName;
2225
- var DrawerDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Description, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-sm text-muted-foreground", className), ...props }));
2221
+ var DrawerDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _vaul.Drawer.Description, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "text-sm text-muted-foreground", className), ...props }));
2226
2222
  DrawerDescription.displayName = _vaul.Drawer.Description.displayName;
2227
2223
 
2228
2224
  // src/shadcnui/ui/dropdown-menu.tsx
@@ -2244,7 +2240,7 @@ var DropdownMenuSubTrigger = React15.forwardRef(({ className, inset, children, .
2244
2240
  DropdownMenuPrimitive.SubTrigger,
2245
2241
  {
2246
2242
  ref,
2247
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2243
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2248
2244
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
2249
2245
  inset && "pl-8",
2250
2246
  className
@@ -2261,7 +2257,7 @@ var DropdownMenuSubContent = React15.forwardRef(({ className, ...props }, ref) =
2261
2257
  DropdownMenuPrimitive.SubContent,
2262
2258
  {
2263
2259
  ref,
2264
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2260
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2265
2261
  "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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",
2266
2262
  className
2267
2263
  ),
@@ -2274,7 +2270,7 @@ var DropdownMenuContent = React15.forwardRef(({ className, sideOffset = 4, ...pr
2274
2270
  {
2275
2271
  ref,
2276
2272
  sideOffset,
2277
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2273
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2278
2274
  "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
2279
2275
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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",
2280
2276
  className
@@ -2287,7 +2283,7 @@ var DropdownMenuItem = React15.forwardRef(({ className, inset, ...props }, ref)
2287
2283
  DropdownMenuPrimitive.Item,
2288
2284
  {
2289
2285
  ref,
2290
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2286
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2291
2287
  "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
2292
2288
  inset && "pl-8",
2293
2289
  className
@@ -2300,7 +2296,7 @@ var DropdownMenuCheckboxItem = React15.forwardRef(({ className, children, checke
2300
2296
  DropdownMenuPrimitive.CheckboxItem,
2301
2297
  {
2302
2298
  ref,
2303
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2299
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2304
2300
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2305
2301
  className
2306
2302
  ),
@@ -2317,7 +2313,7 @@ var DropdownMenuRadioItem = React15.forwardRef(({ className, children, ...props
2317
2313
  DropdownMenuPrimitive.RadioItem,
2318
2314
  {
2319
2315
  ref,
2320
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2316
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2321
2317
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2322
2318
  className
2323
2319
  ),
@@ -2333,7 +2329,7 @@ var DropdownMenuLabel = React15.forwardRef(({ className, inset, ...props }, ref)
2333
2329
  DropdownMenuPrimitive.Label,
2334
2330
  {
2335
2331
  ref,
2336
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2332
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2337
2333
  "px-2 py-1.5 text-sm font-semibold",
2338
2334
  inset && "pl-8",
2339
2335
  className
@@ -2346,7 +2342,7 @@ var DropdownMenuSeparator = React15.forwardRef(({ className, ...props }, ref) =>
2346
2342
  DropdownMenuPrimitive.Separator,
2347
2343
  {
2348
2344
  ref,
2349
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "-mx-1 my-1 h-px bg-muted", className),
2345
+ className: _chunkU4NADAHNjs.cn.call(void 0, "-mx-1 my-1 h-px bg-muted", className),
2350
2346
  ...props
2351
2347
  }
2352
2348
  ));
@@ -2358,7 +2354,7 @@ var DropdownMenuShortcut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
2358
2354
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2359
2355
  "span",
2360
2356
  {
2361
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "ml-auto text-xs tracking-widest opacity-60", className),
2357
+ className: _chunkU4NADAHNjs.cn.call(void 0, "ml-auto text-xs tracking-widest opacity-60", className),
2362
2358
  ...props
2363
2359
  }
2364
2360
  );
@@ -2382,7 +2378,7 @@ var Label3 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2382
2378
  LabelPrimitive.Root,
2383
2379
  {
2384
2380
  ref,
2385
- className: _chunk2Z56AS2Sjs.cn.call(void 0, labelVariants(), className),
2381
+ className: _chunkU4NADAHNjs.cn.call(void 0, labelVariants(), className),
2386
2382
  ...props
2387
2383
  }
2388
2384
  ));
@@ -2419,13 +2415,13 @@ var FormItemContext = React17.createContext({});
2419
2415
  var FormItem = React17.forwardRef(
2420
2416
  ({ className, ...props }, ref) => {
2421
2417
  const id = React17.useId();
2422
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "space-y-2", className), ...props }) });
2418
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "space-y-2", className), ...props }) });
2423
2419
  }
2424
2420
  );
2425
2421
  FormItem.displayName = "FormItem";
2426
2422
  var FormLabel = React17.forwardRef(({ className, ...props }, ref) => {
2427
2423
  const { error, formItemId } = useFormField();
2428
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label3, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, error && "text-destructive", className), htmlFor: formItemId, ...props });
2424
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label3, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, error && "text-destructive", className), htmlFor: formItemId, ...props });
2429
2425
  });
2430
2426
  FormLabel.displayName = "FormLabel";
2431
2427
  var FormControl = React17.forwardRef(
@@ -2447,7 +2443,7 @@ FormControl.displayName = "FormControl";
2447
2443
  var FormDescription = React17.forwardRef(
2448
2444
  ({ className, ...props }, ref) => {
2449
2445
  const { formDescriptionId } = useFormField();
2450
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { ref, id: formDescriptionId, className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-muted-foreground text-[0.8rem]", className), ...props });
2446
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { ref, id: formDescriptionId, className: _chunkU4NADAHNjs.cn.call(void 0, "text-muted-foreground text-[0.8rem]", className), ...props });
2451
2447
  }
2452
2448
  );
2453
2449
  FormDescription.displayName = "FormDescription";
@@ -2463,7 +2459,7 @@ var FormMessage = React17.forwardRef(
2463
2459
  {
2464
2460
  ref,
2465
2461
  id: formMessageId,
2466
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-destructive text-[0.8rem] font-medium", className),
2462
+ className: _chunkU4NADAHNjs.cn.call(void 0, "text-destructive text-[0.8rem] font-medium", className),
2467
2463
  ...props,
2468
2464
  children: body
2469
2465
  }
@@ -2484,7 +2480,7 @@ var HoverCardContent = React18.forwardRef(({ className, align = "center", sideOf
2484
2480
  ref,
2485
2481
  align,
2486
2482
  sideOffset,
2487
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2483
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2488
2484
  "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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",
2489
2485
  className
2490
2486
  ),
@@ -2501,7 +2497,7 @@ function Input({ className, type, ...props }) {
2501
2497
  {
2502
2498
  type,
2503
2499
  "data-slot": "input",
2504
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2500
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2505
2501
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
2506
2502
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
2507
2503
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -2529,7 +2525,7 @@ function NavigationMenu({
2529
2525
  {
2530
2526
  "data-slot": "navigation-menu",
2531
2527
  "data-viewport": viewport,
2532
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2528
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2533
2529
  "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
2534
2530
  className
2535
2531
  ),
@@ -2550,7 +2546,7 @@ function NavigationMenuList({
2550
2546
  NavigationMenuPrimitive.List,
2551
2547
  {
2552
2548
  "data-slot": "navigation-menu-list",
2553
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2549
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2554
2550
  "group flex flex-1 list-none items-center justify-center gap-1",
2555
2551
  className
2556
2552
  ),
@@ -2567,7 +2563,7 @@ function NavigationMenuItem({
2567
2563
  NavigationMenuPrimitive.Item,
2568
2564
  {
2569
2565
  "data-slot": "navigation-menu-item",
2570
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "relative", className),
2566
+ className: _chunkU4NADAHNjs.cn.call(void 0, "relative", className),
2571
2567
  ...props
2572
2568
  }
2573
2569
  );
@@ -2585,7 +2581,7 @@ function NavigationMenuTrigger({
2585
2581
  NavigationMenuPrimitive.Trigger,
2586
2582
  {
2587
2583
  "data-slot": "navigation-menu-trigger",
2588
- className: _chunk2Z56AS2Sjs.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
2584
+ className: _chunkU4NADAHNjs.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
2589
2585
  ...props,
2590
2586
  children: [
2591
2587
  children,
@@ -2610,7 +2606,7 @@ function NavigationMenuContent({
2610
2606
  NavigationMenuPrimitive.Content,
2611
2607
  {
2612
2608
  "data-slot": "navigation-menu-content",
2613
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2609
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2614
2610
  "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 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
2615
2611
  "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
2616
2612
  className
@@ -2627,14 +2623,14 @@ function NavigationMenuViewport({
2627
2623
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2628
2624
  "div",
2629
2625
  {
2630
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2626
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2631
2627
  "absolute top-full left-0 isolate z-50 flex justify-center"
2632
2628
  ),
2633
2629
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2634
2630
  NavigationMenuPrimitive.Viewport,
2635
2631
  {
2636
2632
  "data-slot": "navigation-menu-viewport",
2637
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2633
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2638
2634
  "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
2639
2635
  className
2640
2636
  ),
@@ -2653,7 +2649,7 @@ function NavigationMenuLink({
2653
2649
  NavigationMenuPrimitive.Link,
2654
2650
  {
2655
2651
  "data-slot": "navigation-menu-link",
2656
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2652
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2657
2653
  "data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
2658
2654
  className
2659
2655
  ),
@@ -2670,7 +2666,7 @@ function NavigationMenuIndicator({
2670
2666
  NavigationMenuPrimitive.Indicator,
2671
2667
  {
2672
2668
  "data-slot": "navigation-menu-indicator",
2673
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2669
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2674
2670
  "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",
2675
2671
  className
2676
2672
  ),
@@ -2694,7 +2690,7 @@ var PopoverContent = React19.forwardRef(({ className, align = "center", sideOffs
2694
2690
  ref,
2695
2691
  align,
2696
2692
  sideOffset,
2697
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2693
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2698
2694
  "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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",
2699
2695
  className
2700
2696
  ),
@@ -2711,7 +2707,7 @@ var Progress = React20.forwardRef(({ className, value, ...props }, ref) => /* @_
2711
2707
  ProgressPrimitive.Root,
2712
2708
  {
2713
2709
  ref,
2714
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "relative h-2 w-full overflow-hidden rounded-full bg-primary/20", className),
2710
+ className: _chunkU4NADAHNjs.cn.call(void 0, "relative h-2 w-full overflow-hidden rounded-full bg-primary/20", className),
2715
2711
  ...props,
2716
2712
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2717
2713
  ProgressPrimitive.Indicator,
@@ -2730,7 +2726,7 @@ var _reactradiogroup = require('@radix-ui/react-radio-group'); var RadioGroupPri
2730
2726
 
2731
2727
 
2732
2728
  var RadioGroup3 = React21.forwardRef(({ className, ...props }, ref) => {
2733
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioGroupPrimitive.Root, { className: _chunk2Z56AS2Sjs.cn.call(void 0, "grid gap-2", className), ...props, ref });
2729
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioGroupPrimitive.Root, { className: _chunkU4NADAHNjs.cn.call(void 0, "grid gap-2", className), ...props, ref });
2734
2730
  });
2735
2731
  RadioGroup3.displayName = RadioGroupPrimitive.Root.displayName;
2736
2732
  var RadioGroupItem = React21.forwardRef(({ className, ...props }, ref) => {
@@ -2738,7 +2734,7 @@ var RadioGroupItem = React21.forwardRef(({ className, ...props }, ref) => {
2738
2734
  RadioGroupPrimitive.Item,
2739
2735
  {
2740
2736
  ref,
2741
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2737
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2742
2738
  "aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
2743
2739
  className
2744
2740
  ),
@@ -2758,7 +2754,7 @@ function ResizablePanelGroup({ className, ...props }) {
2758
2754
  ResizablePrimitive.PanelGroup,
2759
2755
  {
2760
2756
  "data-slot": "resizable-panel-group",
2761
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
2757
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
2762
2758
  ...props
2763
2759
  }
2764
2760
  );
@@ -2777,7 +2773,7 @@ function ResizableHandle({
2777
2773
  ResizablePrimitive.PanelResizeHandle,
2778
2774
  {
2779
2775
  "data-slot": "resizable-handle",
2780
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2776
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2781
2777
  "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",
2782
2778
  className
2783
2779
  ),
@@ -2792,7 +2788,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, ResizableHandle, "ResizableHandle");
2792
2788
  var _reactscrollarea = require('@radix-ui/react-scroll-area'); var ScrollAreaPrimitive = _interopRequireWildcard(_reactscrollarea);
2793
2789
 
2794
2790
 
2795
- var ScrollArea = React22.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ScrollAreaPrimitive.Root, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "relative overflow-hidden", className), ...props, children: [
2791
+ var ScrollArea = React22.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ScrollAreaPrimitive.Root, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "relative overflow-hidden", className), ...props, children: [
2796
2792
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
2797
2793
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScrollBar, {}),
2798
2794
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScrollAreaPrimitive.Corner, {})
@@ -2803,7 +2799,7 @@ var ScrollBar = React22.forwardRef(({ className, orientation = "vertical", ...pr
2803
2799
  {
2804
2800
  ref,
2805
2801
  orientation,
2806
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2802
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2807
2803
  "flex touch-none select-none transition-colors",
2808
2804
  orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
2809
2805
  orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
@@ -2832,7 +2828,7 @@ var SelectTrigger = React23.forwardRef(({ className, children, ...props }, ref)
2832
2828
  SelectPrimitive.Trigger,
2833
2829
  {
2834
2830
  ref,
2835
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2831
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2836
2832
  "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
2837
2833
  className
2838
2834
  ),
@@ -2848,7 +2844,7 @@ var SelectScrollUpButton = React23.forwardRef(({ className, ...props }, ref) =>
2848
2844
  SelectPrimitive.ScrollUpButton,
2849
2845
  {
2850
2846
  ref,
2851
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2847
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2852
2848
  "flex cursor-default items-center justify-center py-1",
2853
2849
  className
2854
2850
  ),
@@ -2861,7 +2857,7 @@ var SelectScrollDownButton = React23.forwardRef(({ className, ...props }, ref) =
2861
2857
  SelectPrimitive.ScrollDownButton,
2862
2858
  {
2863
2859
  ref,
2864
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2860
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2865
2861
  "flex cursor-default items-center justify-center py-1",
2866
2862
  className
2867
2863
  ),
@@ -2874,7 +2870,7 @@ var SelectContent = React23.forwardRef(({ className, children, position = "poppe
2874
2870
  SelectPrimitive.Content,
2875
2871
  {
2876
2872
  ref,
2877
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2873
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2878
2874
  "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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",
2879
2875
  position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
2880
2876
  className
@@ -2886,7 +2882,7 @@ var SelectContent = React23.forwardRef(({ className, children, position = "poppe
2886
2882
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2887
2883
  SelectPrimitive.Viewport,
2888
2884
  {
2889
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2885
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2890
2886
  "p-1",
2891
2887
  position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
2892
2888
  ),
@@ -2902,7 +2898,7 @@ var SelectLabel = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
2902
2898
  SelectPrimitive.Label,
2903
2899
  {
2904
2900
  ref,
2905
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "px-2 py-1.5 text-sm font-semibold", className),
2901
+ className: _chunkU4NADAHNjs.cn.call(void 0, "px-2 py-1.5 text-sm font-semibold", className),
2906
2902
  ...props
2907
2903
  }
2908
2904
  ));
@@ -2911,7 +2907,7 @@ var SelectItem = React23.forwardRef(({ className, children, ...props }, ref) =>
2911
2907
  SelectPrimitive.Item,
2912
2908
  {
2913
2909
  ref,
2914
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2910
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2915
2911
  "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2916
2912
  className
2917
2913
  ),
@@ -2927,7 +2923,7 @@ var SelectSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @_
2927
2923
  SelectPrimitive.Separator,
2928
2924
  {
2929
2925
  ref,
2930
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "-mx-1 my-1 h-px bg-muted", className),
2926
+ className: _chunkU4NADAHNjs.cn.call(void 0, "-mx-1 my-1 h-px bg-muted", className),
2931
2927
  ...props
2932
2928
  }
2933
2929
  ));
@@ -2948,7 +2944,7 @@ function Separator4({
2948
2944
  "data-slot": "separator",
2949
2945
  decorative,
2950
2946
  orientation,
2951
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2947
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2952
2948
  "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
2953
2949
  className
2954
2950
  ),
@@ -2992,7 +2988,7 @@ function SheetOverlay({
2992
2988
  SheetPrimitive.Overlay,
2993
2989
  {
2994
2990
  "data-slot": "sheet-overlay",
2995
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
2991
+ className: _chunkU4NADAHNjs.cn.call(void 0,
2996
2992
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
2997
2993
  className
2998
2994
  ),
@@ -3013,7 +3009,7 @@ function SheetContent({
3013
3009
  SheetPrimitive.Content,
3014
3010
  {
3015
3011
  "data-slot": "sheet-content",
3016
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3012
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3017
3013
  "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
3018
3014
  side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
3019
3015
  side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
@@ -3039,7 +3035,7 @@ function SheetHeader({ className, ...props }) {
3039
3035
  "div",
3040
3036
  {
3041
3037
  "data-slot": "sheet-header",
3042
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-col gap-1.5 p-4", className),
3038
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-col gap-1.5 p-4", className),
3043
3039
  ...props
3044
3040
  }
3045
3041
  );
@@ -3050,7 +3046,7 @@ function SheetFooter({ className, ...props }) {
3050
3046
  "div",
3051
3047
  {
3052
3048
  "data-slot": "sheet-footer",
3053
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "mt-auto flex flex-col gap-2 p-4", className),
3049
+ className: _chunkU4NADAHNjs.cn.call(void 0, "mt-auto flex flex-col gap-2 p-4", className),
3054
3050
  ...props
3055
3051
  }
3056
3052
  );
@@ -3064,7 +3060,7 @@ function SheetTitle({
3064
3060
  SheetPrimitive.Title,
3065
3061
  {
3066
3062
  "data-slot": "sheet-title",
3067
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-foreground font-semibold", className),
3063
+ className: _chunkU4NADAHNjs.cn.call(void 0, "text-foreground font-semibold", className),
3068
3064
  ...props
3069
3065
  }
3070
3066
  );
@@ -3078,7 +3074,7 @@ function SheetDescription({
3078
3074
  SheetPrimitive.Description,
3079
3075
  {
3080
3076
  "data-slot": "sheet-description",
3081
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "text-muted-foreground text-sm", className),
3077
+ className: _chunkU4NADAHNjs.cn.call(void 0, "text-muted-foreground text-sm", className),
3082
3078
  ...props
3083
3079
  }
3084
3080
  );
@@ -3098,7 +3094,7 @@ function Skeleton({ className, ...props }) {
3098
3094
  "div",
3099
3095
  {
3100
3096
  "data-slot": "skeleton",
3101
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "bg-accent animate-pulse rounded-md", className),
3097
+ className: _chunkU4NADAHNjs.cn.call(void 0, "bg-accent animate-pulse rounded-md", className),
3102
3098
  ...props
3103
3099
  }
3104
3100
  );
@@ -3145,7 +3141,7 @@ function TooltipContent({
3145
3141
  {
3146
3142
  "data-slot": "tooltip-content",
3147
3143
  sideOffset,
3148
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3144
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3149
3145
  "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
3150
3146
  className
3151
3147
  ),
@@ -3185,7 +3181,7 @@ function SidebarProvider({
3185
3181
  children,
3186
3182
  ...props
3187
3183
  }) {
3188
- const isMobile = _chunk2Z56AS2Sjs.useIsMobile.call(void 0, );
3184
+ const isMobile = _chunkU4NADAHNjs.useIsMobile.call(void 0, );
3189
3185
  const [openMobile, setOpenMobile] = React24.useState(false);
3190
3186
  const [_open, _setOpen] = React24.useState(defaultOpen);
3191
3187
  const open = _nullishCoalesce(openProp, () => ( _open));
@@ -3236,7 +3232,7 @@ function SidebarProvider({
3236
3232
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
3237
3233
  ...style
3238
3234
  },
3239
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", className),
3235
+ className: _chunkU4NADAHNjs.cn.call(void 0, "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", className),
3240
3236
  ...props,
3241
3237
  children
3242
3238
  }
@@ -3257,7 +3253,7 @@ function Sidebar({
3257
3253
  "div",
3258
3254
  {
3259
3255
  "data-slot": "sidebar",
3260
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", className),
3256
+ className: _chunkU4NADAHNjs.cn.call(void 0, "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", className),
3261
3257
  ...props,
3262
3258
  children
3263
3259
  }
@@ -3299,7 +3295,7 @@ function Sidebar({
3299
3295
  "div",
3300
3296
  {
3301
3297
  "data-slot": "sidebar-gap",
3302
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3298
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3303
3299
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
3304
3300
  "group-data-[collapsible=offcanvas]:w-0",
3305
3301
  "group-data-[side=right]:rotate-180",
@@ -3311,7 +3307,7 @@ function Sidebar({
3311
3307
  "div",
3312
3308
  {
3313
3309
  "data-slot": "sidebar-container",
3314
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3310
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3315
3311
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
3316
3312
  side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
3317
3313
  // Adjust the padding for floating and inset variants.
@@ -3344,7 +3340,7 @@ function SidebarTrigger({ className, onClick, ...props }) {
3344
3340
  "data-slot": "sidebar-trigger",
3345
3341
  variant: "ghost",
3346
3342
  size: "icon",
3347
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "size-7", className),
3343
+ className: _chunkU4NADAHNjs.cn.call(void 0, "size-7", className),
3348
3344
  onClick: (event) => {
3349
3345
  _optionalChain([onClick, 'optionalCall', _79 => _79(event)]);
3350
3346
  toggleSidebar();
@@ -3369,7 +3365,7 @@ function SidebarRail({ className, ...props }) {
3369
3365
  tabIndex: -1,
3370
3366
  onClick: toggleSidebar,
3371
3367
  title: "Toggle Sidebar",
3372
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3368
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3373
3369
  "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",
3374
3370
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
3375
3371
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -3388,7 +3384,7 @@ function SidebarInset({ className, ...props }) {
3388
3384
  "main",
3389
3385
  {
3390
3386
  "data-slot": "sidebar-inset",
3391
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3387
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3392
3388
  "bg-background relative flex w-full flex-1 flex-col",
3393
3389
  "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",
3394
3390
  className
@@ -3404,7 +3400,7 @@ function SidebarInput({ className, ...props }) {
3404
3400
  {
3405
3401
  "data-slot": "sidebar-input",
3406
3402
  "data-sidebar": "input",
3407
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "bg-background h-8 w-full shadow-none", className),
3403
+ className: _chunkU4NADAHNjs.cn.call(void 0, "bg-background h-8 w-full shadow-none", className),
3408
3404
  ...props
3409
3405
  }
3410
3406
  );
@@ -3416,7 +3412,7 @@ function SidebarHeader({ className, ...props }) {
3416
3412
  {
3417
3413
  "data-slot": "sidebar-header",
3418
3414
  "data-sidebar": "header",
3419
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-col gap-2 p-2", className),
3415
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-col gap-2 p-2", className),
3420
3416
  ...props
3421
3417
  }
3422
3418
  );
@@ -3428,7 +3424,7 @@ function SidebarFooter({ className, ...props }) {
3428
3424
  {
3429
3425
  "data-slot": "sidebar-footer",
3430
3426
  "data-sidebar": "footer",
3431
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex flex-col gap-2 p-2", className),
3427
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex flex-col gap-2 p-2", className),
3432
3428
  ...props
3433
3429
  }
3434
3430
  );
@@ -3440,7 +3436,7 @@ function SidebarSeparator({ className, ...props }) {
3440
3436
  {
3441
3437
  "data-slot": "sidebar-separator",
3442
3438
  "data-sidebar": "separator",
3443
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
3439
+ className: _chunkU4NADAHNjs.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
3444
3440
  ...props
3445
3441
  }
3446
3442
  );
@@ -3452,7 +3448,7 @@ function SidebarContent({ className, ...props }) {
3452
3448
  {
3453
3449
  "data-slot": "sidebar-content",
3454
3450
  "data-sidebar": "content",
3455
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3451
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3456
3452
  "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
3457
3453
  className
3458
3454
  ),
@@ -3467,7 +3463,7 @@ function SidebarGroup({ className, ...props }) {
3467
3463
  {
3468
3464
  "data-slot": "sidebar-group",
3469
3465
  "data-sidebar": "group",
3470
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "relative flex w-full min-w-0 flex-col p-2", className),
3466
+ className: _chunkU4NADAHNjs.cn.call(void 0, "relative flex w-full min-w-0 flex-col p-2", className),
3471
3467
  ...props
3472
3468
  }
3473
3469
  );
@@ -3484,7 +3480,7 @@ function SidebarGroupLabel({
3484
3480
  {
3485
3481
  "data-slot": "sidebar-group-label",
3486
3482
  "data-sidebar": "group-label",
3487
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3483
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3488
3484
  "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3489
3485
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
3490
3486
  className
@@ -3505,7 +3501,7 @@ function SidebarGroupAction({
3505
3501
  {
3506
3502
  "data-slot": "sidebar-group-action",
3507
3503
  "data-sidebar": "group-action",
3508
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3504
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3509
3505
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3510
3506
  // Increases the hit area of the button on mobile.
3511
3507
  "after:absolute after:-inset-2 md:after:hidden",
@@ -3523,7 +3519,7 @@ function SidebarGroupContent({ className, ...props }) {
3523
3519
  {
3524
3520
  "data-slot": "sidebar-group-content",
3525
3521
  "data-sidebar": "group-content",
3526
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "w-full text-sm", className),
3522
+ className: _chunkU4NADAHNjs.cn.call(void 0, "w-full text-sm", className),
3527
3523
  ...props
3528
3524
  }
3529
3525
  );
@@ -3535,7 +3531,7 @@ function SidebarMenu({ className, ...props }) {
3535
3531
  {
3536
3532
  "data-slot": "sidebar-menu",
3537
3533
  "data-sidebar": "menu",
3538
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-1", className),
3534
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-1", className),
3539
3535
  ...props
3540
3536
  }
3541
3537
  );
@@ -3547,7 +3543,7 @@ function SidebarMenuItem({ className, ...props }) {
3547
3543
  {
3548
3544
  "data-slot": "sidebar-menu-item",
3549
3545
  "data-sidebar": "menu-item",
3550
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "group/menu-item relative", className),
3546
+ className: _chunkU4NADAHNjs.cn.call(void 0, "group/menu-item relative", className),
3551
3547
  ...props
3552
3548
  }
3553
3549
  );
@@ -3591,7 +3587,7 @@ function SidebarMenuButton({
3591
3587
  "data-sidebar": "menu-button",
3592
3588
  "data-size": size,
3593
3589
  "data-active": isActive,
3594
- className: _chunk2Z56AS2Sjs.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className),
3590
+ className: _chunkU4NADAHNjs.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className),
3595
3591
  ...props
3596
3592
  }
3597
3593
  );
@@ -3621,7 +3617,7 @@ function SidebarMenuAction({
3621
3617
  {
3622
3618
  "data-slot": "sidebar-menu-action",
3623
3619
  "data-sidebar": "menu-action",
3624
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3620
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3625
3621
  "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 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3626
3622
  // Increases the hit area of the button on mobile.
3627
3623
  "after:absolute after:-inset-2 md:after:hidden",
@@ -3643,7 +3639,7 @@ function SidebarMenuBadge({ className, ...props }) {
3643
3639
  {
3644
3640
  "data-slot": "sidebar-menu-badge",
3645
3641
  "data-sidebar": "menu-badge",
3646
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3642
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3647
3643
  "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
3648
3644
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
3649
3645
  "peer-data-[size=sm]/menu-button:top-1",
@@ -3670,7 +3666,7 @@ function SidebarMenuSkeleton({
3670
3666
  {
3671
3667
  "data-slot": "sidebar-menu-skeleton",
3672
3668
  "data-sidebar": "menu-skeleton",
3673
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "flex h-8 items-center gap-2 rounded-md px-2", className),
3669
+ className: _chunkU4NADAHNjs.cn.call(void 0, "flex h-8 items-center gap-2 rounded-md px-2", className),
3674
3670
  ...props,
3675
3671
  children: [
3676
3672
  showIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
@@ -3695,7 +3691,7 @@ function SidebarMenuSub({ className, ...props }) {
3695
3691
  {
3696
3692
  "data-slot": "sidebar-menu-sub",
3697
3693
  "data-sidebar": "menu-sub",
3698
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3694
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3699
3695
  "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
3700
3696
  "group-data-[collapsible=icon]:hidden",
3701
3697
  className
@@ -3711,7 +3707,7 @@ function SidebarMenuSubItem({ className, ...props }) {
3711
3707
  {
3712
3708
  "data-slot": "sidebar-menu-sub-item",
3713
3709
  "data-sidebar": "menu-sub-item",
3714
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "group/menu-sub-item relative", className),
3710
+ className: _chunkU4NADAHNjs.cn.call(void 0, "group/menu-sub-item relative", className),
3715
3711
  ...props
3716
3712
  }
3717
3713
  );
@@ -3732,7 +3728,7 @@ function SidebarMenuSubButton({
3732
3728
  "data-sidebar": "menu-sub-button",
3733
3729
  "data-size": size,
3734
3730
  "data-active": isActive,
3735
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3731
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3736
3732
  "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 flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
3737
3733
  "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
3738
3734
  size === "sm" && "text-xs",
@@ -3754,7 +3750,7 @@ var Slider = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
3754
3750
  SliderPrimitive.Root,
3755
3751
  {
3756
3752
  ref,
3757
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "relative flex w-full touch-none select-none items-center", className),
3753
+ className: _chunkU4NADAHNjs.cn.call(void 0, "relative flex w-full touch-none select-none items-center", className),
3758
3754
  ...props,
3759
3755
  children: [
3760
3756
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SliderPrimitive.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
@@ -3792,7 +3788,7 @@ var _reactswitch = require('@radix-ui/react-switch'); var SwitchPrimitives = _in
3792
3788
  var Switch = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3793
3789
  SwitchPrimitives.Root,
3794
3790
  {
3795
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3791
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3796
3792
  "bg-accent focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-accent peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
3797
3793
  className
3798
3794
  ),
@@ -3801,7 +3797,7 @@ var Switch = React26.forwardRef(({ className, children, ...props }, ref) => /* @
3801
3797
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3802
3798
  SwitchPrimitives.Thumb,
3803
3799
  {
3804
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3800
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3805
3801
  "text-title pointer-events-none block flex h-5 w-5 items-center justify-center rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
3806
3802
  ),
3807
3803
  children
@@ -3818,18 +3814,18 @@ var Table = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
3818
3814
  "table",
3819
3815
  {
3820
3816
  ref,
3821
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "w-full caption-bottom text-sm", className),
3817
+ className: _chunkU4NADAHNjs.cn.call(void 0, "w-full caption-bottom text-sm", className),
3822
3818
  ...props
3823
3819
  }
3824
3820
  ) }));
3825
3821
  Table.displayName = "Table";
3826
- var TableHeader = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, "[&_tr]:border-b", className), ...props }));
3822
+ var TableHeader = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { ref, className: _chunkU4NADAHNjs.cn.call(void 0, "[&_tr]:border-b", className), ...props }));
3827
3823
  TableHeader.displayName = "TableHeader";
3828
3824
  var TableBody = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3829
3825
  "tbody",
3830
3826
  {
3831
3827
  ref,
3832
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "[&_tr:last-child]:border-0", className),
3828
+ className: _chunkU4NADAHNjs.cn.call(void 0, "[&_tr:last-child]:border-0", className),
3833
3829
  ...props
3834
3830
  }
3835
3831
  ));
@@ -3838,7 +3834,7 @@ var TableFooter = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
3838
3834
  "tfoot",
3839
3835
  {
3840
3836
  ref,
3841
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3837
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3842
3838
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
3843
3839
  className
3844
3840
  ),
@@ -3850,7 +3846,7 @@ var TableRow = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3850
3846
  "tr",
3851
3847
  {
3852
3848
  ref,
3853
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3849
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3854
3850
  "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
3855
3851
  className
3856
3852
  ),
@@ -3862,7 +3858,7 @@ var TableHead = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3862
3858
  "th",
3863
3859
  {
3864
3860
  ref,
3865
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3861
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3866
3862
  "h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
3867
3863
  className
3868
3864
  ),
@@ -3874,7 +3870,7 @@ var TableCell = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3874
3870
  "td",
3875
3871
  {
3876
3872
  ref,
3877
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3873
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3878
3874
  "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
3879
3875
  className
3880
3876
  ),
@@ -3886,7 +3882,7 @@ var TableCaption = React27.forwardRef(({ className, ...props }, ref) => /* @__PU
3886
3882
  "caption",
3887
3883
  {
3888
3884
  ref,
3889
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "mt-4 text-sm text-muted-foreground", className),
3885
+ className: _chunkU4NADAHNjs.cn.call(void 0, "mt-4 text-sm text-muted-foreground", className),
3890
3886
  ...props
3891
3887
  }
3892
3888
  ));
@@ -3901,7 +3897,7 @@ var TabsList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3901
3897
  TabsPrimitive.List,
3902
3898
  {
3903
3899
  ref,
3904
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3900
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3905
3901
  "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
3906
3902
  className
3907
3903
  ),
@@ -3913,7 +3909,7 @@ var TabsTrigger = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
3913
3909
  TabsPrimitive.Trigger,
3914
3910
  {
3915
3911
  ref,
3916
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3912
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3917
3913
  "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
3918
3914
  className
3919
3915
  ),
@@ -3925,7 +3921,7 @@ var TabsContent = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
3925
3921
  TabsPrimitive.Content,
3926
3922
  {
3927
3923
  ref,
3928
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3924
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3929
3925
  "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
3930
3926
  className
3931
3927
  ),
@@ -3942,7 +3938,7 @@ var Textarea = React29.forwardRef(
3942
3938
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3943
3939
  "textarea",
3944
3940
  {
3945
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
3941
+ className: _chunkU4NADAHNjs.cn.call(void 0,
3946
3942
  "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
3947
3943
  className
3948
3944
  ),
@@ -3979,7 +3975,7 @@ var toggleVariants = _classvarianceauthority.cva.call(void 0,
3979
3975
  }
3980
3976
  }
3981
3977
  );
3982
- var Toggle = React30.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TogglePrimitive.Root, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, toggleVariants({ variant, size, className })), ...props }));
3978
+ var Toggle = React30.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TogglePrimitive.Root, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, toggleVariants({ variant, size, className })), ...props }));
3983
3979
  Toggle.displayName = TogglePrimitive.Root.displayName;
3984
3980
 
3985
3981
  // src/shadcnui/custom/kanban.tsx
@@ -4444,7 +4440,7 @@ var KanbanBoard = React31.forwardRef((props, forwardedRef) => {
4444
4440
  "data-slot": "kanban-board",
4445
4441
  ...boardProps,
4446
4442
  ref: forwardedRef,
4447
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4443
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4448
4444
  "flex size-full gap-4",
4449
4445
  context.orientation === "horizontal" ? "flex-row" : "flex-col",
4450
4446
  className
@@ -4483,7 +4479,7 @@ var KanbanColumn = React31.forwardRef((props, forwardedRef) => {
4483
4479
  disabled,
4484
4480
  animateLayoutChanges
4485
4481
  });
4486
- const composedRef = _chunk2Z56AS2Sjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4482
+ const composedRef = _chunkU4NADAHNjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4487
4483
  if (disabled) return;
4488
4484
  setNodeRef(node);
4489
4485
  });
@@ -4527,7 +4523,7 @@ var KanbanColumn = React31.forwardRef((props, forwardedRef) => {
4527
4523
  ...asHandle && !disabled ? listeners : {},
4528
4524
  ref: composedRef,
4529
4525
  style: composedStyle,
4530
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4526
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4531
4527
  "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",
4532
4528
  {
4533
4529
  "touch-none select-none": asHandle,
@@ -4550,7 +4546,7 @@ var KanbanColumnHandle = React31.forwardRef((props, forwardedRef) => {
4550
4546
  const context = useKanbanContext(COLUMN_NAME);
4551
4547
  const columnContext = useKanbanColumnContext(COLUMN_HANDLE_NAME);
4552
4548
  const isDisabled = _nullishCoalesce(disabled, () => ( columnContext.disabled));
4553
- const composedRef = _chunk2Z56AS2Sjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4549
+ const composedRef = _chunkU4NADAHNjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4554
4550
  if (isDisabled) return;
4555
4551
  columnContext.setActivatorNodeRef(node);
4556
4552
  });
@@ -4567,7 +4563,7 @@ var KanbanColumnHandle = React31.forwardRef((props, forwardedRef) => {
4567
4563
  ...isDisabled ? {} : columnContext.attributes,
4568
4564
  ...isDisabled ? {} : columnContext.listeners,
4569
4565
  ref: composedRef,
4570
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4566
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4571
4567
  "select-none disabled:pointer-events-none disabled:opacity-50",
4572
4568
  context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
4573
4569
  className
@@ -4603,7 +4599,7 @@ var KanbanItem = React31.forwardRef((props, forwardedRef) => {
4603
4599
  if (value === "") {
4604
4600
  throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);
4605
4601
  }
4606
- const composedRef = _chunk2Z56AS2Sjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4602
+ const composedRef = _chunkU4NADAHNjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4607
4603
  if (disabled) return;
4608
4604
  setNodeRef(node);
4609
4605
  });
@@ -4638,7 +4634,7 @@ var KanbanItem = React31.forwardRef((props, forwardedRef) => {
4638
4634
  ...asHandle && !disabled ? listeners : {},
4639
4635
  ref: composedRef,
4640
4636
  style: composedStyle,
4641
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4637
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4642
4638
  "focus-visible:ring-ring focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden",
4643
4639
  {
4644
4640
  "touch-none select-none": asHandle,
@@ -4659,7 +4655,7 @@ var KanbanItemHandle = React31.forwardRef((props, forwardedRef) => {
4659
4655
  const context = useKanbanContext(ITEM_HANDLE_NAME);
4660
4656
  const itemContext = useKanbanItemContext(ITEM_HANDLE_NAME);
4661
4657
  const isDisabled = _nullishCoalesce(disabled, () => ( itemContext.disabled));
4662
- const composedRef = _chunk2Z56AS2Sjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4658
+ const composedRef = _chunkU4NADAHNjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
4663
4659
  if (isDisabled) return;
4664
4660
  itemContext.setActivatorNodeRef(node);
4665
4661
  });
@@ -4676,7 +4672,7 @@ var KanbanItemHandle = React31.forwardRef((props, forwardedRef) => {
4676
4672
  ...isDisabled ? {} : itemContext.attributes,
4677
4673
  ...isDisabled ? {} : itemContext.listeners,
4678
4674
  ref: composedRef,
4679
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4675
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4680
4676
  "select-none disabled:pointer-events-none disabled:opacity-50",
4681
4677
  context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
4682
4678
  className
@@ -4711,7 +4707,7 @@ function KanbanOverlay(props) {
4711
4707
  {
4712
4708
  dropAnimation,
4713
4709
  modifiers: context.modifiers,
4714
- className: _chunk2Z56AS2Sjs.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
4710
+ className: _chunkU4NADAHNjs.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
4715
4711
  ...overlayProps,
4716
4712
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, KanbanOverlayContext.Provider, { value: true, children: context.activeId && children ? typeof children === "function" ? children({
4717
4713
  value: context.activeId,
@@ -4729,7 +4725,7 @@ var _link = require('next/link'); var _link2 = _interopRequireDefault(_link);
4729
4725
 
4730
4726
 
4731
4727
  var Link2 = React32.forwardRef(({ className, ...props }, ref) => {
4732
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { ref, className: _chunk2Z56AS2Sjs.cn.call(void 0, `font-medium`, className), ...props });
4728
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { ref, className: _chunkU4NADAHNjs.cn.call(void 0, `font-medium`, className), ...props });
4733
4729
  });
4734
4730
  Link2.displayName = "Link";
4735
4731
 
@@ -4828,7 +4824,7 @@ var MultiSelect = React33.forwardRef(
4828
4824
  ref,
4829
4825
  ...props,
4830
4826
  onClick: handleTogglePopover,
4831
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4827
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4832
4828
  "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",
4833
4829
  className
4834
4830
  ),
@@ -4840,7 +4836,7 @@ var MultiSelect = React33.forwardRef(
4840
4836
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4841
4837
  Badge,
4842
4838
  {
4843
- className: _chunk2Z56AS2Sjs.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
4839
+ className: _chunkU4NADAHNjs.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
4844
4840
  style: { animationDuration: `${animation}s` },
4845
4841
  children: [
4846
4842
  IconComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "mr-2 h-4 w-4" }),
@@ -4863,7 +4859,7 @@ var MultiSelect = React33.forwardRef(
4863
4859
  selectedValues.length > maxCount && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4864
4860
  Badge,
4865
4861
  {
4866
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4862
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4867
4863
  "text-foreground border-foreground/1 bg-transparent hover:bg-transparent",
4868
4864
  isAnimating ? "animate-bounce" : "",
4869
4865
  multiSelectVariants({ variant })
@@ -4922,7 +4918,7 @@ var MultiSelect = React33.forwardRef(
4922
4918
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4923
4919
  "div",
4924
4920
  {
4925
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4921
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4926
4922
  "border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
4927
4923
  selectedValues.length === options.length ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
4928
4924
  ),
@@ -4942,7 +4938,7 @@ var MultiSelect = React33.forwardRef(
4942
4938
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4943
4939
  "div",
4944
4940
  {
4945
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4941
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4946
4942
  "border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
4947
4943
  isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
4948
4944
  ),
@@ -4977,7 +4973,7 @@ var MultiSelect = React33.forwardRef(
4977
4973
  animation > 0 && selectedValues.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4978
4974
  _lucidereact.WandSparkles,
4979
4975
  {
4980
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
4976
+ className: _chunkU4NADAHNjs.cn.call(void 0,
4981
4977
  "text-foreground bg-background my-2 h-3 w-3 cursor-pointer",
4982
4978
  isAnimating ? "" : "text-muted-foreground"
4983
4979
  ),
@@ -5065,8 +5061,8 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
5065
5061
  CommonDeleter,
5066
5062
  {
5067
5063
  type: `users`,
5068
- deleteFunction: () => _chunkLOSPCUCFjs.UserService.delete({ userId: user.id, companyId: cId }).then(
5069
- () => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User }))
5064
+ deleteFunction: () => _chunkU4NADAHNjs.UserService.delete({ userId: user.id, companyId: cId }).then(
5065
+ () => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunkU4NADAHNjs.Modules.User }))
5070
5066
  )
5071
5067
  }
5072
5068
  );
@@ -5074,7 +5070,7 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
5074
5070
  _chunk7QVYU63Ejs.__name.call(void 0, UserDeleterInternal, "UserDeleterInternal");
5075
5071
  function UserDeleter(props) {
5076
5072
  const { hasPermissionToModule } = useCurrentUserContext();
5077
- if (!hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
5073
+ if (!hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
5078
5074
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserDeleterInternal, { ...props });
5079
5075
  }
5080
5076
  _chunk7QVYU63Ejs.__name.call(void 0, UserDeleter, "UserDeleter");
@@ -5138,7 +5134,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
5138
5134
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
5139
5135
  if (!user) {
5140
5136
  try {
5141
- const existingUser = await _chunkLOSPCUCFjs.UserService.findByEmail({ email: values.email });
5137
+ const existingUser = await _chunkU4NADAHNjs.UserService.findByEmail({ email: values.email });
5142
5138
  if (existingUser) {
5143
5139
  form.setError("email", {
5144
5140
  type: "manual",
@@ -5151,7 +5147,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
5151
5147
  }
5152
5148
  }
5153
5149
  if (values.avatar && contentType) {
5154
- const s3 = await _chunkLOSPCUCFjs.S3Service.getPreSignedUrl({
5150
+ const s3 = await _chunkU4NADAHNjs.S3Service.getPreSignedUrl({
5155
5151
  key: values.avatar,
5156
5152
  contentType,
5157
5153
  isPublic: true
@@ -5177,16 +5173,16 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
5177
5173
  adminCreated
5178
5174
  };
5179
5175
  try {
5180
- const updatedUser = user ? await _chunkLOSPCUCFjs.UserService.update(payload) : await _chunkLOSPCUCFjs.UserService.create(payload);
5176
+ const updatedUser = user ? await _chunkU4NADAHNjs.UserService.update(payload) : await _chunkU4NADAHNjs.UserService.create(payload);
5181
5177
  if (_optionalChain([currentUser, 'optionalAccess', _132 => _132.id]) === updatedUser.id) setUser(updatedUser);
5182
5178
  if (onRevalidate) {
5183
- await onRevalidate(generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: updatedUser.id, language: `[locale]` }));
5179
+ await onRevalidate(generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: updatedUser.id, language: `[locale]` }));
5184
5180
  }
5185
5181
  if (propagateChanges) {
5186
5182
  propagateChanges(updatedUser);
5187
5183
  setOpen(false);
5188
5184
  } else {
5189
- router.push(generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: updatedUser.id }));
5185
+ router.push(generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: updatedUser.id }));
5190
5186
  }
5191
5187
  } catch (error) {
5192
5188
  errorToast({ title: user ? t(`generic.errors.update`) : t(`generic.errors.create`), error });
@@ -5194,7 +5190,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
5194
5190
  }, "onSubmit");
5195
5191
  _react.useEffect.call(void 0, () => {
5196
5192
  async function fetchRoles() {
5197
- const roles2 = await _chunkLOSPCUCFjs.RoleService.findAllRoles({});
5193
+ const roles2 = await _chunkU4NADAHNjs.RoleService.findAllRoles({});
5198
5194
  const availableRoles = roles2.filter(
5199
5195
  (role) => role.id !== _chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator && (role.requiredFeature === void 0 || _optionalChain([company, 'optionalAccess', _133 => _133.features, 'access', _134 => _134.some, 'call', _135 => _135((feature) => feature.id === _optionalChain([role, 'access', _136 => _136.requiredFeature, 'optionalAccess', _137 => _137.id]))]))
5200
5196
  );
@@ -5222,7 +5218,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
5222
5218
  setContentType(null);
5223
5219
  }
5224
5220
  }, [file]);
5225
- const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _141 => _141.id]) === _optionalChain([user, 'optionalAccess', _142 => _142.id]) && hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator));
5221
+ const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _141 => _141.id]) === _optionalChain([user, 'optionalAccess', _142 => _142.id]) && hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator));
5226
5222
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Dialog, { open, onOpenChange: setOpen, children: [
5227
5223
  trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTrigger, { asChild: true, children: trigger }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorTrigger, { isEdit: !!user }),
5228
5224
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -5339,7 +5335,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserEditorInternal, "UserEditorInternal");
5339
5335
  function UserEditor(props) {
5340
5336
  const { hasPermissionToModule } = useCurrentUserContext();
5341
5337
  if (!hasPermissionToModule({
5342
- module: _chunk2Z56AS2Sjs.Modules.User,
5338
+ module: _chunkU4NADAHNjs.Modules.User,
5343
5339
  action: props.user ? "update" /* Update */ : "create" /* Create */,
5344
5340
  data: props.user
5345
5341
  }))
@@ -5378,10 +5374,10 @@ function UserMultiSelect({
5378
5374
  const data = useDataListRetriever({
5379
5375
  ready: !!company,
5380
5376
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
5381
- return _chunkLOSPCUCFjs.UserService.findAllUsers(params);
5377
+ return _chunkU4NADAHNjs.UserService.findAllUsers(params);
5382
5378
  }, "retriever"),
5383
5379
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _149 => _149.id]) },
5384
- module: _chunk2Z56AS2Sjs.Modules.User
5380
+ module: _chunkU4NADAHNjs.Modules.User
5385
5381
  });
5386
5382
  _react.useEffect.call(void 0, () => {
5387
5383
  if (company) data.setReady(true);
@@ -5492,7 +5488,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
5492
5488
  const t = _nextintl.useTranslations.call(void 0, );
5493
5489
  const reactivateUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
5494
5490
  try {
5495
- const updatedUser = await _chunkLOSPCUCFjs.UserService.reactivate({ userId: user.id });
5491
+ const updatedUser = await _chunkU4NADAHNjs.UserService.reactivate({ userId: user.id });
5496
5492
  setOpen(false);
5497
5493
  propagateChanges(updatedUser);
5498
5494
  } catch (error) {
@@ -5530,7 +5526,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
5530
5526
  _chunk7QVYU63Ejs.__name.call(void 0, UserReactivatorInterface, "UserReactivatorInterface");
5531
5527
  function UserReactivator(props) {
5532
5528
  const { hasPermissionToModule } = useCurrentUserContext();
5533
- if (!hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
5529
+ if (!hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
5534
5530
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserReactivatorInterface, { ...props });
5535
5531
  }
5536
5532
  _chunk7QVYU63Ejs.__name.call(void 0, UserReactivator, "UserReactivator");
@@ -5546,7 +5542,7 @@ function UserResentInvitationEmailInternal({ user }) {
5546
5542
  const t = _nextintl.useTranslations.call(void 0, );
5547
5543
  const sendInvitationEmail = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
5548
5544
  try {
5549
- await _chunkLOSPCUCFjs.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
5545
+ await _chunkU4NADAHNjs.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
5550
5546
  setOpen(false);
5551
5547
  _sonner.toast.message(t(`foundations.user.resend_activation.email_sent`), {
5552
5548
  description: t(`foundations.user.resend_activation.email_sent_description`, { email: user.email })
@@ -5586,7 +5582,7 @@ function UserResentInvitationEmailInternal({ user }) {
5586
5582
  _chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmailInternal, "UserResentInvitationEmailInternal");
5587
5583
  function UserResentInvitationEmail(props) {
5588
5584
  const { hasPermissionToModule } = useCurrentUserContext();
5589
- if (!hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
5585
+ if (!hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
5590
5586
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserResentInvitationEmailInternal, { ...props });
5591
5587
  }
5592
5588
  _chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmail, "UserResentInvitationEmail");
@@ -5618,22 +5614,22 @@ function UserAvatar({ user, className, showFull, showLink }) {
5618
5614
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip2, { children: [
5619
5615
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: showLink === false ? (
5620
5616
  // If showLink is explicitly false, never show a link
5621
- showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
5617
+ showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
5622
5618
  getAvatar(),
5623
5619
  user.name
5624
5620
  ] }) : getAvatar()
5625
5621
  ) : showFull ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5626
5622
  Link2,
5627
5623
  {
5628
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: user.id }),
5629
- className: _chunk2Z56AS2Sjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
5624
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: user.id }),
5625
+ className: _chunkU4NADAHNjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
5630
5626
  onClick: (e) => e.stopPropagation(),
5631
5627
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center gap-x-2", children: [
5632
5628
  getAvatar(),
5633
5629
  user.name
5634
5630
  ] })
5635
5631
  }
5636
- ) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link2, { href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar() }),
5632
+ ) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link2, { href: generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar() }),
5637
5633
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: user.name })
5638
5634
  ] });
5639
5635
  }
@@ -5649,10 +5645,10 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
5649
5645
  const [isSearching, setIsSearching] = _react.useState.call(void 0, false);
5650
5646
  const data = useDataListRetriever({
5651
5647
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
5652
- return _chunkLOSPCUCFjs.UserService.findMany(params);
5648
+ return _chunkU4NADAHNjs.UserService.findMany(params);
5653
5649
  }, "retriever"),
5654
5650
  retrieverParams: {},
5655
- module: _chunk2Z56AS2Sjs.Modules.User
5651
+ module: _chunkU4NADAHNjs.Modules.User
5656
5652
  });
5657
5653
  const search = _react.useCallback.call(void 0,
5658
5654
  async (searchedTerm) => {
@@ -5757,24 +5753,24 @@ var UserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
5757
5753
  const { hasPermissionToModule } = useCurrentUserContext();
5758
5754
  const t = _nextintl.useTranslations.call(void 0, );
5759
5755
  const [user, setUser] = _react.useState.call(void 0,
5760
- dehydratedUser ? _chunk2Z56AS2Sjs.rehydrate.call(void 0, _chunk2Z56AS2Sjs.Modules.User, dehydratedUser) : void 0
5756
+ dehydratedUser ? _chunkU4NADAHNjs.rehydrate.call(void 0, _chunkU4NADAHNjs.Modules.User, dehydratedUser) : void 0
5761
5757
  );
5762
5758
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
5763
5759
  const response = [];
5764
- if (hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.User, action: "update" /* Update */ })) {
5760
+ if (hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.User, action: "update" /* Update */ })) {
5765
5761
  response.push({
5766
5762
  name: t(`generic.settings`),
5767
5763
  href: generateUrl({ page: `/settings` })
5768
5764
  });
5769
5765
  response.push({
5770
5766
  name: t(`types.users`, { count: 2 }),
5771
- href: generateUrl({ page: `/settings`, id: _chunk2Z56AS2Sjs.Modules.User.pageUrl })
5767
+ href: generateUrl({ page: `/settings`, id: _chunkU4NADAHNjs.Modules.User.pageUrl })
5772
5768
  });
5773
5769
  }
5774
5770
  if (user)
5775
5771
  response.push({
5776
5772
  name: `${user.name}${user.isDeleted ? ` (${t(`foundations.user.deleted`)})` : ""}`,
5777
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: user.id })
5773
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: user.id })
5778
5774
  });
5779
5775
  return response;
5780
5776
  }, "breadcrumb");
@@ -5829,7 +5825,7 @@ function UserDetails({ user }) {
5829
5825
  const { title } = useSharedContext();
5830
5826
  let roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
5831
5827
  if (user.roles && user.roles.length > 0) {
5832
- 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, Link2, { href: generateUrl({ page: _chunk2Z56AS2Sjs.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)) }) });
5828
+ 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, Link2, { href: generateUrl({ page: _chunkU4NADAHNjs.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)) }) });
5833
5829
  }
5834
5830
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
5835
5831
  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,
@@ -5896,18 +5892,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserIndexContainer, "UserIndexContainer");
5896
5892
  function UsersListContainerInternal() {
5897
5893
  const { hasPermissionToModule } = useCurrentUserContext();
5898
5894
  const t = _nextintl.useTranslations.call(void 0, );
5899
- if (!hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
5895
+ if (!hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
5900
5896
  const tabs = [
5901
5897
  {
5902
5898
  label: t(`types.users`, { count: 2 }),
5903
5899
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {}),
5904
- modules: [_chunk2Z56AS2Sjs.Modules.Company],
5900
+ modules: [_chunkU4NADAHNjs.Modules.Company],
5905
5901
  action: "read" /* Read */
5906
5902
  },
5907
5903
  {
5908
5904
  label: t(`foundations.user.deleted`),
5909
5905
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, { isDeleted: true }),
5910
- modules: [_chunk2Z56AS2Sjs.Modules.Company],
5906
+ modules: [_chunkU4NADAHNjs.Modules.Company],
5911
5907
  action: "update" /* Update */
5912
5908
  }
5913
5909
  ];
@@ -5925,9 +5921,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersListContainer, "UsersListContainer");
5925
5921
  function AdminUsersListInternal({ company }) {
5926
5922
  const t = _nextintl.useTranslations.call(void 0, );
5927
5923
  const data = useDataListRetriever({
5928
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.UserService.findManyForAmin(params), "retriever"),
5924
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.UserService.findManyForAmin(params), "retriever"),
5929
5925
  retrieverParams: { companyId: company.id },
5930
- module: _chunk2Z56AS2Sjs.Modules.User
5926
+ module: _chunkU4NADAHNjs.Modules.User
5931
5927
  });
5932
5928
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5933
5929
  ContentListTable,
@@ -5935,7 +5931,7 @@ function AdminUsersListInternal({ company }) {
5935
5931
  title: t(`types.users`, { count: 2 }),
5936
5932
  data,
5937
5933
  fields: ["name" /* name */, "email" /* email */, "createdAt" /* createdAt */],
5938
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.User,
5934
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.User,
5939
5935
  functions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserEditor, { propagateChanges: data.refresh, adminCreated: true })
5940
5936
  }
5941
5937
  );
@@ -5957,9 +5953,9 @@ function CompanyUsersList({ isDeleted }) {
5957
5953
  const t = _nextintl.useTranslations.call(void 0, );
5958
5954
  const data = useDataListRetriever({
5959
5955
  ready: !!company,
5960
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.UserService.findAllUsers(params), "retriever"),
5956
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.UserService.findAllUsers(params), "retriever"),
5961
5957
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _168 => _168.id]), isDeleted },
5962
- module: _chunk2Z56AS2Sjs.Modules.User
5958
+ module: _chunkU4NADAHNjs.Modules.User
5963
5959
  });
5964
5960
  _react.useEffect.call(void 0, () => {
5965
5961
  if (company) data.setReady(true);
@@ -5972,7 +5968,7 @@ function CompanyUsersList({ isDeleted }) {
5972
5968
  {
5973
5969
  data,
5974
5970
  fields: ["name" /* name */, "email" /* email */],
5975
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.User,
5971
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.User,
5976
5972
  functions,
5977
5973
  title: t(`types.users`, { count: 2 })
5978
5974
  }
@@ -5988,7 +5984,7 @@ function ContributorsList({ content }) {
5988
5984
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5989
5985
  Link2,
5990
5986
  {
5991
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: content.author.id }),
5987
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: content.author.id }),
5992
5988
  onClick: (e) => e.stopPropagation(),
5993
5989
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: content.author, className: "mr-1 h-6 w-6" })
5994
5990
  },
@@ -5997,7 +5993,7 @@ function ContributorsList({ content }) {
5997
5993
  /* @__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,
5998
5994
  Link2,
5999
5995
  {
6000
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: editor.id }),
5996
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: editor.id }),
6001
5997
  onClick: (e) => e.stopPropagation(),
6002
5998
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: editor, className: "h-5 w-5" })
6003
5999
  },
@@ -6013,8 +6009,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContributorsList, "ContributorsList");
6013
6009
  function RelevantUsersList({ id }) {
6014
6010
  const t = _nextintl.useTranslations.call(void 0, );
6015
6011
  const data = useDataListRetriever({
6016
- module: _chunk2Z56AS2Sjs.Modules.User,
6017
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.UserService.findRelevant(params), "retriever"),
6012
+ module: _chunkU4NADAHNjs.Modules.User,
6013
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.UserService.findRelevant(params), "retriever"),
6018
6014
  retrieverParams: { id }
6019
6015
  });
6020
6016
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -6022,7 +6018,7 @@ function RelevantUsersList({ id }) {
6022
6018
  {
6023
6019
  data,
6024
6020
  fields: ["name" /* name */, "email" /* email */, "relevance" /* relevance */],
6025
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.User,
6021
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.User,
6026
6022
  title: t(`generic.relevant_users`)
6027
6023
  }
6028
6024
  );
@@ -6035,16 +6031,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RelevantUsersList, "RelevantUsersList");
6035
6031
  function RoleUsersList({ role }) {
6036
6032
  const t = _nextintl.useTranslations.call(void 0, );
6037
6033
  const data = useDataListRetriever({
6038
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.UserService.findAllUsersByRole(params), "retriever"),
6034
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.UserService.findAllUsersByRole(params), "retriever"),
6039
6035
  retrieverParams: { roleId: role.id },
6040
- module: _chunk2Z56AS2Sjs.Modules.User
6036
+ module: _chunkU4NADAHNjs.Modules.User
6041
6037
  });
6042
6038
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6043
6039
  ContentListTable,
6044
6040
  {
6045
6041
  data,
6046
6042
  fields: ["name" /* name */, "email" /* email */],
6047
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.User,
6043
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.User,
6048
6044
  title: t(`types.users`, { count: 2 })
6049
6045
  }
6050
6046
  );
@@ -6094,7 +6090,7 @@ function UsersList({ data, optionComponents, removeFunction, hideOptions, showRe
6094
6090
  {
6095
6091
  data,
6096
6092
  fields: ["name" /* name */, "email" /* email */],
6097
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.User,
6093
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.User,
6098
6094
  title: t(`types.users`, { count: 2 })
6099
6095
  }
6100
6096
  );
@@ -6107,8 +6103,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersList, "UsersList");
6107
6103
  function UsersListByContentIds({ contentIds }) {
6108
6104
  const t = _nextintl.useTranslations.call(void 0, );
6109
6105
  const data = useDataListRetriever({
6110
- module: _chunk2Z56AS2Sjs.Modules.User,
6111
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.UserService.findManyByContentIds(params), "retriever"),
6106
+ module: _chunkU4NADAHNjs.Modules.User,
6107
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.UserService.findManyByContentIds(params), "retriever"),
6112
6108
  retrieverParams: { contentIds }
6113
6109
  });
6114
6110
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -6116,7 +6112,7 @@ function UsersListByContentIds({ contentIds }) {
6116
6112
  {
6117
6113
  data,
6118
6114
  fields: ["name" /* name */, "email" /* email */],
6119
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.User,
6115
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.User,
6120
6116
  title: t(`generic.relevant_users`)
6121
6117
  }
6122
6118
  );
@@ -6290,8 +6286,8 @@ function CompanyConfigurationEditorInternal({ company }) {
6290
6286
  }
6291
6287
  };
6292
6288
  try {
6293
- await _chunkLOSPCUCFjs.CompanyService.updateConfigurations(payload);
6294
- const fullUser = await _chunkLOSPCUCFjs.UserService.findFullUser();
6289
+ await _chunkU4NADAHNjs.CompanyService.updateConfigurations(payload);
6290
+ const fullUser = await _chunkU4NADAHNjs.UserService.findFullUser();
6295
6291
  if (fullUser) {
6296
6292
  setUser(fullUser);
6297
6293
  }
@@ -6346,7 +6342,7 @@ function CompanyDeleterInternal({ company }) {
6346
6342
  const handleDelete = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
6347
6343
  setIsDeleting(true);
6348
6344
  try {
6349
- await _chunkLOSPCUCFjs.CompanyService.delete({ companyId: company.id });
6345
+ await _chunkU4NADAHNjs.CompanyService.delete({ companyId: company.id });
6350
6346
  router.push("/");
6351
6347
  } catch (error) {
6352
6348
  errorToast({ title: t(`generic.errors.delete`), error });
@@ -6416,7 +6412,7 @@ function CompanyDeleterInternal({ company }) {
6416
6412
  _chunk7QVYU63Ejs.__name.call(void 0, CompanyDeleterInternal, "CompanyDeleterInternal");
6417
6413
  function CompanyDeleter({ company }) {
6418
6414
  const { hasPermissionToModule, hasRole } = useCurrentUserContext();
6419
- if (!hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.Company, action: "delete" /* Delete */ }))
6415
+ if (!hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.Company, action: "delete" /* Delete */ }))
6420
6416
  return null;
6421
6417
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleterInternal, { company });
6422
6418
  }
@@ -6464,7 +6460,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
6464
6460
  });
6465
6461
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
6466
6462
  if (values.logo && contentType) {
6467
- const s3 = await _chunkLOSPCUCFjs.S3Service.getPreSignedUrl({
6463
+ const s3 = await _chunkU4NADAHNjs.S3Service.getPreSignedUrl({
6468
6464
  key: values.logo,
6469
6465
  contentType,
6470
6466
  isPublic: true
@@ -6483,9 +6479,9 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
6483
6479
  moduleIds: values.moduleIds
6484
6480
  };
6485
6481
  try {
6486
- const updatedCompany = company ? await _chunkLOSPCUCFjs.CompanyService.update(payload) : await _chunkLOSPCUCFjs.CompanyService.create(payload);
6482
+ const updatedCompany = company ? await _chunkU4NADAHNjs.CompanyService.update(payload) : await _chunkU4NADAHNjs.CompanyService.create(payload);
6487
6483
  if (onRevalidate) {
6488
- await onRevalidate(generateUrl({ page: _chunk2Z56AS2Sjs.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
6484
+ await onRevalidate(generateUrl({ page: _chunkU4NADAHNjs.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
6489
6485
  }
6490
6486
  if (company && propagateChanges) {
6491
6487
  _cookiesnext.setCookie.call(void 0, "reloadData", "true", { path: "/" });
@@ -6503,7 +6499,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
6503
6499
  }, "onSubmit");
6504
6500
  _react.useEffect.call(void 0, () => {
6505
6501
  async function fetchFeatures() {
6506
- const allfeatures = await _chunkLOSPCUCFjs.FeatureService.findMany({});
6502
+ const allfeatures = await _chunkU4NADAHNjs.FeatureService.findMany({});
6507
6503
  if (hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator)) {
6508
6504
  setFeatures(allfeatures);
6509
6505
  } else {
@@ -6617,9 +6613,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyEditor, "CompanyEditor");
6617
6613
  function CompaniesList() {
6618
6614
  const t = _nextintl.useTranslations.call(void 0, );
6619
6615
  const data = useDataListRetriever({
6620
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.CompanyService.findMany(params), "retriever"),
6616
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.CompanyService.findMany(params), "retriever"),
6621
6617
  retrieverParams: {},
6622
- module: _chunk2Z56AS2Sjs.Modules.Company
6618
+ module: _chunkU4NADAHNjs.Modules.Company
6623
6619
  });
6624
6620
  const functions = [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, {}, "create-account")];
6625
6621
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -6627,7 +6623,7 @@ function CompaniesList() {
6627
6623
  {
6628
6624
  data,
6629
6625
  fields: ["name" /* name */, "createdAt" /* createdAt */],
6630
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.Company,
6626
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.Company,
6631
6627
  functions,
6632
6628
  title: t(`types.companies`, { count: 2 })
6633
6629
  }
@@ -6648,14 +6644,14 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
6648
6644
  const t = _nextintl.useTranslations.call(void 0, );
6649
6645
  const { hasPermissionToModule, hasRole } = useCurrentUserContext();
6650
6646
  const [company, setCompany] = _react.useState.call(void 0,
6651
- dehydratedCompany ? _chunk2Z56AS2Sjs.rehydrate.call(void 0, _chunk2Z56AS2Sjs.Modules.Company, dehydratedCompany) : void 0
6647
+ dehydratedCompany ? _chunkU4NADAHNjs.rehydrate.call(void 0, _chunkU4NADAHNjs.Modules.Company, dehydratedCompany) : void 0
6652
6648
  );
6653
6649
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
6654
6650
  const response = [];
6655
6651
  if (company)
6656
6652
  response.push({
6657
6653
  name: company.name,
6658
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.Company })
6654
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.Company })
6659
6655
  });
6660
6656
  return response;
6661
6657
  }, "breadcrumb");
@@ -6665,9 +6661,9 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
6665
6661
  };
6666
6662
  if (company) response.element = company.name;
6667
6663
  const functions = [];
6668
- if (company && hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.Company, action: "delete" /* Delete */ }))
6664
+ if (company && hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.Company, action: "delete" /* Delete */ }))
6669
6665
  functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleter, { company }, "companyDeleter"));
6670
- if (hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunk2Z56AS2Sjs.Modules.Company, action: "update" /* Update */ })) {
6666
+ if (hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunkU4NADAHNjs.Modules.Company, action: "update" /* Update */ })) {
6671
6667
  if (company) functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyConfigurationEditor, { company }, "companyConfigurationEditor"));
6672
6668
  functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, { company, propagateChanges: setCompany }, "companyEditor"));
6673
6669
  }
@@ -6780,7 +6776,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
6780
6776
  setIsLoading(true);
6781
6777
  setError(null);
6782
6778
  try {
6783
- const fetchedNotifications = await _chunkLOSPCUCFjs.NotificationService.findMany({});
6779
+ const fetchedNotifications = await _chunkU4NADAHNjs.NotificationService.findMany({});
6784
6780
  setNotifications(fetchedNotifications);
6785
6781
  setLastLoaded(Date.now());
6786
6782
  } catch (error2) {
@@ -6796,7 +6792,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
6796
6792
  try {
6797
6793
  const data = {
6798
6794
  data: ids.map((id) => ({
6799
- type: _chunk2Z56AS2Sjs.Modules.Notification.name,
6795
+ type: _chunkU4NADAHNjs.Modules.Notification.name,
6800
6796
  id,
6801
6797
  attributes: {
6802
6798
  isRead: true
@@ -6805,8 +6801,8 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
6805
6801
  relationships: {}
6806
6802
  }))
6807
6803
  };
6808
- await _chunkLOSPCUCFjs.NotificationService.markAsRead({ data });
6809
- const allNotifications = await _chunkLOSPCUCFjs.NotificationService.findMany({});
6804
+ await _chunkU4NADAHNjs.NotificationService.markAsRead({ data });
6805
+ const allNotifications = await _chunkU4NADAHNjs.NotificationService.findMany({});
6810
6806
  setNotifications(allNotifications);
6811
6807
  setLastLoaded(Date.now());
6812
6808
  } catch (error2) {
@@ -6874,18 +6870,18 @@ var RoleProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
6874
6870
  const generateUrl = usePageUrlGenerator();
6875
6871
  const t = _nextintl.useTranslations.call(void 0, );
6876
6872
  const [role, setRole] = _react.useState.call(void 0,
6877
- dehydratedRole ? _chunk2Z56AS2Sjs.rehydrate.call(void 0, _chunk2Z56AS2Sjs.Modules.Role, dehydratedRole) : void 0
6873
+ dehydratedRole ? _chunkU4NADAHNjs.rehydrate.call(void 0, _chunkU4NADAHNjs.Modules.Role, dehydratedRole) : void 0
6878
6874
  );
6879
6875
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
6880
6876
  const response = [];
6881
6877
  response.push({
6882
6878
  name: t(`types.roles`, { count: 2 }),
6883
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.Role })
6879
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.Role })
6884
6880
  });
6885
6881
  if (role)
6886
6882
  response.push({
6887
6883
  name: role.name,
6888
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.Role, id: role.id })
6884
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.Role, id: role.id })
6889
6885
  });
6890
6886
  return response;
6891
6887
  }, "breadcrumb");
@@ -7120,7 +7116,7 @@ function usePushNotifications() {
7120
7116
  };
7121
7117
  const subscriptionHash = btoa(JSON.stringify(plainSubscription));
7122
7118
  if (lastRegisteredSubscription !== subscriptionHash) {
7123
- await _chunkLOSPCUCFjs.PushService.register({ data: plainSubscription });
7119
+ await _chunkU4NADAHNjs.PushService.register({ data: plainSubscription });
7124
7120
  sessionStorage.setItem(sessionKey, subscriptionHash);
7125
7121
  }
7126
7122
  } catch (error) {
@@ -7203,7 +7199,7 @@ function useSocket({ token }) {
7203
7199
  });
7204
7200
  }, "handleMessage");
7205
7201
  const handleNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (data) => {
7206
- const notification = _chunk2Z56AS2Sjs.rehydrate.call(void 0, _chunk2Z56AS2Sjs.Modules.Notification, data);
7202
+ const notification = _chunkU4NADAHNjs.rehydrate.call(void 0, _chunkU4NADAHNjs.Modules.Notification, data);
7207
7203
  if (notification) {
7208
7204
  setSocketNotifications((prev) => {
7209
7205
  const newNotifications = [...prev, notification];
@@ -7318,7 +7314,7 @@ function ContentTitle({ type, element, functions, className }) {
7318
7314
  setClientFunctions(functions);
7319
7315
  }, [functions]);
7320
7316
  if (!element) return null;
7321
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, `mb-4 flex w-full flex-col`, className), children: [
7317
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, `mb-4 flex w-full flex-col`, className), children: [
7322
7318
  (type || isClient) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-row items-center justify-between gap-x-4", children: [
7323
7319
  type && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `text-muted-foreground text-xl font-light`, children: type }),
7324
7320
  isClient && clientFunctions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-row items-center justify-start", children: clientFunctions })
@@ -7432,7 +7428,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, RecentPagesNavigator, "RecentPagesNavigator
7432
7428
  function PageContainer({ children, testId, className }) {
7433
7429
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex h-full w-full flex-col`, "data-testid": testId, children: [
7434
7430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header2, {}),
7435
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunk2Z56AS2Sjs.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4`, className), children })
7431
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunkU4NADAHNjs.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4`, className), children })
7436
7432
  ] });
7437
7433
  }
7438
7434
  _chunk7QVYU63Ejs.__name.call(void 0, PageContainer, "PageContainer");
@@ -7541,7 +7537,7 @@ function TabsContainer({
7541
7537
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7542
7538
  TabsList,
7543
7539
  {
7544
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
7540
+ className: _chunkU4NADAHNjs.cn.call(void 0,
7545
7541
  `${style ? `my-4 flex w-full justify-start rounded-none border-b bg-transparent pb-0` : ``}`,
7546
7542
  tabsListClassName
7547
7543
  ),
@@ -7549,7 +7545,7 @@ function TabsContainer({
7549
7545
  TabsTrigger,
7550
7546
  {
7551
7547
  value: tab.label,
7552
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
7548
+ className: _chunkU4NADAHNjs.cn.call(void 0,
7553
7549
  `${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`}`,
7554
7550
  tabsTriggerClassName
7555
7551
  ),
@@ -7569,7 +7565,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, TabsContainer, "TabsContainer");
7569
7565
  // src/components/contents/AttributeElement.tsx
7570
7566
 
7571
7567
  function AttributeElement({ inline, title, value, className }) {
7572
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
7568
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
7573
7569
  title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-sm font-semibold`, children: title }),
7574
7570
  value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col text-sm", children: value })
7575
7571
  ] });
@@ -7592,7 +7588,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails")
7592
7588
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
7593
7589
 
7594
7590
 
7595
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-7FM7B737.js"))), {
7591
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-IJASTIUZ.js"))), {
7596
7592
  ssr: false
7597
7593
  });
7598
7594
  var BlockNoteEditorContainer = React2.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -7935,7 +7931,7 @@ var DatePickerPopover = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
7935
7931
  }, "handleClear");
7936
7932
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open: isOpen, onOpenChange: setIsOpen, children: [
7937
7933
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { asChild: true, children }),
7938
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunk2Z56AS2Sjs.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: [
7934
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunkU4NADAHNjs.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: [
7939
7935
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative mb-3", children: [
7940
7936
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7941
7937
  Input,
@@ -8049,13 +8045,13 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
8049
8045
  setDate(range);
8050
8046
  }
8051
8047
  }, "handleSelect");
8052
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
8048
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
8053
8049
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8054
8050
  Button,
8055
8051
  {
8056
8052
  id: "date",
8057
8053
  variant: "outline",
8058
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
8054
+ className: _chunkU4NADAHNjs.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
8059
8055
  children: [
8060
8056
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CalendarIcon, {}),
8061
8057
  _optionalChain([date, 'optionalAccess', _225 => _225.from]) ? date.to ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -8248,7 +8244,7 @@ var FileUploader = _react.forwardRef.call(void 0,
8248
8244
  ref,
8249
8245
  tabIndex: 0,
8250
8246
  onKeyDownCapture: handleKeyDown,
8251
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
8247
+ className: _chunkU4NADAHNjs.cn.call(void 0,
8252
8248
  "grid w-full overflow-hidden focus:outline-none",
8253
8249
  className,
8254
8250
  // Original className from props
@@ -8272,12 +8268,12 @@ var FileUploaderContent = _react.forwardRef.call(void 0,
8272
8268
  ({ children, className, ...props }, ref) => {
8273
8269
  const { orientation } = useFileUpload();
8274
8270
  const containerRef = _react.useRef.call(void 0, null);
8275
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2Z56AS2Sjs.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8271
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkU4NADAHNjs.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8276
8272
  "div",
8277
8273
  {
8278
8274
  ...props,
8279
8275
  ref,
8280
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
8276
+ className: _chunkU4NADAHNjs.cn.call(void 0,
8281
8277
  "flex gap-1 rounded-xl",
8282
8278
  orientation === "horizontal" ? "flex-raw flex-wrap" : "flex-col",
8283
8279
  className
@@ -8297,7 +8293,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
8297
8293
  "div",
8298
8294
  {
8299
8295
  ref,
8300
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
8296
+ className: _chunkU4NADAHNjs.cn.call(void 0,
8301
8297
  buttonVariants({ variant: "ghost" }),
8302
8298
  "relative h-6 cursor-pointer justify-between p-1",
8303
8299
  className,
@@ -8310,7 +8306,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
8310
8306
  "button",
8311
8307
  {
8312
8308
  type: "button",
8313
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
8309
+ className: _chunkU4NADAHNjs.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
8314
8310
  onClick: () => removeFileFromSet(index),
8315
8311
  children: [
8316
8312
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: t(`generic.remove_item`, { index }) }),
@@ -8334,12 +8330,12 @@ var FileInput = _react.forwardRef.call(void 0,
8334
8330
  {
8335
8331
  ref,
8336
8332
  ...props,
8337
- className: _chunk2Z56AS2Sjs.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
8333
+ className: _chunkU4NADAHNjs.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
8338
8334
  children: [
8339
8335
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8340
8336
  "div",
8341
8337
  {
8342
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
8338
+ className: _chunkU4NADAHNjs.cn.call(void 0,
8343
8339
  "w-full rounded-lg duration-300 ease-in-out",
8344
8340
  // Simpler border logic: if parent is drag-active, it controls the border.
8345
8341
  // Otherwise, FileInput can show its own accept/reject/default border.
@@ -8684,7 +8680,7 @@ function FormDateTime({
8684
8680
  Button,
8685
8681
  {
8686
8682
  variant: "outline",
8687
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground"),
8683
+ className: _chunkU4NADAHNjs.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground"),
8688
8684
  children: [
8689
8685
  field.value ? formatDateTime(field.value) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t(`generic.pick_date_time`) }),
8690
8686
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Calendar, { className: "ml-auto h-4 w-4 opacity-50" })
@@ -8884,7 +8880,7 @@ var PasswordInput = React38.forwardRef(({ className, type, ...props }, ref) => {
8884
8880
  const disabled = props.value === "" || props.value === void 0 || props.disabled;
8885
8881
  const t = _nextintl.useTranslations.call(void 0, );
8886
8882
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
8887
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunk2Z56AS2Sjs.cn.call(void 0, "", className), ref, ...props }),
8883
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunkU4NADAHNjs.cn.call(void 0, "", className), ref, ...props }),
8888
8884
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8889
8885
  Button,
8890
8886
  {
@@ -9092,7 +9088,7 @@ function FormPlaceAutocomplete({
9092
9088
  placeholder,
9093
9089
  disabled,
9094
9090
  "data-testid": testId,
9095
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "w-full", className)
9091
+ className: _chunkU4NADAHNjs.cn.call(void 0, "w-full", className)
9096
9092
  }
9097
9093
  ) }),
9098
9094
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormMessage, {})
@@ -9125,7 +9121,7 @@ function FormPlaceAutocomplete({
9125
9121
  placeholder,
9126
9122
  disabled: disabled || !apiKey,
9127
9123
  "data-testid": testId,
9128
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "w-full", className)
9124
+ className: _chunkU4NADAHNjs.cn.call(void 0, "w-full", className)
9129
9125
  }
9130
9126
  ),
9131
9127
  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" }) }),
@@ -9270,7 +9266,7 @@ function FormTextarea({
9270
9266
  Textarea,
9271
9267
  {
9272
9268
  ...field,
9273
- className: _chunk2Z56AS2Sjs.cn.call(void 0, "min-h-96 w-full", className),
9269
+ className: _chunkU4NADAHNjs.cn.call(void 0, "min-h-96 w-full", className),
9274
9270
  disabled: form.formState.isSubmitting,
9275
9271
  placeholder,
9276
9272
  "data-testid": testId
@@ -9586,7 +9582,7 @@ function useJsonApiGet(params) {
9586
9582
  setLoading(true);
9587
9583
  setError(null);
9588
9584
  try {
9589
- const { JsonApiGet } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-KOKGVPBI.js")));
9585
+ const { JsonApiGet } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-2OM5NDAW.js")));
9590
9586
  const language = navigator.language.split("-")[0] || "en";
9591
9587
  const apiResponse = await JsonApiGet({
9592
9588
  classKey: params.classKey,
@@ -9691,7 +9687,7 @@ function useJsonApiMutation(config) {
9691
9687
  setLoading(true);
9692
9688
  setError(null);
9693
9689
  try {
9694
- const { JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-KOKGVPBI.js")));
9690
+ const { JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-2OM5NDAW.js")));
9695
9691
  const language = navigator.language.split("-")[0] || "en";
9696
9692
  let apiResponse;
9697
9693
  switch (config.method) {
@@ -9778,14 +9774,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, useJsonApiMutation, "useJsonApiMutation");
9778
9774
  function useRehydration(classKey, data) {
9779
9775
  return _react.useMemo.call(void 0, () => {
9780
9776
  if (!data) return null;
9781
- return _chunk2Z56AS2Sjs.RehydrationFactory.rehydrate(classKey, data);
9777
+ return _chunkU4NADAHNjs.RehydrationFactory.rehydrate(classKey, data);
9782
9778
  }, [classKey, data]);
9783
9779
  }
9784
9780
  _chunk7QVYU63Ejs.__name.call(void 0, useRehydration, "useRehydration");
9785
9781
  function useRehydrationList(classKey, data) {
9786
9782
  return _react.useMemo.call(void 0, () => {
9787
9783
  if (!data || data.length === 0) return [];
9788
- return _chunk2Z56AS2Sjs.RehydrationFactory.rehydrateList(classKey, data);
9784
+ return _chunkU4NADAHNjs.RehydrationFactory.rehydrateList(classKey, data);
9789
9785
  }, [classKey, data]);
9790
9786
  }
9791
9787
  _chunk7QVYU63Ejs.__name.call(void 0, useRehydrationList, "useRehydrationList");
@@ -9827,9 +9823,9 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
9827
9823
  {
9828
9824
  href: hasRole(_chunkAGWQ75PQjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
9829
9825
  page: "/administration",
9830
- id: _optionalChain([_chunk2Z56AS2Sjs.Modules, 'access', _277 => _277.Company, 'access', _278 => _278.pageUrl, 'optionalAccess', _279 => _279.substring, 'call', _280 => _280(1)]),
9826
+ id: _optionalChain([_chunkU4NADAHNjs.Modules, 'access', _277 => _277.Company, 'access', _278 => _278.pageUrl, 'optionalAccess', _279 => _279.substring, 'call', _280 => _280(1)]),
9831
9827
  childPage: company.id
9832
- }) : generateUrl({ page: _chunk2Z56AS2Sjs.Modules.Company, id: company.id }),
9828
+ }) : generateUrl({ page: _chunkU4NADAHNjs.Modules.Company, id: company.id }),
9833
9829
  children: row.getValue("name")
9834
9830
  }
9835
9831
  );
@@ -9879,7 +9875,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
9879
9875
  header: t(`foundations.role.fields.name.label`),
9880
9876
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
9881
9877
  const role = row.original.jsonApiData;
9882
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link2, { href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.Role, id: role.id }), children: row.getValue("name") });
9878
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link2, { href: generateUrl({ page: _chunkU4NADAHNjs.Modules.Role, id: role.id }), children: row.getValue("name") });
9883
9879
  }, "cell"),
9884
9880
  enableSorting: false,
9885
9881
  enableHiding: false
@@ -9916,7 +9912,7 @@ var useUserSearch = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
9916
9912
  if (search === searchQueryRef.current && users.length > 0) return;
9917
9913
  setIsLoading(true);
9918
9914
  searchQueryRef.current = search;
9919
- const fetchedUsers = await _chunkLOSPCUCFjs.UserService.findMany({ search, fetchAll: true });
9915
+ const fetchedUsers = await _chunkU4NADAHNjs.UserService.findMany({ search, fetchAll: true });
9920
9916
  setUsers(fetchedUsers);
9921
9917
  } catch (error) {
9922
9918
  console.error("Failed to load users:", error);
@@ -9982,8 +9978,8 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
9982
9978
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
9983
9979
  Link2,
9984
9980
  {
9985
- href: generateUrl({ page: _chunk2Z56AS2Sjs.Modules.User, id: user.id }),
9986
- className: _chunk2Z56AS2Sjs.cn.call(void 0,
9981
+ href: generateUrl({ page: _chunkU4NADAHNjs.Modules.User, id: user.id }),
9982
+ className: _chunkU4NADAHNjs.cn.call(void 0,
9987
9983
  `flex items-center justify-start gap-2`,
9988
9984
  user.isDeleted || !user.isActivated ? "text-muted-foreground italic" : ""
9989
9985
  ),
@@ -10077,11 +10073,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
10077
10073
  header: t(`foundations.content.fields.name.label`),
10078
10074
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
10079
10075
  const content = row.original.jsonApiData;
10080
- const contentModule = content.contentType ? _chunk2Z56AS2Sjs.Modules.findByModelName(content.contentType) : void 0;
10076
+ const contentModule = content.contentType ? _chunkU4NADAHNjs.Modules.findByModelName(content.contentType) : void 0;
10081
10077
  const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
10082
10078
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip2, { children: [
10083
10079
  /* @__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: [
10084
- contentModule && _chunk2Z56AS2Sjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
10080
+ contentModule && _chunkU4NADAHNjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
10085
10081
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link2, { href: link, children: content.name })
10086
10082
  ] }) }),
10087
10083
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: content.tldr })
@@ -10385,7 +10381,7 @@ function Register() {
10385
10381
  email: values.email,
10386
10382
  password: values.password
10387
10383
  };
10388
- await _chunkLOSPCUCFjs.AuthService.register(payload);
10384
+ await _chunkU4NADAHNjs.AuthService.register(payload);
10389
10385
  setShowConfirmation(true);
10390
10386
  } catch (e) {
10391
10387
  errorToast({ error: e });
@@ -10586,7 +10582,7 @@ function AcceptInvitation() {
10586
10582
  const payload = {
10587
10583
  code
10588
10584
  };
10589
- await _chunkLOSPCUCFjs.AuthService.validateCode(payload);
10585
+ await _chunkU4NADAHNjs.AuthService.validateCode(payload);
10590
10586
  } catch (e) {
10591
10587
  setError(e instanceof Error ? e.message : String(e));
10592
10588
  errorToast({ title: t(`generic.errors.error`), error: e });
@@ -10624,7 +10620,7 @@ function AcceptInvitation() {
10624
10620
  code: _optionalChain([params, 'optionalAccess', _303 => _303.code]),
10625
10621
  password: values.password
10626
10622
  };
10627
- await _chunkLOSPCUCFjs.AuthService.acceptInvitation(payload);
10623
+ await _chunkU4NADAHNjs.AuthService.acceptInvitation(payload);
10628
10624
  setShowConfirmation(true);
10629
10625
  _sonner.toast.success(t("foundations.auth.account_activated"), {
10630
10626
  description: t("foundations.auth.account_activated_description")
@@ -10687,7 +10683,7 @@ function ActivateAccount() {
10687
10683
  const payload = {
10688
10684
  activationCode: code
10689
10685
  };
10690
- await _chunkLOSPCUCFjs.AuthService.activate(payload);
10686
+ await _chunkU4NADAHNjs.AuthService.activate(payload);
10691
10687
  setShowConfirmation(true);
10692
10688
  setParams(void 0);
10693
10689
  _sonner.toast.success(t("foundations.auth.account_activated"), {
@@ -10730,8 +10726,8 @@ function Cookies({ dehydratedAuth, page }) {
10730
10726
  _react.useEffect.call(void 0, () => {
10731
10727
  if (hasSaved) return;
10732
10728
  async function saveTokenOnServer() {
10733
- await _chunkLOSPCUCFjs.AuthService.saveToken({ dehydratedAuth });
10734
- const auth = _chunk2Z56AS2Sjs.rehydrate.call(void 0, _chunk2Z56AS2Sjs.Modules.Auth, dehydratedAuth);
10729
+ await _chunkU4NADAHNjs.AuthService.saveToken({ dehydratedAuth });
10730
+ const auth = _chunkU4NADAHNjs.rehydrate.call(void 0, _chunkU4NADAHNjs.Modules.Auth, dehydratedAuth);
10735
10731
  setUser(auth.user);
10736
10732
  setHasSaved(true);
10737
10733
  if (page) {
@@ -10774,7 +10770,7 @@ function ForgotPassword() {
10774
10770
  const payload = {
10775
10771
  email: values.email
10776
10772
  };
10777
- await _chunkLOSPCUCFjs.AuthService.initialiseForgotPassword(payload);
10773
+ await _chunkU4NADAHNjs.AuthService.initialiseForgotPassword(payload);
10778
10774
  setShowConfirmation(true);
10779
10775
  } catch (e) {
10780
10776
  errorToast({ error: e });
@@ -10845,7 +10841,7 @@ function Login() {
10845
10841
  });
10846
10842
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
10847
10843
  try {
10848
- const user = await _chunkLOSPCUCFjs.AuthService.login({
10844
+ const user = await _chunkU4NADAHNjs.AuthService.login({
10849
10845
  email: values.email,
10850
10846
  password: values.password
10851
10847
  });
@@ -10924,7 +10920,7 @@ function Logout() {
10924
10920
  const generateUrl = usePageUrlGenerator();
10925
10921
  _react.useEffect.call(void 0, () => {
10926
10922
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
10927
- await _chunkLOSPCUCFjs.AuthService.logout();
10923
+ await _chunkU4NADAHNjs.AuthService.logout();
10928
10924
  window.location.href = generateUrl({ page: `/` });
10929
10925
  }, "logOut");
10930
10926
  logOut();
@@ -10939,7 +10935,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, Logout, "Logout");
10939
10935
  function RefreshUser() {
10940
10936
  const { setUser } = useCurrentUserContext();
10941
10937
  const loadFullUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
10942
- const fullUser = await _chunkLOSPCUCFjs.UserService.findFullUser();
10938
+ const fullUser = await _chunkU4NADAHNjs.UserService.findFullUser();
10943
10939
  if (fullUser) {
10944
10940
  setUser(fullUser);
10945
10941
  const token = {
@@ -10952,7 +10948,7 @@ function RefreshUser() {
10952
10948
  return { id: module.id, permissions: module.permissions };
10953
10949
  })
10954
10950
  };
10955
- await _optionalChain([_chunk2Z56AS2Sjs.getTokenHandler.call(void 0, ), 'optionalAccess', _312 => _312.updateToken, 'call', _313 => _313(token)]);
10951
+ await _optionalChain([_chunkU4NADAHNjs.getTokenHandler.call(void 0, ), 'optionalAccess', _312 => _312.updateToken, 'call', _313 => _313(token)]);
10956
10952
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
10957
10953
  }
10958
10954
  }, "loadFullUser");
@@ -10984,7 +10980,7 @@ function ResetPassword() {
10984
10980
  const payload = {
10985
10981
  code
10986
10982
  };
10987
- await _chunkLOSPCUCFjs.AuthService.validateCode(payload);
10983
+ await _chunkU4NADAHNjs.AuthService.validateCode(payload);
10988
10984
  } catch (e) {
10989
10985
  setError(e instanceof Error ? e.message : String(e));
10990
10986
  errorToast({ title: t(`generic.errors.error`), error: e });
@@ -11022,7 +11018,7 @@ function ResetPassword() {
11022
11018
  code: _optionalChain([params, 'optionalAccess', _315 => _315.code]),
11023
11019
  password: values.password
11024
11020
  };
11025
- await _chunkLOSPCUCFjs.AuthService.resetPassword(payload);
11021
+ await _chunkU4NADAHNjs.AuthService.resetPassword(payload);
11026
11022
  setShowConfirmation(true);
11027
11023
  _sonner.toast.success(t(`foundations.auth.reset_success`), {
11028
11024
  description: t(`foundations.auth.reset_success_description`)
@@ -11065,12 +11061,12 @@ function ContentsList({ contentList }) {
11065
11061
  _chunk7QVYU63Ejs.__name.call(void 0, ContentsList, "ContentsList");
11066
11062
  function ContentsListElement({ content }) {
11067
11063
  const generateUrl = usePageUrlGenerator();
11068
- const contentModule = content.contentType ? _chunk2Z56AS2Sjs.Modules.findByModelName(content.contentType) : void 0;
11064
+ const contentModule = content.contentType ? _chunkU4NADAHNjs.Modules.findByModelName(content.contentType) : void 0;
11069
11065
  const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
11070
11066
  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: [
11071
11067
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCard, { children: [
11072
11068
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoverCardTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Link2, { href: link, className: "flex w-full items-center justify-start gap-2 font-semibold", children: [
11073
- contentModule && _chunk2Z56AS2Sjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
11069
+ contentModule && _chunkU4NADAHNjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
11074
11070
  content.name
11075
11071
  ] }) }),
11076
11072
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCardContent, { className: "flex max-h-96 w-96 flex-col gap-y-4 overflow-y-auto", children: [
@@ -11089,8 +11085,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListElement, "ContentsListElement")
11089
11085
  function ContentsListById({ contentIds }) {
11090
11086
  const t = _nextintl.useTranslations.call(void 0, );
11091
11087
  const data = useDataListRetriever({
11092
- module: _chunk2Z56AS2Sjs.Modules.Content,
11093
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.ContentService.findMany(params), "retriever"),
11088
+ module: _chunkU4NADAHNjs.Modules.Content,
11089
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.ContentService.findMany(params), "retriever"),
11094
11090
  retrieverParams: { contentIds }
11095
11091
  });
11096
11092
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -11098,7 +11094,7 @@ function ContentsListById({ contentIds }) {
11098
11094
  {
11099
11095
  data,
11100
11096
  fields: ["name" /* name */, "authors" /* authors */, "updatedAt" /* updatedAt */],
11101
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.Content,
11097
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.Content,
11102
11098
  title: t(`generic.relevant`)
11103
11099
  }
11104
11100
  );
@@ -11111,8 +11107,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListById, "ContentsListById");
11111
11107
  function RelevantContentsList({ id }) {
11112
11108
  const t = _nextintl.useTranslations.call(void 0, );
11113
11109
  const data = useDataListRetriever({
11114
- module: _chunk2Z56AS2Sjs.Modules.Content,
11115
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.ContentService.findRelevant(params), "retriever"),
11110
+ module: _chunkU4NADAHNjs.Modules.Content,
11111
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.ContentService.findRelevant(params), "retriever"),
11116
11112
  retrieverParams: { id }
11117
11113
  });
11118
11114
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -11120,7 +11116,7 @@ function RelevantContentsList({ id }) {
11120
11116
  {
11121
11117
  data,
11122
11118
  fields: ["name" /* name */, "authors" /* authors */, "relevance" /* relevance */, "updatedAt" /* updatedAt */],
11123
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.Content,
11119
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.Content,
11124
11120
  title: t(`generic.relevant`)
11125
11121
  }
11126
11122
  );
@@ -11173,12 +11169,12 @@ function NotificationsList({ archived }) {
11173
11169
  const t = _nextintl.useTranslations.call(void 0, );
11174
11170
  const generateUrl = usePageUrlGenerator();
11175
11171
  const data = useDataListRetriever({
11176
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.NotificationService.findMany(params), "retriever"),
11172
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.NotificationService.findMany(params), "retriever"),
11177
11173
  retrieverParams: { isArchived: archived },
11178
- module: _chunk2Z56AS2Sjs.Modules.Notification
11174
+ module: _chunkU4NADAHNjs.Modules.Notification
11179
11175
  });
11180
11176
  const archiveNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (notification) => {
11181
- await _chunkLOSPCUCFjs.NotificationService.archive({ id: notification.id });
11177
+ await _chunkU4NADAHNjs.NotificationService.archive({ id: notification.id });
11182
11178
  data.removeElement(notification);
11183
11179
  }, "archiveNotification");
11184
11180
  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: [
@@ -11192,7 +11188,7 @@ function NotificationsList({ archived }) {
11192
11188
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _316 => _316.data, 'optionalAccess', _317 => _317.map, 'call', _318 => _318((notification) => {
11193
11189
  const notificationData = generateNotificationData({ notification, generateUrl });
11194
11190
  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: [
11195
- 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, Link2, { href: generateUrl({ page: _chunk2Z56AS2Sjs.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" }),
11191
+ 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, Link2, { href: generateUrl({ page: _chunkU4NADAHNjs.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" }),
11196
11192
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
11197
11193
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`foundations.notification.${notification.notificationType}.description`, {
11198
11194
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
@@ -11501,7 +11497,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
11501
11497
  const t = _nextintl.useTranslations.call(void 0, );
11502
11498
  _react.useEffect.call(void 0, () => {
11503
11499
  async function checkCompanyAdminDeletability() {
11504
- const roleUsers = await _chunkLOSPCUCFjs.UserService.findAllUsersByRole({
11500
+ const roleUsers = await _chunkU4NADAHNjs.UserService.findAllUsersByRole({
11505
11501
  roleId: role.id
11506
11502
  });
11507
11503
  if (roleUsers.length > 1) setCanRemove(true);
@@ -11515,7 +11511,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
11515
11511
  }, [role]);
11516
11512
  const remove = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
11517
11513
  try {
11518
- await _chunkLOSPCUCFjs.RoleService.removeUserFromRole({
11514
+ await _chunkU4NADAHNjs.RoleService.removeUserFromRole({
11519
11515
  roleId: role.id,
11520
11516
  userId: user.id
11521
11517
  });
@@ -11579,7 +11575,7 @@ function UserRoleAdd({ user, refresh }) {
11579
11575
  const [roles, setRoles] = _react.useState.call(void 0, []);
11580
11576
  const t = _nextintl.useTranslations.call(void 0, );
11581
11577
  const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (role) => {
11582
- await _chunkLOSPCUCFjs.RoleService.addUserToRole({
11578
+ await _chunkU4NADAHNjs.RoleService.addUserToRole({
11583
11579
  roleId: role.id,
11584
11580
  userId: user.id
11585
11581
  });
@@ -11603,7 +11599,7 @@ function UserRoleAdd({ user, refresh }) {
11603
11599
  const searchRoles = _react.useCallback.call(void 0,
11604
11600
  async (term) => {
11605
11601
  setRoles(
11606
- await _chunkLOSPCUCFjs.RoleService.findAllRolesUserNotIn({
11602
+ await _chunkU4NADAHNjs.RoleService.findAllRolesUserNotIn({
11607
11603
  search: term,
11608
11604
  userId: user.id
11609
11605
  })
@@ -11671,16 +11667,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserRoleAdd, "UserRoleAdd");
11671
11667
  function RolesList() {
11672
11668
  const t = _nextintl.useTranslations.call(void 0, );
11673
11669
  const data = useDataListRetriever({
11674
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.RoleService.findAllRoles(params), "retriever"),
11670
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.RoleService.findAllRoles(params), "retriever"),
11675
11671
  retrieverParams: {},
11676
- module: _chunk2Z56AS2Sjs.Modules.Role
11672
+ module: _chunkU4NADAHNjs.Modules.Role
11677
11673
  });
11678
11674
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11679
11675
  ContentListTable,
11680
11676
  {
11681
11677
  data,
11682
11678
  fields: ["name" /* name */, "description" /* description */],
11683
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.Role,
11679
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.Role,
11684
11680
  title: t(`types.roles`, { count: 2 })
11685
11681
  }
11686
11682
  );
@@ -11693,16 +11689,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RolesList, "RolesList");
11693
11689
  function UserRolesList({ user }) {
11694
11690
  const t = _nextintl.useTranslations.call(void 0, );
11695
11691
  const data = useDataListRetriever({
11696
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkLOSPCUCFjs.RoleService.findAllRolesByUser(params), "retriever"),
11692
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkU4NADAHNjs.RoleService.findAllRolesByUser(params), "retriever"),
11697
11693
  retrieverParams: { userId: user.id },
11698
- module: _chunk2Z56AS2Sjs.Modules.Role
11694
+ module: _chunkU4NADAHNjs.Modules.Role
11699
11695
  });
11700
11696
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11701
11697
  ContentListTable,
11702
11698
  {
11703
11699
  data,
11704
11700
  fields: ["name" /* name */, "description" /* description */],
11705
- tableGeneratorType: _chunk2Z56AS2Sjs.Modules.Role,
11701
+ tableGeneratorType: _chunkU4NADAHNjs.Modules.Role,
11706
11702
  title: t(`types.roles`, { count: 2 })
11707
11703
  }
11708
11704
  );
@@ -12086,4 +12082,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserRolesList, "UserRolesList");
12086
12082
 
12087
12083
 
12088
12084
  exports.JsonApiContext = JsonApiContext; exports.useJsonApiConfig = useJsonApiConfig; exports.useJsonApiConfigOptional = useJsonApiConfigOptional; 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.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.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; 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.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; 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 = CollapsibleTrigger2; exports.CollapsibleContent = CollapsibleContent2; 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.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.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuLabel = ContextMenuLabel; 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.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label3; exports.Form = Form; exports.FormField = FormField; exports.useFormField = useFormField; exports.FormItem = FormItem; exports.FormLabel = FormLabel; exports.FormControl = FormControl; exports.FormDescription = FormDescription; exports.FormMessage = FormMessage; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.Input = Input; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverAnchor = PopoverAnchor; exports.PopoverContent = PopoverContent; exports.Progress = Progress; exports.RadioGroup = RadioGroup3; 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.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.Separator = Separator4; 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.SIDEBAR_WIDTH = SIDEBAR_WIDTH; exports.SIDEBAR_WIDTH_MOBILE = SIDEBAR_WIDTH_MOBILE; exports.SIDEBAR_WIDTH_ICON = SIDEBAR_WIDTH_ICON; 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.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Textarea = Textarea; 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 = Link2; exports.MultiSelect = MultiSelect; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header2; 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.FormCheckbox = FormCheckbox; exports.FormContainerGeneric = FormContainerGeneric; 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;
12089
- //# sourceMappingURL=chunk-SVX7E6RR.js.map
12085
+ //# sourceMappingURL=chunk-4L7OWJ2P.js.map