{"version":3,"file":"WrapperScroll.bs0jbNvp.mjs","names":[],"sources":["https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/3o5kw0xEdA3M7R6q25Ul/cdBUCkIS9ydQqLT1WFVj/WrapperScroll.js"],"sourcesContent":["export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.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/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotateOne(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHoverOne(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColorOne(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export function WrapperScroll(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{scrollSnapType:\"x mandatory\"}});};}export function ItemWrapper(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style||{},scrollSnapAlign:\"center\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHoverOne\":{\"type\":\"reactHoc\",\"name\":\"withHoverOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WrapperScroll\":{\"type\":\"reactHoc\",\"name\":\"WrapperScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotateOne\":{\"type\":\"reactHoc\",\"name\":\"withRotateOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColorOne\":{\"type\":\"reactHoc\",\"name\":\"withRandomColorOne\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ItemWrapper\":{\"type\":\"reactHoc\",\"name\":\"ItemWrapper\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WrapperScroll.map"],"mappings":"4KAAa,EAAgB,CACzB,QAAS,OACT,eAAgB,SAChB,WAAY,SACf,CAWG,CADA,GAAG,EACO,qBEdsiB,SAAgB,EAAc,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,eAAe,cAAc,CAAC,CAAC,CAAI,SAAgB,EAAY,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,OAAO,EAAE,CAAC,gBAAgB,SAAS,CAAC,CAAC,kBADhzB,IAAqE,IAAqE,CACtK,EAAY,CAAC,WAAW,UAAU,CAAC"}