@burdenoff/microfe-export 2026.1120.1 → 2026.1124.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/export/ExportRoutes.js +23 -22
  2. package/dist/export/ExportRoutes.js.map +1 -1
  3. package/dist/export/hooks/useExportQueries.d.ts +89 -1
  4. package/dist/export/hooks/useExportQueries.js +167 -127
  5. package/dist/export/hooks/useExportQueries.js.map +1 -1
  6. package/dist/export/workspace-v2/DownloadCells.d.ts +29 -0
  7. package/dist/export/workspace-v2/DownloadCells.js +105 -0
  8. package/dist/export/workspace-v2/DownloadCells.js.map +1 -0
  9. package/dist/export/workspace-v2/DownloadsList.d.ts +13 -0
  10. package/dist/export/workspace-v2/DownloadsList.js +208 -0
  11. package/dist/export/workspace-v2/DownloadsList.js.map +1 -0
  12. package/dist/export/workspace-v2/DownloadsPage.d.ts +1 -0
  13. package/dist/export/workspace-v2/DownloadsPage.js +114 -0
  14. package/dist/export/workspace-v2/DownloadsPage.js.map +1 -0
  15. package/dist/export/workspace-v2/ExportV2Routes.d.ts +1 -0
  16. package/dist/export/workspace-v2/ExportV2Routes.js +68 -0
  17. package/dist/export/workspace-v2/ExportV2Routes.js.map +1 -0
  18. package/dist/export/workspace-v2/NewDownloadDialog.d.ts +10 -0
  19. package/dist/export/workspace-v2/NewDownloadDialog.js +432 -0
  20. package/dist/export/workspace-v2/NewDownloadDialog.js.map +1 -0
  21. package/dist/export/workspace-v2/SetupsList.d.ts +13 -0
  22. package/dist/export/workspace-v2/SetupsList.js +132 -0
  23. package/dist/export/workspace-v2/SetupsList.js.map +1 -0
  24. package/dist/export/workspace-v2/downloadsModel.d.ts +108 -0
  25. package/dist/export/workspace-v2/downloadsModel.js +138 -0
  26. package/dist/export/workspace-v2/downloadsModel.js.map +1 -0
  27. package/dist/export/workspace-v2/newDownloadModel.d.ts +48 -0
  28. package/dist/export/workspace-v2/newDownloadModel.js +76 -0
  29. package/dist/export/workspace-v2/newDownloadModel.js.map +1 -0
  30. package/dist/export/workspace-v2/useDownloadActions.d.ts +20 -0
  31. package/dist/export/workspace-v2/useDownloadActions.js +127 -0
  32. package/dist/export/workspace-v2/useDownloadActions.js.map +1 -0
  33. package/dist/export/workspace-v2/useDownloadsData.d.ts +57 -0
  34. package/dist/export/workspace-v2/useDownloadsData.js +186 -0
  35. package/dist/export/workspace-v2/useDownloadsData.js.map +1 -0
  36. package/dist/export/workspace-v2/useDownloadsPage.d.ts +22 -0
  37. package/dist/export/workspace-v2/useDownloadsPage.js +45 -0
  38. package/dist/export/workspace-v2/useDownloadsPage.js.map +1 -0
  39. package/dist/export/workspace-v2/useExportAccess.d.ts +21 -0
  40. package/dist/export/workspace-v2/useExportAccess.js +16 -0
  41. package/dist/export/workspace-v2/useExportAccess.js.map +1 -0
  42. package/dist/export/workspace-v2/useListClock.d.ts +4 -0
  43. package/dist/export/workspace-v2/useListClock.js +20 -0
  44. package/dist/export/workspace-v2/useListClock.js.map +1 -0
  45. package/dist/export/workspace-v2/useOfferedKinds.d.ts +19 -0
  46. package/dist/export/workspace-v2/useOfferedKinds.js +30 -0
  47. package/dist/export/workspace-v2/useOfferedKinds.js.map +1 -0
  48. package/dist/export/workspace-v2/useOnceAtATime.d.ts +7 -0
  49. package/dist/export/workspace-v2/useOnceAtATime.js +17 -0
  50. package/dist/export/workspace-v2/useOnceAtATime.js.map +1 -0
  51. package/dist/generated/global-types.d.ts +9901 -584
  52. package/dist/generated/wspace-operations.js +9 -11
  53. package/dist/generated/wspace-operations.js.map +1 -1
  54. package/dist/generated/wspace-types.d.ts +195315 -42067
  55. package/dist/generated/wspace-types.js +5 -1
  56. package/dist/generated/wspace-types.js.map +1 -1
  57. package/dist/translations/en.d.ts +190 -0
  58. package/dist/translations/en.js +191 -1
  59. package/dist/translations/en.js.map +1 -1
  60. package/package.json +11 -3
