@greatapps/common 1.1.746 → 1.1.748

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.
@@ -1,29 +1,40 @@
1
1
  "use client";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- import { IconLock, IconAlertTriangle } from "@tabler/icons-react";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import {
4
+ IconLock,
5
+ IconFile,
6
+ IconFolder,
7
+ IconWorld,
8
+ IconInfoCircle
9
+ } from "@tabler/icons-react";
4
10
  import { useTranslations } from "next-intl";
5
11
  import { Button } from "../ui/buttons/Button";
6
- import { Separator } from "../ui/data-display/Separator";
7
12
  import {
8
13
  Dialog,
9
14
  DialogContent,
10
15
  DialogDescription,
11
- DialogHeader,
12
16
  DialogTitle
13
17
  } from "../ui/overlay/Dialog";
18
+ import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/overlay/Tooltip";
14
19
  import { useWhitelabelUrls, useExternalContracting } from "../../providers/whitelabel.provider";
15
20
  import { useModalManager } from "../../store/useModalManager";
16
21
  import { formatShortDate } from "../../infra/utils/date";
17
- const BLOCKED_RESOURCE_KEYS = [
18
- "pages",
19
- "projects",
20
- "leadsExport",
21
- "pageSettings",
22
- "domains",
23
- "users",
24
- "abTests",
25
- "uploads",
26
- "integrations"
22
+ const RESOURCE_GROUPS = [
23
+ {
24
+ icon: IconFile,
25
+ titleKey: "common.subscription.frozen.modal.resources.pages.title",
26
+ descriptionKey: "common.subscription.frozen.modal.resources.pages.description"
27
+ },
28
+ {
29
+ icon: IconFolder,
30
+ titleKey: "common.subscription.frozen.modal.resources.projects.title",
31
+ descriptionKey: "common.subscription.frozen.modal.resources.projects.description"
32
+ },
33
+ {
34
+ icon: IconWorld,
35
+ titleKey: "common.subscription.frozen.modal.resources.domains.title",
36
+ descriptionKey: "common.subscription.frozen.modal.resources.domains.description"
37
+ }
27
38
  ];
28
39
  function AccountFrozenModal() {
29
40
  const translate = useTranslations();
@@ -31,37 +42,75 @@ function AccountFrozenModal() {
31
42
  const isOpen = activeModal === "accountFrozenModal";
32
43
  const { accountsUrl } = useWhitelabelUrls();
33
44
  const { redirectToExternal } = useExternalContracting();
34
- const freezeDate = modalData?.freezeDate ?? null;
45
+ const data = modalData;
46
+ const freezeDate = data?.freezeDate ?? null;
35
47
  const isWarning = Boolean(freezeDate);
48
+ const showResources = Boolean(data?.showResources);
36
49
  const title = isWarning ? translate("common.subscription.frozen.modal.warningTitle", {
37
50
  freezeDate: formatShortDate(freezeDate ? new Date(freezeDate) : null)
38
51
  }) : translate("common.subscription.frozen.modal.title");
39
- const description = isWarning ? translate("common.subscription.frozen.modal.warningDescription") : translate("common.subscription.frozen.modal.description");
52
+ const description = isWarning ? translate(
53
+ showResources ? "common.subscription.frozen.modal.warningDescriptionWithResources" : "common.subscription.frozen.modal.warningDescription"
54
+ ) : translate(
55
+ showResources ? "common.subscription.frozen.modal.descriptionWithResources" : "common.subscription.frozen.modal.description"
56
+ );
40
57
  const handleRegularize = () => {
41
58
  if (redirectToExternal("plans")) return;
42
59
  window.location.href = `${accountsUrl}/subscriptions`;
43
60
  };
44
- return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: () => closeModal(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "flex flex-col p-0 gap-0 w-full md:w-[410px] lg:w-[410px]", children: [
45
- /* @__PURE__ */ jsxs(DialogHeader, { className: "gap-3 text-left p-5", children: [
46
- /* @__PURE__ */ jsx(
47
- "div",
48
- {
49
- className: `flex items-center justify-center w-10 h-10 rounded-lg ${isWarning ? "bg-orange-50" : "bg-zinc-50"}`,
50
- children: isWarning ? /* @__PURE__ */ jsx(IconAlertTriangle, { size: 20, className: "text-orange-500" }) : /* @__PURE__ */ jsx(IconLock, { size: 24, className: "text-zinc-950" })
51
- }
52
- ),
53
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
54
- /* @__PURE__ */ jsx(DialogTitle, { className: "paragraph-medium-semibold text-zinc-950", children: title }),
55
- /* @__PURE__ */ jsx(DialogDescription, { className: "paragraph-small-regular text-zinc-600", asChild: true, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
56
- /* @__PURE__ */ jsx("p", { children: description }),
57
- /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-1.5 list-disc pl-4", children: BLOCKED_RESOURCE_KEYS.map((key) => /* @__PURE__ */ jsx("li", { children: translate(`common.subscription.frozen.modal.resources.${key}`) }, key)) }),
58
- /* @__PURE__ */ jsx("p", { children: translate("common.subscription.frozen.modal.keepsWorking") })
59
- ] }) })
60
- ] })
61
- ] }),
62
- /* @__PURE__ */ jsx(Separator, {}),
63
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 p-5", children: /* @__PURE__ */ jsx(Button, { className: "w-fit h-10!", onClick: handleRegularize, children: translate("common.subscription.frozen.modal.cta") }) })
64
- ] }) });
61
+ return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: () => closeModal(), children: /* @__PURE__ */ jsxs(
62
+ DialogContent,
63
+ {
64
+ showCloseButton: true,
65
+ onOpenAutoFocus: (event) => event.preventDefault(),
66
+ className: "flex flex-col p-0! gap-0! max-w-[calc(100%-2rem)]! w-full sm:max-w-[400px]! lg:max-w-[420px]! rounded-lg border",
67
+ children: [
68
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-5 p-4 lg:p-5", children: [
69
+ /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center w-10 h-10 bg-zinc-50 rounded-lg", children: /* @__PURE__ */ jsx(IconLock, { size: 20, className: "text-zinc-950" }) }),
70
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
71
+ /* @__PURE__ */ jsx(DialogTitle, { className: "paragraph-medium-semibold text-zinc-950", children: title }),
72
+ /* @__PURE__ */ jsx(DialogDescription, { className: "paragraph-small-regular text-zinc-500", children: description })
73
+ ] }),
74
+ showResources && /* @__PURE__ */ jsxs(Fragment, { children: [
75
+ /* @__PURE__ */ jsx("div", { className: "bg-white border border-zinc-100 rounded-lg", children: RESOURCE_GROUPS.map(({ titleKey, descriptionKey, icon: Icon }, index) => /* @__PURE__ */ jsxs("div", { children: [
76
+ index > 0 && /* @__PURE__ */ jsx("div", { className: "h-px bg-zinc-100" }),
77
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-3 p-4", children: [
78
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
79
+ /* @__PURE__ */ jsx(Icon, { size: 20, className: "text-zinc-950 shrink-0" }),
80
+ /* @__PURE__ */ jsx("span", { className: "paragraph-small-semibold text-zinc-950", children: translate(titleKey) })
81
+ ] }),
82
+ /* @__PURE__ */ jsxs(Tooltip, { children: [
83
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
84
+ "button",
85
+ {
86
+ type: "button",
87
+ "aria-label": translate(titleKey),
88
+ className: "flex items-center justify-center shrink-0 cursor-pointer",
89
+ children: /* @__PURE__ */ jsx(IconInfoCircle, { className: "size-4 text-zinc-400" })
90
+ }
91
+ ) }),
92
+ /* @__PURE__ */ jsx(
93
+ TooltipContent,
94
+ {
95
+ side: "top",
96
+ className: "z-[1100] max-w-[240px]",
97
+ children: translate(descriptionKey)
98
+ }
99
+ )
100
+ ] })
101
+ ] })
102
+ ] }, titleKey)) }),
103
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-4 rounded-lg bg-cyan-50", children: [
104
+ /* @__PURE__ */ jsx(IconInfoCircle, { className: "size-4 text-zinc-950 shrink-0" }),
105
+ /* @__PURE__ */ jsx("span", { className: "paragraph-small-regular text-zinc-950", children: translate("common.subscription.frozen.modal.keepsWorking") })
106
+ ] })
107
+ ] })
108
+ ] }),
109
+ /* @__PURE__ */ jsx("div", { className: "h-px bg-zinc-200" }),
110
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 p-4 lg:p-5", children: /* @__PURE__ */ jsx(Button, { className: "h-10 w-fit", onClick: handleRegularize, children: translate("common.subscription.frozen.modal.cta") }) })
111
+ ]
112
+ }
113
+ ) });
65
114
  }
