@rulecms/source-components-angular 0.1.0 → 0.2.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.
@@ -12,6 +12,18 @@ import type { ButtonTone } from './button-presets';
12
12
  * button to differ still override it per column, as before.
13
13
  */
14
14
  export declare const BUTTON_CSS_VARIABLE_PREFIX = "--rulecms-button";
15
+ /**
16
+ * Per-instance slots the library stylesheet reads. The preset writes these on
17
+ * the element; a column `backgroundColor` rewrite and a future widget-level
18
+ * token both land on the same names.
19
+ */
20
+ export declare const BUTTON_FILL_VARIABLE = "--rulecms-button-fill";
21
+ export declare const BUTTON_FILL_HOVER_VARIABLE = "--rulecms-button-fill-hover";
22
+ export declare const BUTTON_FILL_ACTIVE_VARIABLE = "--rulecms-button-fill-active";
23
+ export declare const BUTTON_INK_VARIABLE = "--rulecms-button-ink";
24
+ export declare const BUTTON_INK_HOVER_VARIABLE = "--rulecms-button-ink-hover";
25
+ export declare const BUTTON_BORDER_VARIABLE = "--rulecms-button-border";
26
+ export declare const BUTTON_RING_VARIABLE = "--rulecms-button-ring";
15
27
  /**
16
28
  * The suffixes on a tone's custom properties. `''` is the tone's main colour,
17
29
  * e.g. `--rulecms-button-brand`.
@@ -1 +1 @@
1
- {"version":3,"file":"button-css-variables.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/button-css-variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,0BAA0B,qBAAqB,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GACxB,EAAE,GACF,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,eAAe,CAAC;AAEpB,eAAO,MAAM,eAAe,SAAU,UAAU,SAAQ,gBAAgB,KAAQ,MAG3B,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,iBAAkB,MAAM,YAAY,MAAM,KAAG,MACvC,CAAC;AAEtC,6EAA6E;AAC7E,eAAO,MAAM,SAAS,SACd,UAAU,QACV,gBAAgB,YACZ,MAAM,KACf,MAAmE,CAAC"}
1
+ {"version":3,"file":"button-css-variables.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/button-css-variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,0BAA0B,qBAAqB,CAAC;AAE7D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,0BAAuC,CAAC;AACzE,eAAO,MAAM,0BAA0B,gCAA6C,CAAC;AACrF,eAAO,MAAM,2BAA2B,iCAA8C,CAAC;AACvF,eAAO,MAAM,mBAAmB,yBAAsC,CAAC;AACvE,eAAO,MAAM,yBAAyB,+BAA4C,CAAC;AACnF,eAAO,MAAM,sBAAsB,4BAAyC,CAAC;AAC7E,eAAO,MAAM,oBAAoB,0BAAuC,CAAC;AAEzE;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GACxB,EAAE,GACF,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,eAAe,CAAC;AAEpB,eAAO,MAAM,eAAe,SAAU,UAAU,SAAQ,gBAAgB,KAAQ,MAG3B,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,iBAAkB,MAAM,YAAY,MAAM,KAAG,MACvC,CAAC;AAEtC,6EAA6E;AAC7E,eAAO,MAAM,SAAS,SACd,UAAU,QACV,gBAAgB,YACZ,MAAM,KACf,MAAmE,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * SSR-safe rules for `r-button` pseudo-classes.
3
+ *
4
+ * widget-angular injects this once per library via `ComponentLibraryModule.stylesheet`.
5
+ * The sheet owns `background-color`, `color`, and `border-color` so `:hover`
6
+ * can win — those properties on an inline style beat any stylesheet rule.
7
+ * Resting values arrive as `--rulecms-button-fill` / `-ink` / `-border` on
8
+ * the element. A column background override rewrites the fill slots and
9
+ * derives hover/active with `color-mix`, so an arbitrary red does not keep
10
+ * the brand-blue hover.
11
+ *
12
+ * Outline is never cleared: the designed ring is a `box-shadow` on
13
+ * `:focus-visible`, on top of the browser's native focus outline.
14
+ */
15
+ export declare const BUTTON_LIBRARY_STYLESHEET: string;
16
+ //# sourceMappingURL=button-library-stylesheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-library-stylesheet.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/button-library-stylesheet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,QA2B9B,CAAC"}
@@ -1,13 +1,29 @@
1
1
  import type { CssStyleMap as CSSProperties } from '../../../../types';
