{"version":3,"file":"Styles.CXEXrnct.mjs","names":[],"sources":["https:/framerusercontent.com/modules/33b4lupquXoANm9SBJZJ/Mlcl7rm0MB8lsQo018JQ/Styles.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,cloneElement,isValidElement}from\"react\";export function SectionWithNegativeMargins(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,marginLeft:\"-16px\",paddingLeft:\"16px\",paddingRight:\"16px\",width:\"calc(100% + 16px * 2)\"}});});}export function WithCenterText(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,textAlign:\"center\"}});});}export function WithMinHeight100(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,minHeight:\"100%\"}});});}export function WithEqualChildrenHeight(Component){return /*#__PURE__*/forwardRef((props,ref)=>{function applyStyleRecursive(element,depth=0){if(!/*#__PURE__*/isValidElement(element))return element;const style={height:\"100%\"};const children=element.props.children;const newChildren=Array.isArray(children)?children.map(child=>applyStyleRecursive(child,depth+1)):children?applyStyleRecursive(children,depth+1):children;// merge styles sem fazer spread do props inteiro\nconst mergedStyle={...element.props?.style??{},...style};return /*#__PURE__*/cloneElement(element,{style:mergedStyle,children:newChildren});}const{children,style:parentStyle,...rest}=props;const updatedChildren=Array.isArray(children)?children.map(child=>applyStyleRecursive(child)):applyStyleRecursive(children);return /*#__PURE__*/_jsx(Component,{ref:ref,...rest,style:parentStyle,children:updatedChildren});});}\nexport const __FramerMetadata__ = {\"exports\":{\"SectionWithNegativeMargins\":{\"type\":\"reactHoc\",\"name\":\"SectionWithNegativeMargins\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WithCenterText\":{\"type\":\"reactHoc\",\"name\":\"WithCenterText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WithMinHeight100\":{\"type\":\"reactHoc\",\"name\":\"WithMinHeight100\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WithEqualChildrenHeight\":{\"type\":\"reactHoc\",\"name\":\"WithEqualChildrenHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Styles.map"],"mappings":"gIAAqG,SAAgB,EAA2B,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,WAAW,QAAQ,YAAY,OAAO,aAAa,OAAO,MAAM,uBAAuB,CAAC,CAAC,CAAG,CAAE,CAAyX,SAAgB,EAAwB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,SAAS,EAAoB,EAAQ,EAAM,EAAE,CAAC,GAAG,CAAc,EAAe,CAAO,EAAE,OAAO,EAAQ,IAAM,EAAM,CAAC,OAAO,MAAM,EAAQ,EAAS,EAAQ,MAAM,SAAe,EAAY,MAAM,QAAQ,CAAQ,EAAE,EAAS,IAAI,GAAO,EAAoB,EAAM,EAAM,CAAC,CAAC,EAAE,GAAS,EAAoB,EAAS,EAAM,CAAC,EACxkC,OAAoB,EAAa,EAAQ,CAAC,MAAM,CAAtF,GAAG,EAAQ,OAAO,OAAO,CAAC,EAAE,GAAG,CAAiE,EAAE,SAAS,CAAW,CAAC,CAAE,CAAC,GAAK,CAAC,WAAS,MAAM,EAAY,GAAG,GAAM,EAAY,EAAgB,MAAM,QAAQ,CAAQ,EAAE,EAAS,IAAI,GAAO,EAAoB,CAAK,CAAC,EAAE,EAAoB,CAAQ,EAAE,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAK,MAAM,EAAY,SAAS,CAAe,CAAC,CAAE,CAAC,CAAE,iBADnX,IAA0D"}