webpackJsonp([3],{0:function(t,e,a){a("j1ja"),t.exports=a("NHnr")},DMae:function(t,e){},ENeJ:function(t,e){},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});a("j1ja");var n=a("7+uW"),o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var i=a("VU/8")({name:"App"},o,!1,function(t){a("DMae")},null,null).exports,c=a("/ocq");n.default.use(c.a);var r=new c.a({routes:[{path:"/",name:"home",component:function(t){return a.e(0).then(function(){var e=[a("tHxJ")];t.apply(null,e)}.bind(this)).catch(a.oe)}},{path:"/PersonalCenter",name:"PersonalCenter",component:function(t){return a.e(1).then(function(){var e=[a("RYJU")];t.apply(null,e)}.bind(this)).catch(a.oe)}}],scrollBehavior:function(t,e,a){return a||{x:0,y:0}}});r.beforeEach(function(t,e,a){"/StRollBallpage"==t.path&&(t.query.isTrue=!0),a()});var u=r,s=a("NYxO"),d=a("mvHQ"),l=a.n(d),f=(a("gAs1"),{setCache:function(t,e){if(e instanceof Array){var a=l()(e);window.sessionStorage.setItem(t,a)}else window.sessionStorage.setItem(t,e)},getCache:function(t){return window.sessionStorage.getItem(t)},setItem:function(t,e){if(e instanceof Array){var a=l()(e);localStorage.setItem(t,a)}else localStorage.setItem(t,e)},getItem:function(t){return localStorage.getItem(t)},timer:function(t,e,a){setInterval(function(){++e<10&&(e="0"+e),60==e&&(t++,e="00"),a&&a(t,e)},1e3)},bettingFunction:function(t,e,a,n,o,i,c,r,u){var s=!0,d=!1;t.forEach(function(n,o){e.id==n.id&&(a.forEach(function(a){e.id==a.id&&(r&&r(a,!1),t.splice(o,1))}),s=!1)}),s&&(c>=10?d=!0:(t.push(e),t.forEach(function(t){e.id==t.id&&a.forEach(function(t){e.id==t.id&&r&&r(t,!0)})})));var l={title:o,data:t},f=[];1e4!=i?n[i]=l:n?n.length>0&&n.push(l):f.push(l),u&&u(n,f,d)},publicBetMethod:function(t,e,a,n,o,i,c,r,u,s,d,l){var f=!0,g=!0,h=!1;t[n].home_team=i.home,t[n].guest_team=i.guest,t[n].playName=c,t[n].name=r,t[n].match_id=u,t[n].ballId=s;var m={title:e,data:[t[n]]};o.length>0?(o.forEach(function(o){o.title==e&&(o.data.forEach(function(t,e){t.id==a&&(o.data.splice(e,1),g=!1)}),g&&(d>=10?h=!0:o.data.push(t[n])),f=!1)}),f&&(d>=10?h=!0:o.push(m))):o.push(m),l&&l(o,h)},publicBetting:function(t,e,a,n,o,i,c,r,u,s,d,l,f,g,h){var m=!0,p=!0,w=!1;t[n].matchData[o].oddsData[i].home_team=s.home,t[n].matchData[o].oddsData[i].guest_team=s.guest,t[n].matchData[o].oddsData[i].playName=d,t[n].matchData[o].oddsData[i].name=l,t[n].matchData[o].oddsData[i].ballId=f;var E={title:e,data:[t[n].matchData[o].oddsData[i]]};c.length>0?(c.forEach(function(c){c.title==e&&(c.data.forEach(function(t,e){t.id==a&&(c.data.splice(e,1),p=!1)}),p&&(g>=10?w=!0:c.data.push(t[n].matchData[o].oddsData[i])),m=!1)}),m&&(g>=10?w=!0:c.push(E))):c.push(E),h&&h(c,w)},strandPublicBetting:function(t,e,a,n,o,i,c,r,u,s,d,l,f,g,h,m){var p=!0,w=!0,E=!1;t[n].matchData[o].oddsData[i].playName=s,t[n].matchData[o].oddsData[i].home_team=f,t[n].matchData[o].oddsData[i].guest_team=g,t[n].matchData[o].oddsData[i].name=d,t[n].matchData[o].oddsData[i].ballId=l;var y={title:e,data:[t[n].matchData[o].oddsData[i]]};c.length>0?(c.forEach(function(r){r.title==e&&(r.data.forEach(function(t,e){t.id==a&&(r.data.splice(e,1),w=!1)}),w&&(h>=10?E=!0:(c.forEach(function(t){if(t.data.length>0)for(var e=0;e=10?E=!0:(c.forEach(function(t){if(t.data.length>0)for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:1e4,a=setInterval(function(){t&&t(a)},e)},betPlay:function(t,e){var a=0,n=e.length;return a=this.oddsAlgorithm(t,e),function(t){return{title:t+"串1",index:function(t){for(var e=1,a=n;a>n-t;a--)e*=a;return e}(t)/function(t){for(var e=1,a=t;a>1;a--)e*=a;return e}(t),odds:a}}(t)},oddsAlgorithm:function(t,e){var a=[],n=t,o=[];e.forEach(function(t){a.push(t.odds)});for(var i=0;i>u&1&&(c++,r+=a[u]+",");if(c==n){var s=r.split(",");s.pop(),o.push(s)}}var d=0;return o.forEach(function(t){var e=1;t.forEach(function(t){e*=1+1*t}),d+=1*e-1}),d},oddsDataUpdate:function(t,e,a,n){"1"==a?(t.forEach(function(t){e.forEach(function(a,n){t.lg_id==a.lg_id&&(t.matchData.forEach(function(t){a.matchData.forEach(function(e,n){t.match_id==e.match_id&&(t.oddsData.forEach(function(t){e.oddsData.forEach(function(a){t.id==a.id&&(t.odds>a.odds?t.change="rising":t.oddse.odds?t.change="rising":t.odds"})}},[0]); //# sourceMappingURL=app.042dae6cf8e3c11de4c6.js.map