@central-icons-react/round-filled-radius-2-stroke-2 1.2.4 → 1.2.5
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/IconAspectRatio34/index.js +2 -2
- package/IconAspectRatio34/index.js.map +3 -3
- package/IconAspectRatio34/index.mjs +2 -2
- package/IconAspectRatio34/index.mjs.map +3 -3
- package/icons/index.js +2 -2
- package/icons/index.js.map +3 -3
- package/icons/index.mjs +2 -2
- package/icons/index.mjs.map +3 -3
- package/icons-index.json +1 -1
- package/license-check.js +1 -1
- package/package.json +1 -1
- package/skills/central-icons-react/SKILL.md +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var L=Object.create;var{getPrototypeOf:N,defineProperty:i,getOwnPropertyNames:S,getOwnPropertyDescriptor:U}=Object,u=Object.prototype.hasOwnProperty;function x(e){return this[e]}var q,A,B=(e,n,r)=>{var o=e!=null&&typeof e==="object";if(o){var l=n?q??=new WeakMap:A??=new WeakMap,c=l.get(e);if(c)return c}r=e!=null?L(N(e)):{};let s=n||!e||!e.__esModule||!u.call(e,"default")?i(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of S(e))if(!u.call(s,a))i(s,a,{get:x.bind(e,a),enumerable:!0})}if(o)l.set(e,s);return s},V=(e)=>{var n=(w??=new WeakMap).get(e),r;if(n)return n;if(n=i({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of S(e))if(!u.call(n,o))i(n,o,{get:x.bind(e,o),enumerable:!(r=U(e,o))||r.enumerable})}return w.set(e,n),n},w;var D=(e)=>e;function O(e,n){this[e]=D.bind(null,n)}var G=(e,n)=>{for(var r in n)i(e,r,{get:n[r],enumerable:!0,configurable:!0,set:O.bind(n,r)})};var K={};G(K,{IconAspectRatio34:()=>b,default:()=>Q});module.exports=V(K);var d=B(require("react"));var J={};G(J,{CentralIconBase:()=>p});var t=B(require("react")),Z=(e)=>{let n=t.default.useId();return t.default.createElement(v,{...e,instanceId:n})},j=0,k=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(v,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,n)=>k?t.default.createElement(k,{iconProps:{...e,svgRef:n}}):t.default.createElement(Z,{...e,svgRef:n}));p.displayName="CentralIconBase";var v=({children:e,size:n=24,ariaLabel:r,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:a,svgRef:R,renderShapes:
|
|
1
|
+
var L=Object.create;var{getPrototypeOf:N,defineProperty:i,getOwnPropertyNames:S,getOwnPropertyDescriptor:U}=Object,u=Object.prototype.hasOwnProperty;function x(e){return this[e]}var q,A,B=(e,n,r)=>{var o=e!=null&&typeof e==="object";if(o){var l=n?q??=new WeakMap:A??=new WeakMap,c=l.get(e);if(c)return c}r=e!=null?L(N(e)):{};let s=n||!e||!e.__esModule||!u.call(e,"default")?i(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of S(e))if(!u.call(s,a))i(s,a,{get:x.bind(e,a),enumerable:!0})}if(o)l.set(e,s);return s},V=(e)=>{var n=(w??=new WeakMap).get(e),r;if(n)return n;if(n=i({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of S(e))if(!u.call(n,o))i(n,o,{get:x.bind(e,o),enumerable:!(r=U(e,o))||r.enumerable})}return w.set(e,n),n},w;var D=(e)=>e;function O(e,n){this[e]=D.bind(null,n)}var G=(e,n)=>{for(var r in n)i(e,r,{get:n[r],enumerable:!0,configurable:!0,set:O.bind(n,r)})};var K={};G(K,{IconAspectRatio34:()=>b,default:()=>Q});module.exports=V(K);var d=B(require("react"));var J={};G(J,{CentralIconBase:()=>p});var t=B(require("react")),Z=(e)=>{let n=t.default.useId();return t.default.createElement(v,{...e,instanceId:n})},j=0,k=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(v,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,n)=>k?t.default.createElement(k,{iconProps:{...e,svgRef:n}}):t.default.createElement(Z,{...e,svgRef:n}));p.displayName="CentralIconBase";var v=({children:e,size:n=24,ariaLabel:r,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:a,svgRef:R,renderShapes:C,style:E,mode:H="masked",maskId:m,instanceId:f,...M})=>{let g=f?`${m}-${f}`:m,F=H!=="raw"&&!!m,I=c??l??!0,h=I===!0||I==="true",P=s??r,y=C?C(g??f??"icon"):e;return t.default.createElement("svg",{...M,ref:R,"aria-hidden":I,"aria-label":s,role:a??(h?void 0:"img"),width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...E}},P&&!h&&t.default.createElement("title",null,P),F?t.default.createElement(t.default.Fragment,null,t.default.createElement("mask",{id:g,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.default.createElement("g",{fill:"none",style:{color:"#fff"}},y)),t.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${g})`})):y)};var b=d.default.memo(d.default.forwardRef((e,n)=>d.default.createElement(p,{...e,ref:n,ariaLabel:"aspect-ratio-3-4, portrait",maskId:"round-filled-radius-2-stroke-2-IconAspectRatio34"},d.default.createElement("path",{d:"M7 2C5.34315 2 4 3.34315 4 5V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V5C20 3.34315 18.6569 2 17 2H7Z",fill:"currentColor"})))),Q=b;
|
|
2
2
|
|
|
3
|
-
//# debugId=
|
|
3
|
+
//# debugId=C734FDB0A64F3C8264756E2164756E21
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["src/IconAspectRatio34/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconAspectRatio34: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"aspect-ratio-3-4, portrait\"} maskId=\"round-filled-radius-2-stroke-2-IconAspectRatio34\"><path d=\"
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconAspectRatio34: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"aspect-ratio-3-4, portrait\"} maskId=\"round-filled-radius-2-stroke-2-IconAspectRatio34\"><path d=\"M7 2C5.34315 2 4 3.34315 4 5V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V5C20 3.34315 18.6569 2 17 2H7Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconAspectRatio34;\n",
|
|
6
6
|
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: RenderProps },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\n {masked ? (\n <>\n <mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#000\" />\n <g fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
7
|
],
|
|
8
|
-
"mappings": "ghCAAkB,IAAlB,4DCAkB,IAAlB,sBAiBM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,UAAM,MAAM,EAC/B,OAAO,wBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,UAAM,QAAU,WACnB,OACA,cAAc,UAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OACE,wBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,UAAM,WACnC,CAAC,EAAO,IACN,EACE,wBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,wBAAC,EAAD,IAA2B,EAAO,OAAQ,EAAK,CAErD,EACA,EAAgB,YAAc,kBAE9B,IAAM,EAAkE,EACtE,WACA,OAAO,GACP,YACA,QACA,aACA,cAAe,EACf,aAAc,EACd,OACA,SACA,eACA,QACA,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EAC7B,EAAS,GAAuB,GAAc,GAC9C,EAAW,IAAW,IAAQ,IAAW,OACzC,EAAQ,GAAsB,EAC9B,EAAS,EACX,EAAa,GAAgB,GAAc,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AAI,CAC1S,CAAC,EAEa",
|
|
9
|
+
"debugId": "C734FDB0A64F3C8264756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import r from"react";import e from"react";var G=(t)=>{let n=e.useId();return e.createElement(I,{...t,instanceId:n})},k=0,g=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++k}`})}render(){return e.createElement(I,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((t,n)=>g?e.createElement(g,{iconProps:{...t,svgRef:n}}):e.createElement(G,{...t,svgRef:n}));d.displayName="CentralIconBase";var I=({children:t,size:n=24,ariaLabel:u,color:
|
|
1
|
+
import r from"react";import e from"react";var G=(t)=>{let n=e.useId();return e.createElement(I,{...t,instanceId:n})},k=0,g=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++k}`})}render(){return e.createElement(I,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((t,n)=>g?e.createElement(g,{iconProps:{...t,svgRef:n}}):e.createElement(G,{...t,svgRef:n}));d.displayName="CentralIconBase";var I=({children:t,size:n=24,ariaLabel:u,color:C,ariaHidden:h,"aria-hidden":P,"aria-label":l,role:y,svgRef:w,renderShapes:c,style:S,mode:x="masked",maskId:o,instanceId:s,...B})=>{let a=s?`${o}-${s}`:o,V=x!=="raw"&&!!o,i=P??h??!0,p=i===!0||i==="true",m=l??u,f=c?c(a??s??"icon"):t;return e.createElement("svg",{...B,ref:w,"aria-hidden":i,"aria-label":l,role:y??(p?void 0:"img"),width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:C,...S}},m&&!p&&e.createElement("title",null,m),V?e.createElement(e.Fragment,null,e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},f)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):f)};var v=r.memo(r.forwardRef((t,n)=>r.createElement(d,{...t,ref:n,ariaLabel:"aspect-ratio-3-4, portrait",maskId:"round-filled-radius-2-stroke-2-IconAspectRatio34"},r.createElement("path",{d:"M7 2C5.34315 2 4 3.34315 4 5V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V5C20 3.34315 18.6569 2 17 2H7Z",fill:"currentColor"})))),L=v;export{v as IconAspectRatio34,L as default};
|
|
2
2
|
|
|
3
|
-
//# debugId=
|
|
3
|
+
//# debugId=3E99F77AB24D37E264756E2164756E21
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["src/IconAspectRatio34/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconAspectRatio34: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"aspect-ratio-3-4, portrait\"} maskId=\"round-filled-radius-2-stroke-2-IconAspectRatio34\"><path d=\"
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconAspectRatio34: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"aspect-ratio-3-4, portrait\"} maskId=\"round-filled-radius-2-stroke-2-IconAspectRatio34\"><path d=\"M7 2C5.34315 2 4 3.34315 4 5V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V5C20 3.34315 18.6569 2 17 2H7Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconAspectRatio34;\n",
|
|
6
6
|
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: RenderProps },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\n {masked ? (\n <>\n <mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#000\" />\n <g fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
7
|
],
|
|
8
|
-
"mappings": "AAAA,qBCAA,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,EAAM,MAAM,EAC/B,OAAO,gBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,EAAM,QAAU,WACnB,OACA,cAAc,EAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OACE,gBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAA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