import{_ as De,M as Me,j as _e,l as Ie,x as Re,k as Oe,a0 as Ye,a as f,N as Se,P as be,m,C as ze,o as s,c as i,w as O,D as E,e as d,d as e,t as n,f as r,h,u,n as T,H,O as ce,g as p,B as P,F as Y,G as X,$ as Le,Q as Fe,I as C,p as Ee,i as He}from"./index-4e8c1b57.js";import{g as Ne}from"./session.service-8f9f625c.js";import{g as Ve}from"./experiment.service-ac7f3adb.js";import{P as je,p as Qe}from"./PDFViewer-2d3305f7.js";import{u as qe}from"./vue.f36acd1f-b96688a7.js";import{h as ue,c as de}from"./formatters-0c84c7aa.js";import{p as x}from"./pluralize-53ef695a.js";import{B as Te}from"./BaseInput-1a25812b.js";import{P as Xe}from"./ProgressBar-b1d3aec1.js";import{D as xe}from"./Demographics-e885dbfa.js";import"./index.esm-1201bb6a.js";import"./constants-b85a7a22.js";import"./NavTabs-635d315d.js";import"./NavBottom-8f7c6b37.js";import"./BaseMultiselect-d0c0021d.js";import"./BaseRadio-a051ce67.js";/* empty css                                                                  */import"./BaseCheckbox-dff8834d.js";const Ge="/assets/trophy-801a1d8f.png",Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADsQAAA7EB9YPtSQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAA2uSURBVHic7Z17tFVFHcc/914uKCDipVBABXwAZhmYEvkoXVBmRqVGvtLQ1DLFfJTaw6VmppaVmo985LKXS3NV+DYMF6Wm0YqHyUNAAcUIMQEVgQv33v74ndPdZ2b23jN773vPOXfmu9Zv3Xv2md9vfjPzm9kzv/nNHKhPnAysBpYBn3Dk7QWcCMwsyVgN/Bk4HmhylHUksBxYA0x15A3IiBZgM9BRojeBnSx5+wOPRHhVegLY0UGPdRHezcAgS96AHNgNveGusOT9o4FXpYcsZV1p4B1uyRuQE09RWfHrSR8FJpPe+GX6dIqsFmCDwvO3DOUIyIhJ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sdxDPv1BFBoCW3r2nQFtVk+J7vCeBzSE0vd5ZQooMAC3t6AkF2qqaUxPYrLPeNb4NFRkAXyv15xVoq2q0RZvXkBMzRYp24LLOeleFMLoQ92fR3wT6/lTYC/1WzuIW2s1Nr0oX+hm1h0MYVrhc8alBa7dpctPrxSuK4Q3E3R4di36CdnWJ9nPTq3KxYrwBPBvSgWHc7OHPQyXaz02vShf6VuQ/6EFKFRyDvl/fT7nPtdz0erFEcaKBBClHBvRhEvJVovnxYgW2ctOr0gWs83Am1DsDU4HPPOz3AUdXYC83vV5c7+FQA7koMa9Cu8cheXR8bD9Zod3c9HqhHZj877z0DOWuLnUif4p7PW2uLmlvJHLTq7I/fjdmhso6ZHWtSLbx8cj5Np9LEUNlB3BSKWUjk5teLxbgP0qHSi9y0fIOJHqeiYzeKUgnnw7cBLwO/FWw7UHkqrXpjch5yOsURRwPVe4PrBXy0+vFpcjaeKqOGATuDa5yN7np9WIekhQhdmf0AtdE0Dec3PR6MR3JkBmrM74l7b58bnq9GIOkMSuSTqVo6QOeQhZpUpObXm8mItktf6e6jtgJPIckaKwbuen1Zm8kxcq7tH52fwVwN4HvvldEW+mNnS5+PyRV2mnI9aVDkOwX05CTLtuATcBa5FjTp8g1qBR38KogN72GYRiGYRiGYRiGYRiGYRiGYdSMfwEc12LZVsoUCwAAAABJRU5ErkJggg==";const g=S=>(Ee("data-v-1d31a278"),S=S(),He(),S),$e={class:"main"},et={key:0,class:"study"},tt={class:"general-info"},st={class:"study-name"},ot={class:"study-researcher"},it={class:"name"},nt={class:"affiliation"},at={class:"overview-sections"},lt={key:0,class:"content fwt-700 color-orange"},rt={class:"region"},ct={class:"title"},ut=["innerHTML"],dt={key:1,class:"region"},At={class:"title"},vt=["innerHTML"],pt={class:"engagement"},mt={key:0,class:"vacancy"},gt={class:"title"},yt={class:"participation-close-note note"},ft={class:"study-info"},ht={class:"info-switchers"},wt=g(()=>e("div",{class:"title"},"Reward",-1)),Bt={class:"body"},kt={key:0},Pt={key:1},Ct={key:2},Dt={class:"subtitle"},Mt={key:0},_t={key:1},It={key:2},Rt=g(()=>e("div",{class:"title"},"Est. Time",-1)),Ot={class:"body"},Yt={class:"subtitle"},St=g(()=>e("div",{class:"title"},"Privacy",-1)),bt={class:"body"},zt={key:0},Lt={key:1},Ft={key:2},Et=g(()=>e("div",{class:"subtitle"},"Protection",-1)),Ht={class:"info-explanation"},Nt={class:"info-explanation-items"},Vt={class:"info-explanation-item"},jt=g(()=>e("img",{src:Ge,class:"info-explanation-icon"},null,-1)),Qt={key:0},qt={key:0},Tt={key:1,class:"color-orange fwt-500"},Xt={key:1},xt={key:2},Gt={class:"info-explanation-item"},Kt=g(()=>e("img",{class:"info-explanation-icon",src:Ke},null,-1)),Jt={key:0},Zt={key:0},Ut=g(()=>e("a",{href:"/history/participation/",target:"_blank"},"history page",-1)),Wt={key:1},$t={key:1},es=g(()=>e("a",{href:"/history/participation/",target:"_blank"},"history page",-1)),ts={key:2},ss={class:"info-explanation-items"},os={class:"info-explanation-item"},is=g(()=>e("img",{class:"info-explanation-icon",src:Je},null,-1)),ns=g(()=>e("div",{class:"info-explanation-item"},[e("img",{class:"info-explanation-icon",src:Ze}),r(" Please make sure you have enough time before starting the study. ")],-1)),as={class:"info-explanation-items"},ls={class:"info-explanation-item"},rs=g(()=>e("img",{class:"info-explanation-icon",src:Ue},null,-1)),cs={key:0},us={key:1},ds={key:2},As={key:3},vs={key:0,class:"info-explanation-item"},ps=g(()=>e("img",{class:"info-explanation-icon",src:We},null,-1)),ms={key:1,class:"enroll"},gs={key:0},ys={class:"fwt-500 color-orange"},fs={key:1},hs={class:"requirement"},ws={key:0,class:"note"},Bs=g(()=>e("div",null,"Please enter the access code provided to you by the researcher:",-1)),ks={key:2},Ps={class:"ineligible-reasons"},Cs=["id","onClick"],Ds={key:2,class:"enroll"},Ms={key:3,class:"enroll"},_s=g(()=>e("div",{class:"fwt-500"},'By clicking "I agree", you hereby consent to the terms as laid out in the above form and agree to participate in the study voluntarily.',-1)),Is={key:1},Rs={__name:"StudyDetailsView",setup(S){const Ae=qe({title:"Loading..."}),A=Me(),G=_e(),K=Ie(),J=Re(),ve=Oe(),pe=Ye(),b=A.params.id,B=f({}),a=f({}),z=f({name:"",affiliation:""}),N=f(!0);let y={},V={mturk:"Mechanical Turk",prolific:"Prolific"};function me(){A.query.workerId?y={platform:"mturk",id:A.query.workerId,workerId:A.query.workerId,assignmentId:A.query.assignmentId??"",hitId:A.query.hitId??""}:A.query.PROLIFIC_PID&&(y={platform:"prolific",id:A.query.PROLIFIC_PID,PROLIFIC_PID:A.query.PROLIFIC_PID,prolific_study_id:A.query.STUDY_ID??"",prolific_session_id:A.query.SESSION_ID??""}),pe.isExternalParticipant=y.id!==void 0}Se(async()=>{await ge()&&(me(),await Promise.all([Z(),ye()]),Ae.patch({title:`${U.value} - FindingFive`,meta:[{name:"description",content:W.value}]}),N.value=!1)});async function ge(){try{const t=await Ve(b);if(t.ok){const o=await t.json();return B.value=o,!0}}catch{return G.push({name:"not-found",params:{pathMatch:A.path.substring(1).split("/")},query:A.query,hash:A.hash}),!1}}async function Z(){const t=y.id?"prolific":`ff_${A.query.t||"regular"}`,c=await Ne({status:"active",expt_id:b,session_type:t});if(c.ok){const l=await c.json();l.length>0&&(a.value=l[0])}}async function ye(){const t=B.value.admin,o=await be(t);if(o.ok){const c=await o.json();z.value.name=c.first_name+" "+c.last_name,z.value.affiliation=c.organization}}m(()=>Object.keys(B.value).length>0);const k=m(()=>Object.keys(a.value).length>0),U=m(()=>a.value.display_name||B.value.display_name||B.value.name),W=m(()=>a.value.description||"This study is currently not recruiting participants. A detailed description will be available once the study is active."),$=m(()=>a.value.notes||B.value.notes),ee=m(()=>{var t;return a.value.cash_compensation_toggle&&((t=a.value.cash_compensation)==null?void 0:t.ff_payment)}),L=m(()=>{if(!k.value)return;const t=a.value.participant_count||{},o=a.value.num_of_participants,c=t.completed||0,l=(t.in_progress||0)+(t.enrolled||0),M=o-c-l,R=Math.round(100*(c/o)),re=Math.round(100*(l/o)),Ce=`${c} (${R}%) completed <br/> ${l} (${re}%) in progress <br/> ${M} spot(s) left`;return{completed:R,inProgress:re,title:Ce,availableCount:M}}),te=m(()=>{const t=ue.unix(a.value.end_time).fromNow(),o=ue.unix(a.value.end_time).format("MMM D, YYYY @ hh:mm A");return{fromNow:t,formatted:o}}),v=m(()=>{var l,M,R;let t=0,o="USD",c=0;return a.value.cash_compensation_toggle?(t=(l=a.value.cash_compensation)==null?void 0:l.amount,o=(M=a.value.cash_compensation)==null?void 0:M.currency.toUpperCase()):a.value.course_credit_compensation_toggle&&(c=(R=a.value.course_credit_compensation)==null?void 0:R.amount),{cash:t,currency:o,courseCredits:c}}),j=m(()=>a.value.expected_duration||B.value.expected_duration||0),D=m(()=>a.value.participant_list||"completed_only"),w=f("reward"),F=f(!1);function se(){F.value=!0}const _=f(""),fe=m(()=>{const t=a.value.consent_form_list||B.value.consent_form;return t||(_.value="No consent form has been uploaded for this study yet."),t?`${Le}/api/consent-forms/${a.value._id}`:""});function he(t){_.value="Unexpected error occurred when retrieving consent form."}const oe=m(()=>!k.value||!(!(navigator.userAgent.indexOf("Chrome")>-1)&&navigator.userAgent.indexOf("Safari")>-1)?!1:parseInt((a.value.renderer_version||"0.0.0").split(".").join(""))<250),ie=m(()=>{let t=[];return a.value.requirements.includes("web_speech_api")&&typeof(window.SpeechRecognition||window.webkitSpeechRecognition)>"u"&&t.push("web_speech_api"),oe.value&&t.push("chrome-or-firefox-required"),t});function we(){K.redirectUrl=A.fullPath,G.push("/signin")}function Be(){const t=`https://renderer.${location.hostname}/study/${y.platform}/participate/${b}?session_id=${a.value._id}`,o=new URLSearchParams(y);window.location.href=`${t}&${o.toString()}`}const Q=f(!1),ne=f(""),ae=f("");function ke(t){const o={general:["dob_year","dob_month","dob_day","gender","sexual_orientation","ethnicity_type","ethnicity","race","race_Asian"],"location-and-culture":["country_of_residence","country_of_origin","languages","religion"],education:["education"],family:["marital_status","num_of_children","children_dob"],occupation:["occupation_industry","occupation_title","employment_status","employment_hours","self_employed","annual_income_currency","annual_income_amount"]};ae.value=t,ne.value=Object.keys(o).find(c=>o[c].includes(t)),Q.value=!0}const q=f(!1),I=f("");function Pe(){if(F.value=!1,!k.value)return;a.value.access_code_toggle?q.value=!0:y.platform?Be():le()}async function le(t=!1){if(t&&(!I.value||I.value.trim()==""))return;const o=await Qe(a.value._id,{access_code:I.value.trim()});if(o.ok)window.location.href=`https://renderer.${location.hostname}/study/participate/${b}?session_id=${a.value._id}`;else{J.disablePage();let c="Unexpected error occurred. Please try again.";o.status===403&&(c=(await o.json()).response),await ve.pop(c,"error",2e3),J.disablePage(!0)}}return(t,o)=>{const c=ze("tippy");return s(),i(H,null,[O(d(Fe,null,null,512),[[E,N.value]]),e("main",$e,[N.value?h("",!0):(s(),i("div",et,[e("div",tt,[e("h4",st,n(U.value),1),e("div",ot,[r("Designed and run by "),e("span",it,n(z.value.name),1),r(" of "),e("span",nt,n(z.value.affiliation),1)]),e("div",at,[k.value?h("",!0):(s(),i("div",lt,"This study is currently not recruiting for participants.")),e("div",rt,[e("div",ct,[d(u(C),{icon:"zondicons:information-outline",inline:"true"}),r(" About this study ")]),e("div",{class:"content",innerHTML:W.value},null,8,ut)]),$.value?(s(),i("div",dt,[e("div",At,[d(u(C),{icon:"gg:notes",inline:"true"}),r(" Additional notes ")]),e("div",{class:"content",innerHTML:$.value},null,8,vt)])):h("",!0)])]),e("div",pt,[k.value?(s(),i("div",mt,[e("div",gt,[d(u(C),{icon:"mdi:counting-5",inline:"true"}),r(" "+n(L.value.availableCount)+" spots left! ",1)]),O(d(Xe,{class:"vacancy-bar",inProgressRate:L.value.inProgress,completionRate:L.value.completed},null,8,["inProgressRate","completionRate"]),[[c,L.value.title]]),e("div",yt," Participation closes "+n(te.value.fromNow)+" on "+n(te.value.formatted),1)])):h("",!0),e("div",ft,[e("div",ht,[e("div",{class:T(["info-switcher",{selected:w.value=="reward"}]),onClick:o[0]||(o[0]=l=>w.value="reward")},[wt,e("div",Bt,[v.value.cash?(s(),i("div",kt,n(u(de)(v.value.currency,v.value.cash)),1)):v.value.courseCredits?(s(),i("div",Pt,n(v.value.courseCredits),1)):(s(),i("div",Ct,n(t.$t("no-payment")),1))]),e("div",Dt,[v.value.cash?(s(),i("div",Mt,n(v.value.currency),1)):v.value.courseCredits?(s(),i("div",_t,n(u(x)("Credit",v.value.courseCredits)),1)):(s(),i("div",It,"No reward"))])],2),e("div",{class:T(["info-switcher",{selected:w.value=="time"}]),onClick:o[1]||(o[1]=l=>w.value="time")},[Rt,e("div",Ot,n(j.value),1),e("div",Yt,n(u(x)("Minute",j.value)),1)],2),e("div",{class:T(["info-switcher",{selected:w.value=="privacy"}]),onClick:o[2]||(o[2]=l=>w.value="privacy")},[St,e("div",bt,[D.value=="all"?(s(),i("span",zt,"Good")):D.value=="completed_only"?(s(),i("span",Lt,"Better")):(s(),i("span",Ft,"Best"))]),Et],2)]),e("div",Ht,[O(e("div",Nt,[e("div",Vt,[jt,v.value.cash?(s(),i("div",Qt,[r(" You'll get "+n(u(de)(v.value.currency,v.value.cash))+" after you complete the study, ",1),ee.value?(s(),i("span",qt,"credited to your reward balance.")):(s(),i("span",Tt,"but the reward is not handled by FindingFive."))])):v.value.courseCredits?(s(),i("div",Xt,"You'll earn "+n(u(x)("course credit",v.value.courseCredits,!0))+" after you complete the study.",1)):(s(),i("div",xt,[e("span",null,n(t.$t("no-payment-explanation")),1)]))]),e("div",Gt,[Kt,v.value.cash?(s(),i("div",Jt,[ee.value?(s(),i("div",Zt,[r(" Redeem your rewards on the "),Ut,r(" via PayPal or digital gift cards. ")])):(s(),i("div",Wt,"Researchers of this study, instead of FindingFive, will contact and pay you."))])):v.value.courseCredits?(s(),i("div",$t,[r(" Remember to apply credits to your enrolled courses on the "),es,r(". ")])):(s(),i("div",ts,[e("span",null,n(t.$t("no-payment-explanation")),1)]))])],512),[[E,w.value=="reward"]]),O(e("div",ss,[e("div",os,[is,r(" This study is estimated to take about "+n(j.value)+" minutes. Actual duration may vary. ",1)]),ns],512),[[E,w.value=="time"]]),O(e("div",as,[e("div",ls,[rs,D.value=="completed_only"?(s(),i("span",cs,n(t.$t("privacy-level-roster-upon-completion")),1)):D.value=="all"&&a.value.session_type==="prolific"?(s(),i("span",us,n(t.$t("prolific-privacy-level-roster-upon-start")),1)):D.value=="all"?(s(),i("span",ds,n(t.$t("privacy-level-roster-upon-start")),1)):(s(),i("span",As,n(t.$t("privacy-level-complete-anonymity")),1))]),["completed_only","all"].indexOf(D.value)>-1?(s(),i("div",vs,[ps,r(" "+n(t.$t("identity-data-separation")),1)])):h("",!0)],512),[[E,w.value=="privacy"]])])]),u(K).isAuthenticated?(s(),i("div",ms,[a.value.session_type==="prolific"?(s(),i("div",gs,[e("div",ys,"This study is open to only participants from "+n(u(V)[u(y).platform])+". Please log out of your FindingFive account and access this study from "+n(u(V)[u(y).platform])+" directly. ",1)])):a.value.eligible?(s(),i("div",fs,[(s(!0),i(H,null,ce(ie.value,l=>(s(),i("div",hs,n(t.$t(l)),1))),256)),d(P,{variant:"main",class:"enroll-btn",onClick:se,disabled:!k.value||oe.value||ie.value.length>0},{default:p(()=>[d(u(C),{icon:"icon-park-solid:hands"}),e("span",null,n(t.$t("enroll-btn-active")),1)]),_:1},8,["disabled"]),k.value?(s(),i("div",ws,n(t.$t("read-consent-form-first")),1)):h("",!0),q.value?(s(),Y(X,{key:1,size:"small"},{title:p(()=>[r("Access Code")]),body:p(()=>[e("div",null,[Bs,d(Te,{type:"text",modelValue:I.value,"onUpdate:modelValue":o[3]||(o[3]=l=>I.value=l)},null,8,["modelValue"])])]),footer:p(()=>[d(P,{variant:"confirm",onClick:o[4]||(o[4]=l=>le(!0))},{default:p(()=>[r("Confirm")]),_:1}),d(P,{variant:"cancel",onClick:o[5]||(o[5]=l=>q.value=!1)},{default:p(()=>[r("Cancel")]),_:1})]),_:1})):h("",!0)])):(s(),i("div",ks,[e("div",Ps,[e("div",null,n(a.value.ineligible_reason),1),(s(!0),i(H,null,ce(a.value.profile_fields_required,l=>(s(),i("div",null,[e("a",{href:"javascript:void(0);",id:l+"-link",class:"profile-link",onClick:M=>ke(l)},n(l.replaceAll("_"," ")),9,Cs)]))),256))]),d(P,{variant:"main",class:"enroll-btn",disabled:""},{default:p(()=>[d(u(C),{icon:"ant-design:stop-outlined"}),e("span",null,n(t.$t("enroll-btn-ineligible")),1)]),_:1}),Q.value?(s(),Y(X,{key:0,size:"page","close-icon":"",onClose:o[6]||(o[6]=l=>Q.value=!1)},{title:p(()=>[r("My Profile")]),body:p(()=>[d(xe,{class:"demographics-container",section:ne.value,field:ae.value,onChange:Z},null,8,["section","field"])]),_:1})):h("",!0)]))])):u(y).id?(s(),i("div",Ds,[e("div",null," Welcome "+n(u(V)[u(y).platform])+" Participant "+n(u(y).id)+"! Please click the button below to participate! ",1),d(P,{variant:"main",class:"sign-in-btn enroll-btn",onClick:se},{default:p(()=>[d(u(C),{icon:"uiw:login"}),r(),e("span",null,n(t.$t("external-participate-btn")),1)]),_:1})])):(s(),i("div",Ms,[k.value?(s(),Y(P,{key:0,variant:"main",class:"sign-in-btn enroll-btn",onClick:we},{default:p(()=>[d(u(C),{icon:"uiw:login"}),r(),e("span",null,n(t.$t("sign-in-participate-btn")),1)]),_:1})):h("",!0)])),F.value?(s(),Y(X,{key:4,size:"large"},{title:p(()=>[r("Consent Form")]),body:p(()=>[_.value?(s(),i("div",Is,n(_.value),1)):(s(),i(H,{key:0},[d(je,{src:fe.value,onFail:he},null,8,["src"]),_s],64))]),footer:p(()=>[_.value?h("",!0):(s(),Y(P,{key:0,variant:"confirm",onClick:Pe},{default:p(()=>[r("I agree")]),_:1})),d(P,{variant:"cancel",onClick:o[7]||(o[7]=l=>F.value=!1)},{default:p(()=>[r("Cancel")]),_:1})]),_:1})):h("",!0)])]))])],64)}}},Ks=De(Rs,[["__scopeId","data-v-1d31a278"]]);export{Ks as default};