@alfadocs/ui-kit-debug 0.67.1 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/_chunks/{editable-currency-cell-renderer-D1ewvJKO.js → editable-currency-cell-renderer-DHOspPee.js} +875 -857
  2. package/dist/_chunks/editable-currency-cell-renderer-DHOspPee.js.map +1 -0
  3. package/dist/_chunks/editor-overlay-wYm22wZK.js.map +1 -1
  4. package/dist/_chunks/rich-text-editor-VawKN1FI.js +2053 -0
  5. package/dist/_chunks/rich-text-editor-VawKN1FI.js.map +1 -0
  6. package/dist/agent-catalog.json +1 -1
  7. package/dist/components/data-table/data-table.d.ts +1 -1
  8. package/dist/components/data-table/data-table.d.ts.map +1 -1
  9. package/dist/components/data-table/filters/date-range-filter.d.ts +1 -1
  10. package/dist/components/data-table/filters/date-range-filter.d.ts.map +1 -1
  11. package/dist/components/data-table/index.js +1 -1
  12. package/dist/components/data-table/toolbar.d.ts +4 -1
  13. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  14. package/dist/components/editor-overlay/editor-overlay.d.ts.map +1 -1
  15. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts.map +1 -1
  16. package/dist/components/rich-text-editor/index.js +1 -1
  17. package/dist/components/rich-text-editor/rich-text-editor.d.ts +15 -0
  18. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  19. package/dist/i18n/locales/ar.d.ts +2 -0
  20. package/dist/i18n/locales/ar.d.ts.map +1 -1
  21. package/dist/i18n/locales/ar.js +3 -1
  22. package/dist/i18n/locales/ar.js.map +1 -1
  23. package/dist/i18n/locales/de.d.ts +2 -0
  24. package/dist/i18n/locales/de.d.ts.map +1 -1
  25. package/dist/i18n/locales/de.js +3 -1
  26. package/dist/i18n/locales/de.js.map +1 -1
  27. package/dist/i18n/locales/el.d.ts +2 -0
  28. package/dist/i18n/locales/el.d.ts.map +1 -1
  29. package/dist/i18n/locales/el.js +3 -1
  30. package/dist/i18n/locales/el.js.map +1 -1
  31. package/dist/i18n/locales/en.d.ts +2 -0
  32. package/dist/i18n/locales/en.d.ts.map +1 -1
  33. package/dist/i18n/locales/en.js +3 -1
  34. package/dist/i18n/locales/en.js.map +1 -1
  35. package/dist/i18n/locales/es.d.ts +2 -0
  36. package/dist/i18n/locales/es.d.ts.map +1 -1
  37. package/dist/i18n/locales/es.js +3 -1
  38. package/dist/i18n/locales/es.js.map +1 -1
  39. package/dist/i18n/locales/fr.d.ts +2 -0
  40. package/dist/i18n/locales/fr.d.ts.map +1 -1
  41. package/dist/i18n/locales/fr.js +3 -1
  42. package/dist/i18n/locales/fr.js.map +1 -1
  43. package/dist/i18n/locales/hi.d.ts +2 -0
  44. package/dist/i18n/locales/hi.d.ts.map +1 -1
  45. package/dist/i18n/locales/hi.js +3 -1
  46. package/dist/i18n/locales/hi.js.map +1 -1
  47. package/dist/i18n/locales/it.d.ts +2 -0
  48. package/dist/i18n/locales/it.d.ts.map +1 -1
  49. package/dist/i18n/locales/it.js +3 -1
  50. package/dist/i18n/locales/it.js.map +1 -1
  51. package/dist/i18n/locales/ja.d.ts +2 -0
  52. package/dist/i18n/locales/ja.d.ts.map +1 -1
  53. package/dist/i18n/locales/ja.js +3 -1
  54. package/dist/i18n/locales/ja.js.map +1 -1
  55. package/dist/i18n/locales/nl.d.ts +2 -0
  56. package/dist/i18n/locales/nl.d.ts.map +1 -1
  57. package/dist/i18n/locales/nl.js +3 -1
  58. package/dist/i18n/locales/nl.js.map +1 -1
  59. package/dist/i18n/locales/pl.d.ts +2 -0
  60. package/dist/i18n/locales/pl.d.ts.map +1 -1
  61. package/dist/i18n/locales/pl.js +3 -1
  62. package/dist/i18n/locales/pl.js.map +1 -1
  63. package/dist/i18n/locales/pt.d.ts +2 -0
  64. package/dist/i18n/locales/pt.d.ts.map +1 -1
  65. package/dist/i18n/locales/pt.js +3 -1
  66. package/dist/i18n/locales/pt.js.map +1 -1
  67. package/dist/i18n/locales/ro.d.ts +2 -0
  68. package/dist/i18n/locales/ro.d.ts.map +1 -1
  69. package/dist/i18n/locales/ro.js +3 -1
  70. package/dist/i18n/locales/ro.js.map +1 -1
  71. package/dist/i18n/locales/ru.d.ts +2 -0
  72. package/dist/i18n/locales/ru.d.ts.map +1 -1
  73. package/dist/i18n/locales/ru.js +3 -1
  74. package/dist/i18n/locales/ru.js.map +1 -1
  75. package/dist/i18n/locales/sq.d.ts +2 -0
  76. package/dist/i18n/locales/sq.d.ts.map +1 -1
  77. package/dist/i18n/locales/sq.js +3 -1
  78. package/dist/i18n/locales/sq.js.map +1 -1
  79. package/dist/i18n/locales/sv.d.ts +2 -0
  80. package/dist/i18n/locales/sv.d.ts.map +1 -1
  81. package/dist/i18n/locales/sv.js +3 -1
  82. package/dist/i18n/locales/sv.js.map +1 -1
  83. package/dist/i18n/locales/tr.d.ts +2 -0
  84. package/dist/i18n/locales/tr.d.ts.map +1 -1
  85. package/dist/i18n/locales/tr.js +3 -1
  86. package/dist/i18n/locales/tr.js.map +1 -1
  87. package/dist/i18n/locales/zh.d.ts +2 -0
  88. package/dist/i18n/locales/zh.d.ts.map +1 -1
  89. package/dist/i18n/locales/zh.js +3 -1
  90. package/dist/i18n/locales/zh.js.map +1 -1
  91. package/dist/index.js +2 -2
  92. package/dist/locales/ar.json +3 -1
  93. package/dist/locales/de.json +3 -1
  94. package/dist/locales/el.json +3 -1
  95. package/dist/locales/en.json +3 -1
  96. package/dist/locales/es.json +3 -1
  97. package/dist/locales/fr.json +3 -1
  98. package/dist/locales/hi.json +3 -1
  99. package/dist/locales/it.json +3 -1
  100. package/dist/locales/ja.json +3 -1
  101. package/dist/locales/nl.json +3 -1
  102. package/dist/locales/pl.json +3 -1
  103. package/dist/locales/pt.json +3 -1
  104. package/dist/locales/ro.json +3 -1
  105. package/dist/locales/ru.json +3 -1
  106. package/dist/locales/sq.json +3 -1
  107. package/dist/locales/sv.json +3 -1
  108. package/dist/locales/tr.json +3 -1
  109. package/dist/locales/zh.json +3 -1
  110. package/dist/tokens.css +1 -1
  111. package/package.json +1 -1
  112. package/dist/_chunks/editable-currency-cell-renderer-D1ewvJKO.js.map +0 -1
  113. package/dist/_chunks/rich-text-editor-DAeCXiQG.js +0 -1973
  114. package/dist/_chunks/rich-text-editor-DAeCXiQG.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"editor-overlay-wYm22wZK.js","sources":["../../src/components/editor-overlay/editor-overlay.tsx"],"sourcesContent":["/* ------------------------------------------------------------------ */\n/* EditorOverlay — a non-modal, liquid-glass bar docked INSIDE an */\n/* editor region (Gemini / Mac Mail \"Help me write\" style). */\n/* */\n/* Unlike Dialog it does NOT centre on screen, trap focus, or make the */\n/* page inert — and there is NO scrim, so the editor stays visible and */\n/* usable behind it. It expands from the AI pill into a frosted, */\n/* translucent, rounded bar across the editor's block-end edge. The */\n/* host must be `position: relative` (the RichTextEditor editor region */\n/* is); the overlay anchors to it absolutely. Escape and the close */\n/* button dismiss it. Reusable for any editor-attached surface (AI */\n/* draft, future inline tools). */\n/* ------------------------------------------------------------------ */\n\nimport { useCallback, useEffect, useId, useRef, type ReactNode } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { X } from 'lucide-react';\nimport { cva } from 'class-variance-authority';\n\nimport { IconButton } from '../button';\n\nexport interface EditorOverlayProps {\n /** Controlled visibility. */\n open: boolean;\n /** Close request (Escape or the close button). */\n onClose: () => void;\n /** Optional visible heading; renders a header row with a close button. */\n title?: ReactNode;\n /** Accessible name for the overlay region (use when there is no visible title). */\n ariaLabel?: string;\n /** Body content. */\n children: ReactNode;\n /** Optional footer slot (e.g. action buttons), right-aligned. */\n footer?: ReactNode;\n /** Extra classes on the glass card. */\n className?: string;\n}\n\n// Non-blocking liquid-glass bar docked across the editor's block-end edge,\n// expanding from the AI pill. No scrim — the editor stays visible + usable.\nconst cardVariants = cva(\n [\n // Spans the editor's block-end edge (a docked bar) and expands from the pill.\n 'ds:absolute ds:z-20',\n 'ds:[inset-inline-start:var(--spacing-md)] ds:[inset-inline-end:var(--spacing-md)]',\n 'ds:[inset-block-end:var(--spacing-md)]',\n // Slim docked bar — compact but with a little breathing room.\n 'ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]',\n 'ds:p-[var(--spacing-md)]',\n 'ds:rounded-[var(--radius-lg)]',\n // Apple \"Liquid Glass\": a translucent base + backdrop blur/saturate so the\n // editor shows through, a specular top \"rim\" + inner hairline ring, and a\n // soft drop shadow for a floating slab. --card-border is theme-aware (dark\n // hairline on light themes, bright on dark), so the rim reads in all four.\n 'ds:bg-[color-mix(in_srgb,var(--popover)_64%,transparent)]',\n 'ds:backdrop-blur-xl ds:backdrop-saturate-150',\n 'ds:border ds:border-[color-mix(in_srgb,var(--card-border)_70%,transparent)]',\n 'ds:shadow-[inset_0_1px_0_0_var(--card-border),inset_0_0_0_1px_color-mix(in_srgb,var(--card-border)_35%,transparent),var(--shadow-lg)]',\n // Liquid-glass grow out of the pill (bottom-inline-end origin).\n 'ds:origin-bottom-right ds:animate-in ds:fade-in-0 ds:zoom-in-95',\n 'ds:motion-reduce:animate-none',\n ].join(' '),\n);\n\nconst titleClass =\n 'ds:text-[length:var(--font-size-base)] ds:font-medium ds:text-[color:var(--foreground)]';\n\nexport function EditorOverlay({\n open,\n onClose,\n title,\n ariaLabel,\n children,\n footer,\n className,\n}: EditorOverlayProps): React.JSX.Element | null {\n const { t } = useTranslation();\n const cardRef = useRef<HTMLDivElement>(null);\n const restoreFocusRef = useRef<HTMLElement | null>(null);\n const titleId = useId();\n\n const handleClose = useCallback(() => onClose(), [onClose]);\n\n useEffect(() => {\n if (!open) return undefined;\n restoreFocusRef.current = document.activeElement as HTMLElement | null;\n // Move focus into the overlay (non-modal: we don't trap it, just seed it).\n const raf = window.requestAnimationFrame(() => {\n const focusable = cardRef.current?.querySelector<HTMLElement>(\n 'input, textarea, button, [tabindex]:not([tabindex=\"-1\"])',\n );\n (focusable ?? cardRef.current)?.focus();\n });\n const onKeyDown = (event: KeyboardEvent): void => {\n if (event.key === 'Escape') {\n event.stopPropagation();\n handleClose();\n }\n };\n document.addEventListener('keydown', onKeyDown);\n return () => {\n window.cancelAnimationFrame(raf);\n document.removeEventListener('keydown', onKeyDown);\n restoreFocusRef.current?.focus?.();\n };\n }, [open, handleClose]);\n\n if (!open) return null;\n\n return (\n <div data-component=\"editor-overlay\">\n <div\n ref={cardRef}\n role=\"dialog\"\n aria-modal=\"false\"\n aria-labelledby={title ? titleId : undefined}\n aria-label={title ? undefined : ariaLabel}\n tabIndex={-1}\n className={[cardVariants(), className].filter(Boolean).join(' ')}\n >\n {title ? (\n <div className=\"ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]\">\n <div id={titleId} className={titleClass}>\n {title}\n </div>\n <IconButton\n size=\"sm\"\n intent=\"ghost\"\n icon={<X />}\n aria-label={t('common.close')}\n onClick={handleClose}\n />\n </div>\n ) : null}\n <div className=\"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]\">\n {children}\n </div>\n {footer ? (\n <div className=\"ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]\">\n {footer}\n </div>\n ) : null}\n </div>\n </div>\n );\n}\n"],"names":["cardVariants","cva","titleClass","EditorOverlay","open","onClose","title","ariaLabel","children","footer","className","t","useTranslation","cardRef","useRef","restoreFocusRef","titleId","useId","handleClose","useCallback","useEffect","raf","_b","_a","onKeyDown","event","jsx","jsxs","IconButton","X"],"mappings":";;;;;;AAwCA,MAAMA,IAAeC;AAAA,EACnB;AAAA;AAAA,IAEE;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AACZ,GAEMC,IACJ;AAEK,SAASC,EAAc;AAAA,EAC5B,MAAAC;AAAA,EACA,S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AqB,EAAC,OAAA,EAAI,WAAU,yEACb,UAAA;AAAA,UAAA,gBAAAD,EAAC,OAAA,EAAI,IAAIV,GAAS,WAAWd,GAC1B,UAAAI,GACH;AAAA,UACA,gBAAAoB;AAAA,YAACE;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,QAAO;AAAA,cACP,wBAAOC,GAAA,EAAE;AAAA,cACT,cAAYlB,EAAE,cAAc;AAAA,cAC5B,SAASO;AAAA,YAAA;AAAA,UAAA;AAAA,QACX,EAAA,CACF,IACE;AAAA,QACJ,gBAAAQ,EAAC,OAAA,EAAI,WAAU,kDACZ,UAAAlB,EAAA,CACH;AAAA,QACCC,IACC,gBAAAiB,EAAC,OAAA,EAAI,WAAU,kFACZ,aACH,IACE;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAER,IApCgB;AAsCpB;"}
