@bonprix-ds/react-step-navi 1.0.7 → 1.1.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.
package/dist/index.js CHANGED
@@ -1,79 +1,2 @@
1
- import { Children as e, cloneElement as t } from "react";
2
- import { tv as n } from "tailwind-variants";
3
- import r from "@bonprix-ds/react-icon";
4
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
- //#region src/StepNaviStep.tsx
6
- var o = n({
7
- slots: {
8
- container: "preflight w-full flex flex-col gap-1.5 items-center l:items-start xl:items-start group focus:outline-none",
9
- icon: "h-5 w-5 fill-clr-fg-success invisible",
10
- bar: "w-full h-1 bg-clr-bg-disabled",
11
- labelSlot: ["typography-input-helper-text text-center text-clr-primary l:text-left xl:text-left px-1 break-all", "group-focus-visible:outline outline-2 outline-offset-2 rounded-sm outline-clr-primary"]
12
- },
13
- variants: {
14
- active: { true: { bar: "bg-clr-primary" } },
15
- completed: { true: { icon: "visible" } },
16
- disabled: {
17
- true: { labelSlot: "text-clr-disabled" },
18
- false: { bar: "group-hover:bg-clr-primary" }
19
- }
20
- }
21
- }), s = ({ children: e, href: t, active: n, completed: s, disabled: c }) => {
22
- let { container: l, icon: u, bar: d, labelSlot: f } = o({
23
- active: n,
24
- completed: s,
25
- disabled: c
26
- });
27
- return /* @__PURE__ */ a("a", {
28
- href: c ? void 0 : t,
29
- className: l(),
30
- "aria-current": n ? "step" : "false",
31
- "aria-disabled": c ? "true" : "false",
32
- "data-bpds-completed": s,
33
- children: [
34
- /* @__PURE__ */ i(r, {
35
- variant: "check-bold",
36
- className: u()
37
- }),
38
- /* @__PURE__ */ i("div", { className: d() }),
39
- /* @__PURE__ */ a("div", {
40
- className: f(),
41
- children: [e, s && /* @__PURE__ */ i("span", {
42
- className: "sr-only",
43
- children: " erfüllter schritt"
44
- })]
45
- })
46
- ]
47
- });
48
- };
49
- s.displayName = "StepNavi.Step";
50
- //#endregion
51
- //#region src/StepNavi.tsx
52
- var c = (e, t, n) => e > n + 1 ? (console.error("activeStep must not be greater than completedSteps + 1"), n + 1) : e > t ? (console.error("activeStep must not be greater than the amount of steps. activeStep is set to last available step"), t) : e, l = ({ completedSteps: n = 0, activeStep: r = n + 1, children: a, ariaLabel: o }) => {
53
- let s = e.toArray(a), l = c(r, s.length, n);
54
- return /* @__PURE__ */ i("nav", {
55
- "aria-label": o,
56
- "data-bpds": "step-navi",
57
- "data-bpds-completed-steps": n,
58
- "data-bpds-active-step": l,
59
- children: /* @__PURE__ */ i("ol", {
60
- className: "preflight m-0 flex list-none flex-row gap-1 p-0",
61
- children: s.map((e, r) => {
62
- let a = r + 1;
63
- return /* @__PURE__ */ i("li", {
64
- className: "flex-1",
65
- children: t(e, {
66
- active: l === a,
67
- completed: n >= a,
68
- disabled: a > n + 1
69
- })
70
- }, e.key ?? a);
71
- })
72
- })
73
- });
74
- };
75
- l.displayName = "StepNavi", l.Step = s;
76
- //#endregion
77
- export { l as default };
78
-
79
- //# sourceMappingURL=index.js.map
1
+ import e from "./src/StepNavi.js";
2
+ export { e as default };
@@ -1,6 +1,7 @@
1
1
  import React, { ReactElement } from "react";
2
2
  import StepNaviStep, { StepNaviStepInternalProps, StepNaviStepProps } from "./StepNaviStep";