2
2
  import type { ButtonPreset } from './button-presets';
3
3
  /**
4
- * The preset's contribution to the button's inline style.
4
+ * The preset's contribution to the button's inline style, including resting
5
+ * colours as real CSS properties. The composer picker uses this so a swatch
6
+ * looks right without the library stylesheet.
5
7
  *
6
8
  * Callers spread column `styleProps` *after* this, which is what makes the
7
9
  * preset a set of defaults rather than a set of rules: anything the author
8
10
  * touched in Column Styles lands later in the object and wins.
9
11
  */
10
12
  export declare function buildButtonPresetStyles(preset: ButtonPreset): CSSProperties;
13
+ /**
14
+ * What `RButton` puts on the element. Same as the picker styles, minus the
15
+ * colour properties the library stylesheet owns — those stay on the element
16
+ * only as custom properties so `:hover` can change them.
17
+ */
18
+ export declare function buildButtonRenderStyles(preset: ButtonPreset): CSSProperties;
19
+ /**
20
+ * Column styles still win on everything except `backgroundColor`, which is
21
+ * remapped onto the fill slots so hover/active follow the authored colour
22
+ * instead of the preset's blue-family hover.
23
+ */
24
+ export declare function applyButtonColumnStyles(styleProps?: CSSProperties | {
25
+ [key: string]: unknown;
26
+ }): CSSProperties;
11
27
  /** Applied on top when the button is disabled, before column styles. */
12
28
  export declare const disabledStyles: CSSProperties;
13
29
  //# sourceMappingURL=button-preset-styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-preset-styles.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/button-preset-styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAc,MAAM,kBAAkB,CAAC;AA0GjE;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,aAAa,CAM3E;AAED,wEAAwE;AACxE,eAAO,MAAM,cAAc,EAAE,aAG5B,CAAC"}
1
+ {"version":3,"file":"button-preset-styles.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/button-preset-styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAc,MAAM,kBAAkB,CAAC;AAwLjE;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,aAAa,CAO3E;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,aAAa,CAM3E;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,CAAC,EAAE,aAAa,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GACtD,aAAa,CAkBf;AAED,wEAAwE;AACxE,eAAO,MAAM,cAAc,EAAE,aAG5B,CAAC"}
@@ -35,10 +35,9 @@ export declare const isButtonSize: (value: unknown) => value is ButtonSize;
35
35
  /**
36
36
  * The colour slots a tone fills.
37
37
  *
38
- * `hover` / `active` / `softHover` are defined but not yet rendered: a source
39
- * component cannot ship a `:hover` rule to a customer's page today, so there
40
- * is nothing to attach them to. They live here so that adding the stylesheet
41
- * later is a delivery change rather than a redesign of every tone.
38
+ * `hover` / `active` / `softHover` are consumed by the library stylesheet
39
+ * (`button-library-stylesheet.ts`) via the per-instance fill slots. Changing
40
+ * a tone here is still a palette change, not a delivery change.
42
41
  */
