{"version":3,"file":"store_ProductPropsLocalStorage.BMeCExPc.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6NueQ0CouAFqjFEtYeCA/oOeDVzQP48ezCVt6uDy4/store_ProductPropsLocalStorage.js"],"sourcesContent":["export const setProductPropsLocalValue=(propKey,propValue)=>{return setProductPropsSessionStorage(propKey,propValue);};export const setProductPropsSessionStorage=(propKey,propValue)=>{if(typeof sessionStorage!==\"undefined\"){sessionStorage.setItem(propKey,propValue);}};export const getProductPropsLocalValue=(propKey,jsonObject)=>{try{if(typeof sessionStorage!==\"undefined\"){const propValue=sessionStorage.getItem(propKey);if(jsonObject===true){return JSON.parse(propValue);}else if(propValue===\"true\"){return true;}else if(propValue===\"false\"){return false;}return propValue;}}catch(error){console.error(`Error decoding ${propKey}`,error);}return\"\";};\nexport const __FramerMetadata__ = {\"exports\":{\"setProductPropsSessionStorage\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getProductPropsLocalValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setProductPropsLocalValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./store_ProductPropsLocalStorage.map"],"mappings":"+EAAa,GAA2B,EAAQ,IAAoB,EAA8B,EAAQ,EAAU,CAAgB,GAA+B,EAAQ,IAAY,CAAI,OAAO,eAAiB,KAAa,eAAe,QAAQ,EAAQ,EAAU,EAAiB,GAA2B,EAAQ,IAAa,CAAC,GAAG,CAAC,GAAG,OAAO,eAAiB,IAAY,CAAC,IAAM,EAAU,eAAe,QAAQ,EAAQ,CAAyI,OAArI,IAAa,GAAa,KAAK,MAAM,EAAU,CAAU,IAAY,OAAe,GAAc,IAAY,QAAgB,GAAc,SAAkB,EAAM,CAAC,QAAQ,MAAM,kBAAkB,IAAU,EAAM,CAAE,MAAM"}