@burdenoff/microfe-healthybowl 2026.704.2 → 2026.704.3

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.
@@ -9,87 +9,90 @@ import "../../components/index.js";
9
9
  import { useFarmTaskLabels as s } from "./useFarmTaskLabels.js";
10
10
  import { useCallback as c, useMemo as l } from "react";
11
11
  import { Bug as u, ListChecks as d, MapPin as f, PawPrint as p, Sprout as m } from "lucide-react";
12
- import { jsx as h } from "react/jsx-runtime";
13
- import { ApolloProvider as g } from "@apollo/client/react";
14
- import { useSafeGatewayClient as _ } from "@burdenoff/fe-libs/shared/graphql";
15
- import { useWorkspaceDirectory as v } from "@burdenoff/fe-libs/sharing";
12
+ import { useSearchParams as h } from "react-router-dom";
13
+ import { jsx as g } from "react/jsx-runtime";
14
+ import { ApolloProvider as _ } from "@apollo/client/react";
15
+ import { useSafeGatewayClient as v } from "@burdenoff/fe-libs/shared/graphql";
16
+ import { useWorkspaceDirectory as y } from "@burdenoff/fe-libs/sharing";
16
17
  //#region src/healthybowl/pages/tasks/TasksPage.tsx
17
- var y = (e) => {
18
+ var b = (e) => {
18
19
  switch (e) {
19
- case "FIELD": return /* @__PURE__ */ h(f, {
20
+ case "FIELD": return /* @__PURE__ */ g(f, {
20
21
  className: "h-3 w-3",
21
22
  "aria-hidden": "true"
22
23
  });
23
- case "CROP": return /* @__PURE__ */ h(m, {
24
+ case "CROP": return /* @__PURE__ */ g(m, {
24
25
  className: "h-3 w-3",
25
26
  "aria-hidden": "true"
26
27
  });
27
- case "ANIMAL": return /* @__PURE__ */ h(p, {
28
+ case "ANIMAL": return /* @__PURE__ */ g(p, {
28
29
  className: "h-3 w-3",
29
30
  "aria-hidden": "true"
30
31
  });
31
- case "PEST": return /* @__PURE__ */ h(u, {
32
+ case "PEST": return /* @__PURE__ */ g(u, {
32
33
  className: "h-3 w-3",
33
34
  "aria-hidden": "true"
34
35
  });
35
36
  default: return null;
36
37
  }
37
- }, b = () => {
38
- let { workspaceId: u, currentUser: f, authToken: p, apiGatewayUrl: m } = e(), b = _("workspace"), x = f?.id, { projectId: S, loading: C, error: w, retry: T } = a(b, u, x), { members: E } = v({
38
+ }, x = () => {
39
+ let { workspaceId: u, currentUser: f, authToken: p, apiGatewayUrl: m } = e(), x = v("workspace"), S = f?.id, [C] = h(), w = C.get("item") ?? void 0, { projectId: T, loading: E, error: D, retry: O } = a(x, u, S), { members: k } = y({
39
40
  workspaceId: u,
40
41
  authToken: p,
41
42
  apiGatewayUrl: m
42
- }), D = l(() => E.map((e) => ({
43
+ }), A = l(() => k.map((e) => ({
43
44
  id: e.id,
44
45
  name: e.name
45
- })), [E]), O = l(() => new Map(E.map((e) => [e.id, e.name])), [E]), k = c((e) => {
46
- let t = O.get(e);
46
+ })), [k]), j = l(() => new Map(k.map((e) => [e.id, e.name])), [k]), M = c((e) => {
47
+ let t = j.get(e);
47
48
  return t ? { name: t } : null;
48
- }, [O]), A = s(), { canManage: j } = o(u), M = l(() => b ? /* @__PURE__ */ h(g, {
49
- client: b,
50
- children: /* @__PURE__ */ h(i, {
49
+ }, [j]), N = s(), { canManage: P } = o(u), F = l(() => x ? /* @__PURE__ */ g(_, {
50
+ client: x,
51
+ children: /* @__PURE__ */ g(i, {
51
52
  workspaceId: u,
52
- projectId: S ?? void 0,
53
- readonly: !j,
54
- currentActorId: x,
55
- labels: A,
56
- assigneeOptions: D,
57
- resolveAssignee: k,
53
+ projectId: T ?? void 0,
54
+ readonly: !P,
55
+ currentActorId: S,
56
+ openItemId: w,
57
+ labels: N,
58
+ assigneeOptions: A,
59
+ resolveAssignee: M,
58
60
  linkSourceProduct: "healthybowl",
59
- renderLinkIcon: y,
61
+ renderLinkIcon: b,
60
62
  onTaskSaved: () => {}
61
63
  })
62
64
  }) : null, [
63
- b,
65
+ x,
64
66
  u,
67
+ T,
68
+ P,
65
69
  S,
66
- j,
67
- x,
70
+ w,
71
+ N,
68
72
  A,
69
- D,
70
- k
73
+ M
71
74
  ]);
72
- return /* @__PURE__ */ h(t, {
75
+ return /* @__PURE__ */ g(t, {
73
76
  title: "Farm Tasks",
74
77
  titleAccent: "Tasks",
75
78
  description: "Plan and track farm work — planting, harvesting, maintenance, and more — on a shared board.",
76
79
  helpPrompt: "How do I use Farm Tasks to plan and track work on my farm?",
77
80
  purpose: "Farm Tasks is your team's shared to-do board. Create tasks, set priority and due dates, drag them across columns as work progresses, and open any task for details.",
78
- purposeIcon: /* @__PURE__ */ h(d, {
81
+ purposeIcon: /* @__PURE__ */ g(d, {
79
82
  className: "size-5",
80
83
  "aria-hidden": "true"
81
84
  }),
82
- children: b ? w ? /* @__PURE__ */ h(n, {
85
+ children: x ? D ? /* @__PURE__ */ g(n, {
83
86
  title: "Couldn't open Farm Tasks",
84
- description: w.message,
85
- onRetry: T
86
- }) : C || !S ? /* @__PURE__ */ h(r, {}) : M : /* @__PURE__ */ h(n, {
87
+ description: D.message,
88
+ onRetry: O
89
+ }) : E || !T ? /* @__PURE__ */ g(r, {}) : F : /* @__PURE__ */ g(n, {
87
90
  title: "Tasks unavailable",
88
91
  description: "The workspace connection isn't ready. Reload the page or reselect your workspace."
89
92
  })
90
93
  });
91
94
  };
92
95
  //#endregion
93
- export { b as TasksPage };
96
+ export { x as TasksPage };
94
97
 
95
98
  //# sourceMappingURL=TasksPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TasksPage.js","names":[],"sources":["../../../../src/healthybowl/pages/tasks/TasksPage.tsx"],"sourcesContent":["/**\n * TasksPage — HealthyBowl \"Farm Tasks\".\n *\n * Embeds the composed `<TasksPageCore/>` from `@burdenoff/planmagnet-fe-sdk`\n * (kanban board + create flow + click-to-open detail with inline edit) so farm\n * teams can plan and track work items backed by `wspace-planmagnet-svc`.\n *\n * Wiring:\n * - workspaceId — from the HealthyBowl workspace context (`useHealthyBowl`).\n * - Apollo — the app shell's WORKSPACE gateway client (`useSafeGatewayClient\n * ('workspace')`), the same authed client every other HB page uses. The SDK\n * core is BYO-Apollo, so we wrap it in an `<ApolloProvider>` bound to that\n * client (rather than relying on the ambient default) to be explicit.\n * - projectId — a per-workspace \"Farm Tasks\" project, get-or-created via\n * `useDefaultTaskProject`. Farmers never see PlanMagnet's project concept.\n *\n * Theming: the SDK renders with semantic tokens (`bg-primary`, `text-foreground`,\n * `text-destructive`, `border-border`, …) which resolve against fe-libs' shipped\n * tokens, so the forest theme is inherited — no SDK stylesheet import and no raw\n * colors.\n *\n * Host wiring beyond Apollo + project:\n * - labels — HB's i18n catalog via `useFarmTaskLabels` (6 languages).\n * - assignee picker — the real workspace member directory\n * (`useWorkspaceDirectory`), so tasks show names/avatars and the create/edit\n * forms offer a member dropdown instead of a raw actor-id field.\n * - readonly — Viewers/Members (read-only on `planmagnet-workitem`) get\n * a read-only board via `useCanManageTasks` (fails open; server enforces).\n * - currentActorId — enables the toolbar \"My tasks\" filter.\n * - entity-linked create — shipped as `CreateFarmTaskButton` on Field/Crop/\n * Animal detail pages (WorkItemLink); no longer a TODO.\n *\n * @module healthybowl\n */\n\nimport { useCallback, useMemo, type FC, type ReactNode } from 'react';\nimport { ApolloProvider } from '@apollo/client/react';\nimport { useSafeGatewayClient } from '@burdenoff/fe-libs/shared/graphql';\nimport { useWorkspaceDirectory } from '@burdenoff/fe-libs/sharing';\nimport { TasksPageCore, type AssigneeOption } from '@burdenoff/planmagnet-fe-sdk';\nimport { Bug, ListChecks, MapPin, PawPrint, Sprout } from 'lucide-react';\nimport { PageLayout, ErrorState, PageLoader } from '../../components';\nimport { useHealthyBowl } from '../../context/HealthyBowlContext';\nimport { useDefaultTaskProject } from './useDefaultTaskProject';\nimport { useFarmTaskLabels } from './useFarmTaskLabels';\nimport { useCanManageTasks } from './useCanManageTasks';\n\n/**\n * Farm icon per linked-entity type, so a task's linked-record chip shows a\n * leaf / field / animal / pest glyph (the SDK falls back to a generic link\n * glyph for anything unmapped). Module-level so it's referentially stable.\n */\nconst renderFarmLinkIcon = (entityType: string): ReactNode => {\n switch (entityType) {\n case 'FIELD':\n return <MapPin className=\"h-3 w-3\" aria-hidden=\"true\" />;\n case 'CROP':\n return <Sprout className=\"h-3 w-3\" aria-hidden=\"true\" />;\n case 'ANIMAL':\n return <PawPrint className=\"h-3 w-3\" aria-hidden=\"true\" />;\n case 'PEST':\n return <Bug className=\"h-3 w-3\" aria-hidden=\"true\" />;\n default:\n return null;\n }\n};\n\nexport const TasksPage: FC = () => {\n const { workspaceId, currentUser, authToken, apiGatewayUrl } = useHealthyBowl();\n // The workspace gateway client the whole app already uses (dual-token auth +\n // x-workspace-id). Null only if the shell's GatewayProvider isn't mounted.\n const workspaceClient = useSafeGatewayClient('workspace');\n const ownerId = currentUser?.id;\n\n const {\n projectId,\n loading: projectLoading,\n error: projectError,\n retry,\n } = useDefaultTaskProject(workspaceClient, workspaceId, ownerId);\n\n // Farm-team member directory → real assignee names/avatars + a picker.\n const { members } = useWorkspaceDirectory({ workspaceId, authToken, apiGatewayUrl });\n const assigneeOptions = useMemo<AssigneeOption[]>(() => members.map((m) => ({ id: m.id, name: m.name })), [members]);\n const memberNameById = useMemo(() => new Map(members.map((m) => [m.id, m.name])), [members]);\n const resolveAssignee = useCallback(\n (id: string) => {\n const name = memberNameById.get(id);\n return name ? { name } : null;\n },\n [memberNameById]\n );\n\n // HB i18n → SDK label contract (6 languages, English fallback).\n const labels = useFarmTaskLabels();\n // Read-only for Viewers/Members (fails open; server still enforces RBAC).\n const { canManage } = useCanManageTasks(workspaceId);\n\n // The SDK core is BYO-Apollo: give it an ApolloProvider explicitly bound to\n // the workspace client so it never depends on the ambient default gateway.\n const board = useMemo(() => {\n if (!workspaceClient) return null;\n return (\n <ApolloProvider client={workspaceClient}>\n <TasksPageCore\n workspaceId={workspaceId}\n projectId={projectId ?? undefined}\n readonly={!canManage}\n currentActorId={ownerId}\n labels={labels}\n assigneeOptions={assigneeOptions}\n resolveAssignee={resolveAssignee}\n linkSourceProduct=\"healthybowl\"\n renderLinkIcon={renderFarmLinkIcon}\n onTaskSaved={() => {\n // The SDK already refetches its own board list after a save; nothing\n // else in HB depends on this data yet, so this is a deliberate no-op.\n }}\n />\n </ApolloProvider>\n );\n }, [workspaceClient, workspaceId, projectId, canManage, ownerId, labels, assigneeOptions, resolveAssignee]);\n\n return (\n <PageLayout\n title=\"Farm Tasks\"\n titleAccent=\"Tasks\"\n description=\"Plan and track farm work — planting, harvesting, maintenance, and more — on a shared board.\"\n helpPrompt=\"How do I use Farm Tasks to plan and track work on my farm?\"\n purpose=\"Farm Tasks is your team's shared to-do board. Create tasks, set priority and due dates, drag them across columns as work progresses, and open any task for details.\"\n purposeIcon={<ListChecks className=\"size-5\" aria-hidden=\"true\" />}\n >\n {!workspaceClient ? (\n <ErrorState\n title=\"Tasks unavailable\"\n description=\"The workspace connection isn't ready. Reload the page or reselect your workspace.\"\n />\n ) : projectError ? (\n <ErrorState title=\"Couldn't open Farm Tasks\" description={projectError.message} onRetry={retry} />\n ) : projectLoading || !projectId ? (\n <PageLoader />\n ) : (\n board\n )}\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAoDA,IAAM,KAAsB,MAAkC;AAC5D,SAAQ,GAAR;EACE,KAAK,QACH,QAAO,kBAAC,GAAD;GAAQ,WAAU;GAAU,eAAY;GAAS,CAAA;EAC1D,KAAK,OACH,QAAO,kBAAC,GAAD;GAAQ,WAAU;GAAU,eAAY;GAAS,CAAA;EAC1D,KAAK,SACH,QAAO,kBAAC,GAAD;GAAU,WAAU;GAAU,eAAY;GAAS,CAAA;EAC5D,KAAK,OACH,QAAO,kBAAC,GAAD;GAAK,WAAU;GAAU,eAAY;GAAS,CAAA;EACvD,QACE,QAAO;;GAIA,UAAsB;CACjC,IAAM,EAAE,gBAAa,gBAAa,cAAW,qBAAkB,GAAgB,EAGzE,IAAkB,EAAqB,YAAY,EACnD,IAAU,GAAa,IAEvB,EACJ,cACA,SAAS,GACT,OAAO,GACP,aACE,EAAsB,GAAiB,GAAa,EAAQ,EAG1D,EAAE,eAAY,EAAsB;EAAE;EAAa;EAAW;EAAe,CAAC,EAC9E,IAAkB,QAAgC,EAAQ,KAAK,OAAO;EAAE,IAAI,EAAE;EAAI,MAAM,EAAE;EAAM,EAAE,EAAE,CAAC,EAAQ,CAAC,EAC9G,IAAiB,QAAc,IAAI,IAAI,EAAQ,KAAK,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,EAAQ,CAAC,EACtF,IAAkB,GACrB,MAAe;EACd,IAAM,IAAO,EAAe,IAAI,EAAG;AACnC,SAAO,IAAO,EAAE,SAAM,GAAG;IAE3B,CAAC,EAAe,CACjB,EAGK,IAAS,GAAmB,EAE5B,EAAE,iBAAc,EAAkB,EAAY,EAI9C,IAAQ,QACP,IAEH,kBAAC,GAAD;EAAgB,QAAQ;YACtB,kBAAC,GAAD;GACe;GACb,WAAW,KAAa,KAAA;GACxB,UAAU,CAAC;GACX,gBAAgB;GACR;GACS;GACA;GACjB,mBAAkB;GAClB,gBAAgB;GAChB,mBAAmB;GAInB,CAAA;EACa,CAAA,GAlBU,MAoB5B;EAAC;EAAiB;EAAa;EAAW;EAAW;EAAS;EAAQ;EAAiB;EAAgB,CAAC;AAE3G,QACE,kBAAC,GAAD;EACE,OAAM;EACN,aAAY;EACZ,aAAY;EACZ,YAAW;EACX,SAAQ;EACR,aAAa,kBAAC,GAAD;GAAY,WAAU;GAAS,eAAY;GAAS,CAAA;YAE/D,IAKE,IACF,kBAAC,GAAD;GAAY,OAAM;GAA2B,aAAa,EAAa;GAAS,SAAS;GAAS,CAAA,GAChG,KAAkB,CAAC,IACrB,kBAAC,GAAD,EAAc,CAAA,GAEd,IATA,kBAAC,GAAD;GACE,OAAM;GACN,aAAY;GACZ,CAAA;EAQO,CAAA"}
1
+ {"version":3,"file":"TasksPage.js","names":[],"sources":["../../../../src/healthybowl/pages/tasks/TasksPage.tsx"],"sourcesContent":["/**\n * TasksPage — HealthyBowl \"Farm Tasks\".\n *\n * Embeds the composed `<TasksPageCore/>` from `@burdenoff/planmagnet-fe-sdk`\n * (kanban board + create flow + click-to-open detail with inline edit) so farm\n * teams can plan and track work items backed by `wspace-planmagnet-svc`.\n *\n * Wiring:\n * - workspaceId — from the HealthyBowl workspace context (`useHealthyBowl`).\n * - Apollo — the app shell's WORKSPACE gateway client (`useSafeGatewayClient\n * ('workspace')`), the same authed client every other HB page uses. The SDK\n * core is BYO-Apollo, so we wrap it in an `<ApolloProvider>` bound to that\n * client (rather than relying on the ambient default) to be explicit.\n * - projectId — a per-workspace \"Farm Tasks\" project, get-or-created via\n * `useDefaultTaskProject`. Farmers never see PlanMagnet's project concept.\n *\n * Theming: the SDK renders with semantic tokens (`bg-primary`, `text-foreground`,\n * `text-destructive`, `border-border`, …) which resolve against fe-libs' shipped\n * tokens, so the forest theme is inherited — no SDK stylesheet import and no raw\n * colors.\n *\n * Host wiring beyond Apollo + project:\n * - labels — HB's i18n catalog via `useFarmTaskLabels` (6 languages).\n * - assignee picker — the real workspace member directory\n * (`useWorkspaceDirectory`), so tasks show names/avatars and the create/edit\n * forms offer a member dropdown instead of a raw actor-id field.\n * - readonly — Viewers/Members (read-only on `planmagnet-workitem`) get\n * a read-only board via `useCanManageTasks` (fails open; server enforces).\n * - currentActorId — enables the toolbar \"My tasks\" filter.\n * - entity-linked create — shipped as `CreateFarmTaskButton` on Field/Crop/\n * Animal detail pages (WorkItemLink); no longer a TODO.\n *\n * @module healthybowl\n */\n\nimport { useCallback, useMemo, type FC, type ReactNode } from 'react';\nimport { useSearchParams } from 'react-router-dom';\nimport { ApolloProvider } from '@apollo/client/react';\nimport { useSafeGatewayClient } from '@burdenoff/fe-libs/shared/graphql';\nimport { useWorkspaceDirectory } from '@burdenoff/fe-libs/sharing';\nimport { TasksPageCore, type AssigneeOption } from '@burdenoff/planmagnet-fe-sdk';\nimport { Bug, ListChecks, MapPin, PawPrint, Sprout } from 'lucide-react';\nimport { PageLayout, ErrorState, PageLoader } from '../../components';\nimport { useHealthyBowl } from '../../context/HealthyBowlContext';\nimport { useDefaultTaskProject } from './useDefaultTaskProject';\nimport { useFarmTaskLabels } from './useFarmTaskLabels';\nimport { useCanManageTasks } from './useCanManageTasks';\n\n/**\n * Farm icon per linked-entity type, so a task's linked-record chip shows a\n * leaf / field / animal / pest glyph (the SDK falls back to a generic link\n * glyph for anything unmapped). Module-level so it's referentially stable.\n */\nconst renderFarmLinkIcon = (entityType: string): ReactNode => {\n switch (entityType) {\n case 'FIELD':\n return <MapPin className=\"h-3 w-3\" aria-hidden=\"true\" />;\n case 'CROP':\n return <Sprout className=\"h-3 w-3\" aria-hidden=\"true\" />;\n case 'ANIMAL':\n return <PawPrint className=\"h-3 w-3\" aria-hidden=\"true\" />;\n case 'PEST':\n return <Bug className=\"h-3 w-3\" aria-hidden=\"true\" />;\n default:\n return null;\n }\n};\n\nexport const TasksPage: FC = () => {\n const { workspaceId, currentUser, authToken, apiGatewayUrl } = useHealthyBowl();\n // The workspace gateway client the whole app already uses (dual-token auth +\n // x-workspace-id). Null only if the shell's GatewayProvider isn't mounted.\n const workspaceClient = useSafeGatewayClient('workspace');\n const ownerId = currentUser?.id;\n // Deep-link from the calendar: `/healthybowl/tasks?item=<id>` opens that task.\n const [searchParams] = useSearchParams();\n const openItemId = searchParams.get('item') ?? undefined;\n\n const {\n projectId,\n loading: projectLoading,\n error: projectError,\n retry,\n } = useDefaultTaskProject(workspaceClient, workspaceId, ownerId);\n\n // Farm-team member directory → real assignee names/avatars + a picker.\n const { members } = useWorkspaceDirectory({ workspaceId, authToken, apiGatewayUrl });\n const assigneeOptions = useMemo<AssigneeOption[]>(() => members.map((m) => ({ id: m.id, name: m.name })), [members]);\n const memberNameById = useMemo(() => new Map(members.map((m) => [m.id, m.name])), [members]);\n const resolveAssignee = useCallback(\n (id: string) => {\n const name = memberNameById.get(id);\n return name ? { name } : null;\n },\n [memberNameById]\n );\n\n // HB i18n → SDK label contract (6 languages, English fallback).\n const labels = useFarmTaskLabels();\n // Read-only for Viewers/Members (fails open; server still enforces RBAC).\n const { canManage } = useCanManageTasks(workspaceId);\n\n // The SDK core is BYO-Apollo: give it an ApolloProvider explicitly bound to\n // the workspace client so it never depends on the ambient default gateway.\n const board = useMemo(() => {\n if (!workspaceClient) return null;\n return (\n <ApolloProvider client={workspaceClient}>\n <TasksPageCore\n workspaceId={workspaceId}\n projectId={projectId ?? undefined}\n readonly={!canManage}\n currentActorId={ownerId}\n openItemId={openItemId}\n labels={labels}\n assigneeOptions={assigneeOptions}\n resolveAssignee={resolveAssignee}\n linkSourceProduct=\"healthybowl\"\n renderLinkIcon={renderFarmLinkIcon}\n onTaskSaved={() => {\n // The SDK already refetches its own board list after a save; nothing\n // else in HB depends on this data yet, so this is a deliberate no-op.\n }}\n />\n </ApolloProvider>\n );\n }, [\n workspaceClient,\n workspaceId,\n projectId,\n canManage,\n ownerId,\n openItemId,\n labels,\n assigneeOptions,\n resolveAssignee,\n ]);\n\n return (\n <PageLayout\n title=\"Farm Tasks\"\n titleAccent=\"Tasks\"\n description=\"Plan and track farm work — planting, harvesting, maintenance, and more — on a shared board.\"\n helpPrompt=\"How do I use Farm Tasks to plan and track work on my farm?\"\n purpose=\"Farm Tasks is your team's shared to-do board. Create tasks, set priority and due dates, drag them across columns as work progresses, and open any task for details.\"\n purposeIcon={<ListChecks className=\"size-5\" aria-hidden=\"true\" />}\n >\n {!workspaceClient ? (\n <ErrorState\n title=\"Tasks unavailable\"\n description=\"The workspace connection isn't ready. Reload the page or reselect your workspace.\"\n />\n ) : projectError ? (\n <ErrorState title=\"Couldn't open Farm Tasks\" description={projectError.message} onRetry={retry} />\n ) : projectLoading || !projectId ? (\n <PageLoader />\n ) : (\n board\n )}\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAqDA,IAAM,KAAsB,MAAkC;AAC5D,SAAQ,GAAR;EACE,KAAK,QACH,QAAO,kBAAC,GAAD;GAAQ,WAAU;GAAU,eAAY;GAAS,CAAA;EAC1D,KAAK,OACH,QAAO,kBA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