3
3
  type StepElement = ReactElement<StepNaviStepProps & StepNaviStepInternalProps, typeof StepNaviStep>;
4
+ /** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */
4
5
  export interface Props {
5
6
  /** StepNavi.Step subcomponents should be placed here. */
6
7
  children: StepElement | StepElement[];
@@ -11,6 +12,7 @@ export interface Props {
11
12
  /** Accessible label for the navigation. */
12
13
  ariaLabel?: string;
13
14
  }
15
+ /** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */
14
16
  declare const StepNavi: {
15
17
  ({ completedSteps, activeStep, children, ariaLabel }: Props): React.JSX.Element;
16
18
  displayName: string;
@@ -0,0 +1,34 @@
1
+ import e from "./StepNaviStep.js";
2
+ import { Children as t, cloneElement as n } from "react";
3
+ import { warnDeprecated as r } from "@bonprix-ds/utils/deprecation";
4
+ import { jsx as i } from "react/jsx-runtime";
5
+ //#region src/StepNavi.tsx
6
+ var a = (e, t, n) => e > n + 1 ? (console.error("activeStep must not be greater than completedSteps + 1"), n + 1) : e > t ? (console.error("activeStep must not be greater than the amount of steps. activeStep is set to last available step"), t) : e, o = ({ completedSteps: e = 0, activeStep: o = e + 1, children: s, ariaLabel: c }) => {
7
+ r("step-navi-component");
8
+ let l = t.toArray(s), u = a(o, l.length, e);
9
+ return /* @__PURE__ */ i("nav", {
10
+ "aria-label": c,
11
+ "data-bpds": "step-navi",
12
+ "data-bpds-completed-steps": e,
13
+ "data-bpds-active-step": u,
14
+ children: /* @__PURE__ */ i("ol", {
15
+ className: "preflight m-0 flex list-none flex-row gap-1 p-0",
16
+ children: l.map((t, r) => {
17
+ let a = r + 1;
18
+ return /* @__PURE__ */ i("li", {
19
+ className: "flex-1",
20
+ children: n(t, {
21
+ active: u === a,
22
+ completed: e >= a,
23
+ disabled: a > e + 1
24
+ })
25
+ }, t.key ?? a);
26
+ })
27
+ })
28
+ });
29
+ };
30
+ o.displayName = "StepNavi", o.Step = e;
31
+ //#endregion
32
+ export { o as default };
33
+
34
+ //# sourceMappingURL=StepNavi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepNavi.js","names":["StepNaviStep","checkActiveStep","activeStep","completedSteps","stepsQuantity","StepNavi","steps","Children","children","checkedActiveStep","ariaLabel","stepNumber","index","cloneElement","step"],"sources":["../../src/StepNavi.tsx"],"sourcesContent":["import React, { Children, cloneElement, ReactElement } from \"react\";\n\nimport { warnDeprecated } from \"@bonprix-ds/utils/deprecation\";\n\nimport StepNaviStep, { StepNaviStepInternalProps, StepNaviStepProps } from \"./StepNaviStep\";\n\ntype StepElement = ReactElement<StepNaviStepProps & StepNaviStepInternalProps, typeof StepNaviStep>;\n\n/** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */\nexport interface Props {\n /** StepNavi.Step subcomponents should be placed here. */\n children: StepElement | StepElement[];\n /** Amount of completed steps. */\n completedSteps?: number;\n /** Currently active step. Not index based, so starts with 1. */\n activeStep?: number;\n /** Accessible label for the navigation. */\n ariaLabel?: string;\n}\n\nconst checkActiveStep = (activeStep: number, stepsQuantity: number, completedSteps: number) => {\n if (activeStep > completedSteps + 1) {\n console.error(\"activeStep must not be greater than completedSteps + 1\");\n return completedSteps + 1;\n }\n\n if (activeStep > stepsQuantity) {\n console.error(\"activeStep must not be greater than the amount of steps. activeStep is set to last available step\");\n return stepsQuantity;\n }\n\n return activeStep;\n};\n\n/** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */\nconst StepNavi = ({ completedSteps = 0, activeStep = completedSteps + 1, children, ariaLabel }: Props) => {\n warnDeprecated(\"step-navi-component\");\n\n const steps = Children.toArray(children) as StepElement[];\n const checkedActiveStep = checkActiveStep(activeStep, steps.length, completedSteps);\n\n return (\n <nav aria-label={ariaLabel} data-bpds=\"step-navi\" data-bpds-completed-steps={completedSteps} data-bpds-active-step={checkedActiveStep}>\n <ol className=\"preflight m-0 flex list-none flex-row gap-1 p-0\">\n {steps.map((step, index) => {\n const stepNumber = index + 1;\n\n return (\n <li className=\"flex-1\" key={step.key ?? stepNumber}>\n {cloneElement(step, {\n active: checkedActiveStep === stepNumber,\n completed: completedSteps >= stepNumber,\n disabled: stepNumber > completedSteps + 1,\n })}\n </li>\n );\n })}\n </ol>\n </nav>\n );\n};\n\nStepNavi.displayName = \"StepNavi\";\n\nStepNavi.Step = StepNaviStep;\n\nexport default StepNavi;\n"],"mappings":";;;;;AAoBA,IAAMC,KAAmB,GAAoB,GAAuB,MAC9DC,IAAaC,IAAiB,KAChC,QAAQ,MAAM,wDAAwD,GAC/DA,IAAiB,KAGtBD,IAAaE,KACf,QAAQ,MAAM,mGAAmG,GAC1GA,KAGFF,GAIHG,KAAY,EAAE,oBAAiB,GAAG,gBAAaF,IAAiB,GAAG,aAAU,mBAAuB;CACxG,EAAe,qBAAqB;CAEpC,IAAMG,IAAQC,EAAS,QAAQC,CAAQ,GACjCC,IAAoBR,EAAgBC,GAAYI,EAAM,QAAQH,CAAc;CAElF,OACE,kBAAC,OAAD;EAAK,cAAYO;EAAW,aAAU;EAAY,6BAA2BP;EAAgB,yBAAuBM;EAClH,UAAA,kBAAC,MAAD;GAAI,WAAU;GACX,UAAAH,EAAM,KAAK,GAAM,MAAU;IAC1B,IAAMK,IAAaC,IAAQ;IAE3B,OACE,kBAAC,MAAD;KAAI,WAAU;KACX,UAAAC,EAAaC,GAAM;MAClB,QAAQL,MAAsBE;MAC9B,WAAWR,KAAkBQ;MAC7B,UAAUA,IAAaR,IAAiB;KAC1C,CAAC;IACC,GANwBW,EAAK,OAAOH,CAMpC;GAER,CAAC;EACC,CAAA;CACD,CAAA;AAET;AAEA,EAAS,cAAc,YAEvB,EAAS,OAAOX"}
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ /** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */
2
3
  export interface StepNaviStepProps {
3
4
  /** The name of the step. */
4
5
  children: string;
@@ -11,6 +12,7 @@ export interface StepNaviStepProps {
11
12
  */
12
13
  export interface StepNaviStepInternalProps {
13
14
  }
15
+ /** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */
14
16
  declare const StepNaviStep: {
15
17
  ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps): React.JSX.Element;
16
18
  displayName: string;
@@ -0,0 +1,53 @@
1
+ import "react";
2
+ import { tv as e } from "tailwind-variants";
3
+ import t from "@bonprix-ds/react-icon";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
+ //#region src/StepNaviStep.tsx
6
+ var i = e({
7
+ slots: {
8
+ container: "preflight group flex w-full flex-col items-center gap-1.5 focus:outline-none l:items-start xl:items-start",
9
+ icon: "invisible h-5 w-5 fill-clr-fg-success",
10
+ bar: "h-1 w-full bg-clr-bg-disabled",
11
+ labelSlot: ["typography-input-helper-text break-all px-1 text-center text-clr-primary l:text-left xl:text-left", "rounded-sm outline-2 outline-offset-2 outline-clr-primary group-focus-visible:outline"]
12
+ },
13
+ variants: {
14
+ active: { true: { bar: "bg-clr-primary" } },
15
+ completed: { true: { icon: "visible" } },
16
+ disabled: {
17
+ true: { labelSlot: "text-clr-disabled" },
18
+ false: { bar: "group-hover:bg-clr-primary" }
19
+ }
20
+ }
21
+ }), a = ({ children: e, href: a, active: o, completed: s, disabled: c }) => {
22
+ let { container: l, icon: u, bar: d, labelSlot: f } = i({
23
+ active: o,
24
+ completed: s,
25
+ disabled: c
26
+ });
27
+ return /* @__PURE__ */ r("a", {
28
+ href: c ? void 0 : a,
29
+ className: l(),
30
+ "aria-current": o ? "step" : "false",
31
+ "aria-disabled": c ? "true" : "false",
32
+ "data-bpds-completed": s,
33
+ children: [
34
+ /* @__PURE__ */ n(t, {
35
+ variant: "check-bold",
36
+ className: u()
37
+ }),
38
+ /* @__PURE__ */ n("div", { className: d() }),
39
+ /* @__PURE__ */ r("div", {
40
+ className: f(),
41
+ children: [e, s && /* @__PURE__ */ n("span", {
42
+ className: "sr-only",
43
+ children: " erfüllter schritt"
44
+ })]
45
+ })
46
+ ]
47
+ });
48
+ };
49
+ a.displayName = "StepNavi.Step";
50
+ //#endregion
51
+ export { a as default };
52
+
53
+ //# sourceMappingURL=StepNaviStep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepNaviStep.js","names":["Icon","generateClasses","tv","StepNaviStep","disabled","href","container","active","completed","icon","bar","labelSlot","children"],"sources":["../../src/StepNaviStep.tsx"],"sourcesContent":["import React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\n// inspired by https://a11y-guidelines.orange.com/en/articles/disable-elements/#disable-a-link\nimport Icon from \"@bonprix-ds/react-icon\";\n\nconst generateClasses = tv({\n slots: {\n container: \"preflight group flex w-full flex-col items-center gap-1.5 focus:outline-none l:items-start xl:items-start\",\n icon: \"invisible h-5 w-5 fill-clr-fg-success\",\n bar: \"h-1 w-full bg-clr-bg-disabled\",\n labelSlot: [\n \"typography-input-helper-text break-all px-1 text-center text-clr-primary l:text-left xl:text-left\",\n \"rounded-sm outline-2 outline-offset-2 outline-clr-primary group-focus-visible:outline\",\n ],\n },\n variants: {\n active: {\n true: {\n bar: \"bg-clr-primary\",\n },\n },\n completed: {\n true: { icon: \"visible\" },\n },\n disabled: {\n true: {\n labelSlot: \"text-clr-disabled\",\n },\n false: {\n bar: \"group-hover:bg-clr-primary\",\n },\n },\n },\n});\n\n/** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */\nexport interface StepNaviStepProps {\n /** The name of the step. */\n children: string;\n /** The href attribute for the step link. */\n href?: string;\n}\n\n/**\n * `StepNavi` derives these for each of its steps and passes them in. They are not meant to be set\n * from the outside, so each one is tagged internal and left out of the generated API table.\n */\nexport interface StepNaviStepInternalProps {\n /** @internal */\n active?: boolean;\n /** @internal */\n completed?: boolean;\n /** @internal */\n disabled?: boolean;\n}\n\n/** @deprecated [step-navi-component] No replacement, build the step navigation in your application. */\nconst StepNaviStep = ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps) => {\n const { container, icon, bar, labelSlot } = generateClasses({ active, completed, disabled });\n return (\n <a\n href={disabled ? undefined : href}\n className={container()}\n aria-current={active ? \"step\" : \"false\"}\n aria-disabled={disabled ? \"true\" : \"false\"}\n data-bpds-completed={completed}\n >\n <Icon variant=\"check-bold\" className={icon()} />\n <div className={bar()}></div>\n <div className={labelSlot()}>\n {children}\n {completed && <span className=\"sr-only\"> erfüllter schritt</span>}\n </div>\n </a>\n );\n};\n\nStepNaviStep.displayName = \"StepNavi.Step\";\n\nexport default StepNaviStep;\n"],"mappings":";;;;;AAMA,IAAMC,IAAkBC,EAAG;CACzB,OAAO;EACL,WAAW;EACX,MAAM;EACN,KAAK;EACL,WAAW,CACT,qGACA,uFACF;CACF;CACA,UAAU;EACR,QAAQ,EACN,MAAM,EACJ,KAAK,iBACP,EACF;EACA,WAAW,EACT,MAAM,EAAE,MAAM,UAAU,EAC1B;EACA,UAAU;GACR,MAAM,EACJ,WAAW,oBACb;GACA,OAAO,EACL,KAAK,6BACP;EACF;CACF;AACF,CAAC,GAwBKC,KAAgB,EAAE,aAAU,SAAM,WAAQ,cAAW,kBAA8D;CACvH,IAAM,EAAE,cAAW,SAAM,QAAK,iBAAcF,EAAgB;EAAE;EAAQ;EAAW;CAAS,CAAC;CAC3F,OACE,kBAAC,KAAD;EACE,MAAMG,IAAW,KAAA,IAAYC;EAC7B,WAAWC,EAAU;EACrB,gBAAcC,IAAS,SAAS;EAChC,iBAAeH,IAAW,SAAS;EACnC,uBAAqBI;EALvB,UAAA;GAOE,kBAACR,GAAD;IAAM,SAAQ;IAAa,WAAWS,EAAK;GAAI,CAAA;GAC/C,kBAAC,OAAD,EAAK,WAAWC,EAAI,EAAQ,CAAA;GAC5B,kBAAC,OAAD;IAAK,WAAWC,EAAU;IAA1B,UAAA,CACGC,GACAJ,KAAa,kBAAC,QAAD;KAAM,WAAU;KAAU,UAAA;IAAwB,CAAA,CAC7D;;EACJ;;AAEP;AAEA,EAAa,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonprix-ds/react-step-navi",
3
- "version": "1.0.7",
3
+ "version": "1.1.0",
4
4
  "description": "StepNavi component, implemented in React, for the Bonprix Design System.",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",
@@ -32,18 +32,17 @@
32
32
  "provenance": true
33
33
  },
34
34
  "dependencies": {
35
- "@bonprix-ds/react-icon": "1.2.1",
36
- "@bonprix-ds/utils": "0.2.2"
35
+ "@bonprix-ds/react-icon": "1.2.2",
36
+ "@bonprix-ds/utils": "0.3.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/react": "19.3.0",
40
- "@vitejs/plugin-react": "6.1.1",
41
- "rollup-preserve-directives": "1.1.3",
42
- "vite": "8.3.0"
40
+ "vite": "8.3.2",
41
+ "@bonprix-ds/vite-config": "0.0.0"
43
42
  },
44
43
  "peerDependencies": {
45
- "react": "^19.3.0",
46
- "react-dom": "^19.3.0",
44
+ "react": "^19",
45
+ "react-dom": "^19",
47
46
  "tailwind-variants": "0.3.1"
48
47
  },
49
48
  "scripts": {
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/StepNaviStep.tsx","../src/StepNavi.tsx"],"sourcesContent":["import React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\n// inspired by https://a11y-guidelines.orange.com/en/articles/disable-elements/#disable-a-link\nimport Icon from \"@bonprix-ds/react-icon\";\n\nconst generateClasses = tv({\n slots: {\n container: \"preflight w-full flex flex-col gap-1.5 items-center l:items-start xl:items-start group focus:outline-none\",\n icon: \"h-5 w-5 fill-clr-fg-success invisible\",\n bar: \"w-full h-1 bg-clr-bg-disabled\",\n labelSlot: [\n \"typography-input-helper-text text-center text-clr-primary l:text-left xl:text-left px-1 break-all\",\n \"group-focus-visible:outline outline-2 outline-offset-2 rounded-sm outline-clr-primary\",\n ],\n },\n variants: {\n active: {\n true: {\n bar: \"bg-clr-primary\",\n },\n },\n completed: {\n true: { icon: \"visible\" },\n },\n disabled: {\n true: {\n labelSlot: \"text-clr-disabled\",\n },\n false: {\n bar: \"group-hover:bg-clr-primary\",\n },\n },\n },\n});\n\nexport interface StepNaviStepProps {\n /** The name of the step. */\n children: string;\n /** The href attribute for the step link. */\n href?: string;\n}\n\n/**\n * `StepNavi` derives these for each of its steps and passes them in. They are not meant to be set\n * from the outside, so each one is tagged internal and left out of the generated API table.\n */\nexport interface StepNaviStepInternalProps {\n /** @internal */\n active?: boolean;\n /** @internal */\n completed?: boolean;\n /** @internal */\n disabled?: boolean;\n}\n\nconst StepNaviStep = ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps) => {\n const { container, icon, bar, labelSlot } = generateClasses({ active, completed, disabled });\n return (\n <a\n href={disabled ? undefined : href}\n className={container()}\n aria-current={active ? \"step\" : \"false\"}\n aria-disabled={disabled ? \"true\" : \"false\"}\n data-bpds-completed={completed}\n >\n <Icon variant=\"check-bold\" className={icon()} />\n <div className={bar()}></div>\n <div className={labelSlot()}>\n {children}\n {completed && <span className=\"sr-only\"> erfüllter schritt</span>}\n </div>\n </a>\n );\n};\n\nStepNaviStep.displayName = \"StepNavi.Step\";\n\nexport default StepNaviStep;\n","import React, { Children, cloneElement, ReactElement } from \"react\";\n\nimport StepNaviStep, { StepNaviStepInternalProps, StepNaviStepProps } from \"./StepNaviStep\";\n\ntype StepElement = ReactElement<StepNaviStepProps & StepNaviStepInternalProps, typeof StepNaviStep>;\n\nexport interface Props {\n /** StepNavi.Step subcomponents should be placed here. */\n children: StepElement | StepElement[];\n /** Amount of completed steps. */\n completedSteps?: number;\n /** Currently active step. Not index based, so starts with 1. */\n activeStep?: number;\n /** Accessible label for the navigation. */\n ariaLabel?: string;\n}\n\nconst checkActiveStep = (activeStep: number, stepsQuantity: number, completedSteps: number) => {\n if (activeStep > completedSteps + 1) {\n console.error(\"activeStep must not be greater than completedSteps + 1\");\n return completedSteps + 1;\n }\n\n if (activeStep > stepsQuantity) {\n console.error(\"activeStep must not be greater than the amount of steps. activeStep is set to last available step\");\n return stepsQuantity;\n }\n\n return activeStep;\n};\n\nconst StepNavi = ({ completedSteps = 0, activeStep = completedSteps + 1, children, ariaLabel }: Props) => {\n const steps = Children.toArray(children) as StepElement[];\n const checkedActiveStep = checkActiveStep(activeStep, steps.length, completedSteps);\n\n return (\n <nav aria-label={ariaLabel} data-bpds=\"step-navi\" data-bpds-completed-steps={completedSteps} data-bpds-active-step={checkedActiveStep}>\n <ol className=\"preflight m-0 flex list-none flex-row gap-1 p-0\">\n {steps.map((step, index) => {\n const stepNumber = index + 1;\n\n return (\n <li className=\"flex-1\" key={step.key ?? stepNumber}>\n {cloneElement(step, {\n active: checkedActiveStep === stepNumber,\n completed: completedSteps >= stepNumber,\n disabled: stepNumber > completedSteps + 1,\n })}\n </li>\n );\n })}\n </ol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