{"version":3,"file":"AppStoreRedirect.DPBga5de.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Dl8rDYm5ufXNfxxlTjgL/gfa2hfVMijrOD1mFCvaK/AppStoreRedirect.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withAppStoreRedirect(Component){return props=>{function goToAppStore(){const ua=navigator.userAgent||navigator.vendor||window.opera;if(/iPad|iPhone|iPod/.test(ua)&&!window.MSStream){window.location.href=\"https://apps.apple.com/us/app/hummus-republic-app/id6737941560\";}else if(/android/i.test(ua)){window.location.href=\"https://play.google.com/store/apps/details?id=ai.appfront.thehummusrepublic\";}else{window.location.href=\"https://apps.apple.com/us/app/hummus-republic-app/id6737941560\";}}return /*#__PURE__*/_jsx(Component,{...props,onClick:goToAppStore});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withAppStoreRedirect\":{\"type\":\"reactHoc\",\"name\":\"withAppStoreRedirect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AppStoreRedirect.map"],"mappings":"yHAA2C,SAAgB,EAAqB,EAAU,CAAC,MAAO,IAAO,CAAC,SAAS,GAAc,CAAC,IAAM,EAAG,EAAU,WAAW,EAAU,QAAQ,EAAO,MAAS,mBAAmB,KAAK,EAAG,EAAE,CAAC,EAAO,SAAU,EAAO,SAAS,KAAK,iEAA0E,WAAW,KAAK,EAAG,CAAE,EAAO,SAAS,KAAK,8EAAoF,EAAO,SAAS,KAAK,iEAAmE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAa,CAAC,uBAA9jB"}