text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f826df82"],{"3ae5":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("PuzzleContainer",{scopedSlots:e._u([{key:"stage",fn:function(){return[r("Stage",{scopedSlots:e._u([{key:"top",fn:function(){return e._l(e.destinationcharacters,(function(t){return r("Character",{key:t.id,attrs:{my:t,size:.85*e.objectsize},on:{onselect:e.handleCharacterSelect}})}))},proxy:!0},{key:"center",fn:function(){return[r("v-btn",{staticClass:"align-self-center",attrs:{fab:"",dark:"",disabled:"",text:""}}),r("Carrier",{attrs:{my:e.state.carrier,size:e.objectsize},on:{onFinished:e.handleTransitionFinished}},e._l(e.selectedcharacters,(function(t){return r("Character",{key:t.id,attrs:{my:t,size:.95*e.objectsize},on:{onselect:e.handleCharacterSelect}})})),1),r("CarryButton",{attrs:{disabled:!e.isReady,toggle:e.state.carrier.state.origin},on:{onclick:e.handleCarryButtonClick}})]},proxy:!0},{key:"bottom",fn:function(){return e._l(e.origincharacters,(function(t){return r("Character",{key:t.id,attrs:{my:t,size:e.objectsize},on:{onselect:e.handleCharacterSelect}})}))},proxy:!0},{key:"overlay",fn:function(){return[r("Counter",{attrs:{mode:"timer"}}),r("Report")]},proxy:!0}])})]},proxy:!0},{key:"banners",fn:function(){return[r("Hint")]},proxy:!0}])})},a=[],c=r("1da1"),i=(r("96cf"),r("99af"),r("a6f4")),o=r("78a5"),s=r("813f"),u=r("7d88"),l=r("7833"),d=r("fac8"),f=r("8bec"),p=r("5db7"),b=r("6c85"),h=r("3cf0"),m=r("d42f"),g=r("eae6"),j=r("3207"),v=Object(i["g"])({components:{PuzzleContainer:d["a"],Hint:f["a"],Report:p["a"],Stage:b["a"],Counter:h["a"],Character:m["a"],Carrier:g["a"],CarryButton:j["a"]},setup:function(){var e=Object(i["k"])(o["a"]);if(!e)throw new Error("".concat(o["a"]," is not provided."));var t=Object(i["k"])(s["a"]);if(!t)throw new Error("".concat(s["a"]," is not provided."));var r=Object(i["k"])(l["a"]);if(!r)throw new Error("".concat(l["a"]," is not provided."));var n=Object(l["b"])(r),a=n.progress,d=n.completed,f=n.isReady,p=n.origincharacters,b=n.destinationcharacters,h=n.selectedcharacters,m=n.requiredtime,g=n.init,j=n.relocate,v=n.crossing,y=n.crossed,O=Object(i["a"])((function(){return.125*e.size})),k=t.initialValue?t.initialValue:0,w=t.limitValue?t.limitValue:0,x=Object(u["b"])(k,w);Object(i["B"])(u["a"],x);var C=Object(i["a"])((function(){return!d.value&&x.count.value>=0?"none":x.count.value>=0?"success":"error"}));Object(i["B"])(s["d"],C);var z=Object(i["a"])((function(){var e="none"!==C.value?C.value:a.value;return"$vuetify.puzzles.".concat(t.id,".hints.").concat(e)}));Object(i["B"])(s["b"],z);var R=function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:return x.reset(),e.abrupt("return",!0);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();Object(i["B"])(s["c"],R);var B=function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,j(t.id,t.action);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:x.decrement(m.value);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(i["x"])((function(){R()})),{objectsize:O,state:r,isReady:f,origincharacters:p,destinationcharacters:b,selectedcharacters:h,handleCharacterSelect:B,handleCarryButtonClick:S,handleTransitionFinished:_}}}),y=v,O=r("2877"),k=r("6544"),w=r.n(k),x=r("8336"),C=Object(O["a"])(y,n,a,!1,null,null,null);t["a"]=C.exports;w()(C,{VBtn:x["a"]})},"409d":function(e,t,r){e.exports=r.p+"img/night-river.14c17248.png"},8897:function(e,t,r){e.exports=r.p+"img/healer.18824352.png"},b544:function(e,t,r){e.exports=r.p+"img/fighter.c6174298.png"},c8c1:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("Director")},a=[],c=r("a6f4"),i=r("5530"),o=r("1dd0"),s={id:"BridgeAndTorch30min",background:r("409d"),initialValue:30},u=Object(c["D"])({characters:[{id:0,img:r("b544"),role:{caption:"1 min",time:1},state:Object(i["a"])({},o["c"])},{id:1,img:r("cb4e"),role:{caption:"3 min",time:3},state:Object(i["a"])({},o["c"])},{id:2,img:r("e67c"),role:{caption:"6 min",time:6},state:Object(i["a"])({},o["c"])},{id:3,img:r("8897"),role:{caption:"8 min",time:8},state:Object(i["a"])({},o["c"])},{id:4,img:r("dfd4"),role:{caption:"12 min",time:12},state:Object(i["a"])({},o["c"])}],carrier:o["d"],characterState:Object(i["a"])({},o["c"]),carrierState:Object(i["a"])({},o["b"])}),l=r("813f"),d=r("7833"),f=r("3ae5"),p=Object(c["g"])({components:{Director:f["a"]},setup:function(){Object(c["B"])(l["a"],s),Object(c["B"])(d["a"],u)}}),b=p,h=r("2877"),m=Object(h["a"])(b,n,a,!1,null,null,null);t["default"]=m.exports},cb4e:function(e,t,r){e.exports=r.p+"img/archer.08fe966e.png"},dfd4:function(e,t,r){e.exports=r.p+"img/villager.2e4c5ead.png"},e67c:function(e,t,r){e.exports=r.p+"img/sorcerer.9ff7dd64.png"}}]);
  //# sourceMappingURL=chunk-f826df82.c2533e5c.js.map