import{Z as t}from"./index-4e8c1b57.js";const a=s=>{const e=new URLSearchParams(s);return fetch(t(`/api/sessions/?${e.toString()}`))},n=s=>fetch(t(`/api/sessions/${s}/`)),i=(s,e)=>fetch(t(`/api/sessions/${s}/`,"PUT",e)),o=s=>{const e=new URLSearchParams(s);return fetch(t(`/api/prerequisites/?${e.toString()}`))},c=(s,e)=>fetch(t(`/api/experiments/${s}/data/?session_id=${e}`)),u=s=>fetch(t("/api/bonus/","POST",s)),P=s=>fetch(t("/api/bonus/coursecredits","POST",s)),p=(s,e)=>fetch(t(`/api/turkers/${s}/`,"POST",e));export{n as a,P as b,p as c,c as d,o as e,a as g,u as s,i as u};