{"version":3,"file":"Examples.D58WwtVB.mjs","names":["__esmMin","init_jsx_runtime","c","init_OIjZRBmWDcIE2B6qgG1j","createStore","init_store_js__1_0","init_utils_js__0_9","init_default_utils_js__0_45","withRtl","Component","props","init_Examples"],"sources":["https:/framer.com/m/framer/default-utils.js@^0.45.0","https:/framerusercontent.com/modules/dR9ups2yFqMyU4sqGhIx/8sbdSg74JsDrUzAwdkiS/Examples.js"],"sourcesContent":["/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export function withRtl(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{direction:\"rtl\",textAlign:\"right\",...props.style}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRtl\":{\"type\":\"reactHoc\",\"name\":\"withRtl\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"A,8PCC2iB,SAAgBQ,EAAQ,EAAU,CAAC,MAAO,IAA4B,gBAAKC,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,UAAU,MAAM,UAAU,QAAQ,GAAGA,EAAM,KAAK,CAAC,CAAC,CAAI,C,0CAAxrBN,EAAY,CAAC,WAAW,SAAS,CAAC,C"}