{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Z8hJKY4eoWwdoXl2hbVH/bXTPd1s6Wcjkev4WonAT/Scrubs_loja.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";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 /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});window.open(\"https://apps.apple.com/br/app/neri-scrubs/id6502113048\",\"_blank\");}});});}var AppName;(function(AppName){AppName[AppName[\"CHECKS\"]=0]=\"CHECKS\";AppName[AppName[\"SCRUBS\"]=1]=\"SCRUBS\";})(AppName||(AppName={}));const storeURLs={[0]:{ios:\"https://apps.apple.com/br/app/neri-checks/id6737634363\",android:\"https://play.google.com/store/apps/details?id=care.neri.checks&hl=pt_BR\"},[1]:{ios:\"https://apps.apple.com/br/app/neri-scrubs/id6502113048\",android:\"https://play.google.com/store/apps/details?id=care.neri.profissional&hl=pt_BR\"}};function isIOS(){const ua=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(ua)&&!window.MSStream;}function handleClick(app){const targetURL=isIOS()?storeURLs[app].ios:storeURLs[app].android;window.open(targetURL,\"_blank\");}export function withOnClick(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>handleClick(1)});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withOnClick\":{\"type\":\"reactHoc\",\"name\":\"withOnClick\",\"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=./Scrubs_loja.map"],
  "mappings": "6HACA,IAAMA,EAASC,EAAY,CAAC,WAAW,SAAS,CAAC,EAA8rB,IAAIC,GAAS,SAASA,EAAQ,CAACA,EAAQA,EAAQ,OAAU,CAAC,EAAE,SAASA,EAAQA,EAAQ,OAAU,CAAC,EAAE,QAAS,GAAGA,IAAUA,EAAQ,CAAC,EAAE,EAAE,IAAMC,EAAU,CAAE,EAAG,CAAC,IAAI,yDAAyD,QAAQ,yEAAyE,EAAG,EAAG,CAAC,IAAI,yDAAyD,QAAQ,+EAA+E,CAAC,EAAE,SAASC,GAAO,CAAC,IAAMC,EAAGC,EAAU,WAAWA,EAAU,QAAQC,EAAO,MAAM,MAAM,mBAAmB,KAAKF,CAAE,GAAG,CAACE,EAAO,QAAS,CAAC,SAASC,EAAYC,EAAI,CAAC,IAAMC,EAAUN,EAAM,EAAED,EAAUM,CAAG,EAAE,IAAIN,EAAUM,CAAG,EAAE,QAAQF,EAAO,KAAKG,EAAU,QAAQ,CAAE,CAAQ,SAASC,EAAYC,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAIL,EAAY,CAAC,CAAC,CAAC,CAAI",
  "names": ["useStore", "createStore", "AppName", "storeURLs", "isIOS", "ua", "navigator", "window", "handleClick", "app", "targetURL", "withOnClick", "Component", "props", "p"]
}
