{"version":3,"file":"axios_provider.20dbc4df.js","sources":["../../../app/javascript/helpers/axios_provider.js"],"sourcesContent":["import axios from 'axios';\r\n\r\nexport const generateAxiosInstance = () => {\r\n const token = document.cookie.replace(/(?:(?:^|.*;\\s*)mints_contact_session_token\\s*\\=\\s*([^;]*).*$)|^.*$/, \"$1\");\r\n\r\n axios.defaults.headers.common['x-api-key'] = '9c6334a7-8215-46ff-8ec9-f442cdc43cac';\r\n axios.defaults.headers.common['Accept'] = 'application/json';\r\n axios.defaults.headers.common['Content-Type'] = 'application/json';\r\n axios.defaults.headers.common['ApiKey'] = '99296b00807e5fe3931bdb0b7b48b32f';\r\n axios.defaults.headers.common['Authorization'] = `Bearer ${token}`;\r\n\r\n return axios;\r\n};"],"names":["generateAxiosInstance","token","axios"],"mappings":"wCAEY,MAACA,EAAwB,IAAM,CACvC,MAAMC,EAAQ,SAAS,OAAO,QAAQ,qEAAsE,IAAI,EAEhH,OAAAC,EAAM,SAAS,QAAQ,OAAO,WAAW,EAAI,uCAC7CA,EAAM,SAAS,QAAQ,OAAO,OAAY,mBAC1CA,EAAM,SAAS,QAAQ,OAAO,cAAc,EAAI,mBAChDA,EAAM,SAAS,QAAQ,OAAO,OAAY,mCAC1CA,EAAM,SAAS,QAAQ,OAAO,cAAmB,UAAUD,CAAK,GAEzDC,CACX"}