66
115
  export {
67
116
  AccountFrozenModal as default
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/modals/AccountFrozenModal.tsx"],"sourcesContent":["\"use client\";\n\nimport { IconLock, IconAlertTriangle } from '@tabler/icons-react';\nimport { useTranslations } from 'next-intl';\nimport { Button } from '../ui/buttons/Button';\nimport { Separator } from '../ui/data-display/Separator';\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,\n} from '../ui/overlay/Dialog';\nimport { useWhitelabelUrls, useExternalContracting } from '../../providers/whitelabel.provider';\nimport { useModalManager } from '../../store/useModalManager';\nimport { formatShortDate } from '../../infra/utils/date';\n\n/* Lista do que o congelamento tira, na ordem do card. O texto mora no catálogo. */\nconst BLOCKED_RESOURCE_KEYS = [\n 'pages',\n 'projects',\n 'leadsExport',\n 'pageSettings',\n 'domains',\n 'users',\n 'abTests',\n 'uploads',\n 'integrations',\n] as const;\n\n/* `freezeDate` no data = ainda VAI congelar (véspera); sem ele = já congelado. As duas\n * variantes listam os mesmos recursos: o ponto do \"Detalhes\" no banner é o usuário saber o\n * que perde ANTES de perder. */\ninterface FrozenModalData {\n freezeDate?: Date | string | null;\n}\n\nexport default function AccountFrozenModal() {\n const translate = useTranslations();\n const { activeModal, closeModal, modalData } = useModalManager();\n const isOpen = activeModal === 'accountFrozenModal';\n const { accountsUrl } = useWhitelabelUrls();\n const { redirectToExternal } = useExternalContracting();\n\n const freezeDate = (modalData as FrozenModalData | undefined)?.freezeDate ?? null;\n const isWarning = Boolean(freezeDate);\n\n const title = isWarning\n ? translate('common.subscription.frozen.modal.warningTitle', {\n freezeDate: formatShortDate(freezeDate ? new Date(freezeDate) : null),\n })\n : translate('common.subscription.frozen.modal.title');\n\n const description = isWarning\n ? translate('common.subscription.frozen.modal.warningDescription')\n : translate('common.subscription.frozen.modal.description');\n\n const handleRegularize = () => {\n if (redirectToExternal('plans')) return;\n window.location.href = `${accountsUrl}/subscriptions`;\n };\n\n return (\n <Dialog open={isOpen} onOpenChange={() => closeModal()}>\n <DialogContent className=\"flex flex-col p-0 gap-0 w-full md:w-[410px] lg:w-[410px]\">\n <DialogHeader className=\"gap-3 text-left p-5\">\n <div\n className={`flex items-center justify-center w-10 h-10 rounded-lg ${isWarning ? 'bg-orange-50' : 'bg-zinc-50'}`}\n >\n {isWarning ? (\n <IconAlertTriangle size={20} className=\"text-orange-500\" />\n ) : (\n <IconLock size={24} className=\"text-zinc-950\" />\n )}\n </div>\n <div className=\"flex flex-col gap-2\">\n <DialogTitle className=\"paragraph-medium-semibold text-zinc-950\">\n {title}\n </DialogTitle>\n <DialogDescription className=\"paragraph-small-regular text-zinc-600\" asChild>\n <div className=\"flex flex-col gap-3\">\n <p>{description}</p>\n <ul className=\"flex flex-col gap-1.5 list-disc pl-4\">\n {BLOCKED_RESOURCE_KEYS.map((key) => (\n <li key={key}>\n {translate(`common.subscription.frozen.modal.resources.${key}`)}\n </li>\n ))}\n </ul>\n <p>{translate('common.subscription.frozen.modal.keepsWorking')}</p>\n </div>\n </DialogDescription>\n </div>\n </DialogHeader>\n\n <Separator />\n\n <div className=\"flex items-center gap-2 p-5\">\n <Button className=\"w-fit h-10!\" onClick={handleRegularize}>\n {translate('common.subscription.frozen.modal.cta')}\n </Button>\n </div>\n </DialogContent>\n </Dialog>\n );\n}\n"],"mappings":";AAsE4B,cAUA,YAVA;AApE5B,SAAS,UAAU,yBAAyB;AAC5C,SAAS,uBAAuB;AAChC,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,mBAAmB,8BAA8B;AAC1D,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAGhC,MAAM,wBAAwB;AAAA,EAC1B;AAAA,EACA;A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I,oBAAU,8CAA8C,GAAG,EAAE,KADzD,GAET,CACH,GACL;AAAA,UACA,oBAAC,OAAG,oBAAU,+CAA+C,GAAE;AAAA,WACnE,GACJ;AAAA,SACJ;AAAA,OACJ;AAAA,IAEA,oBAAC,aAAU;AAAA,IAEX,oBAAC,SAAI,WAAU,+BACX,8BAAC,UAAO,WAAU,eAAc,SAAS,kBACpC,oBAAU,sCAAsC,GACrD,GACJ;AAAA,KACJ,GACJ;AAER;","names":[]}
1
+ {"version":3,"sources":["../../../src/components/modals/AccountFrozenModal.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n IconLock,\n IconFile,\n IconFolder,\n IconWorld,\n IconInfoCircle,\n type IconProps,\n} from '@tabler/icons-react';\nimport type { ComponentType } from 'react';\nimport { useTranslations } from 'next-intl';\nimport { Button } from '../ui/buttons/Button';\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogTitle,\n} from '../ui/overlay/Dialog';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '../ui/overlay/Tooltip';\nimport { useWhitelabelUrls, useExternalContracting } from '../../providers/whitelabel.provider';\nimport { useModalManager } from '../../store/useModalManager';\nimport { formatShortDate } from '../../infra/utils/date';\n\n/* Os 9 recursos do card agrupados nos 3 grupos que o usuário reconhece na plataforma.\n * Um ícone por grupo; o texto mora no catálogo. */\n/* Chaves LITERAIS, não `resources.${key}.title`: o catálogo dos apps consumidores tipa\n * translate() com a união de chaves, e a template string não resolve nessa união — o TS cai\n * na sobrecarga de 2-3 argumentos e o build do consumidor quebra (a common sozinha não\n * acusa). */\nconst RESOURCE_GROUPS = [\n {\n icon: IconFile,\n titleKey: 'common.subscription.frozen.modal.resources.pages.title',\n descriptionKey: 'common.subscription.frozen.modal.resources.pages.description',\n },\n {\n icon: IconFolder,\n titleKey: 'common.subscription.frozen.modal.resources.projects.title',\n descriptionKey: 'common.subscription.frozen.modal.resources.projects.description',\n },\n {\n icon: IconWorld,\n titleKey: 'common.subscription.frozen.modal.resources.domains.title',\n descriptionKey: 'common.subscription.frozen.modal.resources.domains.description',\n },\n] as const satisfies readonly {\n icon: ComponentType<IconProps>;\n titleKey: string;\n descriptionKey: string;\n}[];\n\n/* `freezeDate` no data = ainda VAI congelar (véspera); sem ele = já congelado.\n *\n * A LISTA só aparece quando o usuário PEDIU por ela, clicando em \"Detalhes\" no banner\n * (`showResources`). Na modal que abre sozinha ao entrar numa conta bloqueada fica só o\n * recado curto e o botão. */\ninterface FrozenModalData {\n freezeDate?: Date | string | null;\n showResources?: boolean;\n}\n\nexport default function AccountFrozenModal() {\n const translate = useTranslations();\n const { activeModal, closeModal, modalData } = useModalManager();\n const isOpen = activeModal === 'accountFrozenModal';\n const { accountsUrl } = useWhitelabelUrls();\n const { redirectToExternal } = useExternalContracting();\n\n const data = modalData as FrozenModalData | undefined;\n const freezeDate = data?.freezeDate ?? null;\n const isWarning = Boolean(freezeDate);\n const showResources = Boolean(data?.showResources);\n\n const title = isWarning\n ? translate('common.subscription.frozen.modal.warningTitle', {\n freezeDate: formatShortDate(freezeDate ? new Date(freezeDate) : null),\n })\n : translate('common.subscription.frozen.modal.title');\n\n /* Sem a lista o texto tem que fechar sozinho; com a lista ele a INTRODUZ (termina em \":\"). */\n const description = isWarning\n ? translate(\n showResources\n ? 'common.subscription.frozen.modal.warningDescriptionWithResources'\n : 'common.subscription.frozen.modal.warningDescription',\n )\n : translate(\n showResources\n ? 'common.subscription.frozen.modal.descriptionWithResources'\n : 'common.subscription.frozen.modal.description',\n );\n\n const handleRegularize = () => {\n if (redirectToExternal('plans')) return;\n window.location.href = `${accountsUrl}/subscriptions`;\n };\n\n return (\n <Dialog open={isOpen} onOpenChange={() => closeModal()}>\n <DialogContent\n showCloseButton\n /* Sem isto o Radix move o foco para o primeiro focável ao abrir — que aqui é o\n * gatilho do tooltip — e o tooltip abre em FOCO, não só em hover: a modal\n * aparecia com um balão já aberto. O foco segue preso no dialog. */\n onOpenAutoFocus={(event) => event.preventDefault()}\n className=\"flex flex-col p-0! gap-0! max-w-[calc(100%-2rem)]! w-full sm:max-w-[400px]! lg:max-w-[420px]! rounded-lg border\"\n >\n <div className=\"flex flex-col gap-5 p-4 lg:p-5\">\n <div className=\"flex items-center justify-center w-10 h-10 bg-zinc-50 rounded-lg\">\n <IconLock size={20} className=\"text-zinc-950\" />\n </div>\n\n <div className=\"flex flex-col gap-2\">\n <DialogTitle className=\"paragraph-medium-semibold text-zinc-950\">\n {title}\n </DialogTitle>\n <DialogDescription className=\"paragraph-small-regular text-zinc-500\">\n {description}\n </DialogDescription>\n </div>\n\n {showResources && (\n <>\n {/* Um bloco só, grupos separados por linha. A descrição de cada grupo\n * vive no tooltip do ícone de info à direita: na modal ela empilhava\n * três parágrafos e virava um paredão. */}\n <div className=\"bg-white border border-zinc-100 rounded-lg\">\n {RESOURCE_GROUPS.map(({ titleKey, descriptionKey, icon: Icon }, index) => (\n <div key={titleKey}>\n {index > 0 && <div className=\"h-px bg-zinc-100\" />}\n <div className=\"flex items-center justify-between gap-3 p-4\">\n <div className=\"flex items-center gap-3\">\n <Icon size={20} className=\"text-zinc-950 shrink-0\" />\n <span className=\"paragraph-small-semibold text-zinc-950\">\n {translate(titleKey)}\n </span>\n </div>\n <Tooltip>\n <TooltipTrigger asChild>\n <button\n type=\"button\"\n aria-label={translate(titleKey)}\n className=\"flex items-center justify-center shrink-0 cursor-pointer\"\n >\n <IconInfoCircle className=\"size-4 text-zinc-400\" />\n </button>\n </TooltipTrigger>\n <TooltipContent\n side=\"top\"\n /* Acima do dialog: o globals.css do gapps-app\n * sobe o [data-slot='dialog-content'] para\n * z-index 1011 !important (o componente\n * declara 1001), então o z-50 padrão do\n * tooltip ficava atrás. */\n className=\"z-[1100] max-w-[240px]\"\n >\n {translate(descriptionKey)}\n </TooltipContent>\n </Tooltip>\n </div>\n </div>\n ))}\n </div>\n\n {/* Bloco de informação padrão da plataforma. Ciano fixo: o congelamento\n * é exclusivo da wl 1, então não existe o caso whitelabel/zinc aqui. */}\n <div className=\"flex items-center gap-3 p-4 rounded-lg bg-cyan-50\">\n <IconInfoCircle className=\"size-4 text-zinc-950 shrink-0\" />\n <span className=\"paragraph-small-regular text-zinc-950\">\n {translate('common.subscription.frozen.modal.keepsWorking')}\n </span>\n </div>\n </>\n )}\n </div>\n\n <div className=\"h-px bg-zinc-200\" />\n\n <div className=\"flex items-center gap-2 p-4 lg:p-5\">\n <Button className=\"h-10 w-fit\" onClick={handleRegularize}>\n {translate('common.subscription.frozen.modal.cta')}\n </Button>\n </div>\n </DialogContent>\n </Dialog>\n );\n}\n"],"mappings":";AA8GwB,SAaA,UAbA,KAGJ,YAHI;AA5GxB;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEG;AAEP,SAAS,uBAAuB;AAChC,SAAS,cAAc;AACvB;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,SAAS,gBAAgB,sBAAsB;AACxD,SAAS,mBAAmB,8BAA8B;AAC1D,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAQhC,MAAM,kBAAkB;AAAA,EACpB;AAAA,IACI,MAAM;AAAA,IACN,UAAU;AAAA,IACV,gBAAgB;AAAA,EACpB;AAAA,EACA;AAAA,IACI,MAAM;AAAA,IACN,UAAU;AAAA,IACV,gBAAgB;AAAA,EACpB;AAAA,EACA;AAAA,IACI,MAAM;AAAA,IACN,UAAU;AAAA,IACV,gBAAgB;AAAA,EACpB;AACJ;AAgBe,SAAR,qBAAsC;AACzC,QAAM,YAAY,gBAAgB;AAClC,QAAM,EAAE,aAAa,YAAY,UAAU,IAAI,gBAAgB;AAC/D,QAAM,SAAS,gBAAgB;AAC/B,QAAM,EAAE,YAAY,IAAI,kBAAkB;AAC1C,QAAM,EAAE,mBAAmB,IAAI,uBAAuB;AAEtD,QAAM,OAAO;AACb,QAAM,aAAa,MAAM,cAAc;AACvC,QAAM,YAAY,QAAQ,UAAU;AACpC,QAAM,gBAAgB,QAA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AK;AAAA,sBACL,cAAY,UAAU,QAAQ;AAAA,sBAC9B,WAAU;AAAA,sBAEV,8BAAC,kBAAe,WAAU,wBAAuB;AAAA;AAAA,kBACrD,GACJ;AAAA,kBACA;AAAA,oBAAC;AAAA;AAAA,sBACG,MAAK;AAAA,sBAML,WAAU;AAAA,sBAET,oBAAU,cAAc;AAAA;AAAA,kBAC7B;AAAA,mBACJ;AAAA,iBACJ;AAAA,iBA/BM,QAgCV,CACH,GACL;AAAA,YAIA,qBAAC,SAAI,WAAU,qDACX;AAAA,kCAAC,kBAAe,WAAU,iCAAgC;AAAA,cAC1D,oBAAC,UAAK,WAAU,yCACX,oBAAU,+CAA+C,GAC9D;AAAA,eACJ;AAAA,aACJ;AAAA,WAER;AAAA,QAEA,oBAAC,SAAI,WAAU,oBAAmB;AAAA,QAElC,oBAAC,SAAI,WAAU,sCACX,8BAAC,UAAO,WAAU,cAAa,SAAS,kBACnC,oBAAU,sCAAsC,GACrD,GACJ;AAAA;AAAA;AAAA,EACJ,GACJ;AAER;","names":[]}
@@ -59,7 +59,7 @@ function SubscriptionBanner({
59
59
  if (subscription.type === "whitelabel") return null;
60
60
  const freezeState = getAccountFreezeState(subscription);
61
61
  if (freezeState === "frozen") {
62
- return /* @__PURE__ */ jsx(FrozenAccountBanner, { onDetails: () => openModal("accountFrozenModal") });
62
+ return /* @__PURE__ */ jsx(FrozenAccountBanner, { onDetails: () => openModal("accountFrozenModal", { showResources: true }) });
63
63
  }
64
64
  if (freezeState === "warning") {
65
65
  const freezeDate = getAccountFreezeDate(subscription);
@@ -67,7 +67,7 @@ function SubscriptionBanner({
67
67
  FreezeWarningBanner,
68
68
  {
69
69
  freezeDate,
70
- onDetails: () => openModal("accountFrozenModal", { freezeDate })
70
+ onDetails: () => openModal("accountFrozenModal", { freezeDate, showResources: true })
71
71
  }
72
72
  );
73
73
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/navigation/SubscriptionBanner.tsx"],"sourcesContent":["\"use client\";\n\nimport { useActiveSubscription } from \"../../modules/subscriptions/hooks/find-active-subscription.hook\";\nimport { useCharges } from \"../../modules/charges/hooks/charges.hook\";\nimport { SUBSCRIPTION_GRACE_PERIOD_DAYS, MAX_PAYMENT_ATTEMPTS } from \"../../modules/subscriptions/constants/subscription.constants\";\nimport { getSubscriptionExpiryDate } from \"../../modules/subscriptions/utils/get-subscription-expiry-date\";\nimport { getSubscriptionCancellationState } from \"../../modules/subscriptions/utils/get-subscription-cancellation-state\";\nimport { getAccountFreezeState } from \"../../modules/subscriptions/utils/get-account-freeze-state\";\nimport { getAccountFreezeDate } from \"../../modules/subscriptions/utils/get-account-freeze-date\";\nimport { toCalendarDate, daysBetween } from \"../../infra/utils/date\";\nimport { OverdueInvoiceBanner } from \"./OverdueInvoiceBanner\";\nimport { UpcomingInvoiceBanner } from \"./UpcomingInvoiceBanner\";\nimport { CancelledSubscriptionBanner } from \"./CancelledSubscriptionBanner\";\nimport { PendingCancellationBanner } from \"./PendingCancellationBanner\";\nimport { TrialBanner } from \"./TrialBanner\";\nimport { FrozenAccountBanner } from \"./FrozenAccountBanner\";\nimport { FreezeWarningBanner } from \"./FreezeWarningBanner\";\nimport { useModalManager } from \"../../store/useModalManager\";\n\nconst UPCOMING_WINDOW_DAYS = 7;\nconst PAYMENT_METHOD_BOLETO = 2;\n\ninterface SubscriptionBannerProps {\n onReactivate?: () => void;\n onDetails?: () => void;\n}\n\nexport function SubscriptionBanner({\n onReactivate,\n onDetails,\n}: SubscriptionBannerProps) {\n const { data: { data: [subscription] = [] } = {} } = useActiveSubscription();\n const { openModal } = useModalManager();\n const { data: pendingChargesData, isLoading: isLoadingCharges } = useCharges({\n page: 1,\n limit: 1,\n status: [0],\n });\n\n if (!subscription?.date_due) return null;\n if (subscription.type === \"free\") return null;\n\n const dueDate = toCalendarDate(subscription.date_due);\n const today = toCalendarDate(new Date());\n if (!dueDate || !today) return null;\n\n const daysSinceDue = daysBetween(dueDate, today);\n const daysToDue = daysBetween(today, dueDate);\n const hasPendingCharge = !!pendingChargesData?.data?.[0];\n const isBoleto = subscription.payment_method === PAYMENT_METHOD_BOLETO;\n\n // Estado de cancelamento (fonte da verdade única, compartilhada com o\n // CancelledSubscriptionBanner). `active === false` tem prioridade e cai em\n // \"cancelled\" mesmo com date_due no futuro — é o caso da baixa por falha de\n // pagamento, onde date_due aponta pra uma fatura não paga.\n const expiryDate = getSubscriptionExpiryDate(subscription);\n const cancellationState = getSubscriptionCancellationState(subscription);\n\n // Trial: `date_due` guarda o fim do período de teste (ver auth.service).\n // Mostra a contagem regressiva enquanto o teste está vigente: `active` e não\n // vencido (`daysToDue >= 0`). NÃO usar `cancellationState` aqui — num trial o\n // `date_cancellation` é o agendamento padrão de não-renovação (o Stripe seta\n // = `date_due`), então cairia sempre em \"pending\" e o banner nunca apareceria.\n // Um trial encerrado de verdade vem com `active === false` (date_due placeholder).\n if (subscription.type === \"trial\") {\n if (!subscription.active || daysToDue < 0) return null;\n return <TrialBanner daysRemaining={daysToDue} onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"cancelled\") {\n return <CancelledSubscriptionBanner onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"pending\") {\n return (\n <PendingCancellationBanner\n limitDate={expiryDate}\n onReactivate={onReactivate}\n />\n );\n }\n\n if (subscription.type === \"whitelabel\") return null;\n\n // Congelamento (date_due + ACCOUNT_FREEZE_AFTER_DAYS): entra antes do dunning\n // e do aviso genérico de atraso, que hoje engolem essa janela.\n const freezeState = getAccountFreezeState(subscription);\n // \"Detalhes\" abre a MESMA modal do bloqueio, com a lista do que o congelamento tira: no\n // aviso o usuário precisa ver o que vai perder antes de perder. O `freezeDate` no data é\n // o que faz a modal renderizar a variante de véspera.\n //\n // IGNORA o `onDetails` do host de propósito: nos apps ele abre os detalhes da COBRANÇA,\n // que responde outra pergunta. Aqui \"Detalhes\" significa \"o que eu perco\".\n if (freezeState === \"frozen\") {\n return (\n <FrozenAccountBanner onDetails={() => openModal(\"accountFrozenModal\")} />\n );\n }\n if (freezeState === \"warning\") {\n const freezeDate = getAccountFreezeDate(subscription);\n return (\n <FreezeWarningBanner\n freezeDate={freezeDate}\n onDetails={() => openModal(\"accountFrozenModal\", { freezeDate })}\n />\n );\n }\n\n // Cartão em dunning (Stripe Smart Retries): comunica as tentativas de cobrança\n // restantes antes do cancelamento automático — não mais por tolerância fixa de\n // dias. attempt_count vive no invoice (payment_retry); só cartão tem retries.\n const paymentRetry = subscription.payment_retry ?? null;\n if (\n paymentRetry &&\n paymentRetry.invoice_status === \"open\" &&\n paymentRetry.attempt_count > 0\n ) {\n const remainingAttempts = Math.max(\n 0,\n MAX_PAYMENT_ATTEMPTS - paymentRetry.attempt_count,\n );\n return (\n <OverdueInvoiceBanner\n onDetails={onDetails}\n remainingAttempts={remainingAttempts}\n />\n );\n }\n\n // Boleto/pix (sem retries): aviso genérico de atraso enquanto a fatura está\n // dentro da janela de cobrança.\n if (daysSinceDue > 0 && daysSinceDue <= SUBSCRIPTION_GRACE_PERIOD_DAYS) {\n return <OverdueInvoiceBanner onDetails={onDetails} />;\n }\n\n if (\n isBoleto &&\n !isLoadingCharges &&\n hasPendingCharge &&\n daysToDue >= 0 &&\n daysToDue <= UPCOMING_WINDOW_DAYS\n ) {\n return <UpcomingInvoiceBanner dueDate={dueDate} onDetails={onDetails} />;\n }\n\n return null;\n}\n"],"mappings":";AAkEW;AAhEX,SAAS,6BAA6B;AACtC,SAAS,kBAAkB;AAC3B,SAAS,gCAAgC,4BAA4B;AACrE,SAAS,iCAAiC;AAC1C,SAAS,wCAAwC;AACjD,SAAS,6BAA6B;AACtC,SAAS,4BAA4B;AACrC,SAAS,gBAAgB,mBAAmB;AAC5C,SAAS,4BAA4B;AACrC,SAAS,6BAA6B;AACtC,SAAS,mCAAmC;AAC5C,SAAS,iCAAiC;AAC1C,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAEhC,MAAM,uBAAuB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AAoB,WAAW,MAAM,UAAU,oBAAoB,GAAG;AAAA,EAE3E;AACA,MAAI,gBAAgB,WAAW;AAC7B,UAAM,aAAa,qBAAqB,YAAY;AACpD,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,WAAW,MAAM,UAAU,sBAAsB,EAAE,WAAW,CAAC;AAAA;AAAA,IACjE;AAAA,EAEJ;AAKA,QAAM,eAAe,aAAa,iBAAiB;AACnD,MACE,gBACA,aAAa,mBAAmB,UAChC,aAAa,gBAAgB,GAC7B;AACA,UAAM,oBAAoB,KAAK;AAAA,MAC7B;AAAA,MACA,uBAAuB,aAAa;AAAA,IACtC;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AAIA,MAAI,eAAe,KAAK,gBAAgB,gCAAgC;AACtE,WAAO,oBAAC,wBAAqB,WAAsB;AAAA,EACrD;AAEA,MACE,YACA,CAAC,oBACD,oBACA,aAAa,KACb,aAAa,sBACb;AACA,WAAO,oBAAC,yBAAsB,SAAkB,WAAsB;AAAA,EACxE;AAEA,SAAO;AACT;","names":[]}
1
+ {"version":3,"sources":["../../../src/components/navigation/SubscriptionBanner.tsx"],"sourcesContent":["\"use client\";\n\nimport { useActiveSubscription } from \"../../modules/subscriptions/hooks/find-active-subscription.hook\";\nimport { useCharges } from \"../../modules/charges/hooks/charges.hook\";\nimport { SUBSCRIPTION_GRACE_PERIOD_DAYS, MAX_PAYMENT_ATTEMPTS } from \"../../modules/subscriptions/constants/subscription.constants\";\nimport { getSubscriptionExpiryDate } from \"../../modules/subscriptions/utils/get-subscription-expiry-date\";\nimport { getSubscriptionCancellationState } from \"../../modules/subscriptions/utils/get-subscription-cancellation-state\";\nimport { getAccountFreezeState } from \"../../modules/subscriptions/utils/get-account-freeze-state\";\nimport { getAccountFreezeDate } from \"../../modules/subscriptions/utils/get-account-freeze-date\";\nimport { toCalendarDate, daysBetween } from \"../../infra/utils/date\";\nimport { OverdueInvoiceBanner } from \"./OverdueInvoiceBanner\";\nimport { UpcomingInvoiceBanner } from \"./UpcomingInvoiceBanner\";\nimport { CancelledSubscriptionBanner } from \"./CancelledSubscriptionBanner\";\nimport { PendingCancellationBanner } from \"./PendingCancellationBanner\";\nimport { TrialBanner } from \"./TrialBanner\";\nimport { FrozenAccountBanner } from \"./FrozenAccountBanner\";\nimport { FreezeWarningBanner } from \"./FreezeWarningBanner\";\nimport { useModalManager } from \"../../store/useModalManager\";\n\nconst UPCOMING_WINDOW_DAYS = 7;\nconst PAYMENT_METHOD_BOLETO = 2;\n\ninterface SubscriptionBannerProps {\n onReactivate?: () => void;\n onDetails?: () => void;\n}\n\nexport function SubscriptionBanner({\n onReactivate,\n onDetails,\n}: SubscriptionBannerProps) {\n const { data: { data: [subscription] = [] } = {} } = useActiveSubscription();\n const { openModal } = useModalManager();\n const { data: pendingChargesData, isLoading: isLoadingCharges } = useCharges({\n page: 1,\n limit: 1,\n status: [0],\n });\n\n if (!subscription?.date_due) return null;\n if (subscription.type === \"free\") return null;\n\n const dueDate = toCalendarDate(subscription.date_due);\n const today = toCalendarDate(new Date());\n if (!dueDate || !today) return null;\n\n const daysSinceDue = daysBetween(dueDate, today);\n const daysToDue = daysBetween(today, dueDate);\n const hasPendingCharge = !!pendingChargesData?.data?.[0];\n const isBoleto = subscription.payment_method === PAYMENT_METHOD_BOLETO;\n\n // Estado de cancelamento (fonte da verdade única, compartilhada com o\n // CancelledSubscriptionBanner). `active === false` tem prioridade e cai em\n // \"cancelled\" mesmo com date_due no futuro — é o caso da baixa por falha de\n // pagamento, onde date_due aponta pra uma fatura não paga.\n const expiryDate = getSubscriptionExpiryDate(subscription);\n const cancellationState = getSubscriptionCancellationState(subscription);\n\n // Trial: `date_due` guarda o fim do período de teste (ver auth.service).\n // Mostra a contagem regressiva enquanto o teste está vigente: `active` e não\n // vencido (`daysToDue >= 0`). NÃO usar `cancellationState` aqui — num trial o\n // `date_cancellation` é o agendamento padrão de não-renovação (o Stripe seta\n // = `date_due`), então cairia sempre em \"pending\" e o banner nunca apareceria.\n // Um trial encerrado de verdade vem com `active === false` (date_due placeholder).\n if (subscription.type === \"trial\") {\n if (!subscription.active || daysToDue < 0) return null;\n return <TrialBanner daysRemaining={daysToDue} onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"cancelled\") {\n return <CancelledSubscriptionBanner onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"pending\") {\n return (\n <PendingCancellationBanner\n limitDate={expiryDate}\n onReactivate={onReactivate}\n />\n );\n }\n\n if (subscription.type === \"whitelabel\") return null;\n\n // Congelamento (date_due + ACCOUNT_FREEZE_AFTER_DAYS): entra antes do dunning\n // e do aviso genérico de atraso, que hoje engolem essa janela.\n const freezeState = getAccountFreezeState(subscription);\n // \"Detalhes\" abre a MESMA modal do bloqueio, com a lista do que o congelamento tira: no\n // aviso o usuário precisa ver o que vai perder antes de perder. O `freezeDate` no data é\n // o que faz a modal renderizar a variante de véspera.\n //\n // IGNORA o `onDetails` do host de propósito: nos apps ele abre os detalhes da COBRANÇA,\n // que responde outra pergunta. Aqui \"Detalhes\" significa \"o que eu perco\".\n if (freezeState === \"frozen\") {\n return (\n <FrozenAccountBanner onDetails={() => openModal(\"accountFrozenModal\", { showResources: true })} />\n );\n }\n if (freezeState === \"warning\") {\n const freezeDate = getAccountFreezeDate(subscription);\n return (\n <FreezeWarningBanner\n freezeDate={freezeDate}\n onDetails={() => openModal(\"accountFrozenModal\", { freezeDate, showResources: true })}\n />\n );\n }\n\n // Cartão em dunning (Stripe Smart Retries): comunica as tentativas de cobrança\n // restantes antes do cancelamento automático — não mais por tolerância fixa de\n // dias. attempt_count vive no invoice (payment_retry); só cartão tem retries.\n const paymentRetry = subscription.payment_retry ?? null;\n if (\n paymentRetry &&\n paymentRetry.invoice_status === \"open\" &&\n paymentRetry.attempt_count > 0\n ) {\n const remainingAttempts = Math.max(\n 0,\n MAX_PAYMENT_ATTEMPTS - paymentRetry.attempt_count,\n );\n return (\n <OverdueInvoiceBanner\n onDetails={onDetails}\n remainingAttempts={remainingAttempts}\n />\n );\n }\n\n // Boleto/pix (sem retries): aviso genérico de atraso enquanto a fatura está\n // dentro da janela de cobrança.\n if (daysSinceDue > 0 && daysSinceDue <= SUBSCRIPTION_GRACE_PERIOD_DAYS) {\n return <OverdueInvoiceBanner onDetails={onDetails} />;\n }\n\n if (\n isBoleto &&\n !isLoadingCharges &&\n hasPendingCharge &&\n daysToDue >= 0 &&\n daysToDue <= UPCOMING_WINDOW_DAYS\n ) {\n return <UpcomingInvoiceBanner dueDate={dueDate} onDetails={onDetails} />;\n }\n\n return null;\n}\n"],"mappings":";AAkEW;AAhEX,SAAS,6BAA6B;AACtC,SAAS,kBAAkB;AAC3B,SAAS,gCAAgC,4BAA4B;AACrE,SAAS,iCAAiC;AAC1C,SAAS,wCAAwC;AACjD,SAAS,6BAA6B;AACtC,SAAS,4BAA4B;AACrC,SAAS,gBAAgB,mBAAmB;AAC5C,SAAS,4BAA4B;AACrC,SAAS,6BAA6B;AACtC,SAAS,mCAAmC;AAC5C,SAAS,iCAAiC;AAC1C,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAEhC,MAAM,uBAAuB;AAC7B,MAAM,wBAAwB;AAOvB,SAAS,mBAAmB;AAAA,EACjC;AAAA,EACA;AACF,GAA4B;AAC1B,QAAM,EAAE,MAAM,EAAE,MAAM,CAAC,YAAY,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,IAAI,sBAAsB;AAC3E,QAAM,EAAE,UAAU,IAAI,gBAAgB;AACtC,QAAM,EAAE,MAAM,oBAAoB,WAAW,iBAAiB,IAAI,WAAW;AAAA,IAC3E,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ,CAAC,CAAC;AAAA,EACZ,CAAC;AAED,MAAI,CAAC,cAAc,SAAU,QAAO;AACpC,MAAI,aAAa,SAAS,OAAQ,QAAO;AAEzC,QA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,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AAIA,MAAI,eAAe,KAAK,gBAAgB,gCAAgC;AACtE,WAAO,oBAAC,wBAAqB,WAAsB;AAAA,EACrD;AAEA,MACE,YACA,CAAC,oBACD,oBACA,aAAa,KACb,aAAa,sBACb;AACA,WAAO,oBAAC,yBAAsB,SAAkB,WAAsB;AAAA,EACxE;AAEA,SAAO;AACT;","names":[]}
@@ -421,20 +421,25 @@ const messages = {
421
421
  },
422
422
  modal: {
423
423
  title: "Your account resources are blocked",
424
- description: "We could not identify your payment, so these resources are blocked:",
424
+ description: "Your account resources are blocked due to missing payment. Update your subscription to unlock them.",
425
+ descriptionWithResources: "We could not identify your payment, so these resources are blocked:",
426
+ warningDescriptionWithResources: "Your payment is overdue. If we do not identify it by then, these resources will be blocked:",
425
427
  warningTitle: "Your resources will be blocked on {freezeDate}",
426
- warningDescription: "Your payment is overdue. If we do not identify it by then, these resources will be blocked:",
428
+ warningDescription: "Your payment is overdue. Settle it to keep access to your account resources.",
427
429
  keepsWorking: "Your published pages stay online and your leads keep coming in. Everything is restored automatically once the payment goes through.",
428
430
  resources: {
429
- pages: "Publishing, creating and editing pages",
430
- projects: "Creating and editing projects",
431
- leadsExport: "Exporting leads",
432
- pageSettings: "Page settings, including lead notifications",
433
- domains: "Connecting new domains",
434
- users: "Inviting users and changing team permissions",
435
- abTests: "Creating and editing A/B tests",
436
- uploads: "Uploading images, PDFs and other files",
437
- integrations: "Managing integrations"
431
+ pages: {
432
+ title: "Manage pages",
433
+ description: "Publishing, creating and editing pages, settings, A/B tests, file uploads and exporting leads"
434
+ },
435
+ projects: {
436
+ title: "Manage projects",
437
+ description: "Creating and editing projects, inviting users and changing team permissions"
438
+ },
439
+ domains: {
440
+ title: "Manage domains",
441
+ description: "Connecting new domains and managing integrations"
442
+ }
438
443
  },
439
444
  cta: "Update subscription"
440
445
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/i18n/messages/en-us.ts"],"sourcesContent":["/**\n * en-us translation catalog for @greatapps/common components.\n * Consumer apps merge this object under the `common` namespace.\n * Mirror the module structure of `pt-br.ts` (the source of truth).\n */\nconst messages = {\n actions: {\n save: 'Save',\n saveChanges: 'Save changes',\n cancel: 'Cancel',\n confirm: 'Confirm',\n delete: 'Delete',\n edit: 'Edit',\n close: 'Close',\n back: 'Back',\n continue: 'Continue',\n add: 'Add',\n remove: 'Remove',\n search: 'Search',\n loading: 'Loading...',\n saving: 'Saving...',\n sending: 'Sending...',\n copy: 'Copy',\n copied: 'Copied',\n },\n\n validations: {\n required: 'Required field',\n invalidEmail: 'Invalid email',\n invalidPhone: 'Invalid phone number',\n },\n\n preferences: {\n title: 'Preferences',\n companyName: 'Company name',\n companyNamePlaceholder: 'Enter the company name',\n language: 'Language',\n languagePlaceholder: 'Select the language',\n languageSearch: 'Search language...',\n currency: 'Currency',\n currencyPlaceholder: 'Select the currency',\n currencySearch: 'Search currency...',\n timeDisplay: 'Time display',\n timezone: 'Time zone',\n timezonePlaceholder: 'Select the time zone',\n timezoneSearch: 'Search time zone...',\n timeFormat: 'Time format',\n timeFormatPlaceholder: 'Select the format',\n timeFormatOptions: {\n h24: '24 hours',\n h12: '12 hours (AM/PM)',\n },\n savedSuccess: 'Preferences saved successfully',\n saveError: 'Error saving preferences',\n },\n\n account: {\n notificationTypes: {\n projectUpdates: 'Project updates',\n securityAlerts: 'Security alerts',\n planBilling: 'Plan or billing changes',\n scheduledMaintenance: 'Scheduled maintenance',\n },\n deleteAccount: {\n title: 'Delete account',\n description:\n 'This action is <b>irreversible</b>. By confirming, your account and all your data will be deleted.',\n reasonLabel: 'Reason for cancellation',\n reasonPlaceholder: 'Select',\n descriptionLabel: 'Describe what led you to make this decision',\n descriptionPlaceholder: 'Explain your decision...',\n charactersCount: '{count}/400 characters',\n passwordLabel: 'Password',\n passwordPlaceholder: 'Enter your password',\n submit: 'Delete account',\n requiredFields: 'Fill in all required fields',\n reasons: {\n noFeature: 'The tool lacks a feature I need',\n technical: 'I encountered technical issues or errors in the system',\n support: 'I had issues with support or customer service',\n updates: 'Updates take longer than expected',\n temporary: 'The cancellation is temporary',\n other: 'Other reason',\n },\n },\n deletionWarning: {\n title: 'Your account will be deleted',\n descriptionLine1:\n 'Your subscription has been cancelled for 90 days or more. Your account and all data will be permanently deleted.',\n descriptionLine2:\n 'To keep your information, reactivate your subscription before the deletion. After this period, the data cannot be recovered.',\n reactivate: 'Reactivate subscription',\n },\n confirmDelete: {\n title: 'Sorry to see you go!',\n warning:\n 'All your <b>{count} pages</b> will be permanently deleted. This action is <b>irreversible!</b>',\n sessionExpired: 'Session expired. Fill in the fields again.',\n success: 'Account deleted successfully',\n error: 'Error deleting account. Please try again.',\n keepAccount: 'Keep my account',\n deleteAnyway: 'Delete anyway',\n deleting: 'Deleting...',\n },\n cantDelete: {\n title: 'Unable to delete account',\n description:\n 'You have an active subscription. To delete your account, <b>first cancel your subscription</b> on the Subscription page and then try again.',\n confirm: 'Ok, I understand',\n goToSubscription: 'Go to subscription',\n },\n twoFactor: {\n title: 'Two-factor authentication',\n instructions:\n 'Install an authenticator app on your mobile device (e.g., <link>Google Authenticator</link>), scan the QR Code on the side or copy the key in the app, and then enter the 6-digit code generated to continue.',\n qrAlt: 'QR Code for two-factor authentication',\n retry: 'Try again',\n pasteDigits: 'Paste the 6 digits below',\n activating: 'Activating...',\n activate: 'Activate authentication',\n recoveryTitle: 'Security codes',\n recoveryHeading: 'Save these emergency recovery codes',\n recoveryText1:\n 'If you lose access to your phone, you will not be able to log into your account without a two-factor code.',\n recoveryText2: 'Print, copy, or write the codes below in a safe location.',\n copyCodes: 'Copy codes',\n finish: 'Finish',\n codesCopied: 'Codes copied successfully',\n generateError: 'Error generating QR Code. Try again.',\n confirmError: 'Error confirming code. Try again.',\n disableTitle: 'Disable 2FA authentication',\n disableDescription:\n 'Enter the 6-digit code from your authenticator app to confirm disabling.',\n authenticatorCode: 'Authenticator code',\n disabling: 'Disabling...',\n disable: 'Disable 2FA',\n disabledSuccess: 'Two-factor authentication disabled',\n disableError: 'Error disabling 2FA. Try again.',\n invalidCode: 'Invalid code',\n codeResent: 'Code resent',\n resendError: 'Error resending code. Try again.',\n },\n profile: {\n title: 'My profile',\n avatarAlt: 'User photo',\n changePhoto: 'Change photo',\n name: 'First name',\n namePlaceholder: 'Enter your first name',\n lastName: 'Last name',\n lastNamePlaceholder: 'Enter your last name',\n gender: 'Gender',\n genderPlaceholder: 'Select your gender',\n genderOptions: {\n male: 'Male',\n female: 'Female',\n },\n phone: 'Phone',\n change: 'Change',\n accessData: 'Access data',\n email: 'Email',\n savedSuccess: 'Profile updated successfully',\n saveError: 'Error updating profile',\n },\n otp: {\n validationCode: 'Validation code',\n incorrectCode: 'Incorrect code',\n resend: 'Resend code',\n resendIn: 'Resend in <b>{time}</b>',\n validating: 'Validating...',\n },\n changeEmail: {\n title: 'Change email',\n confirm: 'Change email',\n sentCodeTo: 'We sent a validation code to email <b>{email}.</b>',\n updateTitle: 'Update contact email',\n updateDescription: 'Enter your new email to keep your contact information updated.',\n newEmail: 'New email',\n newEmailPlaceholder: 'Enter your new email',\n emailChanged: 'Email changed successfully',\n emailExistsError: 'Email already exists or an error occurred. Please try again later.',\n },\n changePhone: {\n titleEdit: 'Change phone',\n titleAdd: 'Add phone',\n sentCodeTo: 'We sent a validation code to your current number <b>{phone}.</b>',\n confirm: 'Change phone',\n updateTitle: 'Update contact phone',\n addTitle: 'Add contact phone',\n updateDescription: 'Enter the new number to keep your contact information updated.',\n addDescription: 'Enter your phone number for contact.',\n newNumber: 'New number',\n numberLabel: 'Phone number',\n phoneChanged: 'Phone changed',\n phoneAdded: 'Phone added',\n invalidNumber: 'Invalid phone number',\n saveError: 'An error occurred while saving the phone number. Please try again later.',\n numberExistsError: 'Number already exists or an error occurred. Please try again later.',\n },\n security: {\n title: 'Security',\n googleLinkedTitle: 'Google account linked',\n googleLinkedDescription:\n 'Your account is linked to Google. If you unlink it, use \"Forgot my password\" to reset an email access password.',\n unlinking: 'Unlinking...',\n unlinkGoogle: 'Unlink Google',\n unlinkError: 'Error unlinking Google account.',\n deleteAccountDescription:\n 'This action is permanent and cannot be undone. All your data, projects, and settings will be permanently removed.',\n deleteMyAccount: 'Delete my account',\n },\n token: {\n title: 'Account token',\n label: 'Token',\n copySuccess: 'Token copied successfully',\n copyError: 'Failed to copy token',\n info: 'This token is unique to your account and allows API access. Do not share with third parties.',\n docsLink: 'Access documentation',\n },\n changePassword: {\n title: 'Change password',\n currentPassword: 'Current password',\n currentPasswordPlaceholder: 'Enter your current password',\n newPassword: 'New password',\n newPasswordPlaceholder: 'Enter your new password',\n submit: 'Save new password',\n changeError: 'Error changing password',\n changedSuccess: 'Password changed successfully',\n genericError: 'Error changing password. Try again.',\n },\n globalPreferences: {\n title: 'Change global preferences',\n srDescription: 'Confirmation of global account preferences change',\n warning:\n 'You are changing settings that impact <b>all account users</b>. Do you want to confirm?',\n },\n configurations: {\n title: 'Settings',\n },\n },\n\n credits: {\n buy: {\n title: 'Buy AI credits',\n externalTitle: 'AI Credits',\n externalDescription: 'To purchase AI credits, visit your subscription area.',\n externalButton: 'Go to subscription area',\n creditsOptionLabel: '{credits} AI credits',\n creditsOptionDisplayValue: '{credits} AI credits',\n paymentOnConfirm: 'Payment will be processed at the time of confirmation.',\n nextInvoiceChanges: 'Changes will take effect from your next invoice.',\n defaultPrice: 'Default',\n immediateCharge: 'Immediate charge',\n totalPlanValue: 'Total plan value',\n confirmAndPay: 'Confirm and pay',\n creditsChangedToast: 'AI credits changed to {credits}',\n purchaseSuccessToast: 'Purchase complete! {credits} AI credits were added to your balance.',\n pixConfirmedToast: 'Payment confirmed! {credits} AI credits are now in your balance.',\n },\n disabled: {\n title: 'Credit purchase unavailable',\n descriptionLine1: 'Only administrators and owners can purchase AI credits.',\n descriptionLine2:\n 'Ask an account administrator or owner to purchase more credits.',\n understood: 'Got it',\n },\n paidPlanRequired: {\n defaultTitle: 'Feature available on paid plans',\n defaultDescription: 'To access this feature, upgrade to a paid plan',\n knowPlans: 'View plans',\n },\n },\n\n cards: {\n add: {\n stepBilling: 'Billing',\n stepCard: 'Card',\n externalTitle: 'Card management unavailable',\n externalDescription: 'Access your subscription area to manage payment methods.',\n externalButton: 'Go to subscription area',\n title: 'Add card',\n billingHeading: 'Add your billing information',\n cardHeading: 'Add your card information',\n authenticating: 'Authenticating...',\n submitting: 'Adding card...',\n submit: 'Add card',\n errorInitAuth: 'Unable to start card authentication, please try again.',\n errorAuth: 'Card authentication failed.',\n errorAuthStatus: 'Authentication not completed (status: {status}).',\n statusUnknown: 'unknown',\n successToast: 'Card added successfully.',\n errorSave: 'Unable to save your new card, please try again.',\n },\n form: {\n nameOnCard: 'Name on card',\n typeHere: 'Type here',\n cardNumber: 'Card number',\n cardExpiry: 'Expiration date',\n cardCvc: 'CVC',\n country: 'Country',\n select: 'Select',\n personType: 'Person type',\n personTypePf: 'Individual',\n personTypePj: 'Business',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n cep: 'CEP',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n city: 'City',\n state: 'UF',\n stateProvince: 'State/Province',\n neighborhood: 'Neighborhood',\n complement: 'Complement',\n cardNumberRequired: 'Card number is required',\n cardExpiryRequired: 'Expiration date is required',\n cardCvcRequired: 'Security code is required',\n },\n delete: {\n title: 'Delete card',\n description: 'Are you sure you want to delete the card:',\n confirmLabel: 'Type DELETE below',\n confirmPlaceholder: 'DELETE',\n deleting: 'Deleting...',\n successToast: 'Card •••• {digits} deleted successfully',\n errorToast: 'Unable to delete card',\n },\n cannotDelete: {\n title: 'Cannot delete this card',\n description: 'This card is in use and has an active subscription linked to it. Select another card as default or add a new one.',\n selectDefault: 'Select a card as default:',\n addNewCard: 'Add new card',\n errorUpdateCard: 'Error updating subscription card',\n },\n item: {\n defaultBadge: 'Default',\n makeDefault: 'Make default',\n setDefaultSuccess: 'Card set as default',\n setDefaultError: 'Error setting card as default',\n },\n paymentInfo: {\n email: 'Email',\n payment: 'Payment',\n addCard: 'Add card',\n selectPaymentMethod: 'Select payment method',\n manageCards: 'Manage cards',\n newPaymentMethod: 'New payment method',\n },\n },\n billing: {\n requiredData: {\n title: 'Complete your billing information',\n description:\n 'We need this information to issue the invoice for your payments. Filling it in is required to keep using the platform.',\n addressHeading: 'Billing address',\n select: 'Select',\n typeHere: 'Type here',\n personType: 'Entity type',\n personTypePf: 'Individual',\n personTypePj: 'Company',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n companyName: 'Legal name',\n financialEmail: 'Billing email',\n financialEmailPlaceholder: 'billing@company.com',\n cep: 'ZIP code',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n neighborhood: 'District',\n complement: 'Complement',\n city: 'City',\n state: 'State',\n stateProvince: 'State/Province',\n country: 'Country',\n submit: 'Save and continue',\n submitting: 'Saving...',\n successToast: 'Billing information saved successfully.',\n errorToast: 'We could not save your billing information, please try again.',\n requiredField: 'Required field',\n invalidEmail: 'Invalid email',\n invalidCep: 'Invalid ZIP code',\n invalidCpf: 'Invalid CPF',\n invalidCnpj: 'Invalid CNPJ',\n invalidCpfChecksum: 'Invalid CPF — check the verification digits',\n invalidCnpjChecksum: 'Invalid CNPJ — check the verification digits',\n },\n },\n navigation: {\n banners: {\n cancelled: {\n message: 'Subscription cancelled! Your pages are now offline.',\n choosePlan: 'Choose a new plan',\n },\n overdue: {\n message: 'Your subscription is overdue and your pages may be taken offline at any time.',\n attemptsMessage: 'Payment failed. {count, plural, one {# attempt remains} other {# attempts remain}} before cancellation. Update your payment method.',\n details: 'Details',\n },\n pending: {\n message: 'Your subscription was cancelled. You have until {limitDate} with your pages online.',\n reactivate: 'Reactivate subscription',\n },\n upcoming: {\n message: 'Invoice pending. Pay by {dueDate} to avoid suspension of your pages.',\n details: 'Details',\n },\n trial: {\n message: 'Trial period: {days, plural, =0 {your trial ends today!} one {# day left} other {# days left}}.',\n choosePlan: 'Subscribe now',\n },\n },\n projectSelector: {\n title: 'Projects',\n searchPlaceholder: 'Search here',\n emptyLine1: 'No projects found.',\n emptyLine2: 'Create a project to get started.',\n noResults: 'No results found.',\n manageProjects: 'Manage projects',\n },\n bottomLinks: {\n news: 'News',\n helpCenter: 'Help center',\n sendSuggestions: 'Send suggestions',\n },\n creditsCard: {\n label: 'Credits used',\n },\n planCard: {\n knowPlans: 'View plans',\n },\n },\n subscription: {\n frozen: {\n banner: {\n message: 'Your account resources are blocked due to missing payment.',\n regularize: 'Update subscription',\n },\n warningBanner: {\n message: 'Payment overdue: your account resources will be blocked on {freezeDate}. Pay now to keep your access.',\n details: 'Details',\n },\n modal: {\n title: 'Your account resources are blocked',\n description: 'We could not identify your payment, so these resources are blocked:',\n warningTitle: 'Your resources will be blocked on {freezeDate}',\n warningDescription: 'Your payment is overdue. If we do not identify it by then, these resources will be blocked:',\n keepsWorking: 'Your published pages stay online and your leads keep coming in. Everything is restored automatically once the payment goes through.',\n resources: {\n pages: 'Publishing, creating and editing pages',\n projects: 'Creating and editing projects',\n leadsExport: 'Exporting leads',\n pageSettings: 'Page settings, including lead notifications',\n domains: 'Connecting new domains',\n users: 'Inviting users and changing team permissions',\n abTests: 'Creating and editing A/B tests',\n uploads: 'Uploading images, PDFs and other files',\n integrations: 'Managing integrations',\n },\n cta: 'Update subscription',\n },\n },\n },\n forms: {\n combobox: {\n placeholder: 'Select an option',\n searchPlaceholder: 'Search...',\n emptyMessage: 'No options found.',\n },\n datePicker: {\n placeholder: 'Select date',\n },\n dateRangePicker: {\n placeholder: 'Select period',\n },\n phoneInput: {\n optional: '(Optional)',\n searchPlaceholder: 'Search country...',\n emptyMessage: 'No countries found',\n },\n select: {\n placeholder: 'Select an option',\n optional: '(Optional)',\n },\n copyButton: {\n tooltipDefault: 'Copy link',\n successDefault: 'Link copied',\n errorMessage: 'Unable to copy link',\n },\n circularProgress: {\n ariaLabel: 'Export progress',\n },\n },\n imageUpload: {\n cropTitle: 'Adjust image',\n cropHint: 'Drag to adjust the crop area',\n cropAlt: 'Crop',\n tooSmallTitleWithDimension: 'Image smaller than {dimensionText}',\n tooSmallTitleGeneric: 'Image too small',\n tooSmallBodyFileWithDimension: 'The file \"{fileName}\" is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyFileGeneric: 'The file \"{fileName}\" is smaller than the minimum required size. Upload a larger image to continue.',\n tooSmallBodyNoFileWithDimension: 'The selected image is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyNoFileGeneric: 'The selected image is smaller than the minimum required size. Upload a larger image to continue.',\n sendAnother: 'Upload another',\n errorSvg: 'SVG format is not supported. Use PNG, JPEG, WebP, or GIF.',\n errorFormat: 'Unsupported format. Use PNG, JPEG, WebP, or GIF.',\n errorTooLarge: 'File too large. Maximum {maxSize}MB.',\n },\n notifications: {\n page: {\n title: 'Notifications',\n subtitle: 'Have full control over pages, experiences, and conversions.',\n markAllReadDesktop: 'Mark all as read',\n markAllReadMobile: 'Mark as read',\n tabAll: 'All notifications',\n tabUnread: 'Unread',\n details: 'Details',\n empty: 'No notifications found.',\n markAllSuccess: 'All notifications marked as read',\n markAllError: 'Error marking notifications as read',\n },\n popover: {\n title: 'Latest notifications',\n empty: 'No notifications yet',\n viewAll: 'All notifications',\n },\n },\n layout: {\n navbar: {\n expandMenu: 'Expand menu',\n greatPages: 'GreatPages',\n pages: 'Pages',\n },\n profile: {\n usedCredits: 'Credits used',\n loggingOut: 'Signing out...',\n logout: 'Sign out',\n },\n usersSelector: {\n title: 'Users',\n add: 'Add',\n searchPlaceholder: 'Search here',\n empty: 'No users found.',\n noResults: 'No results found.',\n addToProject: 'Add to project',\n removeFromProject: 'Remove from project',\n manageTeam: 'Manage team',\n },\n },\n notFound: {\n title: 'Page not found!',\n description: 'The page you are looking for does not exist. Check that you typed the link correctly.',\n backToHome: 'Back to home',\n },\n\n // Planos: features e main features (mapApiPlanToUiPlan).\n plans: {\n features: {\n unlimitedVisits: 'Unlimited visits',\n unlimitedLeads: 'Unlimited leads',\n sharePages: 'Share pages',\n hosting: 'Hosting included',\n freeTemplates: 'Free templates',\n onboarding: 'Onboarding meeting',\n projectManagement: 'Project management',\n },\n names: {\n '415': 'Starter',\n '1': 'Essential',\n '2': 'Growth',\n '3': 'Agency',\n },\n mainFeatures: {\n pagesUnlimited: 'Unlimited pages',\n pageSingular: '1 page',\n pagesPlural: '{count} pages',\n domainsUnlimited: 'Unlimited domains',\n domainSingular: '1 external domain',\n domainsPlural: '{count} external domains',\n usersUnlimited: 'Unlimited users',\n },\n usdNotConfigured: 'USD not configured',\n },\n\n // Autenticação de pagamento (3DS/SCA).\n payment: {\n authFailed: \"We couldn't authenticate the payment with your bank.\",\n },\n\n // Periodicidade de cobrança.\n periodicity: {\n monthly: 'Monthly',\n semiannual: 'Semiannual',\n annual: 'Annual',\n suffixMonthly: '/month',\n suffixSemiannual: '/semester',\n suffixAnnual: '/year',\n labelMonthly: 'monthly',\n labelSemiannual: 'semiannual',\n labelAnnual: 'annual',\n },\n\n languages: {\n 'pt-br': 'Portuguese (Brazil)',\n 'en-us': 'English (US)',\n 'es-es': 'Spanish',\n },\n} as const;\n\nexport default messages;\n"],"mappings":"AAKA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,IACP,MAAM;AAAA,IACN,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,QAAQ;AAAA,EACV;AAAA,EAEA,aAAa;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,cAAc;AAAA,EAChB;AAAA,EAEA,aAAa;AAAA,IACX,OAAO;AA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B,gBAAgB;AAAA,MAChB,YAAY;AAAA,MACZ,SAAS;AAAA,MACT,eAAe;AAAA,MACf,YAAY;AAAA,MACZ,mBAAmB;AAAA,IACrB;AAAA,IACA,OAAO;AAAA,MACL,OAAO;AAAA,MACP,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP;AAAA,IACA,cAAc;AAAA,MACZ,gBAAgB;AAAA,MAChB,cAAc;AAAA,MACd,aAAa;AAAA,MACb,kBAAkB;AAAA,MAClB,gBAAgB;AAAA,MAChB,eAAe;AAAA,MACf,gBAAgB;AAAA,IAClB;AAAA,IACA,kBAAkB;AAAA,EACpB;AAAA;AAAA,EAGA,SAAS;AAAA,IACP,YAAY;AAAA,EACd;AAAA;AAAA,EAGA,aAAa;AAAA,IACX,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,iBAAiB;AAAA,IACjB,aAAa;AAAA,EACf;AAAA,EAEA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,EACX;AACF;AAEA,IAAO,gBAAQ;","names":[]}
1
+ {"version":3,"sources":["../../../src/i18n/messages/en-us.ts"],"sourcesContent":["/**\n * en-us translation catalog for @greatapps/common components.\n * Consumer apps merge this object under the `common` namespace.\n * Mirror the module structure of `pt-br.ts` (the source of truth).\n */\nconst messages = {\n actions: {\n save: 'Save',\n saveChanges: 'Save changes',\n cancel: 'Cancel',\n confirm: 'Confirm',\n delete: 'Delete',\n edit: 'Edit',\n close: 'Close',\n back: 'Back',\n continue: 'Continue',\n add: 'Add',\n remove: 'Remove',\n search: 'Search',\n loading: 'Loading...',\n saving: 'Saving...',\n sending: 'Sending...',\n copy: 'Copy',\n copied: 'Copied',\n },\n\n validations: {\n required: 'Required field',\n invalidEmail: 'Invalid email',\n invalidPhone: 'Invalid phone number',\n },\n\n preferences: {\n title: 'Preferences',\n companyName: 'Company name',\n companyNamePlaceholder: 'Enter the company name',\n language: 'Language',\n languagePlaceholder: 'Select the language',\n languageSearch: 'Search language...',\n currency: 'Currency',\n currencyPlaceholder: 'Select the currency',\n currencySearch: 'Search currency...',\n timeDisplay: 'Time display',\n timezone: 'Time zone',\n timezonePlaceholder: 'Select the time zone',\n timezoneSearch: 'Search time zone...',\n timeFormat: 'Time format',\n timeFormatPlaceholder: 'Select the format',\n timeFormatOptions: {\n h24: '24 hours',\n h12: '12 hours (AM/PM)',\n },\n savedSuccess: 'Preferences saved successfully',\n saveError: 'Error saving preferences',\n },\n\n account: {\n notificationTypes: {\n projectUpdates: 'Project updates',\n securityAlerts: 'Security alerts',\n planBilling: 'Plan or billing changes',\n scheduledMaintenance: 'Scheduled maintenance',\n },\n deleteAccount: {\n title: 'Delete account',\n description:\n 'This action is <b>irreversible</b>. By confirming, your account and all your data will be deleted.',\n reasonLabel: 'Reason for cancellation',\n reasonPlaceholder: 'Select',\n descriptionLabel: 'Describe what led you to make this decision',\n descriptionPlaceholder: 'Explain your decision...',\n charactersCount: '{count}/400 characters',\n passwordLabel: 'Password',\n passwordPlaceholder: 'Enter your password',\n submit: 'Delete account',\n requiredFields: 'Fill in all required fields',\n reasons: {\n noFeature: 'The tool lacks a feature I need',\n technical: 'I encountered technical issues or errors in the system',\n support: 'I had issues with support or customer service',\n updates: 'Updates take longer than expected',\n temporary: 'The cancellation is temporary',\n other: 'Other reason',\n },\n },\n deletionWarning: {\n title: 'Your account will be deleted',\n descriptionLine1:\n 'Your subscription has been cancelled for 90 days or more. Your account and all data will be permanently deleted.',\n descriptionLine2:\n 'To keep your information, reactivate your subscription before the deletion. After this period, the data cannot be recovered.',\n reactivate: 'Reactivate subscription',\n },\n confirmDelete: {\n title: 'Sorry to see you go!',\n warning:\n 'All your <b>{count} pages</b> will be permanently deleted. This action is <b>irreversible!</b>',\n sessionExpired: 'Session expired. Fill in the fields again.',\n success: 'Account deleted successfully',\n error: 'Error deleting account. Please try again.',\n keepAccount: 'Keep my account',\n deleteAnyway: 'Delete anyway',\n deleting: 'Deleting...',\n },\n cantDelete: {\n title: 'Unable to delete account',\n description:\n 'You have an active subscription. To delete your account, <b>first cancel your subscription</b> on the Subscription page and then try again.',\n confirm: 'Ok, I understand',\n goToSubscription: 'Go to subscription',\n },\n twoFactor: {\n title: 'Two-factor authentication',\n instructions:\n 'Install an authenticator app on your mobile device (e.g., <link>Google Authenticator</link>), scan the QR Code on the side or copy the key in the app, and then enter the 6-digit code generated to continue.',\n qrAlt: 'QR Code for two-factor authentication',\n retry: 'Try again',\n pasteDigits: 'Paste the 6 digits below',\n activating: 'Activating...',\n activate: 'Activate authentication',\n recoveryTitle: 'Security codes',\n recoveryHeading: 'Save these emergency recovery codes',\n recoveryText1:\n 'If you lose access to your phone, you will not be able to log into your account without a two-factor code.',\n recoveryText2: 'Print, copy, or write the codes below in a safe location.',\n copyCodes: 'Copy codes',\n finish: 'Finish',\n codesCopied: 'Codes copied successfully',\n generateError: 'Error generating QR Code. Try again.',\n confirmError: 'Error confirming code. Try again.',\n disableTitle: 'Disable 2FA authentication',\n disableDescription:\n 'Enter the 6-digit code from your authenticator app to confirm disabling.',\n authenticatorCode: 'Authenticator code',\n disabling: 'Disabling...',\n disable: 'Disable 2FA',\n disabledSuccess: 'Two-factor authentication disabled',\n disableError: 'Error disabling 2FA. Try again.',\n invalidCode: 'Invalid code',\n codeResent: 'Code resent',\n resendError: 'Error resending code. Try again.',\n },\n profile: {\n title: 'My profile',\n avatarAlt: 'User photo',\n changePhoto: 'Change photo',\n name: 'First name',\n namePlaceholder: 'Enter your first name',\n lastName: 'Last name',\n lastNamePlaceholder: 'Enter your last name',\n gender: 'Gender',\n genderPlaceholder: 'Select your gender',\n genderOptions: {\n male: 'Male',\n female: 'Female',\n },\n phone: 'Phone',\n change: 'Change',\n accessData: 'Access data',\n email: 'Email',\n savedSuccess: 'Profile updated successfully',\n saveError: 'Error updating profile',\n },\n otp: {\n validationCode: 'Validation code',\n incorrectCode: 'Incorrect code',\n resend: 'Resend code',\n resendIn: 'Resend in <b>{time}</b>',\n validating: 'Validating...',\n },\n changeEmail: {\n title: 'Change email',\n confirm: 'Change email',\n sentCodeTo: 'We sent a validation code to email <b>{email}.</b>',\n updateTitle: 'Update contact email',\n updateDescription: 'Enter your new email to keep your contact information updated.',\n newEmail: 'New email',\n newEmailPlaceholder: 'Enter your new email',\n emailChanged: 'Email changed successfully',\n emailExistsError: 'Email already exists or an error occurred. Please try again later.',\n },\n changePhone: {\n titleEdit: 'Change phone',\n titleAdd: 'Add phone',\n sentCodeTo: 'We sent a validation code to your current number <b>{phone}.</b>',\n confirm: 'Change phone',\n updateTitle: 'Update contact phone',\n addTitle: 'Add contact phone',\n updateDescription: 'Enter the new number to keep your contact information updated.',\n addDescription: 'Enter your phone number for contact.',\n newNumber: 'New number',\n numberLabel: 'Phone number',\n phoneChanged: 'Phone changed',\n phoneAdded: 'Phone added',\n invalidNumber: 'Invalid phone number',\n saveError: 'An error occurred while saving the phone number. Please try again later.',\n numberExistsError: 'Number already exists or an error occurred. Please try again later.',\n },\n security: {\n title: 'Security',\n googleLinkedTitle: 'Google account linked',\n googleLinkedDescription:\n 'Your account is linked to Google. If you unlink it, use \"Forgot my password\" to reset an email access password.',\n unlinking: 'Unlinking...',\n unlinkGoogle: 'Unlink Google',\n unlinkError: 'Error unlinking Google account.',\n deleteAccountDescription:\n 'This action is permanent and cannot be undone. All your data, projects, and settings will be permanently removed.',\n deleteMyAccount: 'Delete my account',\n },\n token: {\n title: 'Account token',\n label: 'Token',\n copySuccess: 'Token copied successfully',\n copyError: 'Failed to copy token',\n info: 'This token is unique to your account and allows API access. Do not share with third parties.',\n docsLink: 'Access documentation',\n },\n changePassword: {\n title: 'Change password',\n currentPassword: 'Current password',\n currentPasswordPlaceholder: 'Enter your current password',\n newPassword: 'New password',\n newPasswordPlaceholder: 'Enter your new password',\n submit: 'Save new password',\n changeError: 'Error changing password',\n changedSuccess: 'Password changed successfully',\n genericError: 'Error changing password. Try again.',\n },\n globalPreferences: {\n title: 'Change global preferences',\n srDescription: 'Confirmation of global account preferences change',\n warning:\n 'You are changing settings that impact <b>all account users</b>. Do you want to confirm?',\n },\n configurations: {\n title: 'Settings',\n },\n },\n\n credits: {\n buy: {\n title: 'Buy AI credits',\n externalTitle: 'AI Credits',\n externalDescription: 'To purchase AI credits, visit your subscription area.',\n externalButton: 'Go to subscription area',\n creditsOptionLabel: '{credits} AI credits',\n creditsOptionDisplayValue: '{credits} AI credits',\n paymentOnConfirm: 'Payment will be processed at the time of confirmation.',\n nextInvoiceChanges: 'Changes will take effect from your next invoice.',\n defaultPrice: 'Default',\n immediateCharge: 'Immediate charge',\n totalPlanValue: 'Total plan value',\n confirmAndPay: 'Confirm and pay',\n creditsChangedToast: 'AI credits changed to {credits}',\n purchaseSuccessToast: 'Purchase complete! {credits} AI credits were added to your balance.',\n pixConfirmedToast: 'Payment confirmed! {credits} AI credits are now in your balance.',\n },\n disabled: {\n title: 'Credit purchase unavailable',\n descriptionLine1: 'Only administrators and owners can purchase AI credits.',\n descriptionLine2:\n 'Ask an account administrator or owner to purchase more credits.',\n understood: 'Got it',\n },\n paidPlanRequired: {\n defaultTitle: 'Feature available on paid plans',\n defaultDescription: 'To access this feature, upgrade to a paid plan',\n knowPlans: 'View plans',\n },\n },\n\n cards: {\n add: {\n stepBilling: 'Billing',\n stepCard: 'Card',\n externalTitle: 'Card management unavailable',\n externalDescription: 'Access your subscription area to manage payment methods.',\n externalButton: 'Go to subscription area',\n title: 'Add card',\n billingHeading: 'Add your billing information',\n cardHeading: 'Add your card information',\n authenticating: 'Authenticating...',\n submitting: 'Adding card...',\n submit: 'Add card',\n errorInitAuth: 'Unable to start card authentication, please try again.',\n errorAuth: 'Card authentication failed.',\n errorAuthStatus: 'Authentication not completed (status: {status}).',\n statusUnknown: 'unknown',\n successToast: 'Card added successfully.',\n errorSave: 'Unable to save your new card, please try again.',\n },\n form: {\n nameOnCard: 'Name on card',\n typeHere: 'Type here',\n cardNumber: 'Card number',\n cardExpiry: 'Expiration date',\n cardCvc: 'CVC',\n country: 'Country',\n select: 'Select',\n personType: 'Person type',\n personTypePf: 'Individual',\n personTypePj: 'Business',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n cep: 'CEP',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n city: 'City',\n state: 'UF',\n stateProvince: 'State/Province',\n neighborhood: 'Neighborhood',\n complement: 'Complement',\n cardNumberRequired: 'Card number is required',\n cardExpiryRequired: 'Expiration date is required',\n cardCvcRequired: 'Security code is required',\n },\n delete: {\n title: 'Delete card',\n description: 'Are you sure you want to delete the card:',\n confirmLabel: 'Type DELETE below',\n confirmPlaceholder: 'DELETE',\n deleting: 'Deleting...',\n successToast: 'Card •••• {digits} deleted successfully',\n errorToast: 'Unable to delete card',\n },\n cannotDelete: {\n title: 'Cannot delete this card',\n description: 'This card is in use and has an active subscription linked to it. Select another card as default or add a new one.',\n selectDefault: 'Select a card as default:',\n addNewCard: 'Add new card',\n errorUpdateCard: 'Error updating subscription card',\n },\n item: {\n defaultBadge: 'Default',\n makeDefault: 'Make default',\n setDefaultSuccess: 'Card set as default',\n setDefaultError: 'Error setting card as default',\n },\n paymentInfo: {\n email: 'Email',\n payment: 'Payment',\n addCard: 'Add card',\n selectPaymentMethod: 'Select payment method',\n manageCards: 'Manage cards',\n newPaymentMethod: 'New payment method',\n },\n },\n billing: {\n requiredData: {\n title: 'Complete your billing information',\n description:\n 'We need this information to issue the invoice for your payments. Filling it in is required to keep using the platform.',\n addressHeading: 'Billing address',\n select: 'Select',\n typeHere: 'Type here',\n personType: 'Entity type',\n personTypePf: 'Individual',\n personTypePj: 'Company',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n companyName: 'Legal name',\n financialEmail: 'Billing email',\n financialEmailPlaceholder: 'billing@company.com',\n cep: 'ZIP code',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n neighborhood: 'District',\n complement: 'Complement',\n city: 'City',\n state: 'State',\n stateProvince: 'State/Province',\n country: 'Country',\n submit: 'Save and continue',\n submitting: 'Saving...',\n successToast: 'Billing information saved successfully.',\n errorToast: 'We could not save your billing information, please try again.',\n requiredField: 'Required field',\n invalidEmail: 'Invalid email',\n invalidCep: 'Invalid ZIP code',\n invalidCpf: 'Invalid CPF',\n invalidCnpj: 'Invalid CNPJ',\n invalidCpfChecksum: 'Invalid CPF — check the verification digits',\n invalidCnpjChecksum: 'Invalid CNPJ — check the verification digits',\n },\n },\n navigation: {\n banners: {\n cancelled: {\n message: 'Subscription cancelled! Your pages are now offline.',\n choosePlan: 'Choose a new plan',\n },\n overdue: {\n message: 'Your subscription is overdue and your pages may be taken offline at any time.',\n attemptsMessage: 'Payment failed. {count, plural, one {# attempt remains} other {# attempts remain}} before cancellation. Update your payment method.',\n details: 'Details',\n },\n pending: {\n message: 'Your subscription was cancelled. You have until {limitDate} with your pages online.',\n reactivate: 'Reactivate subscription',\n },\n upcoming: {\n message: 'Invoice pending. Pay by {dueDate} to avoid suspension of your pages.',\n details: 'Details',\n },\n trial: {\n message: 'Trial period: {days, plural, =0 {your trial ends today!} one {# day left} other {# days left}}.',\n choosePlan: 'Subscribe now',\n },\n },\n projectSelector: {\n title: 'Projects',\n searchPlaceholder: 'Search here',\n emptyLine1: 'No projects found.',\n emptyLine2: 'Create a project to get started.',\n noResults: 'No results found.',\n manageProjects: 'Manage projects',\n },\n bottomLinks: {\n news: 'News',\n helpCenter: 'Help center',\n sendSuggestions: 'Send suggestions',\n },\n creditsCard: {\n label: 'Credits used',\n },\n planCard: {\n knowPlans: 'View plans',\n },\n },\n subscription: {\n frozen: {\n banner: {\n message: 'Your account resources are blocked due to missing payment.',\n regularize: 'Update subscription',\n },\n warningBanner: {\n message: 'Payment overdue: your account resources will be blocked on {freezeDate}. Pay now to keep your access.',\n details: 'Details',\n },\n modal: {\n title: 'Your account resources are blocked',\n description: 'Your account resources are blocked due to missing payment. Update your subscription to unlock them.',\n descriptionWithResources: 'We could not identify your payment, so these resources are blocked:',\n warningDescriptionWithResources: 'Your payment is overdue. If we do not identify it by then, these resources will be blocked:',\n warningTitle: 'Your resources will be blocked on {freezeDate}',\n warningDescription: 'Your payment is overdue. Settle it to keep access to your account resources.',\n keepsWorking: 'Your published pages stay online and your leads keep coming in. Everything is restored automatically once the payment goes through.',\n resources: {\n pages: {\n title: 'Manage pages',\n description: 'Publishing, creating and editing pages, settings, A/B tests, file uploads and exporting leads',\n },\n projects: {\n title: 'Manage projects',\n description: 'Creating and editing projects, inviting users and changing team permissions',\n },\n domains: {\n title: 'Manage domains',\n description: 'Connecting new domains and managing integrations',\n },\n },\n cta: 'Update subscription',\n },\n },\n },\n forms: {\n combobox: {\n placeholder: 'Select an option',\n searchPlaceholder: 'Search...',\n emptyMessage: 'No options found.',\n },\n datePicker: {\n placeholder: 'Select date',\n },\n dateRangePicker: {\n placeholder: 'Select period',\n },\n phoneInput: {\n optional: '(Optional)',\n searchPlaceholder: 'Search country...',\n emptyMessage: 'No countries found',\n },\n select: {\n placeholder: 'Select an option',\n optional: '(Optional)',\n },\n copyButton: {\n tooltipDefault: 'Copy link',\n successDefault: 'Link copied',\n errorMessage: 'Unable to copy link',\n },\n circularProgress: {\n ariaLabel: 'Export progress',\n },\n },\n imageUpload: {\n cropTitle: 'Adjust image',\n cropHint: 'Drag to adjust the crop area',\n cropAlt: 'Crop',\n tooSmallTitleWithDimension: 'Image smaller than {dimensionText}',\n tooSmallTitleGeneric: 'Image too small',\n tooSmallBodyFileWithDimension: 'The file \"{fileName}\" is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyFileGeneric: 'The file \"{fileName}\" is smaller than the minimum required size. Upload a larger image to continue.',\n tooSmallBodyNoFileWithDimension: 'The selected image is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyNoFileGeneric: 'The selected image is smaller than the minimum required size. Upload a larger image to continue.',\n sendAnother: 'Upload another',\n errorSvg: 'SVG format is not supported. Use PNG, JPEG, WebP, or GIF.',\n errorFormat: 'Unsupported format. Use PNG, JPEG, WebP, or GIF.',\n errorTooLarge: 'File too large. Maximum {maxSize}MB.',\n },\n notifications: {\n page: {\n title: 'Notifications',\n subtitle: 'Have full control over pages, experiences, and conversions.',\n markAllReadDesktop: 'Mark all as read',\n markAllReadMobile: 'Mark as read',\n tabAll: 'All notifications',\n tabUnread: 'Unread',\n details: 'Details',\n empty: 'No notifications found.',\n markAllSuccess: 'All notifications marked as read',\n markAllError: 'Error marking notifications as read',\n },\n popover: {\n title: 'Latest notifications',\n empty: 'No notifications yet',\n viewAll: 'All notifications',\n },\n },\n layout: {\n navbar: {\n expandMenu: 'Expand menu',\n greatPages: 'GreatPages',\n pages: 'Pages',\n },\n profile: {\n usedCredits: 'Credits used',\n loggingOut: 'Signing out...',\n logout: 'Sign out',\n },\n usersSelector: {\n title: 'Users',\n add: 'Add',\n searchPlaceholder: 'Search here',\n empty: 'No users found.',\n noResults: 'No results found.',\n addToProject: 'Add to project',\n removeFromProject: 'Remove from project',\n manageTeam: 'Manage team',\n },\n },\n notFound: {\n title: 'Page not found!',\n description: 'The page you are looking for does not exist. Check that you typed the link correctly.',\n backToHome: 'Back to home',\n },\n\n // Planos: features e main features (mapApiPlanToUiPlan).\n plans: {\n features: {\n unlimitedVisits: 'Unlimited visits',\n unlimitedLeads: 'Unlimited leads',\n sharePages: 'Share pages',\n hosting: 'Hosting included',\n freeTemplates: 'Free templates',\n onboarding: 'Onboarding meeting',\n projectManagement: 'Project management',\n },\n names: {\n '415': 'Starter',\n '1': 'Essential',\n '2': 'Growth',\n '3': 'Agency',\n },\n mainFeatures: {\n pagesUnlimited: 'Unlimited pages',\n pageSingular: '1 page',\n pagesPlural: '{count} pages',\n domainsUnlimited: 'Unlimited domains',\n domainSingular: '1 external domain',\n domainsPlural: '{count} external domains',\n usersUnlimited: 'Unlimited users',\n },\n usdNotConfigured: 'USD not configured',\n },\n\n // Autenticação de pagamento (3DS/SCA).\n payment: {\n authFailed: \"We couldn't authenticate the payment with your bank.\",\n },\n\n // Periodicidade de cobrança.\n periodicity: {\n monthly: 'Monthly',\n semiannual: 'Semiannual',\n annual: 'Annual',\n suffixMonthly: '/month',\n suffixSemiannual: '/semester',\n suffixAnnual: '/year',\n labelMonthly: 'monthly',\n labelSemiannual: 'semiannual',\n labelAnnual: 'annual',\n },\n\n languages: {\n 'pt-br': 'Portuguese (Brazil)',\n 'en-us': 'English (US)',\n 'es-es': 'Spanish',\n },\n} as const;\n\nexport default messages;\n"],"mappings":"AAKA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,IACP,MAAM;AAAA,IACN,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,QAAQ;AAAA,EACV;AAAA,EAEA,aAAa;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,cAAc;AAAA,EAChB;AAAA,EAEA,aAAa;AAAA,IACX,OAAO;AAAA,IACP,aAAa;AAAA,IACb,wBAAwB;AAAA,IACxB,UAAU;AAAA,IACV,qBAAqB;AAAA,IACrB,gBAAgB;AAAA,IAChB,UAAU;AAAA,IACV,qBAAqB;AAAA,IACrB,gBAAgB;AAAA,IAChB,aAAa;AAAA,IACb,UAAU;AAAA,IACV,qBAAqB;AAAA,IACrB,gBAAgB;AAAA,IAChB,YAAY;AAAA,IACZ,uBAAuB;AAAA,IACvB,mBAAmB;AAAA,MACjB,KAAK;AAAA,MACL,KAAK;AAAA,IACP;AAAA,IACA,cAAc;AAAA,IACd,WAAW;AAAA,EACb;AAAA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,MAClB,gBAAgB;AAAA,MAChB,eAAe;AAAA,MACf,gBAAgB;AAAA,IAClB;AAAA,IACA,kBAAkB;AAAA,EACpB;AAAA;AAAA,EAGA,SAAS;AAAA,IACP,YAAY;AAAA,EACd;AAAA;AAAA,EAGA,aAAa;AAAA,IACX,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,iBAAiB;AAAA,IACjB,aAAa;AAAA,EACf;AAAA,EAEA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,EACX;AACF;AAEA,IAAO,gBAAQ;","names":[]}
@@ -421,20 +421,25 @@ const messages = {
421
421
  },
422
422
  modal: {
423
423
  title: "Los recursos de tu cuenta est\xE1n bloqueados",
424
- description: "No identificamos el pago, as\xED que estos recursos est\xE1n bloqueados:",
424
+ description: "Los recursos de tu cuenta est\xE1n bloqueados por falta de pago. Regulariza la suscripci\xF3n para liberarlos.",
425
+ descriptionWithResources: "No identificamos el pago, as\xED que estos recursos est\xE1n bloqueados:",
426
+ warningDescriptionWithResources: "El pago est\xE1 atrasado. Si no lo identificamos hasta entonces, estos recursos se bloquear\xE1n:",
425
427
  warningTitle: "Tus recursos se bloquear\xE1n el {freezeDate}",
426
- warningDescription: "El pago est\xE1 atrasado. Si no lo identificamos hasta entonces, estos recursos se bloquear\xE1n:",
428
+ warningDescription: "El pago est\xE1 atrasado. Regulariza para no perder el acceso a los recursos de tu cuenta.",
427
429
  keepsWorking: "Tus p\xE1ginas publicadas siguen en l\xEDnea y tus leads se siguen capturando. Todo vuelve autom\xE1ticamente en cuanto se identifique el pago.",
428
430
  resources: {
429
- pages: "Publicar, crear y editar p\xE1ginas",
430
- projects: "Crear y editar proyectos",
431
- leadsExport: "Exportar leads",
432
- pageSettings: "Configuraci\xF3n de la p\xE1gina, incluidas las notificaciones de leads",
433
- domains: "Conectar nuevos dominios",
434
- users: "Invitar usuarios y cambiar permisos del equipo",
435
- abTests: "Crear y editar pruebas A/B",
436
- uploads: "Subir im\xE1genes, PDF y otros archivos",
437
- integrations: "Gestionar integraciones"
431
+ pages: {
432
+ title: "Gestionar p\xE1ginas",
433
+ description: "Publicar, crear y editar p\xE1ginas, configuraci\xF3n, pruebas A/B, subida de archivos y exportar leads"
434
+ },
435
+ projects: {
436
+ title: "Gestionar proyectos",
437
+ description: "Crear y editar proyectos, invitar usuarios y cambiar permisos del equipo"
438
+ },
439
+ domains: {
440
+ title: "Gestionar dominios",
441
+ description: "Conectar nuevos dominios y gestionar integraciones"
442
+ }
438
443
  },
439
444
  cta: "Regularizar suscripci\xF3n"
440
445
  }