"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../api/commons.js"),m=require("../../conf/index.js"),n=process.env.VITE_REACT_APP_API_ROOT||m.Config.REACT_APP_API_ROOT||null,l=o=>{const e=new FormData,{files:a,organization:t,name:r,email:i,message:c,country:p,token:d}=o;return a.forEach(s=>e.append("files",s,s.name)),e.append("organization",t),e.append("name",r),e.append("email",i),e.append("country",p),e.append("message",c),e.append("token",d),fetch((n||"")+"/api/utils/showCaseForm",{mode:"cors",method:"POST",body:e})},b=o=>u.post((n||"")+"/api/utils/subscribe",o);exports.sendShowCase=l;exports.subscribe=b;