@@ -0,0 +1,21 @@
1
+ export interface ExportAccess {
2
+ /** The permissions have loaded: a lock can show. */
3
+ settled: boolean;
4
+ /** Start a download (`export:create`). */
5
+ canCreate: boolean;
6
+ /** Download everyone's data in the workspace (`export:workspace_admin`). */
7
+ canWorkspace: boolean;
8
+ /** Save and delete setups (`export:manage_templates`). */
9
+ canSetups: boolean;
10
+ /** Cancel a download that is preparing (`export:cancel`). */
11
+ canCancel: boolean;
12
+ /** Delete a download (`export:delete`). */
13
+ canDelete: boolean;
14
+ }
15
+ /**
16
+ * The workspace's export permissions, from the shell's permission set (no
17
+ * request of its own). Whether someone may download the whole organization is
18
+ * a separate question to the access service: New download asks it, quietly,
19
+ * when it opens (`useOrganizationExportPermission`); the list never does.
20
+ */
21
+ export declare function useExportAccess(): ExportAccess;
@@ -0,0 +1,16 @@
1
+ import { usePermission as e, usePermissionLoading as t } from "@burdenoff/fe-libs/shared/providers/shell";
2
+ // src/export/workspace-v2/useExportAccess.ts
3
+ function n() {
4
+ let n = t(), r = e("export:create"), i = e("export:workspace_admin"), a = e("export:manage_templates"), o = e("export:cancel"), s = e("export:delete");
5
+ return {
6
+ settled: !n,
7
+ canCreate: r,
8
+ canWorkspace: i,
9
+ canSetups: a,
10
+ canCancel: o,
11
+ canDelete: s
12
+ };
13
+ }
14
+ export { n as useExportAccess };
15
+
16
+ //# sourceMappingURL=useExportAccess.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportAccess.js","names":["useExportAccess","loading","usePermissionLoading","canCreate","usePermission","canWorkspace","canSetups","canCancel","canDelete"],"sources":["../../../src/export/workspace-v2/useExportAccess.ts"],"sourcesContent":["/**\n * What this person may do on \"Download your data\" (BOFF-15822). Members see\n * what admins can do, locked and told why, never hidden; the export service\n * checks the same permissions (`@rbac` on each call).\n */\nimport {\n usePermission,\n usePermissionLoading,\n} from \"@burdenoff/fe-libs/shared/providers/shell\";\n\nexport interface ExportAccess {\n /** The permissions have loaded: a lock can show. */\n settled: boolean;\n /** Start a download (`export:create`). */\n canCreate: boolean;\n /** Download everyone's data in the workspace (`export:workspace_admin`). */\n canWorkspace: boolean;\n /** Save and delete setups (`export:manage_templates`). */\n canSetups: boolean;\n /** Cancel a download that is preparing (`export:cancel`). */\n canCancel: boolean;\n /** Delete a download (`export:delete`). */\n canDelete: boolean;\n}\n\n/**\n * The workspace's export permissions, from the shell's permission set (no\n * request of its own). Whether someone may download the whole organization is\n * a separate question to the access service: New download asks it, quietly,\n * when it opens (`useOrganizationExportPermission`); the list never does.\n */\nexport function useExportAccess(): ExportAccess {\n const loading = usePermissionLoading();\n const canCreate = usePermission(\"export:create\");\n const canWorkspace = usePermission(\"export:workspace_admin\");\n const canSetups = usePermission(\"export:manage_templates\");\n const canCancel = usePermission(\"export:cancel\");\n const canDelete = usePermission(\"export:delete\");\n return {\n settled: !loading,\n canCreate,\n canWorkspace,\n canSetups,\n canCancel,\n canDelete,\n };\n}\n"],"mappings":";;AA+BA,SAAgBA,IAAgC;CAC9C,IAAMC,IAAUC,EAAqB,GAC/BC,IAAYC,EAAc,eAAe,GACzCC,IAAeD,EAAc,wBAAwB,GACrDE,IAAYF,EAAc,yBAAyB,GACnDG,IAAYH,EAAc,eAAe,GACzCI,IAAYJ,EAAc,eAAe;CAC/C,OAAO;EACL,SAAS,CAACH;EACV;EACA;EACA;EACA;EACA;CACF;AACF"}
@@ -0,0 +1,4 @@
1
+ import { ExportJob } from '../types';
2
+ /** How often the list's clock moves on by itself. */
3
+ export declare const LIST_CLOCK_MS = 60000;
4
+ export declare function useListClock(jobs: readonly Pick<ExportJob, "status" | "downloadExpiresAt">[]): number;
@@ -0,0 +1,20 @@
1
+ import { nextLinkExpiry as e } from "./downloadsModel.js";
2
+ import { useEffect as t, useState as n } from "react";
3
+ // src/export/workspace-v2/useListClock.ts
4
+ var r = 6e4, i = 2147483647;
5
+ function a(a) {
6
+ let [o, s] = n(() => Date.now());
7
+ t(() => {
8
+ let e = setInterval(() => s(Date.now()), r);
9
+ return () => clearInterval(e);
10
+ }, []);
11
+ let c = e(a, o);
12
+ return t(() => {
13
+ if (c === null) return;
14
+ let e = Math.min(Math.max(0, c - Date.now()) + 1, i), t = setTimeout(() => s(Date.now()), e);
15
+ return () => clearTimeout(t);
16
+ }, [c]), o;
17
+ }
18
+ export { r as LIST_CLOCK_MS, a as useListClock };
19
+
20
+ //# sourceMappingURL=useListClock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useListClock.js","names":["LIST_CLOCK_MS","MAX_TIMER_MS","useListClock","now","setNow","useState","tick","expiry","nextLinkExpiry","jobs","useEffect","wait","timer"],"sources":["../../../src/export/workspace-v2/useListClock.ts"],"sourcesContent":["/**\n * The downloads list's clock (BOFF-15822): one time for every row, so their\n * \"8 min ago\" agree. It moves on every minute, and at the moment the soonest\n * shown download link expires, so a link is never offered after its expiry\n * even when nothing else makes the page draw again.\n */\nimport { useEffect, useState } from \"react\";\nimport type { ExportJob } from \"../types\";\nimport { nextLinkExpiry } from \"./downloadsModel\";\n\n/** How often the list's clock moves on by itself. */\nexport const LIST_CLOCK_MS = 60_000;\n\n/** The longest wait a browser timer takes (about 24.8 days). */\nconst MAX_TIMER_MS = 2_147_483_647;\n\nexport function useListClock(\n jobs: readonly Pick<ExportJob, \"status\" | \"downloadExpiresAt\">[],\n): number {\n const [now, setNow] = useState(() => Date.now());\n useEffect(() => {\n const tick = setInterval(() => setNow(Date.now()), LIST_CLOCK_MS);\n return () => clearInterval(tick);\n }, []);\n const expiry = nextLinkExpiry(jobs, now);\n useEffect(() => {\n if (expiry === null) return undefined;\n const wait = Math.min(Math.max(0, expiry - Date.now()) + 1, MAX_TIMER_MS);\n const timer = setTimeout(() => setNow(Date.now()), wait);\n return () => clearTimeout(timer);\n }, [expiry]);\n return now;\n}\n"],"mappings":";;;AAWA,IAAaA,IAAgB,KAGvBC,IAAe;AAErB,SAAgBC,EACd,GACQ;CACR,IAAM,CAACC,GAAKC,KAAUC,QAAe,KAAK,IAAI,CAAC;CAC/C,QAAgB;EACd,IAAMC,IAAO,kBAAkBF,EAAO,KAAK,IAAI,CAAC,GAAGJ,CAAa;EAChE,aAAa,cAAcM,CAAI;CACjC,GAAG,CAAC,CAAC;CACL,IAAMC,IAASC,EAAeC,GAAMN,CAAG;CAOvC,OANAO,QAAgB;EACd,IAAIH,MAAW,MAAM;EACrB,IAAMI,IAAO,KAAK,IAAI,KAAK,IAAI,GAAGJ,IAAS,KAAK,IAAI,CAAC,IAAI,GAAGN,CAAY,GAClEW,IAAQ,iBAAiBR,EAAO,KAAK,IAAI,CAAC,GAAGO,CAAI;EACvD,aAAa,aAAaC,CAAK;CACjC,GAAG,CAACL,CAAM,CAAC,GACJJ;AACT"}
@@ -0,0 +1,19 @@
1
+ export interface KindGroup {
2
+ id: string;
3
+ label: string;
4
+ description: string;
5
+ entityTypes: string[];
6
+ }
7
+ export interface OfferedKinds {
8
+ groups: KindGroup[];
9
+ /** Offered kinds that are in no group. */
10
+ others: string[];
11
+ /** Whether a kind can be downloaded here. */
12
+ isOffered: (entityType: string) => boolean;
13
+ /** A kind's plain name ("Workflow runs"), never the raw key. */
14
+ label: (entityType: string) => string;
15
+ loading: boolean;
16
+ error: Error | null;
17
+ retry: () => void;
18
+ }
19
+ export declare function useOfferedKinds(): OfferedKinds;
@@ -0,0 +1,30 @@
1
+ import { useAvailableEntities as e } from "../hooks/useExportQueries.js";
2
+ import { useTr as t } from "../hooks/useTr.js";
3
+ import { isExportEntityDisabled as n, isForeignProductEntity as r } from "../utils/disabledModules.js";
4
+ import { entityLabel as i, offeredGroups as a } from "../utils/entityLabels.js";
5
+ import { useCallback as o, useMemo as s } from "react";
6
+ import { useAppShell as c } from "@burdenoff/fe-libs/shared/providers/shell";
7
+ // src/export/workspace-v2/useOfferedKinds.ts
8
+ function l() {
9
+ let l = t(), { productSlug: u } = c(), { data: d, isLoading: f, error: p, complete: m, moreError: h, retryAll: g } = e(), _ = o((e) => !n(e) && !r(e, u), [u]), v = s(() => d.filter((e) => e.enabled !== !1 && _(e.entityType)).map((e) => e.entityType), [d, _]), y = s(() => new Set(v), [v]), b = s(() => a(v).map(({ group: e, entityTypes: t }) => ({
10
+ id: e.id,
11
+ label: l(e.labelKey, e.label),
12
+ description: l(e.descriptionKey, e.description),
13
+ entityTypes: t
14
+ })), [v, l]);
15
+ return {
16
+ groups: b,
17
+ others: s(() => {
18
+ let e = new Set(b.flatMap((e) => e.entityTypes));
19
+ return v.filter((t) => !e.has(t));
20
+ }, [b, v]),
21
+ isOffered: o((e) => y.has(e), [y]),
22
+ label: o((e) => i(e, l, d), [d, l]),
23
+ loading: f && d.length === 0 || !m && !p && !h,
24
+ error: (d.length === 0 ? p : null) ?? h ?? null,
25
+ retry: g
26
+ };
27
+ }
28
+ export { l as useOfferedKinds };
29
+
30
+ //# sourceMappingURL=useOfferedKinds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useOfferedKinds.js","names":["useOfferedKinds","tr","useTr","useAppShell","available","useAvailableEntities","isSelectable","useCallback","isExportEntityDisabled","entityType","isForeignProductEntity","productSlug","offered","useMemo","entity","offeredSet","groups","offeredGroups","group","grouped","entityLabel","isLoading","complete","error","moreError","retryAll"],"sources":["../../../src/export/workspace-v2/useOfferedKinds.ts"],"sourcesContent":["/**\n * The kinds of data this person can download in this product (BOFF-15822):\n * what the export service offers, without modules that are switched off and\n * without other products' data, in the everyday groups first (\"Workflows and\n * runs\", \"Files\", …) and the rest one by one. It is loading until every page\n * of the service's catalog is here, and a page that fails is its error.\n */\nimport { useCallback, useMemo } from \"react\";\nimport { useAppShell } from \"@burdenoff/fe-libs/shared/providers/shell\";\nimport { useAvailableEntities } from \"../hooks/useExportQueries\";\nimport { useTr } from \"../hooks/useTr\";\nimport {\n isExportEntityDisabled,\n isForeignProductEntity,\n} from \"../utils/disabledModules\";\nimport { entityLabel, offeredGroups } from \"../utils/entityLabels\";\n\nexport interface KindGroup {\n id: string;\n label: string;\n description: string;\n entityTypes: string[];\n}\n\nexport interface OfferedKinds {\n groups: KindGroup[];\n /** Offered kinds that are in no group. */\n others: string[];\n /** Whether a kind can be downloaded here. */\n isOffered: (entityType: string) => boolean;\n /** A kind's plain name (\"Workflow runs\"), never the raw key. */\n label: (entityType: string) => string;\n loading: boolean;\n error: Error | null;\n retry: () => void;\n}\n\nexport function useOfferedKinds(): OfferedKinds {\n const tr = useTr();\n const { productSlug } = useAppShell();\n const {\n data: available,\n isLoading,\n error,\n complete,\n moreError,\n retryAll,\n } = useAvailableEntities();\n\n const isSelectable = useCallback(\n (entityType: string) =>\n !isExportEntityDisabled(entityType) &&\n !isForeignProductEntity(entityType, productSlug),\n [productSlug],\n );\n const offered = useMemo(\n () =>\n available\n .filter(\n (entity) =>\n entity.enabled !== false && isSelectable(entity.entityType),\n )\n .map((entity) => entity.entityType),\n [available, isSelectable],\n );\n const offeredSet = useMemo(() => new Set(offered), [offered]);\n\n const groups = useMemo<KindGroup[]>(\n () =>\n offeredGroups(offered).map(({ group, entityTypes }) => ({\n id: group.id,\n label: tr(group.labelKey, group.label),\n description: tr(group.descriptionKey, group.description),\n entityTypes,\n })),\n [offered, tr],\n );\n const others = useMemo(() => {\n const grouped = new Set(groups.flatMap((group) => group.entityTypes));\n return offered.filter((entityType) => !grouped.has(entityType));\n }, [groups, offered]);\n\n const isOffered = useCallback(\n (entityType: string) => offeredSet.has(entityType),\n [offeredSet],\n );\n const label = useCallback(\n (entityType: string) => entityLabel(entityType, tr, available),\n [available, tr],\n );\n\n return {\n groups,\n others,\n isOffered,\n label,\n // Ready only once the whole catalog is here: a setup's kinds, Run now\n // and New download's prefill must not be judged on its first page.\n loading:\n (isLoading && available.length === 0) ||\n (!complete && !error && !moreError),\n error: (available.length === 0 ? error : null) ?? moreError ?? null,\n retry: retryAll,\n };\n}\n"],"mappings":";;;;;;;AAqCA,SAAgBA,IAAgC;CAC9C,IAAMC,IAAKC,EAAM,GACX,EAAE,mBAAgBC,EAAY,GAC9B,EACJ,MAAMC,GACN,cACA,UACA,aACA,cACA,gBACEC,EAAqB,GAEnBC,IAAeC,GAClB,MACC,CAACC,EAAuBC,CAAU,KAClC,CAACC,EAAuBD,GAAYE,CAAW,GACjD,CAACA,CAAW,CACd,GACMC,IAAUC,QAEZT,EACG,QACE,MACCU,EAAO,YAAY,MAASR,EAAaQ,EAAO,UAAU,CAC9D,CAAC,CACA,KAAK,MAAWA,EAAO,UAAU,GACtC,CAACV,GAAWE,CAAY,CAC1B,GACMS,IAAaF,QAAc,IAAI,IAAID,CAAO,GAAG,CAACA,CAAO,CAAC,GAEtDI,IAASH,QAEXI,EAAcL,CAAO,CAAC,CAAC,KAAK,EAAE,UAAO,sBAAmB;EACtD,IAAIM,EAAM;EACV,OAAOjB,EAAGiB,EAAM,UAAUA,EAAM,KAAK;EACrC,aAAajB,EAAGiB,EAAM,gBAAgBA,EAAM,WAAW;EACvD;CACF,EAAE,GACJ,CAACN,GAASX,CAAE,CACd;CAeA,OAAO;EACL;EACA,QAhBaY,QAAc;GAC3B,IAAMM,IAAU,IAAI,IAAIH,EAAO,SAAS,MAAUE,EAAM,WAAW,CAAC;GACpE,OAAON,EAAQ,QAAQ,MAAe,CAACO,EAAQ,IAAIV,CAAU,CAAC;EAChE,GAAG,CAACO,GAAQJ,CAAO,CAajB;EACA,WAZgBL,GACf,MAAuBQ,EAAW,IAAIN,CAAU,GACjD,CAACM,CAAU,CAUX;EACA,OATYR,GACX,MAAuBa,EAAYX,GAAYR,GAAIG,CAAS,GAC7D,CAACA,GAAWH,CAAE,CAOd;EAGA,SACGoB,KAAajB,EAAU,WAAW,KAClC,CAACkB,KAAY,CAACC,KAAS,CAACC;EAC3B,QAAQpB,EAAU,WAAW,IAAImB,IAAQ,SAASC,KAAa;EAC/D,OAAOC;CACT;AACF"}
@@ -0,0 +1,7 @@
1
+ export interface OnceAtATime<T> {
2
+ /** This item's action is on its way. */
3
+ busy: (item: T) => boolean;
4
+ /** Runs the action for this item, unless it is already on its way. */
5
+ start: (item: T) => void;
6
+ }
7
+ export declare function useOnceAtATime<T>(action: (item: T) => Promise<void>, keyOf: (item: T) => string): OnceAtATime<T>;
@@ -0,0 +1,17 @@
1
+ import { useRef as e, useState as t } from "react";
2
+ // src/export/workspace-v2/useOnceAtATime.ts
3
+ function n(n, r) {
4
+ let i = e(/* @__PURE__ */ new Set()), [a, o] = t(/* @__PURE__ */ new Set()), s = () => o(new Set(i.current));
5
+ return {
6
+ busy: (e) => a.has(r(e)),
7
+ start: (e) => {
8
+ let t = r(e);
9
+ i.current.has(t) || (i.current.add(t), s(), n(e).finally(() => {
10
+ i.current.delete(t), s();
11
+ }));
12
+ }
13
+ };
14
+ }
15
+ export { n as useOnceAtATime };
16
+
17
+ //# sourceMappingURL=useOnceAtATime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useOnceAtATime.js","names":["useOnceAtATime","inFlight","useRef","busy","setBusy","useState","show","keyOf","item","key","action"],"sources":["../../../src/export/workspace-v2/useOnceAtATime.ts"],"sourcesContent":["/**\n * One action at a time per item (BOFF-15822): while an item's action is on\n * its way, pressing it again does nothing, and `busy` lets its button wait.\n * For actions that create something (Run now, Try again, Make again, Save as\n * a setup), where a second press would make a second one.\n */\nimport { useRef, useState } from \"react\";\n\nexport interface OnceAtATime<T> {\n /** This item's action is on its way. */\n busy: (item: T) => boolean;\n /** Runs the action for this item, unless it is already on its way. */\n start: (item: T) => void;\n}\n\nexport function useOnceAtATime<T>(\n action: (item: T) => Promise<void>,\n keyOf: (item: T) => string,\n): OnceAtATime<T> {\n // The guard (a ref, so two quick presses can't both pass) and what draws.\n const inFlight = useRef(new Set<string>());\n const [busy, setBusy] = useState<ReadonlySet<string>>(new Set());\n const show = () => setBusy(new Set(inFlight.current));\n return {\n busy: (item) => busy.has(keyOf(item)),\n start: (item) => {\n const key = keyOf(item);\n if (inFlight.current.has(key)) return;\n inFlight.current.add(key);\n show();\n void action(item).finally(() => {\n inFlight.current.delete(key);\n show();\n });\n },\n };\n}\n"],"mappings":";;AAeA,SAAgBA,EACd,GACA,GACgB;CAEhB,IAAMC,IAAWC,kBAAO,IAAI,IAAY,CAAC,GACnC,CAACC,GAAMC,KAAWC,kBAA8B,IAAI,IAAI,CAAC,GACzDC,UAAaF,EAAQ,IAAI,IAAIH,EAAS,OAAO,CAAC;CACpD,OAAO;EACL,OAAO,MAASE,EAAK,IAAII,EAAMC,CAAI,CAAC;EACpC,QAAQ,MAAS;GACf,IAAMC,IAAMF,EAAMC,CAAI;GACtB,AAAIP,EAAS,QAAQ,IAAIQ,CAAG,MAC5BR,EAAS,QAAQ,IAAIQ,CAAG,GACxBH,EAAK,GACLI,EAAYF,CAAI,CAAC,CAAC,cAAc;IAE9B,AADAP,EAAS,QAAQ,OAAOQ,CAAG,GAC3BH,EAAK;GACP,CAAC;EACH;CACF;AACF"}