43
42
  export type TonePalette = {
44
43
  /** Solid fill, and the text colour for outline / ghost / link. */
@@ -1 +1 @@
1
- {"version":3,"file":"button-presets.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/button-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,6CAA6C;AAC7C,eAAO,MAAM,eAAe,wDAAyD,CAAC;AAEtF,kDAAkD;AAClD,eAAO,MAAM,YAAY,oDAAqD,CAAC;AAE/E,mEAAmE;AACnE,eAAO,MAAM,YAAY,yCAA0C,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAInC,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,OAAO,KAAG,KAAK,IAAI,aACR,CAAC;AAEnD,eAAO,MAAM,YAAY,UAAW,OAAO,KAAG,KAAK,IAAI,UACX,CAAC;AAE7C,eAAO,MAAM,YAAY,UAAW,OAAO,KAAG,KAAK,IAAI,UACX,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,UAAU,EAAE,WAAW,CA2CzD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,UAAU,EAAE,SAAS,CAyCrD,CAAC"}
1
+ {"version":3,"file":"button-presets.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/button-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,6CAA6C;AAC7C,eAAO,MAAM,eAAe,wDAAyD,CAAC;AAEtF,kDAAkD;AAClD,eAAO,MAAM,YAAY,oDAAqD,CAAC;AAE/E,mEAAmE;AACnE,eAAO,MAAM,YAAY,yCAA0C,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YA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declare class RButtonComponent {
12
12
  get preset(): import("@rulecms/source-components-angular").ButtonPreset;
13
13
  get disabled(): boolean;
14
14
  get style(): {
15
- [x: string]: any;
15
+ [x: string]: string | number | undefined;
16
16
  };
17
17
  get label(): string;
18
18
  get ariaLabel(): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"r-button.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/r-button.component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;;AAevE,qBA0Da,gBAAgB;IAClB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAEnD,IAAI,MAAM,8DAET;IACD,IAAI,QAAQ,YAEX;IACD,IAAI,KAAK;;MAMR;IACD,IAAI,KAAK,WAER;IACD,IAAI,SAAS,uBAEZ;IACD,IAAI,IAAI,8EAEP;IACD,IAAI,QAAQ,IAAI,QAAQ,GAAG,IAAI,CAE9B;IACD,IAAI,YAAY,2BAEf;IAED,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCAnCpB,gBAAgB;2CAAhB,gBAAgB;CA0C5B"}
1
+ {"version":3,"file":"r-button.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-button/r-button.component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;;AAmBvE,qBAyEa,gBAAgB;IAClB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAEnD,IAAI,MAAM,8DAET;IACD,IAAI,QAAQ,YAEX;IACD,IAAI,KAAK;;MAMR;IACD,IAAI,KAAK,WAER;IACD,IAAI,SAAS,uBAEZ;IACD,IAAI,IAAI,8EAEP;IACD,IAAI,QAAQ,IAAI,QAAQ,GAAG,IAAI,CAE9B;IACD,IAAI,YAAY,2BAEf;IAED,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCAnCpB,gBAAgB;2CAAhB,gBAAgB;CA0C5B"}
@@ -16,6 +16,12 @@ export declare const manifest: {
16
16
  };
17
17
  /** The render surface: component type → renderable entry. */
18
18
  export declare const components: Record<string, import("@rulecms/source-components-angular").RenderCardEntry>;
19
+ /**
20
+ * Optional `ComponentLibraryModule.stylesheet`. widget-angular injects this
21
+ * once per library as an SSR `<style>` tag. v1 is the button hover / focus /
22
+ * active rules; later interactive cards append here.
23
+ */
24
+ export declare const stylesheet: string;
19
25
  /** The editor surface: palette + attribute metadata for the RuleCMS composer. */
20
26
  export declare const editor: {
21
27
  previewComponents: import("@rulecms/source-components-angular").PreviewComponents;
@@ -1 +1 @@
1
- {"version":3,"file":"component-library-module.d.ts","sourceRoot":"","sources":["../../src/lib/component-library-module.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,UAAU,8EAAyC,CAAC;AAEjE,iFAAiF;AACjF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
1
+ {"version":3,"file":"component-library-module.d.ts","sourceRoot":"","sources":["../../src/lib/component-library-module.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,UAAU,8EAAyC,CAAC;AAEjE;;;;GAIG;AACH,eAAO,MAAM,UAAU,QAA4B,CAAC;AAEpD,iFAAiF;AACjF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulecms/source-components-angular",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Angular source components for RuleCMS — the Angular counterpart of @rulecms/source-components-react",
5
5
  "license": "UNLICENSED",
6
6
  "author": "RuleCMS, LLC",
package/public-api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { getSourceComponentsPlugin } from './lib/get-source-components-plugin';
2
2
  export { getComponentMetadataForEditing } from './lib/get-component-metadata-for-editing';
3
3
  export { getPreviewComponents, getPreviewCardGroups } from './lib/get-preview-components';
4
- export { manifest, components, editor } from './lib/component-library-module';
4
+ export { manifest, components, editor, stylesheet } from './lib/component-library-module';
5
5
  export * from './lib/types';
6
6
  export { ENCLOSING_TAGS, BLOCK_ENCLOSING_TAGS, INLINE_ENCLOSING_TAGS, isEnclosingTag, isBlockEnclosingTag, } from './lib/base-components/display/components/r-text/enclosing-tags';
7
7
  export type { EnclosingTag } from './lib/base-components/display/components/r-text/enclosing-tags';
@@ -12,8 +12,9 @@ export type { InlineMarks, MarkupRun, MarkupTextRun, MarkupSpanRun, MarkupBreakR
12
12
  export { BUTTON_VARIANTS, BUTTON_TONES, BUTTON_SIZES, DEFAULT_BUTTON_PRESET, TONE_PALETTES, SIZE_SCALES, isButtonVariant, isButtonTone, isButtonSize, } from './lib/base-components/display/components/r-button/button-presets';
13
13
  export type { ButtonPreset, ButtonVariant, ButtonTone, ButtonSize, TonePalette, SizeScale, } from './lib/base-components/display/components/r-button/button-presets';
14
14
  export { resolveButtonPreset } from './lib/base-components/display/components/r-button/resolve-button-preset';
15
- export { buildButtonPresetStyles, disabledStyles as buttonDisabledStyles, } from './lib/base-components/display/components/r-button/button-preset-styles';
16
- export { BUTTON_CSS_VARIABLE_PREFIX, toneCssVariable, } from './lib/base-components/display/components/r-button/button-css-variables';
15
+ export { buildButtonPresetStyles, buildButtonRenderStyles, applyButtonColumnStyles, disabledStyles as buttonDisabledStyles, } from './lib/base-components/display/components/r-button/button-preset-styles';
16
+ export { BUTTON_LIBRARY_STYLESHEET } from './lib/base-components/display/components/r-button/button-library-stylesheet';
17
+ export { BUTTON_CSS_VARIABLE_PREFIX, BUTTON_FILL_VARIABLE, BUTTON_FILL_HOVER_VARIABLE, BUTTON_FILL_ACTIVE_VARIABLE, BUTTON_INK_VARIABLE, BUTTON_INK_HOVER_VARIABLE, BUTTON_BORDER_VARIABLE, BUTTON_RING_VARIABLE, toneCssVariable, } from './lib/base-components/display/components/r-button/button-css-variables';
17
18
  export { ICON_POSITIONS, DEFAULT_BUTTON_LABEL, DEFAULT_ICON_POSITION, } from './lib/base-components/display/components/r-button/button-attributes';
18
19
  export type { IconPosition } from './lib/base-components/display/components/r-button/button-attributes';
19
20
  export { BUTTON_CLICK_HANDLER_PROP } from './lib/base-components/display/components/r-button/button-instance-props';
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAE1F,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE9E,cAAc,aAAa,CAAC;AAE5B,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,EACd,mBAAmB,GACpB,MAAM,gEAAgE,CAAC;AACxE,YAAY,EAAE,YAAY,EAAE,MAAM,gEAAgE,CAAC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