1
+ {"version":3,"file":"editor-overlay-wYm22wZK.js","sources":["../../src/components/editor-overlay/editor-overlay.tsx"],"sourcesContent":["/* ------------------------------------------------------------------ */\n/* EditorOverlay — a non-modal, liquid-glass bar docked INSIDE an */\n/* editor region (Gemini / Mac Mail \"Help me write\" style). */\n/* */\n/* Unlike Dialog it does NOT centre on screen, trap focus, or make the */\n/* page inert — and there is NO scrim, so the editor stays visible and */\n/* usable behind it. It expands from the AI pill into a frosted, */\n/* translucent, rounded bar across the editor's block-end edge. The */\n/* host must be `position: relative` (the RichTextEditor editor region */\n/* is); the overlay anchors to it absolutely. Escape and the close */\n/* button dismiss it. Reusable for any editor-attached surface (AI */\n/* draft, future inline tools). */\n/* ------------------------------------------------------------------ */\n\nimport { useCallback, useEffect, useId, useRef, type ReactNode } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { X } from 'lucide-react';\nimport { cva } from 'class-variance-authority';\n\nimport { IconButton } from '../button';\n\nexport interface EditorOverlayProps {\n /** Controlled visibility. */\n open: boolean;\n /** Close request (Escape or the close button). */\n onClose: () => void;\n /** Optional visible heading; renders a header row with a close button. */\n title?: ReactNode;\n /** Accessible name for the overlay region (use when there is no visible title). */\n ariaLabel?: string;\n /** Body content. */\n children: ReactNode;\n /** Optional footer slot (e.g. action buttons), right-aligned. */\n footer?: ReactNode;\n /** Extra classes on the glass card. */\n className?: string;\n}\n\n// Non-blocking liquid-glass bar docked across the editor's block-end edge,\n// expanding from the AI pill. No scrim — the editor stays visible + usable.\nconst cardVariants = cva(\n [\n // Spans the editor's block-end edge (a docked bar) and expands from the pill.\n 'ds:absolute ds:z-20',\n 'ds:[inset-inline-start:var(--spacing-md)] ds:[inset-inline-end:var(--spacing-md)]',\n 'ds:[inset-block-end:var(--spacing-md)]',\n // Slim docked bar — compact but with a little breathing room.\n 'ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]',\n 'ds:p-[var(--spacing-md)]',\n 'ds:rounded-[var(--radius-lg)]',\n // Apple \"Liquid Glass\": a translucent base + backdrop blur/saturate so the\n // editor shows through, a specular top \"rim\" + inner hairline ring, and a\n // soft drop shadow for a floating slab. --card-border is theme-aware (dark\n // hairline on light themes, bright on dark), so the rim reads in all four.\n 'ds:bg-[color-mix(in_srgb,var(--popover)_64%,transparent)]',\n 'ds:backdrop-blur-xl ds:backdrop-saturate-150',\n 'ds:border ds:border-[color-mix(in_srgb,var(--card-border)_70%,transparent)]',\n 'ds:shadow-[inset_0_1px_0_0_var(--card-border),inset_0_0_0_1px_color-mix(in_srgb,var(--card-border)_35%,transparent),var(--shadow-lg)]',\n // Liquid-glass grow out of the pill (bottom-inline-end origin).\n 'ds:origin-bottom-right ds:animate-in ds:fade-in-0 ds:zoom-in-95',\n 'ds:motion-reduce:animate-none',\n ].join(' '),\n);\n\nconst titleClass =\n 'ds:text-[length:var(--font-size-base)] ds:font-medium ds:text-[color:var(--foreground)]';\n\nexport function EditorOverlay({\n open,\n onClose,\n title,\n ariaLabel,\n children,\n footer,\n className,\n}: EditorOverlayProps): React.JSX.Element | null {\n const { t } = useTranslation();\n const cardRef = useRef<HTMLDivElement>(null);\n const restoreFocusRef = useRef<HTMLElement | null>(null);\n const titleId = useId();\n\n const handleClose = useCallback(() => onClose(), [onClose]);\n\n useEffect(() => {\n if (!open) return undefined;\n restoreFocusRef.current = document.activeElement as HTMLElement | null;\n // Move focus into the overlay (non-modal: we don't trap it, just seed it).\n const raf = window.requestAnimationFrame(() => {\n const focusable = cardRef.current?.querySelector<HTMLElement>(\n 'input, textarea, button, [tabindex]:not([tabindex=\"-1\"])',\n );\n (focusable ?? cardRef.current)?.focus();\n });\n const onKeyDown = (event: KeyboardEvent): void => {\n if (event.key === 'Escape') {\n event.stopPropagation();\n handleClose();\n }\n };\n document.addEventListener('keydown', onKeyDown);\n return () => {\n window.cancelAnimationFrame(raf);\n document.removeEventListener('keydown', onKeyDown);\n restoreFocusRef.current?.focus?.();\n };\n }, [open, handleClose]);\n\n if (!open) return null;\n\n return (\n <div data-component=\"editor-overlay\">\n <div\n ref={cardRef}\n role=\"dialog\"\n aria-modal=\"false\"\n aria-labelledby={title ? titleId : undefined}\n aria-label={title ? undefined : ariaLabel}\n tabIndex={-1}\n className={[cardVariants(), className].filter(Boolean).join(' ')}\n >\n {/* Header only when there's a visible title — a title-less overlay is a\n header-less composer (named via ariaLabel) whose consumer provides\n its own inline close so no empty band is reserved for it. */}\n {title ? (\n <div className=\"ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]\">\n <div id={titleId} className={titleClass}>\n {title}\n </div>\n <IconButton\n size=\"sm\"\n intent=\"ghost\"\n icon={<X />}\n aria-label={t('common.close')}\n onClick={handleClose}\n />\n </div>\n ) : null}\n <div className=\"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]\">\n {children}\n </div>\n {footer ? (\n <div className=\"ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]\">\n {footer}\n </div>\n ) : null}\n </div>\n </div>\n );\n}\n"],"names":["cardVariants","cva","titleClass","EditorOverlay","open","onClose","title","ariaLabel","children","footer","className","t","useTranslation","cardRef","useRef","restoreFocusRef","titleId","useId","handleClose","useCallback","useEffect","raf","_b","_a","onKeyDown","event","jsx","jsxs","IconButton","X"],"mappings":";;;;;;AAwCA,MAAMA,IAAeC;AAAA,EACnB;AAAA;AAAA,IAEE;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AACZ,GAEMC,IACJ;AAEK,SAASC,EAAc;AAAA,EAC5B,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AACF,GAAiD;AAC/C,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAA,GACRC,IAAUC,EAAuB,IAAI,GACrCC,IAAkBD,EAA2B,IAAI,GACjDE,IAAUC,EAAA,GAEVC,IAAcC,EAAY,MAAMd,KAAW,CAACA,CAAO,CAAC;AA0B1D,SAxBAe,EAAU,MAAM;AACd,QAAI,CAAChB,EAAM;AACX,IAAAW,EAAgB,UAAU,SAAS;AAEnC,UAAMM,IAAM,OAAO,sBAAsB,MAAM;;AAI7C,OAACC,MAHiBC,IAAAV,EAAQ,YAAR,gBAAAU,EAAiB;AAAA,QACjC;AAAA,YAEYV,EAAQ,YAArB,QAAAS,EAA+B;AAAA,IAClC,CAAC,GACKE,IAAY,CAACC,MAA+B;AAChD,MAAIA,EAAM,QAAQ,aAChBA,EAAM,gBAAA,GACNP,EAAA;AAAA,IAEJ;AACA,oBAAS,iBAAiB,WAAWM,CAAS,GACvC,MAAM;;AACX,aAAO,qBAAqBH,CAAG,GAC/B,SAAS,oBAAoB,WAAWG,CAAS,IACjDF,KAAAC,IAAAR,EAAgB,YAAhB,gBAAAQ,EAAyB,UAAzB,QAAAD,EAAA,KAAAC;AAAA,IACF;AAAA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