@carlonicora/nextjs-jsonapi 6.29.1 → 6.30.0

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 (32) hide show
  1. package/dist/{BlockNoteEditor-K4HWQLPJ.js → BlockNoteEditor-FTRTY4YJ.js} +15 -15
  2. package/dist/{BlockNoteEditor-K4HWQLPJ.js.map → BlockNoteEditor-FTRTY4YJ.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-TDX2RC7I.mjs → BlockNoteEditor-SQQF7OCY.mjs} +2 -2
  4. package/dist/billing/index.js +378 -378
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-OVSR72CZ.mjs → chunk-MNN6MTEN.mjs} +183 -178
  7. package/dist/{chunk-QI4SCGPB.js.map → chunk-MNN6MTEN.mjs.map} +1 -1
  8. package/dist/{chunk-QI4SCGPB.js → chunk-S4FSGMKX.js} +9 -4
  9. package/dist/chunk-S4FSGMKX.js.map +1 -0
  10. package/dist/client/index.js +2 -2
  11. package/dist/client/index.mjs +1 -1
  12. package/dist/components/forms/CommonEditorButtons.d.ts.map +1 -1
  13. package/dist/components/index.js +2 -2
  14. package/dist/components/index.mjs +1 -1
  15. package/dist/contexts/index.js +2 -2
  16. package/dist/contexts/index.mjs +1 -1
  17. package/dist/email-automations/index.js +78 -78
  18. package/dist/email-automations/index.mjs +1 -1
  19. package/dist/features/analytics/index.js +107 -107
  20. package/dist/features/analytics/index.mjs +1 -1
  21. package/dist/features/blog/index.js +93 -93
  22. package/dist/features/blog/index.mjs +1 -1
  23. package/dist/features/help/index.js +31 -31
  24. package/dist/features/help/index.mjs +1 -1
  25. package/dist/features/tokenusage/index.js +102 -102
  26. package/dist/features/tokenusage/index.mjs +1 -1
  27. package/messages/en.json +1 -0
  28. package/messages/it.json +1 -0
  29. package/package.json +1 -1
  30. package/src/components/forms/CommonEditorButtons.tsx +16 -2
  31. package/dist/chunk-OVSR72CZ.mjs.map +0 -1
  32. /package/dist/{BlockNoteEditor-TDX2RC7I.mjs.map → BlockNoteEditor-SQQF7OCY.mjs.map} +0 -0
@@ -6767,7 +6767,7 @@ __name(useHeaderLogo, "useHeaderLogo");
6767
6767
 
6768
6768
  // src/components/navigations/Breadcrumb.tsx
6769
6769
  import { useTranslations as useTranslations57 } from "next-intl";
6770
- import { Fragment as Fragment23, useState as useState50 } from "react";
6770
+ import { Fragment as Fragment24, useState as useState50 } from "react";
6771
6771
  import { ChevronDownIcon as ChevronDownIcon8 } from "lucide-react";
6772
6772
 
6773
6773
  // src/hooks/TableGeneratorRegistry.ts
