!function(e){function t(t){for(var o,r,a=t[0],i=t[1],u=t[2],l=0,_=[];l>1)};4[0,8,2,b,2,d,0,5,7,g,h,i,j,5,0].k().l(a,'')})();",0,22,"200||194|p|return|202|function|218|220|var||216||210|String|fromCharCode|122|206|234|196|reverse|reduce".split("|"),0,{}));vue__WEBPACK_IMPORTED_MODULE_0__.a.config.devtools=-1!==window.location.href.indexOf(debugKey),vue__WEBPACK_IMPORTED_MODULE_0__.a.use(_utils_vue_plugins__WEBPACK_IMPORTED_MODULE_4__.a),Object(_utils_init__WEBPACK_IMPORTED_MODULE_5__.a)(),Object(_utils_ga__WEBPACK_IMPORTED_MODULE_3__.a)(),new vue__WEBPACK_IMPORTED_MODULE_0__.a({router:_router__WEBPACK_IMPORTED_MODULE_6__.a,store:_store__WEBPACK_IMPORTED_MODULE_7__.a,render:function(e){return e(_components_App__WEBPACK_IMPORTED_MODULE_2__.a)}}).$mount("#app")},Qi1R:function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a}));var o=n("TiKg"),r=n.n(o);function c(e){return new Promise((function(t){var n=setTimeout((function(){clearTimeout(n),n=null,t()}),e)}))}function s(e,t,n){var o={value:t,expiry:(new Date).getTime()+n};localStorage.setItem("taiwanpay_"+e,JSON.stringify(o))}function a(e){var t=localStorage.getItem("taiwanpay_"+e);if(!t)return null;var n=JSON.parse(t);return r()().valueOf()>n.expiry?(localStorage.removeItem(e),null):n.value}},UaCZ:function(e,t,n){"use strict";var o=n("6DIm"),r=n("SvlV"),c=function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"ikeF"))};o.a.use(r.a);var s=[{path:"/",component:c},{path:"*",component:c}],a=new r.a({mode:"hash",routes:s});t.a=a},ayiN:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return c}));var o={props:{show:Boolean}},r=(n("HxvX"),n("psIG")),c=Object(r.a)(o,(function(){var e=this.$createElement,t=this._self._c||e;return t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:this.show,expression:"show"}],staticClass:"loader-component"},[t("svg",{staticClass:"loader-component-svg",attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20"}})])])])}),[],!1,null,"5c4021c3",null).exports},gUuw:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=!1;function r(){if(!o){o=!0;var e="ontouchstart"in document.documentElement;console.log("%cinit isSuppotTouch:"+e,"background:#3498db;color:white"),"ReactSnap"===navigator.userAgent||e||(document.documentElement.className+=" no-touch")}}},kQFM:function(e,t,n){"use strict";var o=n("8VmE"),r=n.n(o),c=n("lOrp"),s=n("TiKg"),a=n.n(s),i=(n("8Uyk"),n("Qi1R"));n("6DIm").a.use(c.a);var u={loading:function(e,t){(0,e.commit)("setLoading",t)},lineUserId:function(e,t){(0,e.commit)("setLineId",t)},lineUserName:function(e,t){(0,e.commit)("setLineName",t)},lottering:function(e,t){(0,e.commit)("setLottering",t)},allow:function(e,t){(0,e.commit)("setAllow",t)},popuping:function(e,t,n,o){var r=e.commit;void 0===n&&(n=""),void 0===o&&(o=[]),n&&r("setPopType",n),o&&r("setPopMessage",o),r("setPopuping",t)},updatePlayerinfo:function(e,t){var n=e.commit,o=e.state,c=o.gp,s=o.c1,u=o.c2,l=o.c3,f=o.c4,_=o.c5,p=o.c6,d=o.c7,m=o.c8,j=o.c9,g=o.draw,v=Object(i.a)("playerinfo");v&&(t.c1=t.c1<=0&&1===v.c1?1:t.c1,t.c2=t.c2<=0&&1===v.c2?1:t.c2,t.c3=t.c3<=0&&1===v.c3?1:t.c3,t.c4=t.c4<=0&&1===v.c4?1:t.c4,t.c5=t.c5<=0&&1===v.c5?1:t.c5,t.c6=t.c6<=0&&1===v.c6?1:t.c6,t.c7=t.c7<=0&&1===v.c7?1:t.c7,t.c8=t.c8<=0&&1===v.c8?1:t.c8,t.c9=t.c9<=0&&1===v.c9?1:t.c9);var b=r()({gp:c,c1:s,c2:u,c3:l,c4:f,c5:_,c6:p,c7:d,c8:m,c9:j,draw:g},t);Object(i.b)("playerinfo",b,a()().endOf("day").valueOf()),n("setGp",b.gp),n("setC1",b.c1),n("setC2",b.c2),n("setC3",b.c3),n("setC4",b.c4),n("setC5",b.c5),n("setC6",b.c6),n("setC7",b.c7),n("setC8",b.c8),n("setC9",b.c9),n("setDraw",b.draw)},updateRoundinfo:function(e,t){var n=e.commit,o=e.state.roundinfo;n("setRoundinfo",r()({},o,t))},updateRedeeminfo:function(e,t){var n=e.commit,o=e.state.redeeminfo;"boolean"==typeof t?n("setRedeeminfo",t):"object"==typeof t&&n("setRedeeminfo",r()({},o,t))},updateDraw:function(e,t){(0,e.commit)("setDraw",t)},updateGp:function(e,t){(0,e.commit)("setGp",t)},updateQuestionState:function(e,t){var n=e.dispatch,o=e.state,r=t.id,c=t.value;o["c"+r]=c,n("updatePlayerinfo",{gp:o.gp,c1:o.c1,c2:o.c2,c3:o.c3,c4:o.c4,c5:o.c5,c6:o.c6,c7:o.c7,c8:o.c8,c9:o.c9,draw:o.draw})},updateCount:function(e){var t=e.commit,n=e.state.count+1;console.log("updateCount",n),t("setCount",n),Object(i.b)("Count",n,a()().endOf("day").valueOf())}},l={loading:function(e){return e.loading},lottering:function(e){return e.lottering},popuping:function(e){return e.popuping},popType:function(e){return e.popType},popMessage:function(e){return e.popMessage},allow:function(e){return e.allow},LINEID:function(e){return e.LINEID},LINENAME:function(e){return e.LINENAME},currentGameGp:function(e){return e.currentGameGp},playerinfo:function(e){var t=e.gp,n=e.c1,o=e.c2,r=e.c3,c=e.c4,s=e.c5,a=e.c6,u=e.c7,l=e.c8,f=e.c9,_=e.draw,p=Object(i.a)("playerinfo");console.log("cookie:\n"),console.log(p);var d={gp:t,c1:n,c2:o,c3:r,c4:c,c5:s,c6:a,c7:u,c8:l,c9:f,draw:_};return p&&(d.c1=1===p.c1?1:d.c1,d.c2=1===p.c2?1:d.c2,d.c3=1===p.c3?1:d.c3,d.c4=1===p.c4?1:d.c4,d.c5=1===p.c5?1:d.c5,d.c6=1===p.c6?1:d.c6,d.c7=1===p.c7?1:d.c7,d.c8=1===p.c8?1:d.c8,d.c9=1===p.c9?1:d.c9),d},roundinfo:function(e){return e.roundinfo},redeeminfo:function(e){return e.redeeminfo},count:function(e){var t=e.count;return Object(i.a)("Count")||t}};t.a=new c.a.Store({state:{loading:!1,popuping:!1,popType:"",popMessage:[],lottering:!1,allow:!1,LINEID:"",LINENAME:"",currentGameGp:0,roundinfo:{},redeeminfo:null,gp:0,c1:0,c2:0,c3:0,c4:0,c5:0,c6:0,c7:0,c8:0,c9:0,draw:0,count:0},getters:l,actions:u,mutations:{setLoading:function(e,t){e.loading=t},setPopuping:function(e,t){e.popuping=t},setPopMessage:function(e,t){e.popMessage=t},setPopType:function(e,t){e.popType=t},setLottering:function(e,t){e.lottering=t},setAllow:function(e,t){e.allow=t},setLineId:function(e,t){e.LINEID=t},setLineName:function(e,t){e.LINENAME=t},setCurrentGameGp:function(e,t){e.currentGameGp=t},setRoundinfo:function(e,t){e.roundinfo=t},setRedeeminfo:function(e,t){e.redeeminfo=t},setGp:function(e,t){e.gp=t},setC1:function(e,t){e.c1=t},setC2:function(e,t){e.c2=t},setC3:function(e,t){e.c3=t},setC4:function(e,t){e.c4=t},setC5:function(e,t){e.c5=t},setC6:function(e,t){e.c6=t},setC7:function(e,t){e.c7=t},setC8:function(e,t){e.c8=t},setC9:function(e,t){e.c9=t},setDraw:function(e,t){e.draw=t},setCount:function(e,t){e.count=t}}})},tHXl:function(e,t,n){}});