{"version":3,"file":"promotionSignUp-B8HxDZ7V.js","sources":["../../../app/javascript/api/promotionSignUp.js"],"sourcesContent":["import api from \"./index\";\n\nexport default {\n async emailSignUp(props) {\n try {\n const response = await api.post(\"/subscribe\", props);\n return response.data;\n } catch (error) {\n return false;\n }\n },\n async smsSignUp(props) {\n try {\n const response = await api.post(\"/subscribe_to_sms\", props);\n return response.data;\n } catch (error) {\n return false;\n }\n }\n};\n"],"names":["promotionSignUp","props","api"],"mappings":"wCAEA,MAAeA,EAAA,CACb,MAAM,YAAYC,EAAO,CACvB,GAAI,CAEF,OADiB,MAAMC,EAAI,KAAK,aAAcD,CAAK,GACnC,IACjB,MAAe,CACd,MAAO,EACb,CACG,EACD,MAAM,UAAUA,EAAO,CACrB,GAAI,CAEF,OADiB,MAAMC,EAAI,KAAK,oBAAqBD,CAAK,GAC1C,IACjB,MAAe,CACd,MAAO,EACb,CACA,CACA"}