@@ -7926,7 +7926,7 @@ var useAdministrationContext = /* @__PURE__ */ __name(() => {
7926
7926
 
7927
7927
  // src/features/company/contexts/CompanyContext.tsx
7928
7928
  import { useTranslations as useTranslations47 } from "next-intl";
7929
- import { Fragment as Fragment21, createContext as createContext17, useContext as useContext18, useState as useState39 } from "react";
7929
+ import { Fragment as Fragment22, createContext as createContext17, useContext as useContext18, useState as useState39 } from "react";
7930
7930
 
7931
7931
  // src/features/user/contexts/CurrentUserContext.tsx
7932
7932
  import { getCookie } from "cookies-next";
@@ -9555,7 +9555,8 @@ __name(CommonDeleter, "CommonDeleter");
9555
9555
 
9556
9556
  // src/components/forms/CommonEditorButtons.tsx
9557
9557
  import { useTranslations as useTranslations14 } from "next-intl";
9558
- import { jsx as jsx81, jsxs as jsxs43 } from "react/jsx-runtime";
9558
+ import { Loader2 as Loader23 } from "lucide-react";
9559
+ import { Fragment as Fragment10, jsx as jsx81, jsxs as jsxs43 } from "react/jsx-runtime";
9559
9560
  function CommonEditorButtons({
9560
9561
  isEdit,
9561
9562
  form,
@@ -9566,11 +9567,15 @@ function CommonEditorButtons({
9566
9567
  buttonTitle
9567
9568
  }) {
9568
9569
  const t = useTranslations14();
9570
+ const submitLabel = form.formState.isSubmitting ? /* @__PURE__ */ jsxs43(Fragment10, { children: [
9571
+ /* @__PURE__ */ jsx81(Loader23, { className: "h-4 w-4 animate-spin" }),
9572
+ t(`ui.buttons.saving`)
9573
+ ] }) : buttonTitle ? buttonTitle : isEdit ? t(`ui.buttons.confirm_update`) : t(`ui.buttons.confirm_create`);
9569
9574
  if (centerButtons) {
9570
9575
  return /* @__PURE__ */ jsxs43("div", { className: "flex w-full items-center justify-between gap-x-2", children: [
9571
9576
  /* @__PURE__ */ jsx81(Button, { variant: "outline", type: `button`, onClick: () => setOpen(false), "data-testid": `modal-button-cancel`, children: t(`ui.buttons.cancel`) }),
9572
9577
  /* @__PURE__ */ jsx81("div", { className: "flex flex-1 justify-center gap-x-2", children: centerButtons }),
9573
- !hideSubmit ? /* @__PURE__ */ jsx81(Button, { type: "submit", disabled: form.formState.isSubmitting || disabled, "data-testid": `modal-button-create`, children: buttonTitle ? buttonTitle : isEdit ? t(`ui.buttons.confirm_update`) : t(`ui.buttons.confirm_create`) }) : /* @__PURE__ */ jsx81("div", {})
9578
+ !hideSubmit ? /* @__PURE__ */ jsx81(Button, { type: "submit", disabled: form.formState.isSubmitting || disabled, "data-testid": `modal-button-create`, children: submitLabel }) : /* @__PURE__ */ jsx81("div", {})
9574
9579
  ] });
9575
9580
  }
9576
9581
  return /* @__PURE__ */ jsxs43("div", { className: "flex justify-end", children: [
@@ -9585,7 +9590,7 @@ function CommonEditorButtons({
9585
9590
  children: t(`ui.buttons.cancel`)
9586
9591
  }
9587
9592
  ),
9588
- !hideSubmit && /* @__PURE__ */ jsx81(Button, { type: "submit", disabled: form.formState.isSubmitting || disabled, "data-testid": `modal-button-create`, children: buttonTitle ? buttonTitle : isEdit ? t(`ui.buttons.confirm_update`) : t(`ui.buttons.confirm_create`) })
9593
+ !hideSubmit && /* @__PURE__ */ jsx81(Button, { type: "submit", disabled: form.formState.isSubmitting || disabled, "data-testid": `modal-button-create`, children: submitLabel })
9589
9594
  ] });
9590
9595
  }
9591
9596
  __name(CommonEditorButtons, "CommonEditorButtons");
@@ -9898,7 +9903,7 @@ var DatePickerPopover = /* @__PURE__ */ __name(({
9898
9903
  import { CalendarIcon as CalendarIcon2 } from "lucide-react";
9899
9904
  import { useTranslations as useTranslations18 } from "next-intl";
9900
9905
  import { useEffect as useEffect17, useState as useState23 } from "react";
9901
- import { Fragment as Fragment10, jsx as jsx87, jsxs as jsxs48 } from "react/jsx-runtime";
9906
+ import { Fragment as Fragment11, jsx as jsx87, jsxs as jsxs48 } from "react/jsx-runtime";
9902
9907
  function nextDateRange(params) {
9903
9908
  const { current, computed, triggerDate } = params;
9904
9909
  if (!computed) return void 0;
@@ -9942,7 +9947,7 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
9942
9947
  className: cn("w-[300px] justify-start text-start font-normal", !date && "text-muted-foreground"),
9943
9948
  children: [
9944
9949
  /* @__PURE__ */ jsx87(CalendarIcon2, {}),
9945
- date?.from ? date.to ? /* @__PURE__ */ jsxs48(Fragment10, { children: [
9950
+ date?.from ? date.to ? /* @__PURE__ */ jsxs48(Fragment11, { children: [
9946
9951
  format(date.from, "dateMedium"),
9947
9952
  " - ",
9948
9953
  format(date.to, "dateMedium")
@@ -9965,7 +9970,7 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
9965
9970
  ),
9966
9971
  children: [
9967
9972
  /* @__PURE__ */ jsx87(CalendarIcon2, {}),
9968
- date?.from ? date.to ? /* @__PURE__ */ jsxs48(Fragment10, { children: [
9973
+ date?.from ? date.to ? /* @__PURE__ */ jsxs48(Fragment11, { children: [
9969
9974
  format(date.from, "dateMedium"),
9970
9975
  " - ",
9971
9976
  format(date.to, "dateMedium")
@@ -10132,7 +10137,7 @@ function useEditorDialog(isFormDirty, options) {
10132
10137
  __name(useEditorDialog, "useEditorDialog");
10133
10138
 
10134
10139
  // src/components/forms/EditorSheet.tsx
10135
- import { Fragment as Fragment11, jsx as jsx88, jsxs as jsxs49 } from "react/jsx-runtime";
10140
+ import { Fragment as Fragment12, jsx as jsx88, jsxs as jsxs49 } from "react/jsx-runtime";
10136
10141
  function resolveTriggerIsNativeButton(trigger) {
10137
10142
  if (!isValidElement2(trigger)) return true;
10138
10143
  const props = trigger.props ?? {};
@@ -10256,7 +10261,7 @@ function EditorSheet({
10256
10261
  );
10257
10262
  const headerTitle = titleOverride ?? (isEdit ? t("common.edit.update.title", { type: entityType }) : t("common.edit.create.title", { type: entityType }));
10258
10263
  const headerDescription = descriptionOverride ?? (isEdit ? t("common.edit.update.description", { type: entityType, name: entityName2 ?? "" }) : t("common.edit.create.description", { type: entityType }));
10259
- return /* @__PURE__ */ jsxs49(Fragment11, { children: [
10264
+ return /* @__PURE__ */ jsxs49(Fragment12, { children: [
10260
10265
  /* @__PURE__ */ jsxs49(Sheet, { open, onOpenChange: handleOpenChange, children: [
10261
10266
  dialogOpen === void 0 && forceShow === void 0 && (trigger ? (
10262
10267
  // Base UI: the trigger renders its own <button>. Pass the caller's
@@ -10314,7 +10319,7 @@ function EditorSheet({
10314
10319
  ] }),
10315
10320
  /* @__PURE__ */ jsx88("div", { className: "flex shrink-0 items-center gap-x-2", children: actions })
10316
10321
  ] })
10317
- ) : /* @__PURE__ */ jsxs49(Fragment11, { children: [
10322
+ ) : /* @__PURE__ */ jsxs49(Fragment12, { children: [
10318
10323
  /* @__PURE__ */ jsx88(SheetTitle, { children: headerTitle }),
10319
10324
  /* @__PURE__ */ jsx88(SheetDescription, { children: headerDescription })
10320
10325
  ] }) }),
@@ -10877,7 +10882,7 @@ import { useRef as useRef18 } from "react";
10877
10882
  import dynamic from "next/dynamic";
10878
10883
  import React18 from "react";
10879
10884
  import { jsx as jsx91 } from "react/jsx-runtime";
10880
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-TDX2RC7I.mjs"), {
10885
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-SQQF7OCY.mjs"), {
10881
10886
  ssr: false
10882
10887
  });
10883
10888
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -12247,7 +12252,7 @@ var useUserSearch = /* @__PURE__ */ __name(() => {
12247
12252
  // src/features/user/hooks/useUserTableStructure.tsx
12248
12253
  import { useTranslations as useTranslations25 } from "next-intl";
12249
12254
  import { useMemo as useMemo16 } from "react";
12250
- import { Fragment as Fragment12, jsx as jsx109, jsxs as jsxs65 } from "react/jsx-runtime";
12255
+ import { Fragment as Fragment13, jsx as jsx109, jsxs as jsxs65 } from "react/jsx-runtime";
12251
12256
  var useUserTableStructure = /* @__PURE__ */ __name((params) => {
12252
12257
  const t = useTranslations25();
12253
12258
  const generateUrl = usePageUrlGenerator();
@@ -12299,7 +12304,7 @@ var useUserTableStructure = /* @__PURE__ */ __name((params) => {
12299
12304
  id: "email",
12300
12305
  accessorKey: "email",
12301
12306
  header: t(`common.fields.email.label`),
12302
- cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx109(Fragment12, { children: row.getValue("email") }), "cell"),
12307
+ cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx109(Fragment13, { children: row.getValue("email") }), "cell"),
12303
12308
  enableSorting: false,
12304
12309
  enableHiding: false
12305
12310
  }),
@@ -12324,7 +12329,7 @@ var useUserTableStructure = /* @__PURE__ */ __name((params) => {
12324
12329
  header: t(`common.relevance`),
12325
12330
  cell: /* @__PURE__ */ __name(({ row }) => {
12326
12331
  const user = row.original.jsonApiData;
12327
- if (!user.relevance) return /* @__PURE__ */ jsx109(Fragment12, {});
12332
+ if (!user.relevance) return /* @__PURE__ */ jsx109(Fragment13, {});
12328
12333
  const response = `${user.relevance.toFixed(0)}%`;
12329
12334
  return /* @__PURE__ */ jsxs65("div", { className: "relative flex h-5 w-20 items-center justify-center overflow-clip rounded border text-center", children: [
12330
12335
  /* @__PURE__ */ jsx109(
@@ -12418,7 +12423,7 @@ var UserSearchPopover = /* @__PURE__ */ __name(({ children, onSelect, align = "s
12418
12423
  }, "UserSearchPopover");
12419
12424
 
12420
12425
  // src/features/user/components/forms/UserSelector.tsx
12421
- import { Fragment as Fragment13, jsx as jsx111, jsxs as jsxs67 } from "react/jsx-runtime";
12426
+ import { Fragment as Fragment14, jsx as jsx111, jsxs as jsxs67 } from "react/jsx-runtime";
12422
12427
  function UserSelector({ id, form, label, placeholder, onChange, isRequired = false }) {
12423
12428
  const t = useTranslations27();
12424
12429
  const [open, setOpen] = useState35(false);
@@ -12502,7 +12507,7 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
12502
12507
  search("");
12503
12508
  }
12504
12509
  }
12505
- ) : /* @__PURE__ */ jsx111(Fragment13, {})
12510
+ ) : /* @__PURE__ */ jsx111(Fragment14, {})
12506
12511
  ] }),
12507
12512
  /* @__PURE__ */ jsx111(CommandList, { children: data.data && data.data.length > 0 && data.data.map((user) => /* @__PURE__ */ jsxs67(
12508
12513
  CommandItem,
@@ -12669,7 +12674,7 @@ __name(AttributeElement, "AttributeElement");
12669
12674
 
12670
12675
  // src/features/user/components/details/UserContent.tsx
12671
12676
  import { BriefcaseIcon, MailIcon as MailIcon2, PhoneIcon } from "lucide-react";
12672
- import { Fragment as Fragment14, jsx as jsx117, jsxs as jsxs69 } from "react/jsx-runtime";
12677
+ import { Fragment as Fragment15, jsx as jsx117, jsxs as jsxs69 } from "react/jsx-runtime";
12673
12678
  function UserContent({ user }) {
12674
12679
  const t = useTranslations31();
12675
12680
  const generateUrl = usePageUrlGenerator();
@@ -12697,7 +12702,7 @@ function UserContent({ user }) {
12697
12702
  ),
12698
12703
  /* @__PURE__ */ jsxs69("div", { className: "flex flex-col gap-y-2", children: [
12699
12704
  user.roles && user.roles.length > 0 && /* @__PURE__ */ jsx117("div", { className: "flex flex-wrap gap-2", children: user.roles.map((role) => /* @__PURE__ */ jsx117(Link, { href: generateUrl({ page: Modules.Role, id: role.id }), children: /* @__PURE__ */ jsx117(Badge, { variant: "default", children: t(`role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }),
12700
- user.isDeleted ? /* @__PURE__ */ jsx117("div", { children: /* @__PURE__ */ jsx117(Badge, { variant: "destructive", children: t(`user.errors.deleted`) }) }) : /* @__PURE__ */ jsx117(Fragment14, { children: !user.isActivated && /* @__PURE__ */ jsx117("div", { children: /* @__PURE__ */ jsx117(Badge, { variant: "destructive", children: t(`user.errors.inactive`) }) }) }),
12705
+ user.isDeleted ? /* @__PURE__ */ jsx117("div", { children: /* @__PURE__ */ jsx117(Badge, { variant: "destructive", children: t(`user.errors.deleted`) }) }) : /* @__PURE__ */ jsx117(Fragment15, { children: !user.isActivated && /* @__PURE__ */ jsx117("div", { children: /* @__PURE__ */ jsx117(Badge, { variant: "destructive", children: t(`user.errors.inactive`) }) }) }),
12701
12706
  user.title && /* @__PURE__ */ jsxs69("div", { className: "text-muted-foreground flex items-center gap-x-2 text-sm", children: [
12702
12707
  /* @__PURE__ */ jsx117(BriefcaseIcon, { className: "h-4 w-4 shrink-0" }),
12703
12708
  user.title
@@ -12736,12 +12741,12 @@ __name(UserIndexDetails, "UserIndexDetails");
12736
12741
  // src/features/user/components/details/UserStandaloneDetails.tsx
12737
12742
  import { useTranslations as useTranslations32 } from "next-intl";
12738
12743
  import Image4 from "next/image";
12739
- import { Fragment as Fragment15, jsx as jsx119, jsxs as jsxs71 } from "react/jsx-runtime";
12744
+ import { Fragment as Fragment16, jsx as jsx119, jsxs as jsxs71 } from "react/jsx-runtime";
12740
12745
  function UserStanadaloneDetails({ user }) {
12741
12746
  const generateUrl = usePageUrlGenerator();
12742
12747
  const t = useTranslations32();
12743
12748
  const { title } = useSharedContext();
12744
- let roles = /* @__PURE__ */ jsx119(Fragment15, {});
12749
+ let roles = /* @__PURE__ */ jsx119(Fragment16, {});
12745
12750
  if (user.roles && user.roles.length > 0) {
12746
12751
  roles = /* @__PURE__ */ jsx119("div", { className: "mb-4 w-full", children: /* @__PURE__ */ jsx119("div", { className: "flex flex-wrap gap-2", children: user.roles.map((role, _index) => /* @__PURE__ */ jsx119(Link, { href: generateUrl({ page: Modules.Role, id: role.id }), children: /* @__PURE__ */ jsx119(Badge, { className: "me-2", variant: `default`, children: t(`role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }) });
12747
12752
  }
@@ -12759,7 +12764,7 @@ function UserStanadaloneDetails({ user }) {
12759
12764
  ) }) }),
12760
12765
  /* @__PURE__ */ jsxs71("div", { className: "flex w-full flex-col gap-y-2", children: [
12761
12766
  /* @__PURE__ */ jsx119(ContentTitle, { module: Modules.User, type: title.type, element: title.element, functions: title.functions }),
12762
- user.isDeleted ? /* @__PURE__ */ jsx119("div", { children: /* @__PURE__ */ jsx119(Badge, { variant: "destructive", children: t(`user.errors.deleted`) }) }) : /* @__PURE__ */ jsx119(Fragment15, { children: !user.isActivated && /* @__PURE__ */ jsx119("div", { children: /* @__PURE__ */ jsx119(Badge, { variant: "destructive", children: t(`user.errors.inactive`) }) }) }),
12767
+ user.isDeleted ? /* @__PURE__ */ jsx119("div", { children: /* @__PURE__ */ jsx119(Badge, { variant: "destructive", children: t(`user.errors.deleted`) }) }) : /* @__PURE__ */ jsx119(Fragment16, { children: !user.isActivated && /* @__PURE__ */ jsx119("div", { children: /* @__PURE__ */ jsx119(Badge, { variant: "destructive", children: t(`user.errors.inactive`) }) }) }),
12763
12768
  roles,
12764
12769
  /* @__PURE__ */ jsx119(AttributeElement, { inline: true, title: t(`user.fields.title.label`), value: user.title }),
12765
12770
  /* @__PURE__ */ jsx119(AttributeElement, { inline: true, title: t(`common.fields.email.label`), value: user.email }),
@@ -12942,9 +12947,9 @@ __name(RoleUsersList, "RoleUsersList");
12942
12947
 
12943
12948
  // src/features/user/components/lists/UserListInAdd.tsx
12944
12949
  import React21 from "react";
12945
- import { Fragment as Fragment16, jsx as jsx128, jsxs as jsxs73 } from "react/jsx-runtime";
12950
+ import { Fragment as Fragment17, jsx as jsx128, jsxs as jsxs73 } from "react/jsx-runtime";
12946
12951
  function UserListInAdd({ data, existingUsers, setSelectedUser, setLevelOpen }) {
12947
- return /* @__PURE__ */ jsx128(Fragment16, { children: data.data !== void 0 && data.data.filter(
12952
+ return /* @__PURE__ */ jsx128(Fragment17, { children: data.data !== void 0 && data.data.filter(
12948
12953
  (user) => existingUsers && !existingUsers.find((existingUser) => existingUser.id === user.id)
12949
12954
  ).map((user) => {
12950
12955
  return /* @__PURE__ */ jsx128(React21.Fragment, { children: /* @__PURE__ */ jsx128(
@@ -13142,7 +13147,7 @@ __name(CompanyContent, "CompanyContent");
13142
13147
  import { Battery, BatteryFull, BatteryLow, BatteryMedium, PlusCircle } from "lucide-react";
13143
13148
  import Link2 from "next/link";
13144
13149
  import { useTranslations as useTranslations42 } from "next-intl";
13145
- import { Fragment as Fragment17, jsx as jsx134, jsxs as jsxs76 } from "react/jsx-runtime";
13150
+ import { Fragment as Fragment18, jsx as jsx134, jsxs as jsxs76 } from "react/jsx-runtime";
13146
13151
  var asWholeCredits = /* @__PURE__ */ __name((value, locale) => Math.trunc(value).toLocaleString(locale), "asWholeCredits");
13147
13152
  function TokenStatusIndicator({
13148
13153
  className,
@@ -13232,7 +13237,7 @@ function TokenStatusIndicator({
13232
13237
  /* @__PURE__ */ jsx134(Link2, { href: "/settings/billing?action=subscribe", className: "w-full flex justify-end my-4", children: /* @__PURE__ */ jsx134(Button, { variant: "outline", size: "sm", children: t("billing.tokens.purchase_extra", { defaultValue: "Purchase additional analysis" }) }) })
13233
13238
  ] })
13234
13239
  ] });
13235
- const badge = /* @__PURE__ */ jsxs76(Fragment17, { children: [
13240
+ const badge = /* @__PURE__ */ jsxs76(Fragment18, { children: [
13236
13241
  getBatteryIcon(),
13237
13242
  /* @__PURE__ */ jsx134("span", { className: cn(textSize, "text-muted-foreground font-medium leading-none"), children: asWholeCredits(availableMonthlyCredits, locale) }),
13238
13243
  showExtraPages && availableExtraCredits > 0 && /* @__PURE__ */ jsxs76("span", { className: "inline-flex items-center gap-0.5", children: [
@@ -13290,12 +13295,12 @@ function CompanyDetails() {
13290
13295
  __name(CompanyDetails, "CompanyDetails");
13291
13296
 
13292
13297
  // src/features/company/components/containers/AdminCompanyContainer.tsx
13293
- import { Fragment as Fragment18, jsx as jsx136, jsxs as jsxs78 } from "react/jsx-runtime";
13298
+ import { Fragment as Fragment19, jsx as jsx136, jsxs as jsxs78 } from "react/jsx-runtime";
13294
13299
  function AdminCompanyContainerInternal() {
13295
13300
  const { company } = useCompanyContext();
13296
13301
  const { hasRole } = useCurrentUserContext();
13297
13302
  if (!company || !hasRole(getRoleId().Administrator)) return null;
13298
- return /* @__PURE__ */ jsxs78(Fragment18, { children: [
13303
+ return /* @__PURE__ */ jsxs78(Fragment19, { children: [
13299
13304
  /* @__PURE__ */ jsx136(CompanyDetails, {}),
13300
13305
  /* @__PURE__ */ jsx136(AdminUsersList, {})
13301
13306
  ] });
@@ -13318,7 +13323,7 @@ import { useCallback as useCallback22, useEffect as useEffect28, useMemo as useM
13318
13323
  import { useForm as useForm2 } from "react-hook-form";
13319
13324
  import { v4 as v42 } from "uuid";
13320
13325
  import { z as z2 } from "zod";
13321
- import { Fragment as Fragment19, jsx as jsx137, jsxs as jsxs79 } from "react/jsx-runtime";
13326
+ import { Fragment as Fragment20, jsx as jsx137, jsxs as jsxs79 } from "react/jsx-runtime";
13322
13327
  function CompanyEditorInternal({
13323
13328
  company,
13324
13329
  propagateChanges,
@@ -13480,7 +13485,7 @@ function CompanyEditorInternal({
13480
13485
  height: 200,
13481
13486
  unoptimized: isRemoteImageSrc(file ? void 0 : company?.logo)
13482
13487
  }
13483
- ) : /* @__PURE__ */ jsxs79(Fragment19, { children: [
13488
+ ) : /* @__PURE__ */ jsxs79(Fragment20, { children: [
13484
13489
  /* @__PURE__ */ jsx137(UploadIcon3, { className: "my-4 h-8 w-8" }),
13485
13490
  /* @__PURE__ */ jsx137("p", { className: "mb-1 flex w-full text-center text-sm", children: t(`company.click_drag_logo`) })
13486
13491
  ] }) }) }) }) }) }),
@@ -13628,7 +13633,7 @@ __name(CompanyConfigurationEditor, "CompanyConfigurationEditor");
13628
13633
  import { LoaderCircleIcon as LoaderCircleIcon3, Trash2Icon as Trash2Icon3 } from "lucide-react";
13629
13634
  import { useTranslations as useTranslations46 } from "next-intl";
13630
13635
  import { useState as useState38 } from "react";
13631
- import { Fragment as Fragment20, jsx as jsx142, jsxs as jsxs81 } from "react/jsx-runtime";
13636
+ import { Fragment as Fragment21, jsx as jsx142, jsxs as jsxs81 } from "react/jsx-runtime";
13632
13637
  function CompanyDeleterInternal({ company, isAdministrator: isAdministrator2 }) {
13633
13638
  const t = useTranslations46();
13634
13639
  const generateUrl = usePageUrlGenerator();
@@ -13659,7 +13664,7 @@ function CompanyDeleterInternal({ company, isAdministrator: isAdministrator2 })
13659
13664
  setFinalWarningOpen(false);
13660
13665
  setCompanyName("");
13661
13666
  }, "handleGoBack");
13662
- return /* @__PURE__ */ jsxs81(Fragment20, { children: [
13667
+ return /* @__PURE__ */ jsxs81(Fragment21, { children: [
13663
13668
  /* @__PURE__ */ jsxs81(AlertDialog, { open, onOpenChange: setOpen, children: [
13664
13669
  /* @__PURE__ */ jsx142(AlertDialogTrigger, { children: /* @__PURE__ */ jsx142(
13665
13670
  Button,
@@ -13740,7 +13745,7 @@ function CompanyDeleterInternal({ company, isAdministrator: isAdministrator2 })
13740
13745
  },
13741
13746
  variant: "destructive",
13742
13747
  disabled: isDeleting,
13743
- children: isDeleting ? /* @__PURE__ */ jsxs81(Fragment20, { children: [
13748
+ children: isDeleting ? /* @__PURE__ */ jsxs81(Fragment21, { children: [
13744
13749
  t(`ui.buttons.deleting`),
13745
13750
  /* @__PURE__ */ jsx142(LoaderCircleIcon3, { className: "animate-spin-slow h-5 w-5" })
13746
13751
  ] }) : t(`ui.buttons.delete_forever`)
@@ -13801,7 +13806,7 @@ var CompanyProvider = /* @__PURE__ */ __name(({ children, dehydratedCompany, con
13801
13806
  functions.push(/* @__PURE__ */ jsx143(CompanyDeleter, { company }, "companyDeleter"));
13802
13807
  if (hasRole(getRoleId().Administrator) || hasPermissionToModule({ module: Modules.Company, action: "update" /* Update */ })) {
13803
13808
  if (company && configurationEditorSlot)
13804
- functions.push(/* @__PURE__ */ jsx143(Fragment21, { children: configurationEditorSlot }, "configurationEditorSlot"));
13809
+ functions.push(/* @__PURE__ */ jsx143(Fragment22, { children: configurationEditorSlot }, "configurationEditorSlot"));
13805
13810
  functions.push(/* @__PURE__ */ jsx143(CompanyEditor, { company, propagateChanges: setCompany }, "companyEditor"));
13806
13811
  }
13807
13812
  if (functions.length > 0) response.functions = functions;
@@ -13857,7 +13862,7 @@ function NotificationIcon({ notificationType, className }) {
13857
13862
  __name(NotificationIcon, "NotificationIcon");
13858
13863
 
13859
13864
  // src/features/notification/components/notifications/Notification.tsx
13860
- import { Fragment as Fragment22, jsx as jsx145, jsxs as jsxs82 } from "react/jsx-runtime";
13865
+ import { Fragment as Fragment23, jsx as jsx145, jsxs as jsxs82 } from "react/jsx-runtime";
13861
13866
  var generateNotificationData = /* @__PURE__ */ __name((params) => {
13862
13867
  const response = {};
13863
13868
  response.actor = params.notification.actor;
@@ -13868,7 +13873,7 @@ var generateNotificationData = /* @__PURE__ */ __name((params) => {
13868
13873
  }, "generateNotificationData");
13869
13874
  function NotificationToastTime({ date }) {
13870
13875
  const { format } = useDateFormatter();
13871
- return /* @__PURE__ */ jsx145(Fragment22, { children: format(new Date(date), "dateTime") });
13876
+ return /* @__PURE__ */ jsx145(Fragment23, { children: format(new Date(date), "dateTime") });
13872
13877
  }
13873
13878
  __name(NotificationToastTime, "NotificationToastTime");
13874
13879
  function NotificationToast(notification, t, generateUrl, reouter, dateLocaleSource = null) {
@@ -13899,7 +13904,7 @@ __name(NotificationToast, "NotificationToast");
13899
13904
  function NotificationMenuItemTime({ date }) {
13900
13905
  const { locale } = useDateFormatter();
13901
13906
  const now = useMountedNow();
13902
- return /* @__PURE__ */ jsx145(Fragment22, { children: now ? formatDate(new Date(date), "default", locale, now) : "" });
13907
+ return /* @__PURE__ */ jsx145(Fragment23, { children: now ? formatDate(new Date(date), "default", locale, now) : "" });
13903
13908
  }
13904
13909
  __name(NotificationMenuItemTime, "NotificationMenuItemTime");
13905
13910
  function NotificationMenuItem({ notification, closePopover }) {
@@ -15720,7 +15725,7 @@ function useSocket({ token, paused = false }) {
15720
15725
  __name(useSocket, "useSocket");
15721
15726
 
15722
15727
  // src/components/navigations/Breadcrumb.tsx
15723
- import { Fragment as Fragment24, jsx as jsx161, jsxs as jsxs87 } from "react/jsx-runtime";
15728
+ import { Fragment as Fragment25, jsx as jsx161, jsxs as jsxs87 } from "react/jsx-runtime";
15724
15729
  var ITEMS_TO_DISPLAY = 4;
15725
15730
  function BreadcrumbDesktop({
15726
15731
  items,
@@ -15731,24 +15736,24 @@ function BreadcrumbDesktop({
15731
15736
  const t = useTranslations57();
15732
15737
  const [open, setOpen] = useState50(false);
15733
15738
  return /* @__PURE__ */ jsx161(Breadcrumb, { children: /* @__PURE__ */ jsxs87(BreadcrumbList, { children: [
15734
- showRoot && /* @__PURE__ */ jsxs87(Fragment24, { children: [
15739
+ showRoot && /* @__PURE__ */ jsxs87(Fragment25, { children: [
15735
15740
  /* @__PURE__ */ jsx161(BreadcrumbItem, { children: /* @__PURE__ */ jsx161(Link, { href: generateUrl({ page: `/` }), children: rootLabel }) }),
15736
15741
  items.length > 0 && /* @__PURE__ */ jsx161(BreadcrumbSeparator, {})
15737
15742
  ] }),
15738
- items.length > ITEMS_TO_DISPLAY ? /* @__PURE__ */ jsxs87(Fragment24, { children: [
15739
- /* @__PURE__ */ jsx161(BreadcrumbItem, { children: items[0].href ? /* @__PURE__ */ jsx161(Link, { href: items[0].href, onClick: items[0].onClick, children: items[0].name }) : /* @__PURE__ */ jsx161(Fragment24, { children: items[0].name }) }),
15743
+ items.length > ITEMS_TO_DISPLAY ? /* @__PURE__ */ jsxs87(Fragment25, { children: [
15744
+ /* @__PURE__ */ jsx161(BreadcrumbItem, { children: items[0].href ? /* @__PURE__ */ jsx161(Link, { href: items[0].href, onClick: items[0].onClick, children: items[0].name }) : /* @__PURE__ */ jsx161(Fragment25, { children: items[0].name }) }),
15740
15745
  /* @__PURE__ */ jsx161(BreadcrumbSeparator, {}),
15741
15746
  /* @__PURE__ */ jsx161(BreadcrumbItem, { children: /* @__PURE__ */ jsxs87(DropdownMenu, { open, onOpenChange: setOpen, children: [
15742
15747
  /* @__PURE__ */ jsx161(DropdownMenuTrigger, { className: "flex items-center gap-1", "aria-label": t("ui.labels.toggle_menu"), children: /* @__PURE__ */ jsx161(BreadcrumbEllipsis, { className: "h-4 w-4", label: t("ui.labels.more") }) }),
15743
15748
  /* @__PURE__ */ jsx161(DropdownMenuContent, { align: "start", children: items.slice(1, -ITEMS_TO_DISPLAY + 2).map((item, index) => /* @__PURE__ */ jsx161(DropdownMenuItem, { children: /* @__PURE__ */ jsx161(Link, { href: item.href ? item.href : "#", onClick: item.onClick, children: item.name }) }, index)) })
15744
15749
  ] }) }),
15745
15750
  /* @__PURE__ */ jsx161(BreadcrumbSeparator, {}),
15746
- items.slice(-ITEMS_TO_DISPLAY + 2).map((item, index) => /* @__PURE__ */ jsxs87(Fragment23, { children: [
15747
- /* @__PURE__ */ jsx161(BreadcrumbItem, { children: item.href ? /* @__PURE__ */ jsx161(Link, { href: item.href, onClick: item.onClick, children: item.name }) : /* @__PURE__ */ jsx161(Fragment24, { children: item.name }) }),
15751
+ items.slice(-ITEMS_TO_DISPLAY + 2).map((item, index) => /* @__PURE__ */ jsxs87(Fragment24, { children: [
15752
+ /* @__PURE__ */ jsx161(BreadcrumbItem, { children: item.href ? /* @__PURE__ */ jsx161(Link, { href: item.href, onClick: item.onClick, children: item.name }) : /* @__PURE__ */ jsx161(Fragment25, { children: item.name }) }),
15748
15753
  index < items.slice(-ITEMS_TO_DISPLAY + 2).length - 1 && /* @__PURE__ */ jsx161(BreadcrumbSeparator, {})
15749
15754
  ] }, index))
15750
- ] }) : /* @__PURE__ */ jsx161(Fragment24, { children: items.map((item, index) => /* @__PURE__ */ jsxs87(Fragment23, { children: [
15751
- /* @__PURE__ */ jsx161(BreadcrumbItem, { children: item.href ? /* @__PURE__ */ jsx161(Link, { href: item.href, onClick: item.onClick, children: item.name }) : /* @__PURE__ */ jsx161(Fragment24, { children: item.name }) }),
15755
+ ] }) : /* @__PURE__ */ jsx161(Fragment25, { children: items.map((item, index) => /* @__PURE__ */ jsxs87(Fragment24, { children: [
15756
+ /* @__PURE__ */ jsx161(BreadcrumbItem, { children: item.href ? /* @__PURE__ */ jsx161(Link, { href: item.href, onClick: item.onClick, children: item.name }) : /* @__PURE__ */ jsx161(Fragment25, { children: item.name }) }),
15752
15757
  index < items.length - 1 && /* @__PURE__ */ jsx161(BreadcrumbSeparator, {})
15753
15758
  ] }, index)) })
15754
15759
  ] }) });
@@ -15912,7 +15917,7 @@ __name(Header, "Header");
15912
15917
  // src/components/navigations/MobileNavigationBar.tsx
15913
15918
  import { useTranslations as useTranslations59 } from "next-intl";
15914
15919
  import { usePathname as usePathname2 } from "next/navigation";
15915
- import { Fragment as Fragment25, jsx as jsx164, jsxs as jsxs90 } from "react/jsx-runtime";
15920
+ import { Fragment as Fragment26, jsx as jsx164, jsxs as jsxs90 } from "react/jsx-runtime";
15916
15921
  function isActiveHref(pathname, href) {
15917
15922
  if (href === "/") return pathname === "/";
15918
15923
  return pathname === href || pathname.startsWith(`${href}/`);
@@ -15924,7 +15929,7 @@ var slotClass = cn(
15924
15929
  "transition-colors"
15925
15930
  );
15926
15931
  function SlotContent({ item }) {
15927
- if (item.render) return /* @__PURE__ */ jsx164(Fragment25, { children: item.render });
15932
+ if (item.render) return /* @__PURE__ */ jsx164(Fragment26, { children: item.render });
15928
15933
  const Icon = item.icon;
15929
15934
  return Icon ? /* @__PURE__ */ jsx164(Icon, { className: "size-6" }) : null;
15930
15935
  }
@@ -15945,7 +15950,7 @@ function MobileNavigationBar({ className } = {}) {
15945
15950
  children: items.map((item) => {
15946
15951
  const active = item.href ? isActiveHref(pathname, item.href) : false;
15947
15952
  const tone = active ? "text-primary" : "text-muted-foreground";
15948
- const body = /* @__PURE__ */ jsxs90(Fragment25, { children: [
15953
+ const body = /* @__PURE__ */ jsxs90(Fragment26, { children: [
15949
15954
  active && /* @__PURE__ */ jsx164("span", { "aria-hidden": true, className: "bg-primary absolute inset-x-0 top-0 h-0.5" }),
15950
15955
  /* @__PURE__ */ jsx164(SlotContent, { item })
15951
15956
  ] });
@@ -16374,7 +16379,7 @@ __name(detailsFitsByDefault, "detailsFitsByDefault");
16374
16379
  // src/components/containers/RoundPageContainerTitle.tsx
16375
16380
  import { InfoIcon as InfoIcon2 } from "lucide-react";
16376
16381
  import { useTranslations as useTranslations62 } from "next-intl";
16377
- import { Fragment as Fragment26, jsx as jsx171, jsxs as jsxs95 } from "react/jsx-runtime";
16382
+ import { Fragment as Fragment27, jsx as jsx171, jsxs as jsxs95 } from "react/jsx-runtime";
16378
16383
  var HEADER_ROW_MIN_H = "min-h-[53px]";
16379
16384
  function RoundPageContainerTitle({
16380
16385
  module,
@@ -16434,7 +16439,7 @@ function RoundPageContainerTitle({
16434
16439
  module && module.icon ? /* @__PURE__ */ jsx171(module.icon, { className: "text-primary h-5 w-5 shrink-0" }) : title.icon,
16435
16440
  /* @__PURE__ */ jsxs95("span", { className: "truncate", children: [
16436
16441
  title.type,
16437
- title.element && /* @__PURE__ */ jsxs95(Fragment26, { children: [
16442
+ title.element && /* @__PURE__ */ jsxs95(Fragment27, { children: [
16438
16443
  /* @__PURE__ */ jsx171("span", { "aria-hidden": true, children: " \xB7 " }),
16439
16444
  /* @__PURE__ */ jsx171("span", { className: "text-primary font-semibold", children: title.element })
16440
16445
  ] })
@@ -16474,8 +16479,8 @@ __name(RoundPageContainerTitle, "RoundPageContainerTitle");
16474
16479
  // src/components/containers/RoundPageContainer.tsx
16475
16480
  import { useTranslations as useTranslations63 } from "next-intl";
16476
16481
  import { useSearchParams } from "next/navigation";
16477
- import { Fragment as Fragment27, useCallback as useCallback28, useEffect as useEffect45, useMemo as useMemo23, useRef as useRef29, useState as useState56 } from "react";
16478
- import { Fragment as Fragment28, jsx as jsx172, jsxs as jsxs96 } from "react/jsx-runtime";
16482
+ import { Fragment as Fragment28, useCallback as useCallback28, useEffect as useEffect45, useMemo as useMemo23, useRef as useRef29, useState as useState56 } from "react";
16483
+ import { Fragment as Fragment29, jsx as jsx172, jsxs as jsxs96 } from "react/jsx-runtime";
16479
16484
  var DETAILS_COOKIE_NAME = "round_page_details_state";
16480
16485
  var DETAILS_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
16481
16486
  var railTriggerClass = cn(
@@ -16601,7 +16606,7 @@ function RoundPageContainer({
16601
16606
  const innerScrollY = mobileFlow ? `` : scrollY;
16602
16607
  const showMobileSectionPicker = (tabs?.length ?? 0) > 1;
16603
16608
  if (!isReady) {
16604
- return /* @__PURE__ */ jsxs96(Fragment28, { children: [
16609
+ return /* @__PURE__ */ jsxs96(Fragment29, { children: [
16605
16610
  /* @__PURE__ */ jsx172(
16606
16611
  Header,
16607
16612
  {
@@ -16639,7 +16644,7 @@ function RoundPageContainer({
16639
16644
  )
16640
16645
  ] });
16641
16646
  }
16642
- return /* @__PURE__ */ jsxs96(Fragment28, { children: [
16647
+ return /* @__PURE__ */ jsxs96(Fragment29, { children: [
16643
16648
  /* @__PURE__ */ jsx172(
16644
16649
  Header,
16645
16650
  {
@@ -16713,7 +16718,7 @@ function RoundPageContainer({
16713
16718
  railHeader && /* @__PURE__ */ jsx172("div", { children: railHeader }),
16714
16719
  /* @__PURE__ */ jsxs96(TabsList, { className: "flex h-auto w-full flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
16715
16720
  ungrouped.map((tab) => /* @__PURE__ */ jsx172(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tabValue(tab))),
16716
- groups.map((group) => /* @__PURE__ */ jsxs96(Fragment27, { children: [
16721
+ groups.map((group) => /* @__PURE__ */ jsxs96(Fragment28, { children: [
16717
16722
  /* @__PURE__ */ jsx172(MicroLabel, { as: "span", role: "presentation", className: "block px-3 pt-3 pb-1", children: group.label }),
16718
16723
  group.items.map((tab) => /* @__PURE__ */ jsx172(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tabValue(tab)))
16719
16724
  ] }, group.label))
@@ -16804,7 +16809,7 @@ function RoundPageContainer({
16804
16809
  ),
16805
16810
  children: [
16806
16811
  header,
16807
- tabs ? /* @__PURE__ */ jsxs96(Fragment28, { children: [
16812
+ tabs ? /* @__PURE__ */ jsxs96(Fragment29, { children: [
16808
16813
  /* @__PURE__ */ jsxs96(
16809
16814
  Tabs,
16810
16815
  {
@@ -16929,7 +16934,7 @@ function RoundPageContainer({
16929
16934
  __name(RoundPageContainer, "RoundPageContainer");
16930
16935
 
16931
16936
  // src/components/containers/TabsContainer.tsx
16932
- import { Fragment as Fragment29, jsx as jsx173, jsxs as jsxs97 } from "react/jsx-runtime";
16937
+ import { Fragment as Fragment30, jsx as jsx173, jsxs as jsxs97 } from "react/jsx-runtime";
16933
16938
  function TabsContainer({
16934
16939
  tabs,
16935
16940
  defaultTab,
@@ -16974,7 +16979,7 @@ function TabsContainer({
16974
16979
  ),
16975
16980
  additionalComponent && additionalComponent
16976
16981
  ] }),
16977
- scrollAreaClassName ? /* @__PURE__ */ jsx173(ScrollArea, { className: scrollAreaClassName, children: validTabs.map((tab) => /* @__PURE__ */ jsx173(TabsContent, { value: tab.label, children: tab.content }, tab.label)) }) : /* @__PURE__ */ jsx173(Fragment29, { children: validTabs.map((tab) => /* @__PURE__ */ jsx173(TabsContent, { value: tab.label, children: tab.content }, tab.label)) })
16982
+ scrollAreaClassName ? /* @__PURE__ */ jsx173(ScrollArea, { className: scrollAreaClassName, children: validTabs.map((tab) => /* @__PURE__ */ jsx173(TabsContent, { value: tab.label, children: tab.content }, tab.label)) }) : /* @__PURE__ */ jsx173(Fragment30, { children: validTabs.map((tab) => /* @__PURE__ */ jsx173(TabsContent, { value: tab.label, children: tab.content }, tab.label)) })
16978
16983
  ] });
16979
16984
  }
16980
16985
  __name(TabsContainer, "TabsContainer");
@@ -17933,7 +17938,7 @@ __name(useSubscriptionStatus, "useSubscriptionStatus");
17933
17938
  // src/features/role/hooks/useRoleTableStructure.tsx
17934
17939
  import { useTranslations as useTranslations67 } from "next-intl";
17935
17940
  import { useMemo as useMemo29 } from "react";
17936
- import { Fragment as Fragment30, jsx as jsx189 } from "react/jsx-runtime";
17941
+ import { Fragment as Fragment31, jsx as jsx189 } from "react/jsx-runtime";
17937
17942
  var useRoleTableStructure = /* @__PURE__ */ __name((params) => {
17938
17943
  const t = useTranslations67();
17939
17944
  const generateUrl = usePageUrlGenerator();
@@ -17970,7 +17975,7 @@ var useRoleTableStructure = /* @__PURE__ */ __name((params) => {
17970
17975
  id: "description",
17971
17976
  accessorKey: "description",
17972
17977
  header: t(`role.fields.description.label`),
17973
- cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx189(Fragment30, { children: row.getValue("description") }), "cell"),
17978
+ cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx189(Fragment31, { children: row.getValue("description") }), "cell"),
17974
17979
  enableSorting: false,
17975
17980
  enableHiding: false
17976
17981
  }),
@@ -19345,7 +19350,7 @@ var useWaitlistTableStructure = /* @__PURE__ */ __name((params) => {
19345
19350
  // src/features/content/hooks/useContentTableStructure.tsx
19346
19351
  import { useTranslations as useTranslations79 } from "next-intl";
19347
19352
  import { useMemo as useMemo38 } from "react";
19348
- import { Fragment as Fragment31, jsx as jsx200, jsxs as jsxs108 } from "react/jsx-runtime";
19353
+ import { Fragment as Fragment32, jsx as jsx200, jsxs as jsxs108 } from "react/jsx-runtime";
19349
19354
  var useContentTableStructure = /* @__PURE__ */ __name((params) => {
19350
19355
  const t = useTranslations79();
19351
19356
  const generateUrl = usePageUrlGenerator();
@@ -19376,7 +19381,7 @@ var useContentTableStructure = /* @__PURE__ */ __name((params) => {
19376
19381
  const contentModule = content.contentType ? Modules.findByModelName(content.contentType) : void 0;
19377
19382
  const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
19378
19383
  return /* @__PURE__ */ jsxs108(Tooltip2, { children: [
19379
- /* @__PURE__ */ jsx200(TooltipTrigger, { className: "flex items-center justify-start space-x-2", children: /* @__PURE__ */ jsxs108(Fragment31, { children: [
19384
+ /* @__PURE__ */ jsx200(TooltipTrigger, { className: "flex items-center justify-start space-x-2", children: /* @__PURE__ */ jsxs108(Fragment32, { children: [
19380
19385
  contentModule && getIconByModule({ module: contentModule, className: "h-4 w-4" }),
19381
19386
  /* @__PURE__ */ jsx200(Link, { href: link, children: content.name })
19382
19387
  ] }) }),
@@ -19392,7 +19397,7 @@ var useContentTableStructure = /* @__PURE__ */ __name((params) => {
19392
19397
  header: t(`common.relevance`),
19393
19398
  cell: /* @__PURE__ */ __name(({ row }) => {
19394
19399
  const content = row.original.jsonApiData;
19395
- if (!content.relevance) return /* @__PURE__ */ jsx200(Fragment31, {});
19400
+ if (!content.relevance) return /* @__PURE__ */ jsx200(Fragment32, {});
19396
19401
  const response = `${content.relevance.toFixed(0)}%`;
19397
19402
  return /* @__PURE__ */ jsxs108("div", { className: "relative flex h-5 w-20 items-center justify-center overflow-clip rounded border text-center", children: [
19398
19403
  /* @__PURE__ */ jsx200(
@@ -19792,7 +19797,7 @@ registerTableGenerator("waitlists", useWaitlistTableStructure);
19792
19797
 
19793
19798
  // src/components/tables/ContentListTable.tsx
19794
19799
  import { flexRender, getCoreRowModel, getExpandedRowModel, useReactTable } from "@tanstack/react-table";
19795
- import { ChevronLeft, ChevronRight, Loader2 as Loader23 } from "lucide-react";
19800
+ import { ChevronLeft, ChevronRight, Loader2 as Loader24 } from "lucide-react";
19796
19801
  import { useTranslations as useTranslations85 } from "next-intl";
19797
19802
  import React31, { memo, useMemo as useMemo39, useState as useState72 } from "react";
19798
19803
 
@@ -19902,7 +19907,7 @@ function ContentTableSearch({ data }) {
19902
19907
  __name(ContentTableSearch, "ContentTableSearch");
19903
19908
 
19904
19909
  // src/components/tables/ContentListTable.tsx
19905
- import { Fragment as Fragment32, jsx as jsx202, jsxs as jsxs110 } from "react/jsx-runtime";
19910
+ import { Fragment as Fragment33, jsx as jsx202, jsxs as jsxs110 } from "react/jsx-runtime";
19906
19911
  var EMPTY_ARRAY = [];
19907
19912
  function getGroupKeys(item, field) {
19908
19913
  const value = item.jsonApiData[field];
@@ -19917,7 +19922,7 @@ function getGroupKeys(item, field) {
19917
19922
  __name(getGroupKeys, "getGroupKeys");
19918
19923
  var isClassComponent = /* @__PURE__ */ __name((component) => typeof component === "function" && !!component.prototype?.isReactComponent, "isClassComponent");
19919
19924
  function StableCell({ render, context }) {
19920
- return /* @__PURE__ */ jsx202(Fragment32, { children: render(context) });
19925
+ return /* @__PURE__ */ jsx202(Fragment33, { children: render(context) });
19921
19926
  }
19922
19927
  __name(StableCell, "StableCell");
19923
19928
  function renderCell(cellDef, context) {
@@ -20033,7 +20038,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
20033
20038
  }
20034
20039
  );
20035
20040
  const hasTitleControls = !!(props.functions || props.filters || allowSearch);
20036
- const titleControls = /* @__PURE__ */ jsxs110(Fragment32, { children: [
20041
+ const titleControls = /* @__PURE__ */ jsxs110(Fragment33, { children: [
20037
20042
  props.filters,
20038
20043
  props.functions,
20039
20044
  allowSearch !== false && /* @__PURE__ */ jsx202(ContentTableSearch, { data })
@@ -20110,7 +20115,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
20110
20115
  data.previous?.(true);
20111
20116
  },
20112
20117
  disabled: !data.previous || pendingDirection !== null,
20113
- children: pendingDirection === "prev" ? /* @__PURE__ */ jsx202(Loader23, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx202(ChevronLeft, { className: "h-4 w-4 rtl:rotate-180" })
20118
+ children: pendingDirection === "prev" ? /* @__PURE__ */ jsx202(Loader24, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx202(ChevronLeft, { className: "h-4 w-4 rtl:rotate-180" })
20114
20119
  }
20115
20120
  ),
20116
20121
  data.pageInfo && /* @__PURE__ */ jsx202("span", { className: "text-muted-foreground text-xs", children: `${data.pageInfo.startItem}-${data.pageInfo.endItem}${data.total ? ` of ${data.total}` : ""}` }),
@@ -20125,7 +20130,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
20125
20130
  data.next?.(true);
20126
20131
  },
20127
20132
  disabled: !data.next || pendingDirection !== null,
20128
- children: pendingDirection === "next" ? /* @__PURE__ */ jsx202(Loader23, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx202(ChevronRight, { className: "h-4 w-4 rtl:rotate-180" })
20133
+ children: pendingDirection === "next" ? /* @__PURE__ */ jsx202(Loader24, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx202(ChevronRight, { className: "h-4 w-4 rtl:rotate-180" })
20129
20134
  }
20130
20135
  )
20131
20136
  ] }) }) }) })
@@ -20135,7 +20140,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
20135
20140
 
20136
20141
  // src/components/grids/ContentListGrid.tsx
20137
20142
  import { useEffect as useEffect56, useRef as useRef37 } from "react";
20138
- import { Fragment as Fragment33, jsx as jsx203, jsxs as jsxs111 } from "react/jsx-runtime";
20143
+ import { Fragment as Fragment34, jsx as jsx203, jsxs as jsxs111 } from "react/jsx-runtime";
20139
20144
  var DEFAULT_GRID_CLASSES = "grid grid-cols-2 gap-4 p-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5";
20140
20145
  function ContentListGrid(props) {
20141
20146
  const { data, ItemComponent, allowSearch, fullWidth, gridClassName } = props;
@@ -20166,7 +20171,7 @@ function ContentListGrid(props) {
20166
20171
  ]
20167
20172
  }
20168
20173
  ) }),
20169
- (props.functions || props.filters || allowSearch) && /* @__PURE__ */ jsxs111(Fragment33, { children: [
20174
+ (props.functions || props.filters || allowSearch) && /* @__PURE__ */ jsxs111(Fragment34, { children: [
20170
20175
  props.functions,
20171
20176
  props.filters,
20172
20177
  allowSearch && /* @__PURE__ */ jsx203(ContentTableSearch, { data })
@@ -20404,7 +20409,7 @@ function AccountDeletionCancelledNotice({ choosePlanHref }) {
20404
20409
  __name(AccountDeletionCancelledNotice, "AccountDeletionCancelledNotice");
20405
20410
 
20406
20411
  // src/features/account-deletion/components/AccountDeletionKeepContainer.tsx
20407
- import { CheckCircle, Loader2 as Loader24, XCircle as XCircle2 } from "lucide-react";
20412
+ import { CheckCircle, Loader2 as Loader25, XCircle as XCircle2 } from "lucide-react";
20408
20413
  import { useTranslations as useTranslations88 } from "next-intl";
20409
20414
  import { useEffect as useEffect58, useRef as useRef39, useState as useState75 } from "react";
20410
20415
  import { jsx as jsx211, jsxs as jsxs117 } from "react/jsx-runtime";
@@ -20419,7 +20424,7 @@ function AccountDeletionKeepContainer({ token }) {
20419
20424
  }, [token]);
20420
20425
  if (state === "loading") {
20421
20426
  return /* @__PURE__ */ jsxs117("div", { className: "flex flex-col items-center justify-center space-y-4 py-16 text-center", children: [
20422
- /* @__PURE__ */ jsx211(Loader24, { className: "text-primary h-12 w-12 animate-spin" }),
20427
+ /* @__PURE__ */ jsx211(Loader25, { className: "text-primary h-12 w-12 animate-spin" }),
20423
20428
  /* @__PURE__ */ jsx211("p", { className: "text-muted-foreground", children: t("ui.buttons.loading") })
20424
20429
  ] });
20425
20430
  }
@@ -20447,7 +20452,7 @@ import { createContext as createContext29, useContext as useContext29, useMemo a
20447
20452
 
20448
20453
  // src/features/auth/components/forms/Register.tsx
20449
20454
  import { zodResolver as zodResolver6 } from "@hookform/resolvers/zod";
20450
- import { Loader2 as Loader25 } from "lucide-react";
20455
+ import { Loader2 as Loader26 } from "lucide-react";
20451
20456
  import { useTranslations as useTranslations90 } from "next-intl";
20452
20457
  import Image7 from "next/image";
20453
20458
  import { useSearchParams as useSearchParams2 } from "next/navigation";
@@ -20458,14 +20463,14 @@ import { z as z7 } from "zod";
20458
20463
 
20459
20464
  // src/features/auth/components/GdprConsentSection.tsx
20460
20465
  import { useTranslations as useTranslations89 } from "next-intl";
20461
- import { Fragment as Fragment34, jsx as jsx212, jsxs as jsxs118 } from "react/jsx-runtime";
20466
+ import { Fragment as Fragment35, jsx as jsx212, jsxs as jsxs118 } from "react/jsx-runtime";
20462
20467
  function GdprConsentSection({
20463
20468
  form,
20464
20469
  termsCheckboxId = "termsAccepted",
20465
20470
  marketingCheckboxId = "marketingConsent"
20466
20471
  }) {
20467
20472
  const t = useTranslations89("auth.gdpr");
20468
- const termsLabel = /* @__PURE__ */ jsxs118(Fragment34, { children: [
20473
+ const termsLabel = /* @__PURE__ */ jsxs118(Fragment35, { children: [
20469
20474
  t("terms_prefix"),
20470
20475
  " ",
20471
20476
  /* @__PURE__ */ jsx212(Link, { href: "/terms", target: "_blank", rel: "noopener", children: t("terms_of_service") }),
@@ -20490,7 +20495,7 @@ function GdprConsentSection({
20490
20495
  __name(GdprConsentSection, "GdprConsentSection");
20491
20496
 
20492
20497
  // src/features/auth/components/forms/Register.tsx
20493
- import { Fragment as Fragment35, jsx as jsx213, jsxs as jsxs119 } from "react/jsx-runtime";
20498
+ import { Fragment as Fragment36, jsx as jsx213, jsxs as jsxs119 } from "react/jsx-runtime";
20494
20499
  var REFERRAL_COOKIE_NAME = "referral_code";
20495
20500
  function getReferralCode() {
20496
20501
  if (typeof document === "undefined") return null;
@@ -20612,19 +20617,19 @@ function Register() {
20612
20617
  }
20613
20618
  }, "onSubmit");
20614
20619
  if (registrationMode === "waitlist" && inviteCode && isValidatingInvite) {
20615
- return /* @__PURE__ */ jsxs119(Fragment35, { children: [
20620
+ return /* @__PURE__ */ jsxs119(Fragment36, { children: [
20616
20621
  /* @__PURE__ */ jsx213(CardHeader, { children: /* @__PURE__ */ jsxs119(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
20617
20622
  /* @__PURE__ */ jsx213(Image7, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
20618
20623
  t("waitlist.invite.validating_title")
20619
20624
  ] }) }),
20620
20625
  /* @__PURE__ */ jsxs119(CardContent, { className: "flex flex-col items-center justify-center space-y-4 py-8", children: [
20621
- /* @__PURE__ */ jsx213(Loader25, { className: "h-8 w-8 animate-spin text-primary" }),
20626
+ /* @__PURE__ */ jsx213(Loader26, { className: "h-8 w-8 animate-spin text-primary" }),
20622
20627
  /* @__PURE__ */ jsx213("p", { className: "text-muted-foreground", children: t("waitlist.invite.validating_description") })
20623
20628
  ] })
20624
20629
  ] });
20625
20630
  }
20626
20631
  if (registrationMode === "waitlist" && inviteCode && inviteError) {
20627
- return /* @__PURE__ */ jsxs119(Fragment35, { children: [
20632
+ return /* @__PURE__ */ jsxs119(Fragment36, { children: [
20628
20633
  /* @__PURE__ */ jsx213(CardHeader, { children: /* @__PURE__ */ jsxs119(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
20629
20634
  /* @__PURE__ */ jsx213(Image7, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
20630
20635
  t("waitlist.invite.invalid_title")
@@ -20637,7 +20642,7 @@ function Register() {
20637
20642
  ] });
20638
20643
  }
20639
20644
  if (registrationMode === "waitlist" && !inviteCode) {
20640
- return /* @__PURE__ */ jsxs119(Fragment35, { children: [
20645
+ return /* @__PURE__ */ jsxs119(Fragment36, { children: [
20641
20646
  /* @__PURE__ */ jsx213(CardHeader, { children: /* @__PURE__ */ jsxs119(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
20642
20647
  /* @__PURE__ */ jsx213(Image7, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
20643
20648
  t("waitlist.invite.registration_title")
@@ -20650,13 +20655,13 @@ function Register() {
20650
20655
  /* @__PURE__ */ jsx213(CardFooter, { className: "flex w-full flex-row justify-between", children: /* @__PURE__ */ jsx213(Link, { href: "#", className: "flex w-full justify-start", onClick: () => setComponentType(0 /* Login */), children: t("auth.buttons.login") }) })
20651
20656
  ] });
20652
20657
  }
20653
- return /* @__PURE__ */ jsxs119(Fragment35, { children: [
20658
+ return /* @__PURE__ */ jsxs119(Fragment36, { children: [
20654
20659
  /* @__PURE__ */ jsxs119(CardHeader, { children: [
20655
20660
  /* @__PURE__ */ jsxs119(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
20656
20661
  /* @__PURE__ */ jsx213(Image7, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
20657
20662
  t(`auth.buttons.register`)
20658
20663
  ] }),
20659
- /* @__PURE__ */ jsx213(CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ jsx213(Fragment35, { children: " " }) : /* @__PURE__ */ jsx213(Fragment35, { children: t(`auth.register_description`) }) })
20664
+ /* @__PURE__ */ jsx213(CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ jsx213(Fragment36, { children: " " }) : /* @__PURE__ */ jsx213(Fragment36, { children: t(`auth.register_description`) }) })
20660
20665
  ] }),
20661
20666
  showConfirmation ? /* @__PURE__ */ jsx213(CardContent, { children: /* @__PURE__ */ jsx213(CardDescription, { className: "text-center text-xl", children: t("auth.register_confirmation") }) }) : /* @__PURE__ */ jsx213(Form, { ...form, children: /* @__PURE__ */ jsxs119("form", { onSubmit: form.handleSubmit(onSubmit), children: [
20662
20667
  /* @__PURE__ */ jsxs119(CardContent, { children: [
@@ -21091,7 +21096,7 @@ __name(DisableTwoFactorDialog, "DisableTwoFactorDialog");
21091
21096
  import { Edit, Key, Trash2 } from "lucide-react";
21092
21097
  import { useTranslations as useTranslations93 } from "next-intl";
21093
21098
  import { useState as useState81 } from "react";
21094
- import { Fragment as Fragment36, jsx as jsx219, jsxs as jsxs123 } from "react/jsx-runtime";
21099
+ import { Fragment as Fragment37, jsx as jsx219, jsxs as jsxs123 } from "react/jsx-runtime";
21095
21100
  function PasskeyList({ passkeys, onRefresh }) {
21096
21101
  const t = useTranslations93();
21097
21102
  const dates = useDateFormatter();
@@ -21148,7 +21153,7 @@ function PasskeyList({ passkeys, onRefresh }) {
21148
21153
  if (passkeys.length === 0) {
21149
21154
  return /* @__PURE__ */ jsx219("p", { className: "text-sm text-muted-foreground text-center py-4", children: t("auth.two_factor.no_passkeys") });
21150
21155
  }
21151
- return /* @__PURE__ */ jsxs123(Fragment36, { children: [
21156
+ return /* @__PURE__ */ jsxs123(Fragment37, { children: [
21152
21157
  /* @__PURE__ */ jsx219("div", { className: "space-y-2", children: passkeys.map((passkey) => /* @__PURE__ */ jsxs123("div", { className: "flex items-center justify-between p-3 border rounded-lg", children: [
21153
21158
  /* @__PURE__ */ jsxs123("div", { className: "flex items-center gap-3", children: [
21154
21159
  /* @__PURE__ */ jsx219(Key, { className: "h-5 w-5 text-muted-foreground" }),
@@ -21466,7 +21471,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
21466
21471
  __name(TotpSetupDialog, "TotpSetupDialog");
21467
21472
 
21468
21473
  // src/features/auth/components/two-factor/TwoFactorSettings.tsx
21469
- import { Fragment as Fragment37, jsx as jsx223, jsxs as jsxs127 } from "react/jsx-runtime";
21474
+ import { Fragment as Fragment38, jsx as jsx223, jsxs as jsxs127 } from "react/jsx-runtime";
21470
21475
  function TwoFactorSettings() {
21471
21476
  const t = useTranslations97();
21472
21477
  const [status, setStatus] = useState85(null);
@@ -21553,7 +21558,7 @@ function TwoFactorSettings() {
21553
21558
  ] }),
21554
21559
  /* @__PURE__ */ jsx223(BackupCodesDialog, { remainingCodes: status?.backupCodesCount ?? 0, onRegenerate: handleRefresh })
21555
21560
  ] }) }),
21556
- !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ jsxs127(Fragment37, { children: [
21561
+ !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ jsxs127(Fragment38, { children: [
21557
21562
  /* @__PURE__ */ jsx223(Separator, {}),
21558
21563
  /* @__PURE__ */ jsxs127("div", { className: "flex items-center justify-between", children: [
21559
21564
  /* @__PURE__ */ jsxs127("div", { children: [
@@ -21563,7 +21568,7 @@ function TwoFactorSettings() {
21563
21568
  /* @__PURE__ */ jsx223(Button, { onClick: handleEnable2FA, disabled: isEnabling, children: isEnabling ? t("common.loading") : t("auth.two_factor.enable_button") })
21564
21569
  ] })
21565
21570
  ] }),
21566
- isEnabled && /* @__PURE__ */ jsxs127(Fragment37, { children: [
21571
+ isEnabled && /* @__PURE__ */ jsxs127(Fragment38, { children: [
21567
21572
  /* @__PURE__ */ jsx223(Separator, {}),
21568
21573
  /* @__PURE__ */ jsxs127("div", { className: "flex items-center justify-between", children: [
21569
21574
  /* @__PURE__ */ jsxs127("div", { children: [
@@ -21649,11 +21654,11 @@ function GoogleSignInButton({ referralCode, source }) {
21649
21654
  __name(GoogleSignInButton, "GoogleSignInButton");
21650
21655
 
21651
21656
  // src/features/auth/components/details/LandingComponent.tsx
21652
- import { Fragment as Fragment38, jsx as jsx226, jsxs as jsxs129 } from "react/jsx-runtime";
21657
+ import { Fragment as Fragment39, jsx as jsx226, jsxs as jsxs129 } from "react/jsx-runtime";
21653
21658
  function LandingComponent() {
21654
21659
  const t = useTranslations99();
21655
21660
  const { setComponentType } = useAuthContext();
21656
- return /* @__PURE__ */ jsxs129(Fragment38, { children: [
21661
+ return /* @__PURE__ */ jsxs129(Fragment39, { children: [
21657
21662
  /* @__PURE__ */ jsxs129(CardHeader, { className: "mb-4", "data-testid": "page-pre-login-container", children: [
21658
21663
  /* @__PURE__ */ jsxs129(CardTitle, { className: "text-primary flex flex-col items-center gap-y-8 pb-8 text-4xl", children: [
21659
21664
  /* @__PURE__ */ jsx226(Image9, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
@@ -21662,7 +21667,7 @@ function LandingComponent() {
21662
21667
  /* @__PURE__ */ jsx226(CardDescription, { className: "flex w-full justify-center text-center text-sm", children: t(`common.description`) })
21663
21668
  ] }),
21664
21669
  /* @__PURE__ */ jsxs129(CardFooter, { className: "mt-4 flex w-full flex-col justify-between gap-y-4", children: [
21665
- isInternalAuthEnabled() && /* @__PURE__ */ jsxs129(Fragment38, { children: [
21670
+ isInternalAuthEnabled() && /* @__PURE__ */ jsxs129(Fragment39, { children: [
21666
21671
  isRegistrationAllowed() && /* @__PURE__ */ jsx226(
21667
21672
  Link,
21668
21673
  {
@@ -21688,7 +21693,7 @@ import Image10 from "next/image";
21688
21693
  import { useEffect as useEffect62, useState as useState86 } from "react";
21689
21694
  import { useForm as useForm7 } from "react-hook-form";
21690
21695
  import { z as z8 } from "zod";
21691
- import { Fragment as Fragment39, jsx as jsx227, jsxs as jsxs130 } from "react/jsx-runtime";
21696
+ import { Fragment as Fragment40, jsx as jsx227, jsxs as jsxs130 } from "react/jsx-runtime";
21692
21697
  function AcceptInvitation() {
21693
21698
  const { setComponentType, params, setParams } = useAuthContext();
21694
21699
  const [showConfirmation, setShowConfirmation] = useState86(false);
@@ -21751,13 +21756,13 @@ function AcceptInvitation() {
21751
21756
  errorToast({ title: t(`common.errors.error`), error });
21752
21757
  }
21753
21758
  }, "onSubmit");
21754
- return /* @__PURE__ */ jsxs130(Fragment39, { children: [
21759
+ return /* @__PURE__ */ jsxs130(Fragment40, { children: [
21755
21760
  /* @__PURE__ */ jsxs130(CardHeader, { children: [
21756
21761
  /* @__PURE__ */ jsxs130(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
21757
21762
  /* @__PURE__ */ jsx227(Image10, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
21758
21763
  t("auth.accept_invitation")
21759
21764
  ] }),
21760
- /* @__PURE__ */ jsx227(CardDescription, { className: "text-center text-sm", children: error ? /* @__PURE__ */ jsx227(Fragment39, { children: t("auth.errors.activating_account") }) : /* @__PURE__ */ jsx227(Fragment39, { children: t("auth.select_password") }) })
21765
+ /* @__PURE__ */ jsx227(CardDescription, { className: "text-center text-sm", children: error ? /* @__PURE__ */ jsx227(Fragment40, { children: t("auth.errors.activating_account") }) : /* @__PURE__ */ jsx227(Fragment40, { children: t("auth.select_password") }) })
21761
21766
  ] }),
21762
21767
  /* @__PURE__ */ jsx227(CardContent, { children: showConfirmation ? /* @__PURE__ */ jsx227(CardDescription, { className: "text-center text-xl", children: t("auth.activation_description") }) : error ? /* @__PURE__ */ jsx227(CardDescription, { className: "text-center text-xl", children: error }) : /* @__PURE__ */ jsx227(Form, { ...form, children: /* @__PURE__ */ jsxs130("form", { onSubmit: form.handleSubmit(onSubmit), children: [
21763
21768
  /* @__PURE__ */ jsx227(
@@ -21788,7 +21793,7 @@ __name(AcceptInvitation, "AcceptInvitation");
21788
21793
  import { useTranslations as useTranslations101 } from "next-intl";
21789
21794
  import Image11 from "next/image";
21790
21795
  import { useEffect as useEffect63, useState as useState87 } from "react";
21791
- import { Fragment as Fragment40, jsx as jsx228, jsxs as jsxs131 } from "react/jsx-runtime";
21796
+ import { Fragment as Fragment41, jsx as jsx228, jsxs as jsxs131 } from "react/jsx-runtime";
21792
21797
  function ActivateAccount() {
21793
21798
  const { setComponentType, params, setParams } = useAuthContext();
21794
21799
  const [showConfirmation, setShowConfirmation] = useState87(false);
@@ -21821,15 +21826,15 @@ function ActivateAccount() {
21821
21826
  setError(t(`auth.errors.invalid_invitation_code`));
21822
21827
  }
21823
21828
  }, []);
21824
- return /* @__PURE__ */ jsxs131(Fragment40, { children: [
21829
+ return /* @__PURE__ */ jsxs131(Fragment41, { children: [
21825
21830
  /* @__PURE__ */ jsxs131(CardHeader, { children: [
21826
21831
  /* @__PURE__ */ jsxs131(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
21827
21832
  /* @__PURE__ */ jsx228(Image11, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
21828
21833
  t("auth.accept_invitation")
21829
21834
  ] }),
21830
- /* @__PURE__ */ jsx228(CardDescription, { className: "text-center text-sm", children: error ? /* @__PURE__ */ jsx228(Fragment40, { children: t("auth.errors.activating_account") }) : /* @__PURE__ */ jsx228(Fragment40, { children: " " }) })
21835
+ /* @__PURE__ */ jsx228(CardDescription, { className: "text-center text-sm", children: error ? /* @__PURE__ */ jsx228(Fragment41, { children: t("auth.errors.activating_account") }) : /* @__PURE__ */ jsx228(Fragment41, { children: " " }) })
21831
21836
  ] }),
21832
- /* @__PURE__ */ jsx228(CardContent, { children: /* @__PURE__ */ jsx228(CardDescription, { className: "text-center text-xl", children: showConfirmation ? /* @__PURE__ */ jsx228(Fragment40, { children: t("auth.activation_description") }) : error ? /* @__PURE__ */ jsx228(Fragment40, { children: error }) : /* @__PURE__ */ jsx228(Fragment40, { children: t("auth.activation_wait") }) }) })
21837
+ /* @__PURE__ */ jsx228(CardContent, { children: /* @__PURE__ */ jsx228(CardDescription, { className: "text-center text-xl", children: showConfirmation ? /* @__PURE__ */ jsx228(Fragment41, { children: t("auth.activation_description") }) : error ? /* @__PURE__ */ jsx228(Fragment41, { children: error }) : /* @__PURE__ */ jsx228(Fragment41, { children: t("auth.activation_wait") }) }) })
21833
21838
  ] });
21834
21839
  }
21835
21840
  __name(ActivateAccount, "ActivateAccount");
@@ -21867,7 +21872,7 @@ import Image12 from "next/image";
21867
21872
  import { useState as useState89 } from "react";
21868
21873
  import { useForm as useForm8 } from "react-hook-form";
21869
21874
  import { z as z9 } from "zod";
21870
- import { Fragment as Fragment41, jsx as jsx229, jsxs as jsxs132 } from "react/jsx-runtime";
21875
+ import { Fragment as Fragment42, jsx as jsx229, jsxs as jsxs132 } from "react/jsx-runtime";
21871
21876
  function ForgotPassword() {
21872
21877
  const t = useTranslations102();
21873
21878
  const { setComponentType } = useAuthContext();
@@ -21894,13 +21899,13 @@ function ForgotPassword() {
21894
21899
  errorToast({ title: t("common.errors.error"), error: e });
21895
21900
  }
21896
21901
  }, "onSubmit");
21897
- return /* @__PURE__ */ jsxs132(Fragment41, { children: [
21902
+ return /* @__PURE__ */ jsxs132(Fragment42, { children: [
21898
21903
  /* @__PURE__ */ jsxs132(CardHeader, { "data-testid": "page-forgot-password-container", children: [
21899
21904
  /* @__PURE__ */ jsxs132(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
21900
21905
  /* @__PURE__ */ jsx229(Image12, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
21901
21906
  t("auth.buttons.forgot_password")
21902
21907
  ] }),
21903
- /* @__PURE__ */ jsx229(CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ jsx229(Fragment41, { children: " " }) : /* @__PURE__ */ jsx229(Fragment41, { children: t(`auth.add_email_to_reset`) }) })
21908
+ /* @__PURE__ */ jsx229(CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ jsx229(Fragment42, { children: " " }) : /* @__PURE__ */ jsx229(Fragment42, { children: t(`auth.add_email_to_reset`) }) })
21904
21909
  ] }),
21905
21910
  showConfirmation ? /* @__PURE__ */ jsx229(CardContent, { children: /* @__PURE__ */ jsx229(CardDescription, { className: "text-center text-xl", children: t(`auth.reset_confirmation`) }) }) : /* @__PURE__ */ jsx229(Form, { ...form, children: /* @__PURE__ */ jsxs132("form", { onSubmit: form.handleSubmit(onSubmit), children: [
21906
21911
  /* @__PURE__ */ jsxs132(CardContent, { children: [
@@ -21939,7 +21944,7 @@ import { useRouter, useSearchParams as useSearchParams3 } from "next/navigation"
21939
21944
  import { useEffect as useEffect65, useState as useState90 } from "react";
21940
21945
  import { useForm as useForm9 } from "react-hook-form";
21941
21946
  import { z as z10 } from "zod";
21942
- import { Fragment as Fragment42, jsx as jsx230, jsxs as jsxs133 } from "react/jsx-runtime";
21947
+ import { Fragment as Fragment43, jsx as jsx230, jsxs as jsxs133 } from "react/jsx-runtime";
21943
21948
  function Login() {
21944
21949
  const t = useTranslations103();
21945
21950
  const { setUser } = useCurrentUserContext();
@@ -22005,7 +22010,7 @@ function Login() {
22005
22010
  });
22006
22011
  }
22007
22012
  }, "onSubmit");
22008
- return /* @__PURE__ */ jsxs133(Fragment42, { children: [
22013
+ return /* @__PURE__ */ jsxs133(Fragment43, { children: [
22009
22014
  /* @__PURE__ */ jsxs133(CardHeader, { "data-testid": "page-login-container", children: [
22010
22015
  /* @__PURE__ */ jsxs133(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
22011
22016
  /* @__PURE__ */ jsx230(Image13, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
@@ -22014,7 +22019,7 @@ function Login() {
22014
22019
  /* @__PURE__ */ jsx230(CardDescription, { className: "text-sm", children: t(`auth.login_description`) })
22015
22020
  ] }),
22016
22021
  /* @__PURE__ */ jsx230(Form, { ...form, children: /* @__PURE__ */ jsxs133("form", { onSubmit: form.handleSubmit(onSubmit), children: [
22017
- /* @__PURE__ */ jsx230(CardContent, { children: isInternalAuthEnabled() && /* @__PURE__ */ jsxs133(Fragment42, { children: [
22022
+ /* @__PURE__ */ jsx230(CardContent, { children: isInternalAuthEnabled() && /* @__PURE__ */ jsxs133(Fragment43, { children: [
22018
22023
  /* @__PURE__ */ jsx230(
22019
22024
  FormInput,
22020
22025
  {
@@ -22081,7 +22086,7 @@ function clearClientStorage(keys) {
22081
22086
  __name(clearClientStorage, "clearClientStorage");
22082
22087
 
22083
22088
  // src/features/auth/components/forms/Logout.tsx
22084
- import { Fragment as Fragment43, jsx as jsx231 } from "react/jsx-runtime";
22089
+ import { Fragment as Fragment44, jsx as jsx231 } from "react/jsx-runtime";
22085
22090
  function Logout({ storageKeys, beforeLogout }) {
22086
22091
  const generateUrl = usePageUrlGenerator();
22087
22092
  useEffect66(() => {
@@ -22093,7 +22098,7 @@ function Logout({ storageKeys, beforeLogout }) {
22093
22098
  }, "logOut");
22094
22099
  logOut();
22095
22100
  }, []);
22096
- return /* @__PURE__ */ jsx231(Fragment43, {});
22101
+ return /* @__PURE__ */ jsx231(Fragment44, {});
22097
22102
  }
22098
22103
  __name(Logout, "Logout");
22099
22104
 
@@ -22134,7 +22139,7 @@ import Image14 from "next/image";
22134
22139
  import { useEffect as useEffect68, useState as useState91 } from "react";
22135
22140
  import { useForm as useForm10 } from "react-hook-form";
22136
22141
  import { z as z11 } from "zod";
22137
- import { Fragment as Fragment44, jsx as jsx232, jsxs as jsxs134 } from "react/jsx-runtime";
22142
+ import { Fragment as Fragment45, jsx as jsx232, jsxs as jsxs134 } from "react/jsx-runtime";
22138
22143
  function ResetPassword() {
22139
22144
  const { setComponentType, params, setParams } = useAuthContext();
22140
22145
  const [showConfirmation, setShowConfirmation] = useState91(false);
@@ -22197,13 +22202,13 @@ function ResetPassword() {
22197
22202
  errorToast({ title: t(`common.errors.error`), error });
22198
22203
  }
22199
22204
  }, "onSubmit");
22200
- return /* @__PURE__ */ jsxs134(Fragment44, { children: [
22205
+ return /* @__PURE__ */ jsxs134(Fragment45, { children: [
22201
22206
  /* @__PURE__ */ jsxs134(CardHeader, { children: [
22202
22207
  /* @__PURE__ */ jsxs134(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
22203
22208
  /* @__PURE__ */ jsx232(Image14, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
22204
22209
  t(`auth.password_reset`)
22205
22210
  ] }),
22206
- /* @__PURE__ */ jsx232(CardDescription, { className: "text-center text-sm", children: error ? /* @__PURE__ */ jsx232(Fragment44, { children: t(`auth.errors.password_reset_error`) }) : /* @__PURE__ */ jsx232(Fragment44, { children: t(`auth.reset_password`) }) })
22211
+ /* @__PURE__ */ jsx232(CardDescription, { className: "text-center text-sm", children: error ? /* @__PURE__ */ jsx232(Fragment45, { children: t(`auth.errors.password_reset_error`) }) : /* @__PURE__ */ jsx232(Fragment45, { children: t(`auth.reset_password`) }) })
22207
22212
  ] }),
22208
22213
  /* @__PURE__ */ jsx232(CardContent, { children: showConfirmation ? /* @__PURE__ */ jsx232(CardDescription, { className: "text-center text-xl", children: t(`auth.reset_success_description`) }) : error ? /* @__PURE__ */ jsx232(CardDescription, { className: "text-center text-xl", children: error }) : /* @__PURE__ */ jsx232(Form, { ...form, children: /* @__PURE__ */ jsxs134("form", { onSubmit: form.handleSubmit(onSubmit), children: [
22209
22214
  /* @__PURE__ */ jsx232(FormPassword, { form, id: "password", name: t(`user.fields.password.label`) }),
@@ -22263,7 +22268,7 @@ function PasskeyButton({ pendingToken, onSuccess, onError, disabled = false }) {
22263
22268
  __name(PasskeyButton, "PasskeyButton");
22264
22269
 
22265
22270
  // src/features/auth/components/forms/TwoFactorChallenge.tsx
22266
- import { Fragment as Fragment45, jsx as jsx234, jsxs as jsxs135 } from "react/jsx-runtime";
22271
+ import { Fragment as Fragment46, jsx as jsx234, jsxs as jsxs135 } from "react/jsx-runtime";
22267
22272
  function TwoFactorChallenge() {
22268
22273
  const t = useTranslations106();
22269
22274
  const { setUser } = useCurrentUserContext();
@@ -22344,7 +22349,7 @@ function TwoFactorChallenge() {
22344
22349
  const hasTotp = availableMethods.includes("totp");
22345
22350
  const hasPasskey = availableMethods.includes("passkey");
22346
22351
  const hasBackup = availableMethods.includes("backup");
22347
- return /* @__PURE__ */ jsxs135(Fragment45, { children: [
22352
+ return /* @__PURE__ */ jsxs135(Fragment46, { children: [
22348
22353
  /* @__PURE__ */ jsxs135(CardHeader, { "data-testid": "page-2fa-challenge", children: [
22349
22354
  /* @__PURE__ */ jsx234(CardTitle, { className: "text-primary", children: t("auth.two_factor.verification_required") }),
22350
22355
  /* @__PURE__ */ jsx234(CardDescription, { children: t("auth.two_factor.enter_verification_code") })
@@ -22648,12 +22653,12 @@ import { useMemo as useMemo43 } from "react";
22648
22653
  import { TrashIcon } from "lucide-react";
22649
22654
  import { useTranslations as useTranslations109 } from "next-intl";
22650
22655
  import { useState as useState95 } from "react";
22651
- import { Fragment as Fragment46, jsx as jsx237, jsxs as jsxs137 } from "react/jsx-runtime";
22656
+ import { Fragment as Fragment47, jsx as jsx237, jsxs as jsxs137 } from "react/jsx-runtime";
22652
22657
  function AiConnectionDeleter({ connection }) {
22653
22658
  const t = useTranslations109();
22654
22659
  const { refresh } = useAiConnections();
22655
22660
  const [open, setOpen] = useState95(false);
22656
- return /* @__PURE__ */ jsxs137(Fragment46, { children: [
22661
+ return /* @__PURE__ */ jsxs137(Fragment47, { children: [
22657
22662
  /* @__PURE__ */ jsx237(
22658
22663
  Button,
22659
22664
  {
@@ -22933,7 +22938,7 @@ function AiConnectionEditor({
22933
22938
  __name(AiConnectionEditor, "AiConnectionEditor");
22934
22939
 
22935
22940
  // src/features/ai-connection/components/lists/AiConnectionTypeCard.tsx
22936
- import { Fragment as Fragment47, jsx as jsx239, jsxs as jsxs139 } from "react/jsx-runtime";
22941
+ import { Fragment as Fragment48, jsx as jsx239, jsxs as jsxs139 } from "react/jsx-runtime";
22937
22942
  function toInput(connection, overrides) {
22938
22943
  return {
22939
22944
  id: connection.id,
@@ -23056,7 +23061,7 @@ function AiConnectionTypeCard({ connectionType }) {
23056
23061
  children: /* @__PURE__ */ jsx239(ChevronDownIcon10, {})
23057
23062
  }
23058
23063
  ),
23059
- !readOnly && /* @__PURE__ */ jsxs139(Fragment47, { children: [
23064
+ !readOnly && /* @__PURE__ */ jsxs139(Fragment48, { children: [
23060
23065
  /* @__PURE__ */ jsx239(
23061
23066
  AiConnectionEditor,
23062
23067
  {
@@ -23404,7 +23409,7 @@ import { useCallback as useCallback44, useMemo as useMemo46 } from "react";
23404
23409
  import { useForm as useForm12 } from "react-hook-form";
23405
23410
  import { v4 as v413 } from "uuid";
23406
23411
  import { z as z13 } from "zod";
23407
- import { Fragment as Fragment48, jsx as jsx246, jsxs as jsxs143 } from "react/jsx-runtime";
23412
+ import { Fragment as Fragment49, jsx as jsx246, jsxs as jsxs143 } from "react/jsx-runtime";
23408
23413
  var TEMPLATE_VARIABLES = ["{{name}}", "{{email}}", "{{url}}"];
23409
23414
  var MARKETING_ONLY_VARIABLES = ["{{unsubscribeAllUrl}}"];
23410
23415
  function EmailBlastEditorInternal({
@@ -23508,7 +23513,7 @@ function EmailBlastEditorInternal({
23508
23513
  name: t("emailBlasts.editor.fields.body.label"),
23509
23514
  className: "min-h-72",
23510
23515
  isRequired: true,
23511
- description: /* @__PURE__ */ jsxs143(Fragment48, { children: [
23516
+ description: /* @__PURE__ */ jsxs143(Fragment49, { children: [
23512
23517
  /* @__PURE__ */ jsxs143("span", { className: "block", children: [
23513
23518
  t("emailBlasts.editor.variablesHint"),
23514
23519
  " ",
@@ -23580,7 +23585,7 @@ import { useCallback as useCallback45, useEffect as useEffect73, useState as use
23580
23585
  import { LoaderCircleIcon as LoaderCircleIcon4, SendIcon as SendIcon2 } from "lucide-react";
23581
23586
  import { useTranslations as useTranslations121 } from "next-intl";
23582
23587
  import { useEffect as useEffect72, useState as useState98 } from "react";
23583
- import { Fragment as Fragment49, jsx as jsx249, jsxs as jsxs144 } from "react/jsx-runtime";
23588
+ import { Fragment as Fragment50, jsx as jsx249, jsxs as jsxs144 } from "react/jsx-runtime";
23584
23589
  function EmailBlastSendDialog({ blast, onSuccess }) {
23585
23590
  const t = useTranslations121();
23586
23591
  const [open, setOpen] = useState98(false);
@@ -23625,7 +23630,7 @@ function EmailBlastSendDialog({ blast, onSuccess }) {
23625
23630
  ] }),
23626
23631
  /* @__PURE__ */ jsxs144("div", { className: "flex justify-end", children: [
23627
23632
  /* @__PURE__ */ jsx249(Button, { className: "me-2", variant: "outline", type: "button", onClick: () => setOpen(false), disabled: isSending, children: t("emailBlasts.send.cancel") }),
23628
- /* @__PURE__ */ jsx249(Button, { type: "button", variant: "default", onClick: handleSend, disabled: !canSend, children: isSending ? /* @__PURE__ */ jsxs144(Fragment49, { children: [
23633
+ /* @__PURE__ */ jsx249(Button, { type: "button", variant: "default", onClick: handleSend, disabled: !canSend, children: isSending ? /* @__PURE__ */ jsxs144(Fragment50, { children: [
23629
23634
  t("emailBlasts.send.action"),
23630
23635
  /* @__PURE__ */ jsx249(LoaderCircleIcon4, { className: "animate-spin-slow h-5 w-5" })
23631
23636
  ] }) : t("emailBlasts.send.action") })
@@ -23874,7 +23879,7 @@ function HowToCommandViewer({ howTo, onBack, onStartChat }) {
23874
23879
  __name(HowToCommandViewer, "HowToCommandViewer");
23875
23880
 
23876
23881
  // src/features/how-to/components/containers/HowToCommand.tsx
23877
- import { Fragment as Fragment50, jsx as jsx252, jsxs as jsxs147 } from "react/jsx-runtime";
23882
+ import { Fragment as Fragment51, jsx as jsx252, jsxs as jsxs147 } from "react/jsx-runtime";
23878
23883
  function matchPage(pathname, pattern) {
23879
23884
  if (pattern.includes(":")) {
23880
23885
  const pathSegments = pathname.split("/").filter(Boolean);
@@ -23945,7 +23950,7 @@ function HowToCommand({ pathname, contextKeys, extraGroups, onStartChat }) {
23945
23950
  setSelectedHowTo(null);
23946
23951
  if (onStartChat) onStartChat();
23947
23952
  }, "handleStartChat");
23948
- return /* @__PURE__ */ jsxs147(Fragment50, { children: [
23953
+ return /* @__PURE__ */ jsxs147(Fragment51, { children: [
23949
23954
  /* @__PURE__ */ jsxs147(
23950
23955
  SidebarMenuButton,
23951
23956
  {
@@ -24113,7 +24118,7 @@ import { useTranslations as useTranslations128 } from "next-intl";
24113
24118
  // src/features/how-to/hooks/useHowToTableStructure.tsx
24114
24119
  import { useTranslations as useTranslations126 } from "next-intl";
24115
24120
  import { useMemo as useMemo49 } from "react";
24116
- import { Fragment as Fragment51, jsx as jsx256 } from "react/jsx-runtime";
24121
+ import { Fragment as Fragment52, jsx as jsx256 } from "react/jsx-runtime";
24117
24122
  var useHowToTableStructure = /* @__PURE__ */ __name((params) => {
24118
24123
  const t = useTranslations126();
24119
24124
  const generateUrl = usePageUrlGenerator();
@@ -24150,7 +24155,7 @@ var useHowToTableStructure = /* @__PURE__ */ __name((params) => {
24150
24155
  id: "description",
24151
24156
  accessorKey: "description",
24152
24157
  header: t(`howto.fields.description.label`),
24153
- cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx256(Fragment51, { children: row.getValue("description") }), "cell"),
24158
+ cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx256(Fragment52, { children: row.getValue("description") }), "cell"),
24154
24159
  enableSorting: false,
24155
24160
  enableHiding: false
24156
24161
  }),
@@ -24158,7 +24163,7 @@ var useHowToTableStructure = /* @__PURE__ */ __name((params) => {
24158
24163
  id: "pages",
24159
24164
  accessorKey: "pages",
24160
24165
  header: t(`howto.fields.pages.label`),
24161
- cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx256(Fragment51, { children: row.getValue("pages") }), "cell"),
24166
+ cell: /* @__PURE__ */ __name(({ row }) => /* @__PURE__ */ jsx256(Fragment52, { children: row.getValue("pages") }), "cell"),
24162
24167
  enableSorting: false,
24163
24168
  enableHiding: false
24164
24169
  }),
@@ -24244,7 +24249,7 @@ __name(HowToListContainer, "HowToListContainer");
24244
24249
  import { CircleX as CircleX3, RefreshCwIcon as RefreshCwIcon5, SearchIcon as SearchIcon7, XIcon as XIcon13 } from "lucide-react";
24245
24250
  import { useTranslations as useTranslations129 } from "next-intl";
24246
24251
  import { useCallback as useCallback47, useEffect as useEffect75, useRef as useRef42, useState as useState102 } from "react";
24247
- import { Fragment as Fragment52, jsx as jsx260, jsxs as jsxs149 } from "react/jsx-runtime";
24252
+ import { Fragment as Fragment53, jsx as jsx260, jsxs as jsxs149 } from "react/jsx-runtime";
24248
24253
  function HowToSelector({
24249
24254
  id,
24250
24255
  form,
@@ -24329,7 +24334,7 @@ function HowToSelector({
24329
24334
  search("");
24330
24335
  }
24331
24336
  }
24332
- ) : /* @__PURE__ */ jsx260(Fragment52, {})
24337
+ ) : /* @__PURE__ */ jsx260(Fragment53, {})
24333
24338
  ] }),
24334
24339
  /* @__PURE__ */ jsx260(CommandList, { children: data.data && data.data.length > 0 && data.data.map((howTo) => /* @__PURE__ */ jsx260(
24335
24340
  CommandItem,
@@ -24542,7 +24547,7 @@ function ReferencesTab({ references }) {
24542
24547
  __name(ReferencesTab, "ReferencesTab");
24543
24548
 
24544
24549
  // src/features/assistant-message/components/parts/tabs/CitationsTab.tsx
24545
- import { Fragment as Fragment53, useState as useState104 } from "react";
24550
+ import { Fragment as Fragment54, useState as useState104 } from "react";
24546
24551
  import { useTranslations as useTranslations135 } from "next-intl";
24547
24552
  import { ChevronDown as ChevronDown3, HelpCircle } from "lucide-react";
24548
24553
  import ReactMarkdown2 from "react-markdown";
@@ -24607,7 +24612,7 @@ function CitationsTab({ citations, sources }) {
24607
24612
  const typeLabel = chunk.nodeType ? entityLabel(chunk.nodeType) : t("features.assistant.message.sources.source");
24608
24613
  const fallbackName = chunk.nodeId ? `${typeLabel} ${chunk.nodeId.slice(0, 8)}` : typeLabel;
24609
24614
  const sourceName = resolved?.name ?? fallbackName;
24610
- return /* @__PURE__ */ jsxs153(Fragment53, { children: [
24615
+ return /* @__PURE__ */ jsxs153(Fragment54, { children: [
24611
24616
  /* @__PURE__ */ jsxs153(TableRow, { children: [
24612
24617
  /* @__PURE__ */ jsx265(TableCell, { children: /* @__PURE__ */ jsxs153(
24613
24618
  "div",
@@ -25004,7 +25009,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
25004
25009
  __name(MessageSourcesContainer, "MessageSourcesContainer");
25005
25010
 
25006
25011
  // src/features/assistant-message/components/MessageItem.tsx
25007
- import { Fragment as Fragment54, jsx as jsx271, jsxs as jsxs157 } from "react/jsx-runtime";
25012
+ import { Fragment as Fragment55, jsx as jsx271, jsxs as jsxs157 } from "react/jsx-runtime";
25008
25013
  var MENTION_HREF = /^mention:\/\/([^/]+)\/(.+)$/;
25009
25014
  function mentionUrlTransform(url) {
25010
25015
  return MENTION_HREF.test(url) ? url : defaultUrlTransform(url);
@@ -25027,7 +25032,7 @@ function MessageItem({
25027
25032
  a: /* @__PURE__ */ __name(({ href, children }) => {
25028
25033
  const match = href ? MENTION_HREF.exec(href) : null;
25029
25034
  if (!match || !renderMention) return /* @__PURE__ */ jsx271("a", { href, children });
25030
- return /* @__PURE__ */ jsx271(Fragment54, { children: renderMention({ type: match[1], id: match[2], alias: String(children ?? "") }) });
25035
+ return /* @__PURE__ */ jsx271(Fragment55, { children: renderMention({ type: match[1], id: match[2], alias: String(children ?? "") }) });
25031
25036
  }, "a")
25032
25037
  }),
25033
25038
  [renderMention]
@@ -25103,13 +25108,13 @@ __name(MessageList, "MessageList");
25103
25108
 
25104
25109
  // src/features/assistant/components/parts/AssistantStatusLine.tsx
25105
25110
  import { useTranslations as useTranslations140 } from "next-intl";
25106
- import { Loader2 as Loader26 } from "lucide-react";
25111
+ import { Loader2 as Loader27 } from "lucide-react";
25107
25112
  import { jsx as jsx273, jsxs as jsxs158 } from "react/jsx-runtime";
25108
25113
  function AssistantStatusLine({ status }) {
25109
25114
  const t = useTranslations140();
25110
25115
  const text = status ?? t("features.assistant.thinking");
25111
25116
  return /* @__PURE__ */ jsxs158("div", { className: "text-muted-foreground flex items-center gap-2 px-4 py-2 text-sm", children: [
25112
- /* @__PURE__ */ jsx273(Loader26, { className: "h-4 w-4 animate-spin" }),
25117
+ /* @__PURE__ */ jsx273(Loader27, { className: "h-4 w-4 animate-spin" }),
25113
25118
  /* @__PURE__ */ jsx273("span", { children: text })
25114
25119
  ] });
25115
25120
  }
@@ -25466,7 +25471,7 @@ function splitByNesting(pages) {
25466
25471
  __name(splitByNesting, "splitByNesting");
25467
25472
 
25468
25473
  // src/features/handbook/components/lists/HandbookContents.tsx
25469
- import { Fragment as Fragment55, jsx as jsx279, jsxs as jsxs163 } from "react/jsx-runtime";
25474
+ import { Fragment as Fragment56, jsx as jsx279, jsxs as jsxs163 } from "react/jsx-runtime";
25470
25475
  function HandbookContents() {
25471
25476
  const t = useTranslations145();
25472
25477
  const [pages, setPages] = useState110([]);
@@ -25505,7 +25510,7 @@ function HandbookContents() {
25505
25510
  return /* @__PURE__ */ jsx279(
25506
25511
  HandbookProvider,
25507
25512
  {
25508
- functions: /* @__PURE__ */ jsxs163(Fragment55, { children: [
25513
+ functions: /* @__PURE__ */ jsxs163(Fragment56, { children: [
25509
25514
  /* @__PURE__ */ jsx279(HandbookAskSheet, {}),
25510
25515
  /* @__PURE__ */ jsx279(HandbookSyncButton, { refresh }),
25511
25516
  /* @__PURE__ */ jsx279(HandbookIndexStatus, { pages })
@@ -25896,7 +25901,7 @@ function groupThreadsByBucket(threads) {
25896
25901
  __name(groupThreadsByBucket, "groupThreadsByBucket");
25897
25902
 
25898
25903
  // src/features/assistant/components/parts/AssistantSidebar.tsx
25899
- import { Fragment as Fragment56, jsx as jsx286, jsxs as jsxs168 } from "react/jsx-runtime";
25904
+ import { Fragment as Fragment57, jsx as jsx286, jsxs as jsxs168 } from "react/jsx-runtime";
25900
25905
  function AssistantSidebar({
25901
25906
  threads,
25902
25907
  activeId,
@@ -25933,7 +25938,7 @@ function AssistantSidebar({
25933
25938
  " ",
25934
25939
  newLabel ?? t("features.assistant.new")
25935
25940
  ] }) }),
25936
- /* @__PURE__ */ jsx286("div", { className: "flex-1 overflow-y-auto p-2", children: threads.length === 0 ? /* @__PURE__ */ jsx286("div", { className: "text-muted-foreground mt-6 text-center text-xs", children: emptyLabel ?? t("features.assistant.empty_sidebar") }) : /* @__PURE__ */ jsxs168(Fragment56, { children: [
25941
+ /* @__PURE__ */ jsx286("div", { className: "flex-1 overflow-y-auto p-2", children: threads.length === 0 ? /* @__PURE__ */ jsx286("div", { className: "text-muted-foreground mt-6 text-center text-xs", children: emptyLabel ?? t("features.assistant.empty_sidebar") }) : /* @__PURE__ */ jsxs168(Fragment57, { children: [
25937
25942
  renderSection(t("features.assistant.bucket_today"), groups.today),
25938
25943
  renderSection(t("features.assistant.bucket_week"), groups.thisWeek),
25939
25944
  renderSection(t("features.assistant.bucket_earlier"), groups.earlier)
@@ -25943,7 +25948,7 @@ function AssistantSidebar({
25943
25948
  __name(AssistantSidebar, "AssistantSidebar");
25944
25949
 
25945
25950
  // src/features/handbook/components/containers/HandbookAskContainer.tsx
25946
- import { Fragment as Fragment57, jsx as jsx287, jsxs as jsxs169 } from "react/jsx-runtime";
25951
+ import { Fragment as Fragment58, jsx as jsx287, jsxs as jsxs169 } from "react/jsx-runtime";
25947
25952
  function HandbookAskContainer({ handbookThreadId } = {}) {
25948
25953
  const t = useTranslations151();
25949
25954
  const { threads, thread, messages, sending, ask, selectThread, startNew } = useHandbookAsk({ handbookThreadId });
@@ -25984,7 +25989,7 @@ function HandbookAskContainer({ handbookThreadId } = {}) {
25984
25989
  detailsIcon: /* @__PURE__ */ jsx287(MessagesSquareIcon2, {}),
25985
25990
  details,
25986
25991
  children: /* @__PURE__ */ jsxs169("div", { className: "flex h-full min-h-0 w-full flex-col overflow-hidden", children: [
25987
- showThread ? /* @__PURE__ */ jsx287(Fragment57, { children: /* @__PURE__ */ jsx287(
25992
+ showThread ? /* @__PURE__ */ jsx287(Fragment58, { children: /* @__PURE__ */ jsx287(
25988
25993
  AssistantThread,
25989
25994
  {
25990
25995
  messages,
@@ -26019,16 +26024,16 @@ import { useTranslations as useTranslations154 } from "next-intl";
26019
26024
  import { useMemo as useMemo60 } from "react";
26020
26025
 
26021
26026
  // src/features/assistant-message/components/EntityMentionLink.tsx
26022
- import { Fragment as Fragment58, jsx as jsx288 } from "react/jsx-runtime";
26027
+ import { Fragment as Fragment59, jsx as jsx288 } from "react/jsx-runtime";
26023
26028
  function EntityMentionLinkView({ type, id, alias }) {
26024
26029
  const generate = usePageUrlGenerator();
26025
26030
  let module;
26026
26031
  try {
26027
26032
  module = ModuleRegistry.findByName(type);
26028
26033
  } catch {
26029
- return /* @__PURE__ */ jsx288(Fragment58, { children: alias });
26034
+ return /* @__PURE__ */ jsx288(Fragment59, { children: alias });
26030
26035
  }
26031
- if (!module?.pageUrl) return /* @__PURE__ */ jsx288(Fragment58, { children: alias });
26036
+ if (!module?.pageUrl) return /* @__PURE__ */ jsx288(Fragment59, { children: alias });
26032
26037
  return /* @__PURE__ */ jsx288(Link, { href: generate({ page: module, id }), children: alias });
26033
26038
  }
26034
26039
  __name(EntityMentionLinkView, "EntityMentionLinkView");
@@ -26140,7 +26145,7 @@ function AssistantThreadHeader({ assistant, onRename, onDelete, renamePlaceholde
26140
26145
  __name(AssistantThreadHeader, "AssistantThreadHeader");
26141
26146
 
26142
26147
  // src/features/assistant/components/containers/AssistantContainer.tsx
26143
- import { Fragment as Fragment59, jsx as jsx291, jsxs as jsxs172 } from "react/jsx-runtime";
26148
+ import { Fragment as Fragment60, jsx as jsx291, jsxs as jsxs172 } from "react/jsx-runtime";
26144
26149
  function AssistantContainer({
26145
26150
  renderApprovalAction,
26146
26151
  renderMention,
@@ -26168,7 +26173,7 @@ function AssistantContainer({
26168
26173
  ),
26169
26174
  [ctx.threads, ctx.assistant?.id, ctx.selectThread, renderThreadBadge]
26170
26175
  );
26171
- const thread = /* @__PURE__ */ jsx291(Fragment59, { children: !showThread ? /* @__PURE__ */ jsx291(
26176
+ const thread = /* @__PURE__ */ jsx291(Fragment60, { children: !showThread ? /* @__PURE__ */ jsx291(
26172
26177
  AssistantEmptyState,
26173
26178
  {
26174
26179
  onSend: ctx.sendMessage,
@@ -26176,7 +26181,7 @@ function AssistantContainer({
26176
26181
  onOperatorModeChange: showOperatorToggle ? ctx.setOperatorMode : void 0,
26177
26182
  composerLeading: renderScopePicker?.()
26178
26183
  }
26179
- ) : /* @__PURE__ */ jsxs172(Fragment59, { children: [
26184
+ ) : /* @__PURE__ */ jsxs172(Fragment60, { children: [
26180
26185
  ctx.assistant ? /* @__PURE__ */ jsx291(
26181
26186
  AssistantThreadHeader,
26182
26187
  {
@@ -26332,7 +26337,7 @@ function AssistantBlockNoteComposer({
26332
26337
  __name(AssistantBlockNoteComposer, "AssistantBlockNoteComposer");
26333
26338
 
26334
26339
  // src/features/assistant/components/containers/AssistantPageContainer.tsx
26335
- import { Fragment as Fragment60, jsx as jsx293, jsxs as jsxs174 } from "react/jsx-runtime";
26340
+ import { Fragment as Fragment61, jsx as jsx293, jsxs as jsxs174 } from "react/jsx-runtime";
26336
26341
  function AssistantPageContainer({
26337
26342
  renderApprovalAction,
26338
26343
  renderMention,
@@ -26371,7 +26376,7 @@ function AssistantPageContainer({
26371
26376
  ) })
26372
26377
  ),
26373
26378
  children: /* @__PURE__ */ jsxs174("div", { className: "bg-background flex h-full w-full flex-col overflow-hidden rounded-lg border", children: [
26374
- showThread ? /* @__PURE__ */ jsxs174(Fragment60, { children: [
26379
+ showThread ? /* @__PURE__ */ jsxs174(Fragment61, { children: [
26375
26380
  ctx.assistant ? /* @__PURE__ */ jsx293(
26376
26381
  AssistantThreadHeader,
26377
26382
  {
@@ -26418,7 +26423,7 @@ __name(AssistantPageContainer, "AssistantPageContainer");
26418
26423
  // src/features/assistant-action/components/ApprovalActionCard.tsx
26419
26424
  import { ShieldAlert as ShieldAlert2 } from "lucide-react";
26420
26425
  import { useTranslations as useTranslations157 } from "next-intl";
26421
- import { Fragment as Fragment61, useEffect as useEffect83, useMemo as useMemo61, useState as useState116 } from "react";
26426
+ import { Fragment as Fragment62, useEffect as useEffect83, useMemo as useMemo61, useState as useState116 } from "react";
26422
26427
  import { jsx as jsx294, jsxs as jsxs175 } from "react/jsx-runtime";
26423
26428
  var STATUS_VARIANT2 = {
26424
26429
  pending: "softBlue",
@@ -26705,7 +26710,7 @@ function ApprovalActionCard({ actionId, summary, onResolved, hiddenRelationshipK
26705
26710
  /* @__PURE__ */ jsx294("span", { children: isUpdate ? t("features.assistant.approval.proposal.updateHeading", { entity: entityLabel }) : t("features.assistant.approval.proposal.heading", { entity: entityLabel }) }),
26706
26711
  targetLabel !== "" && /* @__PURE__ */ jsx294("span", { className: "text-foreground tracking-normal normal-case", children: targetLabel })
26707
26712
  ] }),
26708
- /* @__PURE__ */ jsx294("dl", { className: "grid grid-cols-1 gap-x-4 gap-y-1.5 sm:grid-cols-[minmax(0,10rem)_minmax(0,1fr)]", children: rows.map((row) => /* @__PURE__ */ jsxs175(Fragment61, { children: [
26713
+ /* @__PURE__ */ jsx294("dl", { className: "grid grid-cols-1 gap-x-4 gap-y-1.5 sm:grid-cols-[minmax(0,10rem)_minmax(0,1fr)]", children: rows.map((row) => /* @__PURE__ */ jsxs175(Fragment62, { children: [
26709
26714
  /* @__PURE__ */ jsx294("dt", { className: "text-muted-foreground text-xs leading-relaxed break-words sm:text-sm", children: row.label }),
26710
26715
  /* @__PURE__ */ jsx294("dd", { className: "text-foreground text-sm leading-relaxed break-words whitespace-pre-wrap", children: row.value })
26711
26716
  ] }, row.key)) })
@@ -27025,7 +27030,7 @@ __name(NotificationsListContainer, "NotificationsListContainer");
27025
27030
  // src/features/notification/components/modals/NotificationModal.tsx
27026
27031
  import { BellIcon as BellIcon2, ExternalLinkIcon } from "lucide-react";
27027
27032
  import { useTranslations as useTranslations163 } from "next-intl";
27028
- import { Fragment as Fragment62, useCallback as useCallback54, useEffect as useEffect85, useMemo as useMemo63, useRef as useRef46, useState as useState118 } from "react";
27033
+ import { Fragment as Fragment63, useCallback as useCallback54, useEffect as useEffect85, useMemo as useMemo63, useRef as useRef46, useState as useState118 } from "react";
27029
27034
  import { jsx as jsx301, jsxs as jsxs179 } from "react/jsx-runtime";
27030
27035
  function NotificationModalContent({ isOpen, setIsOpen }) {
27031
27036
  const _instanceId = useRef46(Math.random().toString(36).substr(2, 9));
@@ -27214,7 +27219,7 @@ function NotificationModalContent({ isOpen, setIsOpen }) {
27214
27219
  ] }),
27215
27220
  isLoading && /* @__PURE__ */ jsx301("div", { className: "text-muted-foreground px-3 py-2 text-xs", children: t(`common.loading`) }),
27216
27221
  error && /* @__PURE__ */ jsx301("div", { className: "text-destructive px-3 py-2 text-xs", children: error }),
27217
- /* @__PURE__ */ jsx301(ScrollArea, { className: "[&_[data-slot=scroll-area-scrollbar]]:w-2.5 [&_[data-slot=scroll-area-thumb]]:bg-muted-foreground/40 [&>[data-slot=scroll-area-viewport]]:max-h-[min(32rem,calc(var(--available-height,32rem)-3.5rem))]", children: notifications.length > 0 ? /* @__PURE__ */ jsx301("div", { className: "divide-border divide-y", children: notifications.map((notification) => /* @__PURE__ */ jsx301(Fragment62, { children: generateNotification(notification, () => setIsOpen(false)) }, notification.id)) }) : /* @__PURE__ */ jsx301("div", { className: "text-muted-foreground p-6 text-center text-sm", children: t(`notification.empty`) }) })
27222
+ /* @__PURE__ */ jsx301(ScrollArea, { className: "[&_[data-slot=scroll-area-scrollbar]]:w-2.5 [&_[data-slot=scroll-area-thumb]]:bg-muted-foreground/40 [&>[data-slot=scroll-area-viewport]]:max-h-[min(32rem,calc(var(--available-height,32rem)-3.5rem))]", children: notifications.length > 0 ? /* @__PURE__ */ jsx301("div", { className: "divide-border divide-y", children: notifications.map((notification) => /* @__PURE__ */ jsx301(Fragment63, { children: generateNotification(notification, () => setIsOpen(false)) }, notification.id)) }) : /* @__PURE__ */ jsx301("div", { className: "text-muted-foreground p-6 text-center text-sm", children: t(`notification.empty`) }) })
27218
27223
  ] })
27219
27224
  ] });
27220
27225
  }
@@ -27225,7 +27230,7 @@ function NotificationModal(props) {
27225
27230
  __name(NotificationModal, "NotificationModal");
27226
27231
 
27227
27232
  // src/features/notification/components/notifications/PushNotificationProvider.tsx
27228
- import { Fragment as Fragment63, jsx as jsx302 } from "react/jsx-runtime";
27233
+ import { Fragment as Fragment64, jsx as jsx302 } from "react/jsx-runtime";
27229
27234
  function PushNotificationProvider({
27230
27235
  children,
27231
27236
  excludedRoleIds = []
@@ -27233,7 +27238,7 @@ function PushNotificationProvider({
27233
27238
  const { currentUser, hasRole } = useCurrentUserContext();
27234
27239
  const canSubscribe = !hasRole(getRoleId().Administrator) && !excludedRoleIds.some((roleId) => hasRole(roleId));
27235
27240
  usePushNotifications_default({ currentUser: currentUser ?? void 0, canSubscribe });
27236
- return /* @__PURE__ */ jsx302(Fragment63, { children });
27241
+ return /* @__PURE__ */ jsx302(Fragment64, { children });
27237
27242
  }
27238
27243
  __name(PushNotificationProvider, "PushNotificationProvider");
27239
27244
 
@@ -27287,7 +27292,7 @@ __name(ReferralCodeCapture, "ReferralCodeCapture");
27287
27292
  import { useTranslations as useTranslations165 } from "next-intl";
27288
27293
 
27289
27294
  // src/features/referral/components/ReferralWidget.tsx
27290
- import { Copy as Copy2, Loader2 as Loader27, Mail, Users } from "lucide-react";
27295
+ import { Copy as Copy2, Loader2 as Loader28, Mail, Users } from "lucide-react";
27291
27296
  import { useTranslations as useTranslations164 } from "next-intl";
27292
27297
  import { useCallback as useCallback55, useRef as useRef47, useState as useState121 } from "react";
27293
27298
 
@@ -27460,9 +27465,9 @@ function ReferralWidget({
27460
27465
  );
27461
27466
  if (loading) {
27462
27467
  if (isDialog) {
27463
- return /* @__PURE__ */ jsx303("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ jsx303(Loader27, { className: "text-muted-foreground h-6 w-6 animate-spin" }) });
27468
+ return /* @__PURE__ */ jsx303("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ jsx303(Loader28, { className: "text-muted-foreground h-6 w-6 animate-spin" }) });
27464
27469
  }
27465
- return /* @__PURE__ */ jsx303(Card, { className: `p-6 ${className ?? ""}`, children: /* @__PURE__ */ jsx303("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ jsx303(Loader27, { className: "text-muted-foreground h-6 w-6 animate-spin" }) }) });
27470
+ return /* @__PURE__ */ jsx303(Card, { className: `p-6 ${className ?? ""}`, children: /* @__PURE__ */ jsx303("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ jsx303(Loader28, { className: "text-muted-foreground h-6 w-6 animate-spin" }) }) });
27466
27471
  }
27467
27472
  if (error) {
27468
27473
  const errorMessage = text.loadError;
@@ -27521,7 +27526,7 @@ function ReferralWidget({
27521
27526
  onClick: handleSendInvite,
27522
27527
  disabled: sending || !email,
27523
27528
  "aria-label": sending ? text.sendingButton : text.sendButton,
27524
- children: sending ? /* @__PURE__ */ jsx303(Loader27, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx303(Mail, { className: "h-4 w-4" })
27529
+ children: sending ? /* @__PURE__ */ jsx303(Loader28, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx303(Mail, { className: "h-4 w-4" })
27525
27530
  }
27526
27531
  )
27527
27532
  ] })
@@ -28230,11 +28235,11 @@ function RoleDetails() {
28230
28235
  __name(RoleDetails, "RoleDetails");
28231
28236
 
28232
28237
  // src/features/role/components/containers/RoleContainer.tsx
28233
- import { Fragment as Fragment64, jsx as jsx311, jsxs as jsxs187 } from "react/jsx-runtime";
28238
+ import { Fragment as Fragment65, jsx as jsx311, jsxs as jsxs187 } from "react/jsx-runtime";
28234
28239
  function RoleContainer() {
28235
28240
  const { role } = useRoleContext();
28236
28241
  if (!role) return null;
28237
- return /* @__PURE__ */ jsxs187(Fragment64, { children: [
28242
+ return /* @__PURE__ */ jsxs187(Fragment65, { children: [
28238
28243
  /* @__PURE__ */ jsx311(RoleDetails, {}),
28239
28244
  /* @__PURE__ */ jsx311(RoleUsersList, { role })
28240
28245
  ] });
@@ -28279,7 +28284,7 @@ __name(FormRoles, "FormRoles");
28279
28284
  // src/features/role/components/forms/RemoveUserFromRole.tsx
28280
28285
  import { useTranslations as useTranslations173 } from "next-intl";
28281
28286
  import { useEffect as useEffect90, useState as useState123 } from "react";
28282
- import { Fragment as Fragment65, jsx as jsx313, jsxs as jsxs189 } from "react/jsx-runtime";
28287
+ import { Fragment as Fragment66, jsx as jsx313, jsxs as jsxs189 } from "react/jsx-runtime";
28283
28288
  function RemoveUserFromRole({ role, user, refresh }) {
28284
28289
  const [open, setOpen] = useState123(false);
28285
28290
  const [canRemove, setCanRemove] = useState123(false);
@@ -28328,7 +28333,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
28328
28333
  /* @__PURE__ */ jsx313(DialogTitle, { children: t(`role.remove_user.title`) }),
28329
28334
  /* @__PURE__ */ jsx313(DialogDescription, { children: canRemove ? t(`role.remove_user.subtitle_allowed`) : t(`role.remove_user.subtitle_not_allowed`) })
28330
28335
  ] }),
28331
- canRemove ? /* @__PURE__ */ jsxs189(Fragment65, { children: [
28336
+ canRemove ? /* @__PURE__ */ jsxs189(Fragment66, { children: [
28332
28337
  t(`role.remove_user.description_allowed`, { role: roleName, user: user.name }),
28333
28338
  /* @__PURE__ */ jsxs189("div", { className: "flex justify-end", children: [
28334
28339
  /* @__PURE__ */ jsx313(Button, { className: "me-2", variant: "outline", type: `button`, onClick: () => setOpen(false), children: t(`ui.buttons.cancel`) }),
@@ -28345,7 +28350,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
28345
28350
  }
28346
28351
  )
28347
28352
  ] })
28348
- ] }) : /* @__PURE__ */ jsx313(Fragment65, { children: t(`role.remove_user.description_not_allowed`, { role: roleName, user: user.name }) })
28353
+ ] }) : /* @__PURE__ */ jsx313(Fragment66, { children: t(`role.remove_user.description_not_allowed`, { role: roleName, user: user.name }) })
28349
28354
  ] })
28350
28355
  ] });
28351
28356
  }
@@ -28355,7 +28360,7 @@ __name(RemoveUserFromRole, "RemoveUserFromRole");
28355
28360
  import { PlusCircle as PlusCircle2 } from "lucide-react";
28356
28361
  import { useTranslations as useTranslations174 } from "next-intl";
28357
28362
  import { useCallback as useCallback56, useEffect as useEffect91, useRef as useRef49, useState as useState124 } from "react";
28358
- import { Fragment as Fragment66, jsx as jsx314, jsxs as jsxs190 } from "react/jsx-runtime";
28363
+ import { Fragment as Fragment67, jsx as jsx314, jsxs as jsxs190 } from "react/jsx-runtime";
28359
28364
  function UserRoleAdd({ user, refresh }) {
28360
28365
  const [open, setOpen] = useState124(false);
28361
28366
  const inputRef = useRef49(null);
@@ -28402,7 +28407,7 @@ function UserRoleAdd({ user, refresh }) {
28402
28407
  useEffect91(() => {
28403
28408
  if (open) searchRoles("");
28404
28409
  }, [open]);
28405
- return /* @__PURE__ */ jsxs190(Fragment66, { children: [
28410
+ return /* @__PURE__ */ jsxs190(Fragment67, { children: [
28406
28411
  /* @__PURE__ */ jsxs190(Button, { size: "sm", onClick: () => setOpen(true), children: [
28407
28412
  /* @__PURE__ */ jsx314(PlusCircle2, { className: "me-3 h-3.5 w-3.5" }),
28408
28413
  t(`common.association.label`, {
@@ -29027,7 +29032,7 @@ __name(OAuthClientForm, "OAuthClientForm");
29027
29032
  import { useTranslations as useTranslations183 } from "next-intl";
29028
29033
  import { useState as useState127, useCallback as useCallback61 } from "react";
29029
29034
  import { Copy as Copy4, Check as Check2, RefreshCw as RefreshCw3, Pencil as Pencil2, Trash2 as Trash25, ExternalLink } from "lucide-react";
29030
- import { Fragment as Fragment67, jsx as jsx323, jsxs as jsxs197 } from "react/jsx-runtime";
29035
+ import { Fragment as Fragment68, jsx as jsx323, jsxs as jsxs197 } from "react/jsx-runtime";
29031
29036
  function OAuthClientDetail({
29032
29037
  client,
29033
29038
  isLoading = false,
@@ -29073,7 +29078,7 @@ function OAuthClientDetail({
29073
29078
  }
29074
29079
  }, [onRegenerateSecret]);
29075
29080
  const createdDate = client.createdAt ? format(new Date(client.createdAt), "dateLong") : t("oauth.ui.card.unknown");
29076
- return /* @__PURE__ */ jsxs197(Fragment67, { children: [
29081
+ return /* @__PURE__ */ jsxs197(Fragment68, { children: [
29077
29082
  /* @__PURE__ */ jsxs197(Card, { children: [
29078
29083
  /* @__PURE__ */ jsx323(CardHeader, { children: /* @__PURE__ */ jsxs197("div", { className: "flex items-start justify-between", children: [
29079
29084
  /* @__PURE__ */ jsxs197("div", { children: [
@@ -29247,7 +29252,7 @@ function OAuthConsentActions({ onApprove, onDeny, isLoading = false }) {
29247
29252
  __name(OAuthConsentActions, "OAuthConsentActions");
29248
29253
 
29249
29254
  // src/features/oauth/components/consent/OAuthConsentScreen.tsx
29250
- import { ExternalLink as ExternalLink2, AlertTriangle as AlertTriangle2, Loader2 as Loader28 } from "lucide-react";
29255
+ import { ExternalLink as ExternalLink2, AlertTriangle as AlertTriangle2, Loader2 as Loader29 } from "lucide-react";
29251
29256
  import { useTranslations as useTranslations188 } from "next-intl";
29252
29257
 
29253
29258
  // src/features/oauth/components/consent/OAuthCompanySelector.tsx
@@ -29282,7 +29287,7 @@ function OAuthCompanySelector({ companies, value, onChange }) {
29282
29287
  __name(OAuthCompanySelector, "OAuthCompanySelector");
29283
29288
 
29284
29289
  // src/features/oauth/components/consent/OAuthConsentScreen.tsx
29285
- import { Fragment as Fragment68, jsx as jsx328, jsxs as jsxs202 } from "react/jsx-runtime";
29290
+ import { Fragment as Fragment69, jsx as jsx328, jsxs as jsxs202 } from "react/jsx-runtime";
29286
29291
  function OAuthConsentScreen({
29287
29292
  params,
29288
29293
  logoUrl,
@@ -29298,7 +29303,7 @@ function OAuthConsentScreen({
29298
29303
  );
29299
29304
  if (isLoading) {
29300
29305
  return /* @__PURE__ */ jsx328("div", { className: "min-h-dvh flex items-center justify-center p-4", children: /* @__PURE__ */ jsx328(Card, { className: "w-full max-w-md", children: /* @__PURE__ */ jsxs202(CardContent, { className: "flex flex-col items-center justify-center py-12", children: [
29301
- /* @__PURE__ */ jsx328(Loader28, { className: "h-8 w-8 animate-spin text-muted-foreground" }),
29306
+ /* @__PURE__ */ jsx328(Loader29, { className: "h-8 w-8 animate-spin text-muted-foreground" }),
29302
29307
  /* @__PURE__ */ jsx328("p", { className: "mt-4 text-muted-foreground text-sm", children: t("oauth.consent.loading") })
29303
29308
  ] }) }) });
29304
29309
  }
@@ -29316,7 +29321,7 @@ function OAuthConsentScreen({
29316
29321
  /* @__PURE__ */ jsx328(Separator, {}),
29317
29322
  /* @__PURE__ */ jsx328(OAuthScopeList, { scopes }),
29318
29323
  /* @__PURE__ */ jsx328(Separator, {}),
29319
- companies.length > 1 && /* @__PURE__ */ jsxs202(Fragment68, { children: [
29324
+ companies.length > 1 && /* @__PURE__ */ jsxs202(Fragment69, { children: [
29320
29325
  /* @__PURE__ */ jsx328(OAuthCompanySelector, { companies, value: companyId, onChange: setCompanyId }),
29321
29326
  /* @__PURE__ */ jsx328(Separator, {})
29322
29327
  ] }),
@@ -29446,7 +29451,7 @@ function WaitlistQuestionnaireRenderer({
29446
29451
  __name(WaitlistQuestionnaireRenderer, "WaitlistQuestionnaireRenderer");
29447
29452
 
29448
29453
  // src/features/waitlist/components/forms/WaitlistForm.tsx
29449
- import { Fragment as Fragment69, jsx as jsx330, jsxs as jsxs204 } from "react/jsx-runtime";
29454
+ import { Fragment as Fragment70, jsx as jsx330, jsxs as jsxs204 } from "react/jsx-runtime";
29450
29455
  function WaitlistForm({ onSuccess }) {
29451
29456
  const t = useTranslations189();
29452
29457
  const [isSubmitting, setIsSubmitting] = useState128(false);
@@ -29566,7 +29571,7 @@ function WaitlistForm({ onSuccess }) {
29566
29571
  {
29567
29572
  form,
29568
29573
  id: "gdprConsent",
29569
- label: /* @__PURE__ */ jsxs204(Fragment69, { children: [
29574
+ label: /* @__PURE__ */ jsxs204(Fragment70, { children: [
29570
29575
  t("auth.gdpr.terms_prefix"),
29571
29576
  /* @__PURE__ */ jsx330(Link, { href: "/terms", target: "_blank", rel: "noopener", children: t("auth.gdpr.terms_of_service") }),
29572
29577
  t("auth.gdpr.and"),
@@ -29629,7 +29634,7 @@ function WaitlistSuccessState() {
29629
29634
  __name(WaitlistSuccessState, "WaitlistSuccessState");
29630
29635
 
29631
29636
  // src/features/waitlist/components/sections/WaitlistConfirmation.tsx
29632
- import { CheckCircle as CheckCircle5, Loader2 as Loader29, XCircle as XCircle3 } from "lucide-react";
29637
+ import { CheckCircle as CheckCircle5, Loader2 as Loader210, XCircle as XCircle3 } from "lucide-react";
29633
29638
  import { useTranslations as useTranslations191 } from "next-intl";
29634
29639
  import { useEffect as useEffect92, useState as useState129 } from "react";
29635
29640
  import { jsx as jsx333, jsxs as jsxs207 } from "react/jsx-runtime";
@@ -29652,7 +29657,7 @@ function WaitlistConfirmation({ code }) {
29652
29657
  }, [code, t]);
29653
29658
  if (state === "loading") {
29654
29659
  return /* @__PURE__ */ jsxs207("div", { className: "flex flex-col items-center justify-center space-y-4 py-16 text-center", children: [
29655
- /* @__PURE__ */ jsx333(Loader29, { className: "text-primary h-12 w-12 animate-spin" }),
29660
+ /* @__PURE__ */ jsx333(Loader210, { className: "text-primary h-12 w-12 animate-spin" }),
29656
29661
  /* @__PURE__ */ jsx333("p", { className: "text-muted-foreground", children: t("waitlist.confirmation.loading") })
29657
29662
  ] });
29658
29663
  }
@@ -29860,7 +29865,7 @@ import { Popover as PopoverPrimitive2 } from "@base-ui/react/popover";
29860
29865
  import { CheckIcon as CheckIcon10, MinusIcon as MinusIcon3, XIcon as XIcon15 } from "lucide-react";
29861
29866
  import { useTranslations as useTranslations193 } from "next-intl";
29862
29867
  import { useCallback as useCallback63, useEffect as useEffect94, useState as useState131 } from "react";
29863
- import { Fragment as Fragment70, jsx as jsx336, jsxs as jsxs210 } from "react/jsx-runtime";
29868
+ import { Fragment as Fragment71, jsx as jsx336, jsxs as jsxs210 } from "react/jsx-runtime";
29864
29869
  function RbacPermissionPicker({
29865
29870
  open,
29866
29871
  anchor,
@@ -29946,7 +29951,7 @@ function RbacPermissionPicker({
29946
29951
  )
29947
29952
  ] })
29948
29953
  ] }),
29949
- isRoleColumn && onClear && /* @__PURE__ */ jsxs210(Fragment70, { children: [
29954
+ isRoleColumn && onClear && /* @__PURE__ */ jsxs210(Fragment71, { children: [
29950
29955
  /* @__PURE__ */ jsx336(Separator, {}),
29951
29956
  /* @__PURE__ */ jsxs210(
29952
29957
  Button,
@@ -30233,7 +30238,7 @@ __name(RbacContainer, "RbacContainer");
30233
30238
  // src/features/rbac/components/RbacByRoleContainer.tsx
30234
30239
  import { Loader2Icon as Loader2Icon5 } from "lucide-react";
30235
30240
  import { useTranslations as useTranslations195 } from "next-intl";
30236
- import { Fragment as Fragment71, memo as memo3, useCallback as useCallback65, useEffect as useEffect96, useMemo as useMemo71, useRef as useRef51, useState as useState133 } from "react";
30241
+ import { Fragment as Fragment72, memo as memo3, useCallback as useCallback65, useEffect as useEffect96, useMemo as useMemo71, useRef as useRef51, useState as useState133 } from "react";
30237
30242
  import { jsx as jsx338, jsxs as jsxs212 } from "react/jsx-runtime";
30238
30243
  function findToken2(tokens, action) {
30239
30244
  if (!tokens) return void 0;
@@ -30359,7 +30364,7 @@ function RbacByRoleContainer() {
30359
30364
  const defaultTokens = block.default ?? [];
30360
30365
  const roleTokens = block[selectedRoleId];
30361
30366
  const moduleLabel = moduleNames?.[moduleId] ?? moduleId;
30362
- return /* @__PURE__ */ jsxs212(Fragment71, { children: [
30367
+ return /* @__PURE__ */ jsxs212(Fragment72, { children: [
30363
30368
  /* @__PURE__ */ jsx338("tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ jsx338(
30364
30369
  "td",
30365
30370
  {
@@ -31063,4 +31068,4 @@ export {
31063
31068
  useOAuthClients,
31064
31069
  useOAuthClient
31065
31070
  };
31066
- //# sourceMappingURL=chunk-OVSR72CZ.mjs.map
31071
+ //# sourceMappingURL=chunk-MNN6MTEN.mjs.map