{"version":3,"file":"RTLDirection.C-KRaRMP.mjs","names":[],"sources":["https:/framerusercontent.com/modules/yvfGR9F5KOgE7nTVXNOB/rpnDnrCgn5q3WAx8yYsP/RTLDirection.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";/**\n * User request:\n * Create a Framer code override named RTLDirection that can be applied to an existing canvas\n * page breakpoint or layout-template breakpoint. It must preserve the wrapped element’s existing\n * styles and behavior while setting HTML/CSS direction to rtl, text alignment inheritance\n * appropriately, and an Arabic language hint where supported. Do not force every child to right\n * alignment or reverse explicitly authored layout; rely on inherited RTL direction. The override\n * should be minimal and safe across responsive breakpoints. Create it in a clearly named new code file.\n */export function RTLDirection(Component){return /*#__PURE__*/forwardRef(function RTLDirectionOverride(props,ref){const mergedStyle={...props.style,direction:\"rtl\",textAlign:\"inherit\"};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,dir:\"rtl\",lang:props.lang??\"ar\",style:mergedStyle});});}\nexport const __FramerMetadata__ = {\"exports\":{\"RTLDirection\":{\"type\":\"reactHoc\",\"name\":\"RTLDirection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RTLDirection.map"],"mappings":"kHAQG,SAAgB,EAAa,EAAU,CAAC,OAAoB,EAAW,SAA8B,EAAM,EAAI,CAAC,IAAM,EAAY,CAAC,GAAG,EAAM,MAAM,UAAU,MAAM,UAAU,SAAS,EAAE,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,IAAI,MAAM,KAAK,EAAM,MAAM,KAAK,MAAM,CAAW,CAAC,CAAE,CAAC,CAAE,iBAR5P,IAA8B"}