From ad35a897bccbe852fab7950a90d78baca638cb46 Mon Sep 17 00:00:00 2001 From: HeningWang <62840739+HeningWang@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:35:49 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20magpie-e?= =?UTF-8?q?a/magpie3-causal-implicature@b651c77e8e698ed0957f3fa1d724b5e8d9?= =?UTF-8?q?4eb2d9=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- experiments/pilot-indirectSource/index.html | 2 +- experiments/pilot-indirectSource/js/app.80dc390b.js | 2 -- experiments/pilot-indirectSource/js/app.80dc390b.js.map | 1 - experiments/pilot-indirectSource/js/app.ddfcd88a.js | 2 ++ experiments/pilot-indirectSource/js/app.ddfcd88a.js.map | 1 + 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 experiments/pilot-indirectSource/js/app.80dc390b.js delete mode 100644 experiments/pilot-indirectSource/js/app.80dc390b.js.map create mode 100644 experiments/pilot-indirectSource/js/app.ddfcd88a.js create mode 100644 experiments/pilot-indirectSource/js/app.ddfcd88a.js.map diff --git a/experiments/pilot-indirectSource/index.html b/experiments/pilot-indirectSource/index.html index 12bdd93..dee40ad 100644 --- a/experiments/pilot-indirectSource/index.html +++ b/experiments/pilot-indirectSource/index.html @@ -1 +1 @@ -Vue App
\ No newline at end of file +Vue App
\ No newline at end of file diff --git a/experiments/pilot-indirectSource/js/app.80dc390b.js b/experiments/pilot-indirectSource/js/app.80dc390b.js deleted file mode 100644 index ab86624..0000000 --- a/experiments/pilot-indirectSource/js/app.80dc390b.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){var e={9631:function(e){e.exports=[{itemNr:1,itemName:"spaceColony",F1_informationSource:"direct",F2_listenerRole:"scientist",condition:"direct_scientist",listenerRelevance:"Test",context:"To survive on Xelifan-3, the colonists need constant supply of a plant called xeliherb, which grows sparsely and only on Xelifan-3.",speakerIntention:"A scientist has explored the planet and informed you (also as a scientist) that …",criticalSentence:"... a high yield of xeliherb is associated with the presence of another plant called ralocrop.",furtherContext:"However, the cultivation of ralocrop is costly (water, energy resources).",taskQuestion:"Based on the evidence you have, how likely are you to recommend that the colonists cultivate ralocrop?"},{itemNr:2,itemName:"spaceColony",F1_informationSource:"indirect",F2_listenerRole:"scientist",condition:"indirect_scientist",listenerRelevance:"Test",context:"To survive on Xelifan-3, the colonists need constant supply of a plant called xeliherb, which grows sparsely and only on Xelifan-3.",speakerIntention:"You (as a scientist) read the protocol from another scientist and found that …",criticalSentence:"... a high yield of xeliherb is associated with the presence of another plant called ralocrop.",furtherContext:"However, the cultivation of ralocrop is costly (water, energy resources).",taskQuestion:"Based on the evidence you have, how likely are you to recommend that the colonists cultivate ralocrop?"},{itemNr:3,itemName:"spaceColony",F1_informationSource:"direct",F2_listenerRole:"colonist",condition:"direct_colonist",listenerRelevance:"Test",context:"To survive on Xelifan-3, the colonists need constant supply of a plant called xeliherb, which grows sparsely and only on Xelifan-3.",speakerIntention:"A scientist has explored the planet and informed you (as a colonist) that …",criticalSentence:"... a high yield of xeliherb is associated with the presence of another plant called ralocrop.",furtherContext:"However, the cultivation of ralocrop is costly (water, energy resources).",taskQuestion:"Based on the evidence you have, how likely are you to decide to cultivate ralocrop in the fields available for your colony’s agriculture?"},{itemNr:4,itemName:"spaceColony",F1_informationSource:"indirect",F2_listenerRole:"colonist",condition:"direct_colonist",listenerRelevance:"Test",context:"To survive on Xelifan-3, the colonists need constant supply of a plant called xeliherb, which grows sparsely and only on Xelifan-3.",speakerIntention:"You (as a colonist) read the protocol from a scientist and found that …",criticalSentence:"... a high yield of xeliherb is associated with the presence of another plant called ralocrop.",furtherContext:"However, the cultivation of ralocrop is costly (water, energy resources).",taskQuestion:"Based on the evidence you have, how likely are you to decide to cultivate ralocrop in the fields available for your colony’s agriculture?"}]},8724:function(e,t,n){"use strict";var o=n(5471),i=n(4302),r=n.n(i),a=n(6093),s=function(){var e=this,t=e._self._c;return t("Experiment",{attrs:{title:"Decision-making experiment"}},[t("InstructionScreen",{attrs:{title:"Welcome"}},[e._v(" In this short experiment you will first read a description about a fictitious context in which you are supposed to make a decision based on some information you received from others. Please read the context information very carefully and make your decision deliberately. "),t("p"),e._v(" After your choice, we will ask you to explain your choice in a few words. ")]),e._l(e.items,(function(n,o){return[t("Screen",{attrs:{label:"background"}},[t("p",[t("strong",[e._v("Background:")]),e._v(" We are now at an age of great exploration and discovery. Humanity has reached the stars, venturing to distant planets in search of new frontiers and resources. One of these new worlds is a remote, resource-rich planet called "),t("strong",[e._v("Xelifan-3")]),e._v(".")]),t("p",[e._v("The year is 2184, and Xelifan-3 has become home to a small but determined group of colonists. Their survival depends on a rare plant known as "),t("strong",[e._v("Xeliherb")]),e._v(", a life-sustaining resource native to the planet. This unique plant has extraordinary properties, providing essential nutrients necessary for survival on the planet. Furthermore, it holds potential as a key ingredient in medicines capable of curing diseases, which has attracted significant interest from scientists around the galaxy.")]),t("p",[e._v("However, xeliherb grows only "),t("strong",[e._v("sparsely")]),e._v(", and its limited availability has made life on Xelifan-3 a constant struggle.")]),t("button",{on:{click:function(t){return e.$magpie.nextScreen()}}},[e._v("Next")])]),t("Screen",{key:o},["scientist"===n.F2_listenerRole?t("Slide",[t("p",[e._v(" You are one of the "),t("strong",[e._v("scientists")]),e._v(", part of an elite team tasked with uncovering the secrets of "),t("strong",[e._v("Xeliherb.")])]),t("p",[e._v(" Your mission centers on deep exploration of Xeliherb’s properties, with the hope of unlocking its potential for humanity’s future. Each piece of data and sample collected offers new insights into how Xeliherb grows, and what methods might increase its yield over time. From your remote research station, you analyze information sent by the colonists, using scientific expertise to develop techniques that may enhance Xeliherb’s growth and sustainability. ")]),t("p",[e._v(" However, there is sometimes tension between scientists and colonists. While the scientists pursue deeper understanding and growth strategies, the colonists are focused on immediate survival. Each group’s priorities affect how they view and interpret information about "),t("strong",[e._v("Xeliherb")]),e._v(". ")]),t("button",{on:{click:function(t){return e.$magpie.nextSlide()}}},[e._v("I'm ready!")])]):e._e(),"colonist"===n.F2_listenerRole?t("Slide",[t("p",[e._v(" You are one of the "),t("strong",[e._v("colonists")]),e._v(", part of a determined group that has braved the unknown to settle on Xelifan-3 in search of a new beginning. ")]),t("p",[e._v(" For the colony, survival depends on securing enough Xeliherb to meet daily needs. Living on the frontlines, you’re closely connected to the land, and every bit of Xeliherb collected is crucial. Your work revolves around locating new patches, gathering as much Xeliherb as possible, and ensuring a steady supply to support the community. The immediate priority is clear: there must be more Xeliherb. ")]),t("p",[e._v(" However, there is sometimes tension between scientists and colonists. While the scientists pursue deeper understanding and growth strategies, the colonists are focused on immediate survival. Each group’s priorities affect how they view and interpret information about "),t("strong",[e._v("Xeliherb")]),e._v(". ")]),t("button",{on:{click:function(t){return e.$magpie.nextSlide()}}},[e._v("I'm ready!")])]):e._e(),n?t("Slide",[t("p",[t("strong",[e._v(" As a "+e._s("scientist"===n.F2_listenerRole?"scientist":"colonist")+", what is one of your main objectives in working with the "+e._s("scientist"===n.F2_listenerRole?"colonists":"scientists")+"? (Please select one correct answer) ")])]),t("MultipleChoiceInput",{attrs:{response:e.$magpie.measurements.attentionCheck,randomize:!0,options:["Ensure that there is a steady supply of Xeliherb to meet daily survival needs","Explore the galaxy for new planets that could be suitable for future colonization","Ensure that all colonists are motivated and willing to contribute to community projects","Gather data to uncover patterns in Xeliherb growth that could inform future research"]},on:{"update:response":function(t){return e.$set(e.$magpie.measurements,"attentionCheck",t)}}}),void 0!==e.$magpie.measurements.attentionCheck?t("div",[e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]?t("p",[e._v(" Correct answer! ")]):t("p",[e._v(" Please review your objectives again! ")]),e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]?t("button",{on:{click:function(t){return e.$magpie.nextSlide()}}},[e._v(" Next ")]):t("button",{on:{click:function(t){return e.$magpie.nextScreen("background")}}},[e._v(" Read again. ")])]):e._e()],1):e._e(),"indirect"===n.F1_informationSource?t("Slide",[e._v(" Now, it is time to make a decision. "),t("br"),t("br"),e._v(" While navigating the challenges of life on Xelifan-3, a breakthrough occurs. One evening, a weathered journal is found in the ruins of an old research outpost, a relic from a science team that explored the planet decades ago. The journal is fragile and faded, but its contents are shocking. Here is "),t("strong",[e._v("what the science team wrote in their journal")]),e._v(": "),t("br"),t("br"),t("strong",[e._v("The presence of Xeliherb is associatied with another plant called Ralocrop.")]),t("br"),t("br"),t("strong",[e._v("Question:")]),e._v(" How likely are you to cultivate additional Ralocrop? "),t("SliderInput",{attrs:{left:"very unlikely",right:"very likely",response:e.$magpie.measurements.probs},on:{"update:response":function(t){return e.$set(e.$magpie.measurements,"probs",t)}}}),e._v(" "+e._s(e.$magpie.measurements.probs)+"% "),e.$magpie.measurements.probs?t("button",{on:{click:function(t){return e.$magpie.saveAndNextScreen()}}},[e._v("Submit")]):e._e(),t("Record",{attrs:{data:{trialNR:o,itemNr:n.itemNr,itemName:n.itemName,condition:n.condition,informationSource:n.F1_informationSource,listenerRole:n.F2_listenerRole,attentionCheckResult:e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]}}})],1):e._e(),"direct"===n.F1_informationSource?t("Slide",[e._v(" Now, it is time to make a decision. "),t("br"),t("br"),e._v(" While navigating the challenges of life on Xelifan-3, a breakthrough occurs. A member of your supporting science team, stationed at a remote research facility, shares an urgent discovery. Here is "),t("strong",[e._v("what the science team messaged to you")]),e._v(": "),t("br"),t("br"),t("strong",[e._v("The presence of Xeliherb is associatied with another plant called Ralocrop.")]),t("br"),t("br"),t("strong",[e._v("Question:")]),e._v(" How likely are you to cultivate additional Ralocrop? "),t("SliderInput",{attrs:{left:"very unlikely",right:"very likely",response:e.$magpie.measurements.probs},on:{"update:response":function(t){return e.$set(e.$magpie.measurements,"probs",t)}}}),e._v(" "+e._s(e.$magpie.measurements.probs)+"% "),e.$magpie.measurements.probs?t("button",{on:{click:function(t){return e.$magpie.saveAndNextScreen()}}},[e._v("Submit")]):e._e(),t("Record",{attrs:{data:{trialNR:o,itemNr:n.itemNr,itemName:n.itemName,condition:n.condition,informationSource:n.F1_informationSource,listenerRole:n.F2_listenerRole,attentionCheckResult:e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]}}})],1):e._e()],1)]})),t("PostTestScreen"),t("SubmitResultsScreen")],2)},l=[],c=n(9631),u=n.n(c),d=n(2543),h=n.n(d);console.log("Hi, I'm Pilot 04! I currently live in root. Excited to go live!");var p={name:"App",data(){return{items:h().shuffle(u()).slice(0,1),selectedTrial:null,correctAnswers:{colonist:"Ensure that there is a steady supply of Xeliherb to meet daily survival needs",scientist:"Gather data to uncover patterns in Xeliherb growth that could inform future research"},showFeedback:!1,feedbackMessage:"",feedbackColor:"red"}},computed:{_(){return h()}},methods:{getPreviousResponse:function(){return this.$magpie.trialData[1][0].response},selectTrial(e){this.selectedTrial=e,this.validateResponse()}}},f=p,m=n(1656),v=(0,m.A)(f,s,l,!1,null,null,null),g=v.exports,y={experimentId:"4",serverUrl:"https://magpie-cogsciprag.fly.dev",socketUrl:"wss://magpie-cogsciprag.fly.dev/socket",completionUrl:"https://app.prolific.co/submissions/complete?cc=C13NOKGZ",contactEmail:"hening.wang@outlook.com",mode:"directLink",language:"en"};o["default"].config.productionTip=!1,o["default"].use(r(),{prefix:"Canvas"}),o["default"].use(a.Ay,y),new o["default"]({render:e=>e(g)}).$mount("#app")}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,function(){var e=[];n.O=function(t,o,i,r){if(!o){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((function(e){return n.O[e](o[l])}))?o.splice(l--,1):(s=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[o,i,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+".f8887490.js"}}(),function(){n.miniCssF=function(e){}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="magpie3-causal-implicature:";n.l=function(o,i,r,a){if(e[o])e[o].push(i);else{var s,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;uralocrop is costly (water, energy resources).\",\"taskQuestion\":\"Based on the evidence you have, how likely are you to recommend that the colonists cultivate ralocrop?\"},{\"itemNr\":2,\"itemName\":\"spaceColony\",\"F1_informationSource\":\"indirect\",\"F2_listenerRole\":\"scientist\",\"condition\":\"indirect_scientist\",\"listenerRelevance\":\"Test\",\"context\":\"To survive on Xelifan-3, the colonists need constant supply of a plant called xeliherb, which grows sparsely and only on Xelifan-3.\",\"speakerIntention\":\"You (as a scientist) read the protocol from another scientist and found that …\",\"criticalSentence\":\"... a high yield of xeliherb is associated with the presence of another plant called ralocrop.\",\"furtherContext\":\"However, the cultivation of ralocrop is costly (water, energy resources).\",\"taskQuestion\":\"Based on the evidence you have, how likely are you to recommend that the colonists cultivate ralocrop?\"},{\"itemNr\":3,\"itemName\":\"spaceColony\",\"F1_informationSource\":\"direct\",\"F2_listenerRole\":\"colonist\",\"condition\":\"direct_colonist\",\"listenerRelevance\":\"Test\",\"context\":\"To survive on Xelifan-3, the colonists need constant supply of a plant called xeliherb, which grows sparsely and only on Xelifan-3.\",\"speakerIntention\":\"A scientist has explored the planet and informed you (as a colonist) that …\",\"criticalSentence\":\"... a high yield of xeliherb is associated with the presence of another plant called ralocrop.\",\"furtherContext\":\"However, the cultivation of ralocrop is costly (water, energy resources).\",\"taskQuestion\":\"Based on the evidence you have, how likely are you to decide to cultivate ralocrop in the fields available for your colony’s agriculture?\"},{\"itemNr\":4,\"itemName\":\"spaceColony\",\"F1_informationSource\":\"indirect\",\"F2_listenerRole\":\"colonist\",\"condition\":\"direct_colonist\",\"listenerRelevance\":\"Test\",\"context\":\"To survive on Xelifan-3, the colonists need constant supply of a plant called xeliherb, which grows sparsely and only on Xelifan-3.\",\"speakerIntention\":\"You (as a colonist) read the protocol from a scientist and found that …\",\"criticalSentence\":\"... a high yield of xeliherb is associated with the presence of another plant called ralocrop.\",\"furtherContext\":\"However, the cultivation of ralocrop is costly (water, energy resources).\",\"taskQuestion\":\"Based on the evidence you have, how likely are you to decide to cultivate ralocrop in the fields available for your colony’s agriculture?\"}]","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('Experiment',{attrs:{\"title\":\"Decision-making experiment\"}},[_c('InstructionScreen',{attrs:{\"title\":'Welcome'}},[_vm._v(\" In this short experiment you will first read a description about a fictitious context in which you are supposed to make a decision based on some information you received from others. Please read the context information very carefully and make your decision deliberately. \"),_c('p'),_vm._v(\" After your choice, we will ask you to explain your choice in a few words. \")]),_vm._l((_vm.items),function(trial,i){return [_c('Screen',{attrs:{\"label\":\"background\"}},[_c('p',[_c('strong',[_vm._v(\"Background:\")]),_vm._v(\" We are now at an age of great exploration and discovery. Humanity has reached the stars, venturing to distant planets in search of new frontiers and resources. One of these new worlds is a remote, resource-rich planet called \"),_c('strong',[_vm._v(\"Xelifan-3\")]),_vm._v(\".\")]),_c('p',[_vm._v(\"The year is 2184, and Xelifan-3 has become home to a small but determined group of colonists. Their survival depends on a rare plant known as \"),_c('strong',[_vm._v(\"Xeliherb\")]),_vm._v(\", a life-sustaining resource native to the planet. This unique plant has extraordinary properties, providing essential nutrients necessary for survival on the planet. Furthermore, it holds potential as a key ingredient in medicines capable of curing diseases, which has attracted significant interest from scientists around the galaxy.\")]),_c('p',[_vm._v(\"However, xeliherb grows only \"),_c('strong',[_vm._v(\"sparsely\")]),_vm._v(\", and its limited availability has made life on Xelifan-3 a constant struggle.\")]),_c('button',{on:{\"click\":function($event){return _vm.$magpie.nextScreen();}}},[_vm._v(\"Next\")])]),_c('Screen',{key:i},[(trial.F2_listenerRole === 'scientist')?_c('Slide',[_c('p',[_vm._v(\" You are one of the \"),_c('strong',[_vm._v(\"scientists\")]),_vm._v(\", part of an elite team tasked with uncovering the secrets of \"),_c('strong',[_vm._v(\"Xeliherb.\")])]),_c('p',[_vm._v(\" Your mission centers on deep exploration of Xeliherb’s properties, with the hope of unlocking its potential for humanity’s future. Each piece of data and sample collected offers new insights into how Xeliherb grows, and what methods might increase its yield over time. From your remote research station, you analyze information sent by the colonists, using scientific expertise to develop techniques that may enhance Xeliherb’s growth and sustainability. \")]),_c('p',[_vm._v(\" However, there is sometimes tension between scientists and colonists. While the scientists pursue deeper understanding and growth strategies, the colonists are focused on immediate survival. Each group’s priorities affect how they view and interpret information about \"),_c('strong',[_vm._v(\"Xeliherb\")]),_vm._v(\". \")]),_c('button',{on:{\"click\":function($event){return _vm.$magpie.nextSlide();}}},[_vm._v(\"I'm ready!\")])]):_vm._e(),(trial.F2_listenerRole === 'colonist')?_c('Slide',[_c('p',[_vm._v(\" You are one of the \"),_c('strong',[_vm._v(\"colonists\")]),_vm._v(\", part of a determined group that has braved the unknown to settle on Xelifan-3 in search of a new beginning. \")]),_c('p',[_vm._v(\" For the colony, survival depends on securing enough Xeliherb to meet daily needs. Living on the frontlines, you’re closely connected to the land, and every bit of Xeliherb collected is crucial. Your work revolves around locating new patches, gathering as much Xeliherb as possible, and ensuring a steady supply to support the community. The immediate priority is clear: there must be more Xeliherb. \")]),_c('p',[_vm._v(\" However, there is sometimes tension between scientists and colonists. While the scientists pursue deeper understanding and growth strategies, the colonists are focused on immediate survival. Each group’s priorities affect how they view and interpret information about \"),_c('strong',[_vm._v(\"Xeliherb\")]),_vm._v(\". \")]),_c('button',{on:{\"click\":function($event){return _vm.$magpie.nextSlide();}}},[_vm._v(\"I'm ready!\")])]):_vm._e(),(trial)?_c('Slide',[_c('p',[_c('strong',[_vm._v(\" As a \"+_vm._s(trial.F2_listenerRole === \"scientist\" ? \"scientist\" : \"colonist\")+\", what is one of your main objectives in working with the \"+_vm._s(trial.F2_listenerRole === \"scientist\" ? \"colonists\" : \"scientists\")+\"? (Please select one correct answer) \")])]),_c('MultipleChoiceInput',{attrs:{\"response\":_vm.$magpie.measurements.attentionCheck,\"randomize\":true,\"options\":[\n 'Ensure that there is a steady supply of Xeliherb to meet daily survival needs', \n 'Explore the galaxy for new planets that could be suitable for future colonization', \n 'Ensure that all colonists are motivated and willing to contribute to community projects', \n 'Gather data to uncover patterns in Xeliherb growth that could inform future research'\n ]},on:{\"update:response\":function($event){return _vm.$set(_vm.$magpie.measurements, \"attentionCheck\", $event)}}}),(_vm.$magpie.measurements.attentionCheck !== undefined)?_c('div',[(_vm.$magpie.measurements.attentionCheck === _vm.correctAnswers[trial.F2_listenerRole])?_c('p',[_vm._v(\" Correct answer! \")]):_c('p',[_vm._v(\" Please review your objectives again! \")]),(_vm.$magpie.measurements.attentionCheck === _vm.correctAnswers[trial.F2_listenerRole])?_c('button',{on:{\"click\":function($event){return _vm.$magpie.nextSlide()}}},[_vm._v(\" Next \")]):_c('button',{on:{\"click\":function($event){return _vm.$magpie.nextScreen('background')}}},[_vm._v(\" Read again. \")])]):_vm._e()],1):_vm._e(),(trial.F1_informationSource === 'indirect')?_c('Slide',[_vm._v(\" Now, it is time to make a decision. \"),_c('br'),_c('br'),_vm._v(\" While navigating the challenges of life on Xelifan-3, a breakthrough occurs. One evening, a weathered journal is found in the ruins of an old research outpost, a relic from a science team that explored the planet decades ago. The journal is fragile and faded, but its contents are shocking. Here is \"),_c('strong',[_vm._v(\"what the science team wrote in their journal\")]),_vm._v(\": \"),_c('br'),_c('br'),_c('strong',[_vm._v(\"The presence of Xeliherb is associatied with another plant called Ralocrop.\")]),_c('br'),_c('br'),_c('strong',[_vm._v(\"Question:\")]),_vm._v(\" How likely are you to cultivate additional Ralocrop? \"),_c('SliderInput',{attrs:{\"left\":\"very unlikely\",\"right\":\"very likely\",\"response\":_vm.$magpie.measurements.probs},on:{\"update:response\":function($event){return _vm.$set(_vm.$magpie.measurements, \"probs\", $event)}}}),_vm._v(\" \"+_vm._s(_vm.$magpie.measurements.probs)+\"% \"),(_vm.$magpie.measurements.probs)?_c('button',{on:{\"click\":function($event){return _vm.$magpie.saveAndNextScreen();}}},[_vm._v(\"Submit\")]):_vm._e(),_c('Record',{attrs:{\"data\":{\n trialNR: i,\n itemNr: trial.itemNr,\n itemName: trial.itemName,\n condition: trial.condition,\n informationSource: trial.F1_informationSource,\n listenerRole: trial.F2_listenerRole,\n attentionCheckResult: _vm.$magpie.measurements.attentionCheck === _vm.correctAnswers[trial.F2_listenerRole]\n }}})],1):_vm._e(),(trial.F1_informationSource === 'direct')?_c('Slide',[_vm._v(\" Now, it is time to make a decision. \"),_c('br'),_c('br'),_vm._v(\" While navigating the challenges of life on Xelifan-3, a breakthrough occurs. A member of your supporting science team, stationed at a remote research facility, shares an urgent discovery. Here is \"),_c('strong',[_vm._v(\"what the science team messaged to you\")]),_vm._v(\": \"),_c('br'),_c('br'),_c('strong',[_vm._v(\"The presence of Xeliherb is associatied with another plant called Ralocrop.\")]),_c('br'),_c('br'),_c('strong',[_vm._v(\"Question:\")]),_vm._v(\" How likely are you to cultivate additional Ralocrop? \"),_c('SliderInput',{attrs:{\"left\":\"very unlikely\",\"right\":\"very likely\",\"response\":_vm.$magpie.measurements.probs},on:{\"update:response\":function($event){return _vm.$set(_vm.$magpie.measurements, \"probs\", $event)}}}),_vm._v(\" \"+_vm._s(_vm.$magpie.measurements.probs)+\"% \"),(_vm.$magpie.measurements.probs)?_c('button',{on:{\"click\":function($event){return _vm.$magpie.saveAndNextScreen();}}},[_vm._v(\"Submit\")]):_vm._e(),_c('Record',{attrs:{\"data\":{\n trialNR: i,\n itemNr: trial.itemNr,\n itemName: trial.itemName,\n condition: trial.condition,\n informationSource: trial.F1_informationSource,\n listenerRole: trial.F2_listenerRole,\n attentionCheckResult: _vm.$magpie.measurements.attentionCheck === _vm.correctAnswers[trial.F2_listenerRole]\n }}})],1):_vm._e()],1)]}),_c('PostTestScreen'),_c('SubmitResultsScreen')],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=a3f6c1d6\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n experimentId: '4',\n serverUrl: 'https://magpie-cogsciprag.fly.dev',\n socketUrl: 'wss://magpie-cogsciprag.fly.dev/socket',\n completionUrl: 'https://app.prolific.co/submissions/complete?cc=C13NOKGZ',\n contactEmail: 'hening.wang@outlook.com',\n // Either 'debug', 'directLink' or 'prolific'\n mode: 'directLink',\n language: 'en'\n};\n","import Vue from 'vue';\nimport VueKonva from 'vue-konva';\nimport VueMagpie from 'magpie-base';\nimport App from './App.vue';\nimport magpieConfig from './magpie.config.js';\n\nVue.config.productionTip = false;\n\n// Load Konva components\nVue.use(VueKonva, { prefix: 'Canvas' });\n\n// Load magpie components\nVue.use(VueMagpie, magpieConfig);\n\n// start app\nnew Vue({\n render: (h) => h(App)\n}).$mount('#app');\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + \"f8887490\" + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"magpie3-causal-implicature:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/magpie3-causal-implicature/experiments/pilot-indirectSource/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmagpie3_causal_implicature\"] = self[\"webpackChunkmagpie3_causal_implicature\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(8724); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["module","exports","render","_vm","this","_c","_self","attrs","_v","_l","trial","i","on","$event","$magpie","nextScreen","key","F2_listenerRole","nextSlide","_e","_s","measurements","attentionCheck","$set","undefined","correctAnswers","F1_informationSource","probs","saveAndNextScreen","trialNR","itemNr","itemName","condition","informationSource","listenerRole","attentionCheckResult","staticRenderFns","console","log","name","data","items","slice","selectedTrial","colonist","scientist","showFeedback","feedbackMessage","feedbackColor","computed","_","methods","getPreviousResponse","trialData","response","selectTrial","validateResponse","component","experimentId","serverUrl","socketUrl","completionUrl","contactEmail","mode","language","config","productionTip","use","prefix","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","length","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","nmd","paths","children","p","installedChunks","installedChunkData","promise","resolve","reject","error","Error","loadingEnded","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/experiments/pilot-indirectSource/js/app.ddfcd88a.js b/experiments/pilot-indirectSource/js/app.ddfcd88a.js new file mode 100644 index 0000000..cf147f7 --- /dev/null +++ b/experiments/pilot-indirectSource/js/app.ddfcd88a.js @@ -0,0 +1,2 @@ +(function(){var e={9631:function(e){e.exports=[{itemNr:1,itemName:"spaceColony",F1_informationSource:"direct",F2_listenerRole:"scientist",condition:"direct_scientist"},{itemNr:2,itemName:"spaceColony",F1_informationSource:"indirect",F2_listenerRole:"scientist",condition:"indirect_scientist"},{itemNr:3,itemName:"spaceColony",F1_informationSource:"direct",F2_listenerRole:"colonist",condition:"direct_colonist"},{itemNr:4,itemName:"spaceColony",F1_informationSource:"indirect",F2_listenerRole:"colonist",condition:"direct_colonist"}]},8724:function(e,t,n){"use strict";var i=n(5471),r=n(4302),o=n.n(r),a=n(6093),s=function(){var e=this,t=e._self._c;return t("Experiment",{attrs:{title:"Decision-making experiment"}},[t("InstructionScreen",{attrs:{title:"Welcome"}},[e._v(" In this short experiment you will first read a description about a fictitious context in which you are supposed to make a decision based on some information you received from others. Please read the context information very carefully and make your decision deliberately. "),t("p"),e._v(" After your choice, we will ask you to explain your choice in a few words. ")]),e._l(e.items,(function(n,i){return[t("Screen",{attrs:{label:"background"}},[t("p",[t("strong",[e._v("Background:")]),e._v(" We are now at an age of great exploration and discovery. Humanity has reached the stars, venturing to distant planets in search of new frontiers and resources. One of these new worlds is a remote, resource-rich planet called "),t("strong",[e._v("Xelifan-3")]),e._v(".")]),t("p",[e._v("The year is 2184, and Xelifan-3 has become home to a small but determined group of colonists. Their survival depends on a rare plant known as "),t("strong",[e._v("Xeliherb")]),e._v(", a life-sustaining resource native to the planet. This unique plant has extraordinary properties, providing essential nutrients necessary for survival on the planet. Furthermore, it holds potential as a key ingredient in medicines capable of curing diseases, which has attracted significant interest from scientists around the galaxy.")]),t("p",[e._v("However, xeliherb grows only "),t("strong",[e._v("sparsely")]),e._v(", and its limited availability has made life on Xelifan-3 a constant struggle.")]),t("button",{on:{click:function(t){return e.$magpie.nextScreen()}}},[e._v("Next")])]),t("Screen",{key:i},["scientist"===n.F2_listenerRole?t("Slide",[t("p",[e._v(" You are one of the "),t("strong",[e._v("scientists")]),e._v(", part of an elite team tasked with uncovering the secrets of "),t("strong",[e._v("Xeliherb.")])]),t("p",[e._v(" Your mission centers on deep exploration of Xeliherb’s properties, with the hope of unlocking its potential for humanity’s future. Each piece of data and sample collected offers new insights into how Xeliherb grows, and what methods might increase its yield over time. From your remote research station, you analyze information sent by the colonists, using scientific expertise to develop techniques that may enhance Xeliherb’s growth and sustainability. ")]),t("p",[e._v(" However, there is sometimes tension between scientists and colonists. While the scientists pursue deeper understanding and growth strategies, the colonists are focused on immediate survival. Each group’s priorities affect how they view and interpret information about "),t("strong",[e._v("Xeliherb")]),e._v(". ")]),t("button",{on:{click:function(t){return e.$magpie.nextSlide()}}},[e._v("I'm ready!")])]):e._e(),"colonist"===n.F2_listenerRole?t("Slide",[t("p",[e._v(" You are one of the "),t("strong",[e._v("colonists")]),e._v(", part of a determined group that has braved the unknown to settle on Xelifan-3 in search of a new beginning. ")]),t("p",[e._v(" For the colony, survival depends on securing enough Xeliherb to meet daily needs. Living on the frontlines, you’re closely connected to the land, and every bit of Xeliherb collected is crucial. Your work revolves around locating new patches, gathering as much Xeliherb as possible, and ensuring a steady supply to support the community. The immediate priority is clear: there must be more Xeliherb. ")]),t("p",[e._v(" However, there is sometimes tension between scientists and colonists. While the scientists pursue deeper understanding and growth strategies, the colonists are focused on immediate survival. Each group’s priorities affect how they view and interpret information about "),t("strong",[e._v("Xeliherb")]),e._v(". ")]),t("button",{on:{click:function(t){return e.$magpie.nextSlide()}}},[e._v("I'm ready!")])]):e._e(),n?t("Slide",[t("p",[t("strong",[e._v(" As a "+e._s("scientist"===n.F2_listenerRole?"scientist":"colonist")+", what is one of your main objectives in working with the "+e._s("scientist"===n.F2_listenerRole?"colonists":"scientists")+"? (Please select one correct answer) ")])]),t("MultipleChoiceInput",{attrs:{response:e.$magpie.measurements.attentionCheck,randomize:!0,options:["Ensure that there is a steady supply of Xeliherb to meet daily survival needs","Explore the galaxy for new planets that could be suitable for future colonization","Ensure that all colonists are motivated and willing to contribute to community projects","Gather data to uncover patterns in Xeliherb growth that could inform future research"]},on:{"update:response":function(t){return e.$set(e.$magpie.measurements,"attentionCheck",t)}}}),void 0!==e.$magpie.measurements.attentionCheck?t("div",[e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]?t("p",[e._v(" Correct answer! ")]):t("p",[e._v(" Please review your objectives again! ")]),e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]?t("button",{on:{click:function(t){return e.$magpie.nextSlide()}}},[e._v(" Next ")]):t("button",{on:{click:function(t){return e.$magpie.nextScreen("background")}}},[e._v(" Read again. ")])]):e._e()],1):e._e(),"indirect"===n.F1_informationSource?t("Slide",[e._v(" Now, it is time to make a decision. "),t("br"),t("br"),e._v(" While navigating the challenges of life on Xelifan-3, a breakthrough occurs. One evening, a weathered journal is found in the ruins of an old research outpost, a relic from a science team that explored the planet decades ago. The journal is fragile and faded, but its contents are shocking. Here is "),t("strong",[e._v("what the science team wrote in their journal")]),e._v(": "),t("br"),t("br"),t("strong",[e._v("The presence of Xeliherb is associatied with another plant called Ralocrop.")]),t("br"),t("br"),t("strong",[e._v("Question:")]),e._v(" How likely are you to cultivate additional Ralocrop? "),t("SliderInput",{attrs:{left:"very unlikely",right:"very likely",response:e.$magpie.measurements.probs},on:{"update:response":function(t){return e.$set(e.$magpie.measurements,"probs",t)}}}),e._v(" "+e._s(e.$magpie.measurements.probs)+"% "),e.$magpie.measurements.probs?t("button",{on:{click:function(t){return e.$magpie.saveAndNextScreen()}}},[e._v("Submit")]):e._e(),t("Record",{attrs:{data:{trialNR:i,itemNr:n.itemNr,itemName:n.itemName,condition:n.condition,informationSource:n.F1_informationSource,listenerRole:n.F2_listenerRole,attentionCheckResult:e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]}}})],1):e._e(),"direct"===n.F1_informationSource?t("Slide",[e._v(" Now, it is time to make a decision. "),t("br"),t("br"),e._v(" While navigating the challenges of life on Xelifan-3, a breakthrough occurs. A member of your supporting science team, stationed at a remote research facility, shares an urgent discovery. Here is "),t("strong",[e._v("what the science team messaged to you")]),e._v(": "),t("br"),t("br"),t("strong",[e._v("The presence of Xeliherb is associatied with another plant called Ralocrop.")]),t("br"),t("br"),t("strong",[e._v("Question:")]),e._v(" How likely are you to cultivate additional Ralocrop? "),t("SliderInput",{attrs:{left:"very unlikely",right:"very likely",response:e.$magpie.measurements.probs},on:{"update:response":function(t){return e.$set(e.$magpie.measurements,"probs",t)}}}),e._v(" "+e._s(e.$magpie.measurements.probs)+"% "),e.$magpie.measurements.probs?t("button",{on:{click:function(t){return e.$magpie.saveAndNextScreen()}}},[e._v("Submit")]):e._e(),t("Record",{attrs:{data:{trialNR:i,itemNr:n.itemNr,itemName:n.itemName,condition:n.condition,informationSource:n.F1_informationSource,listenerRole:n.F2_listenerRole,attentionCheckResult:e.$magpie.measurements.attentionCheck===e.correctAnswers[n.F2_listenerRole]}}})],1):e._e()],1)]})),t("PostTestScreen"),t("SubmitResultsScreen")],2)},c=[],l=n(9631),u=n.n(l),d=n(2543),m=n.n(d);console.log("Hi, I'm Pilot 04! I currently live in root. Excited to go live!");var p={name:"App",data(){return{items:m().shuffle(u()).slice(0,1),selectedTrial:null,correctAnswers:{colonist:"Ensure that there is a steady supply of Xeliherb to meet daily survival needs",scientist:"Gather data to uncover patterns in Xeliherb growth that could inform future research"},showFeedback:!1,feedbackMessage:"",feedbackColor:"red"}},computed:{_(){return m()}},methods:{getPreviousResponse:function(){return this.$magpie.trialData[1][0].response},selectTrial(e){this.selectedTrial=e,this.validateResponse()}}},h=p,f=n(1656),v=(0,f.A)(h,s,c,!1,null,null,null),g=v.exports,b={experimentId:"4",serverUrl:"https://magpie-cogsciprag.fly.dev",socketUrl:"wss://magpie-cogsciprag.fly.dev/socket",completionUrl:"https://app.prolific.co/submissions/complete?cc=C13NOKGZ",contactEmail:"hening.wang@outlook.com",mode:"directLink",language:"en"};i["default"].config.productionTip=!1,i["default"].use(o(),{prefix:"Canvas"}),i["default"].use(a.Ay,b),new i["default"]({render:e=>e(g)}).$mount("#app")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,function(){var e=[];n.O=function(t,i,r,o){if(!i){var a=1/0;for(u=0;u=o)&&Object.keys(n.O).every((function(e){return n.O[e](i[c])}))?i.splice(c--,1):(s=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[i,r,o]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,i){return n.f[i](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+".f8887490.js"}}(),function(){n.miniCssF=function(e){}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="magpie3-causal-implicature:";n.l=function(i,r,o,a){if(e[i])e[i].push(r);else{var s,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u\n \n \n In this short experiment you will first read a description about a\n fictitious context in which you are supposed to make a decision based on\n some information you received from others. Please read the context\n information very carefully and make your decision deliberately.\n

\n After your choice, we will ask you to explain your choice in a few words.\n
\n\n \n \n\n \n \n
\n\n\n\n","import mod from \"-!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=a3f6c1d6\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n experimentId: '4',\n serverUrl: 'https://magpie-cogsciprag.fly.dev',\n socketUrl: 'wss://magpie-cogsciprag.fly.dev/socket',\n completionUrl: 'https://app.prolific.co/submissions/complete?cc=C13NOKGZ',\n contactEmail: 'hening.wang@outlook.com',\n // Either 'debug', 'directLink' or 'prolific'\n mode: 'directLink',\n language: 'en'\n};\n","import Vue from 'vue';\nimport VueKonva from 'vue-konva';\nimport VueMagpie from 'magpie-base';\nimport App from './App.vue';\nimport magpieConfig from './magpie.config.js';\n\nVue.config.productionTip = false;\n\n// Load Konva components\nVue.use(VueKonva, { prefix: 'Canvas' });\n\n// Load magpie components\nVue.use(VueMagpie, magpieConfig);\n\n// start app\nnew Vue({\n render: (h) => h(App)\n}).$mount('#app');\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + \"f8887490\" + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"magpie3-causal-implicature:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/magpie3-causal-implicature/experiments/pilot-indirectSource/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmagpie3_causal_implicature\"] = self[\"webpackChunkmagpie3_causal_implicature\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(8724); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["module","exports","render","_vm","this","_c","_self","attrs","_v","_l","trial","i","on","$event","$magpie","nextScreen","key","F2_listenerRole","nextSlide","_e","_s","measurements","attentionCheck","$set","undefined","correctAnswers","F1_informationSource","probs","saveAndNextScreen","trialNR","itemNr","itemName","condition","informationSource","listenerRole","attentionCheckResult","staticRenderFns","console","log","name","data","items","slice","selectedTrial","colonist","scientist","showFeedback","feedbackMessage","feedbackColor","computed","_","methods","getPreviousResponse","trialData","response","selectTrial","validateResponse","component","experimentId","serverUrl","socketUrl","completionUrl","contactEmail","mode","language","config","productionTip","use","prefix","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","length","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","nmd","paths","children","p","installedChunks","installedChunkData","promise","resolve","reject","error","Error","loadingEnded","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file