{"version":3,"file":"static/chunks/6833.74d513d5f08ba8f2.js","mappings":"8uBAGO,IAAMA,EAAoB,CAC/BC,UAAU,CAAE,GADgB,UACH,CACzBC,OAAO,CAAE,SAAAA,EAAA,OAAM,CAAI,EACnBC,CADmB,WACP,IAAAC,MAAA,CAAKC,mBAAmC,mCACtD,CAAC,CAEYC,EAAc,SAAH,CAA2B,EAAK,MAgBhDC,EAhBgBD,EAgBAE,EAAA,GACjBC,GAAK,GADY,WAEV,EAhBcC,EAgBKD,EAAME,GAAD,GAhBoB,EAAE,EAgBX,CAf5B,CAAC,OACS,GADC,CAAE,SAAS,CAAE,WAAW,CAAC,CACzBC,IAAI,CAAC,SAAAC,CAAO,MAAAC,EAAA,eAAAA,EAAIJ,CAAAA,CAAU,OAAd,IAAcI,EAAA,OAAVA,EAAYC,QAAQ,CAApB,EAA6B,EAAC,GAGpEL,CAHmE,IAGrDM,KAAJ,EACC,EADY,EAAE,IACjB,CAAY,CAEtBN,GAAc,OAAJ,GAAc,EAIrBA,EAIuC,EAC/C,CACD,KANmB,CAOjBO,CAAAA,EAAAA,EAAAA,GAAAA,CAAA,QAAKC,SAAS,CAAC,KAAK,CAAC,cAAY,gBAAgB,CAAC,sBAAoB,6BAA6B,CAAAC,QAAA,CACjGF,CAAAA,EAAAA,EAAAA,GAAAA,CAAA,CAACG,EAAAA,iBAAiB,CAAAZ,EAAAA,EAAA,CAACa,MAAM,CAAErB,CAAT,KAAqC,IAAAmB,QAAA,CACrDF,CAAAA,EAAAA,EAAAA,GAAAA,CAAA,CAACK,EAAAA,WAAe,CAAAd,EAAA,GAAKD,GAAoB,EACxB,CAAC,CACjB,CAFe,CAIvB","sources":["webpack://_N_E/../../libs/mi-common-static-components/src/organisms/CardLayered/CardLayered.tsx","webpack://_N_E/../../libs/mi-common-static-components/src/organisms/CardLayered/index.tsx"],"sourcesContent":["import { EditableComponent } from '@adobe/aem-react-editable-components';\nimport { CardLayered as CardLayeredComp, CardLayeredProps } from '@marriott/mi-ui-library';\n\nexport const CardLayeredConfig = {\n emptyLabel: 'CardLayered',\n isEmpty: () => true,\n resourceType: `${process.env['NEXT_PUBLIC_AEM_SITE']}/components/content/cardlayered`,\n};\n\nexport const CardLayered = (props: CardLayeredProps) => {\n // Style system classes are modified only for organism.\n function modifyStyleClass(styleClass: string | undefined) {\n const keywords = ['standard', 'inverse', 'alternate'];\n const hasKeyword = keywords.some(keyword => styleClass?.includes(keyword));\n\n if (!hasKeyword) {\n if (styleClass == undefined) {\n styleClass = 'inverse';\n } else {\n styleClass += ' inverse';\n }\n }\n\n return styleClass;\n }\n const cardLayeredProps = {\n ...props,\n styleclass: modifyStyleClass(props.styleclass),\n };\n return (\n