(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7161e6ea"],{"0d7a":function(e,t,r){},"1ccc":function(e,t,r){"use strict";r("0d7a")},"2a90":function(e,t,r){"use strict";r("30c6")},"30c6":function(e,t,r){},"36a9":function(e,t,r){"use strict";var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerBack",style:{backgroundColor:e.header&&e.header.bgColor}},[t("div",{staticClass:"left"},[t("span",{staticClass:"title"},[e._v(e._s(e.$language[e.header&&e.header.title]||e.header&&e.header.title||""))])]),t("span",{staticClass:"right"},[t("span",{staticClass:"close",on:{click:function(t){return e.back()}}},[t("i",{staticClass:"iconfont icon-close"})])]),t("k-select-country",{attrs:{show:e.selectCountry},on:{cancel:function(t){e.selectCountry=!1},confirm:e.selectCountryFn}})],1)},o=[],a=(r("14d9"),r("5530")),i=r("0434"),s={name:"headerBack",components:{kSelectCountry:i["a"]},data:function(){return{selectCountry:!1}},computed:Object(a["a"])({},Vuex.mapGetters(["header","country","countryData","token"])),methods:{back:function(){var e=window.sessionStorage,t=e.getItem("count");1==t?this.$router.push({name:"Home"}):this.$router.go(-1)},selectCountryFn:function(e){this.selectCountry=!1,this.$store.commit("SET_COUNTRY",e.country)}}},c=s,u=(r("cbb3"),r("2877")),l=Object(u["a"])(c,n,o,!1,null,"05af7f23",null);t["a"]=l.exports},4127:function(e,t,r){"use strict";var n=r("d233"),o=r("b313"),a={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i=Array.isArray,s=Array.prototype.push,c=function(e,t){s.apply(e,i(t)?t:[t])},u=Date.prototype.toISOString,l={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f=function e(t,r,o,a,s,u,l,f,d,p,h,y){var m=t;if("function"===typeof l?m=l(r,m):m instanceof Date&&(m=p(m)),null===m){if(a)return u&&!y?u(r):r;m=""}if("string"===typeof m||"number"===typeof m||"boolean"===typeof m||n.isBuffer(m)){if(u){var g=y?r:u(r);return[h(g)+"="+h(u(m))]}return[h(r)+"="+h(String(m))]}var b,v=[];if("undefined"===typeof m)return v;if(i(l))b=l;else{var w=Object.keys(m);b=f?w.sort(f):w}for(var k=0;k<b.length;++k){var O=b[k];s&&null===m[O]||(i(m)?c(v,e(m[O],o(r,O),o,a,s,u,l,f,d,p,h,y)):c(v,e(m[O],r+(d?"."+O:"["+O+"]"),o,a,s,u,l,f,d,p,h,y)))}return v};e.exports=function(e,t){var r=e,n=t||{};if(null!==n.encoder&&"undefined"!==typeof n.encoder&&"function"!==typeof n.encoder)throw new TypeError("Encoder has to be a function.");var s="undefined"===typeof n.delimiter?l.delimiter:n.delimiter,u="boolean"===typeof n.strictNullHandling?n.strictNullHandling:l.strictNullHandling,d="boolean"===typeof n.skipNulls?n.skipNulls:l.skipNulls,p="boolean"===typeof n.encode?n.encode:l.encode,h="function"===typeof n.encoder?n.encoder:l.encoder,y="function"===typeof n.sort?n.sort:null,m="undefined"!==typeof n.allowDots&&n.allowDots,g="function"===typeof n.serializeDate?n.serializeDate:l.serializeDate,b="boolean"===typeof n.encodeValuesOnly?n.encodeValuesOnly:l.encodeValuesOnly;if("undefined"===typeof n.format)n.format=o["default"];else if(!Object.prototype.hasOwnProperty.call(o.formatters,n.format))throw new TypeError("Unknown format option provided.");var v,w,k=o.formatters[n.format];"function"===typeof n.filter?(w=n.filter,r=w("",r)):i(n.filter)&&(w=n.filter,v=w);var O,j=[];if("object"!==typeof r||null===r)return"";O=n.arrayFormat in a?n.arrayFormat:"indices"in n?n.indices?"indices":"repeat":"indices";var C=a[O];v||(v=Object.keys(r)),y&&v.sort(y);for(var H=0;H<v.length;++H){var $=v[H];d&&null===r[$]||c(j,f(r[$],$,C,u,d,p?h:null,w,y,m,g,k,b))}return j.join(s)}},4328:function(e,t,r){"use strict";var n=r("4127"),o=r("9e6a"),a=r("b313");e.exports={formats:a,parse:o,stringify:n}},"4d78":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{class:["partnerGame",{showNav:e.footerShow,showHeader:e.showHeaderStatus,full:2==e.$route.query.playMode}]},[1===e.showHeaderStatus?t("k-header",{ref:"header",attrs:{leftType:"back",delegateBack:e.delegateBack,banner:!1,partnerCount:e.partnerHistoryCount},on:{back:e.back,beforeBack:e.beforeBack,transmitBack:e.transmitBack}}):e._e(),2===e.showHeaderStatus?t("k-header-back",{scopedSlots:e._u([{key:"title",fn:function(){return[t("span",[e._v(e._s(e.headerTitle))])]},proxy:!0}],null,!1,1394658484)}):e._e(),t("div",{staticClass:"content"},[e.loading?t("loading-main"):e._e(),e.srcUrl?t("iframe",{ref:"iframeBox",staticStyle:{position:"relative"},attrs:{src:e.srcUrl,frameborder:"0",allowFullScreen:"false"},on:{load:e.iframeLoaded}}):e._e()],1)],1)},o=[],a=(r("ac1f"),r("5319"),r("caad"),r("4795"),r("841c"),r("14d9"),r("b0c0"),r("e9c4"),r("c7eb")),i=r("1da1"),s=r("5530"),c=r("bd61"),u=r("36a9"),l=r("e850"),f=r("4328"),d=r.n(f),p={name:"PartnerGame",components:{KHeader:c["a"],LoadingMain:l["a"],KHeaderBack:u["a"]},data:function(){return{srcUrl:"",loading:!1,fullPath:"",showHeaderStatus:0,gameId:"",headerTitle:"",partnerUser:{token:"",gameUrl:""},initialized:!1,partnerHistoryCount:0,delegateBack:1,enterPartnerPageType:1}},computed:Object(s["a"])({},Vuex.mapGetters(["token","countryData","footerShow"])),destroyed:function(){this.loading=!1,window.removeEventListener("message",this.msgBc)},created:function(){var e=this;return Object(i["a"])(Object(a["a"])().mark((function t(){return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.$route.query.url){t.next=3;break}return e.$router.replace({name:"Home"}),t.abrupt("return");case 3:e.srcUrl=e.$route.query.url,2==e.$route.query.playMode&&e.$store.commit("SET_RELEASE_WIDTH_LIMIT",!0);case 5:case"end":return t.stop()}}),t)})))()},mounted:function(){var e=this;window.addEventListener("message",this.msgBc),this.getPartnerHistoryCount(),window.addEventListener("popstate",(function(t){var r=decodeURIComponent(e.$route.query.url);e.srcUrl=r,e.setBtmNav()})),this.enterPartnerPageType=this.$route.query.enterType||1,history.replaceState(null,null,this.$route.path+"?"+d.a.stringify(Object(s["a"])(Object(s["a"])({},this.$route.query),{},{enterType:2})))},methods:{setBtmNav:function(){[!0,"true"].includes(this.$route.query.showFooter)&&this.$store.commit("SET_BTMNAV",{show:!0}),this.showHeaderStatus=1*(this.$route.query.showHeader||1),this.headerTitle=this.$route.query.headerTitle},getPartnerHistoryCount:function(){return this.partnerHistoryCount=1*sessionStorage.getItem("partnerHistoryCount")||20,this.partnerHistoryCount},beforeBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fullPath;this.fullPath=t},transmitBack:function(){this.sendMessage({name:"back",code:0,msg:"success",data:{platform:"9f"}})},back:function(e){var t=this;"all"==e?this.$nextTick((function(){setTimeout((function(){var e=location.pathname+location.search;if(t.fullPath==e)if(1===t.showHeaderStatus)t.$refs.header.back({child:!0});else{var r=window.sessionStorage,n=r.getItem("count");1==n?t.$router.push({name:"Home"}):(t.$router.go(-1),t.$emit("back"))}}),100)})):this.$nextTick((function(){setTimeout((function(){[void 0,"undefined",null,"null",""].includes(t.srcUrl)&&t.back("all")}),100)})),this.loading=!1,1==this.delegateBack&&(--this.partnerHistoryCount,sessionStorage.setItem("partnerHistoryCount",this.partnerHistoryCount))},iframeLoaded:function(){},sendMessage:function(e){try{this.$refs.iframeBox.contentWindow.postMessage(e,"*")}catch(t){}},msgBc:function(e){if(e.data&&this[e.data.name])try{this[e.data.name](e.data.params)}catch(t){}},init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.initialized=!0,this.delegateBack=e.delegateBack||1,this.sendMessage({name:"initialized",code:0,msg:"success",data:{platform:"9f"}})},updateUserInfo:function(){this.$store.dispatch("GetUserInfo")},close:function(){this.partnerHistoryCount=1,sessionStorage.setItem("partnerHistoryCount",this.partnerHistoryCount),this.fullPath=location.pathname+location.search,this.back("all")},hideLoading:function(){this.loading=!1},showLoading:function(){this.loading=!0},recharge:function(){this.$router.push({name:"Deposit"})},toLogin:function(){var e=Object(s["a"])({},this.$route.query);this.$router.push({name:"Login",query:{redirect:this.$route.name,query:JSON.stringify(e)}})},login:function(){var e=this;return Object(i["a"])(Object(a["a"])().mark((function t(){return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.logging){t.next=2;break}return t.abrupt("return");case 2:if(e.logging=!0,e.token){t.next=7;break}e.toLogin(),t.next=10;break;case 7:return t.next=9,e.$store.dispatch("GetUserInfo",{router:{name:e.$route.name,query:e.$route.query},noLogin:!0,noPrompt:!0})["catch"]((function(t){[119706,0,19706].includes(t.result)&&e.toLogin()}));case 9:e.close();case 10:case"end":return t.stop()}}),t)})))()},showHeader:function(e){e&&(this.showHeaderStatus=1*e.status,this.headerTitle=e.title||"")},showFooter:function(e){e&&this.$store.commit("SET_BTMNAV",{show:!!e.status})}}},h=p,y=(r("1ccc"),r("2877")),m=Object(y["a"])(h,n,o,!1,null,"3dddb3db",null);t["default"]=m.exports},"9e6a":function(e,t,r){"use strict";var n=r("d233"),o=Object.prototype.hasOwnProperty,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},i=function(e,t){for(var r={},n=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),a=0;a<n.length;++a){var i,s,c=n[a],u=-1===c.indexOf("]=")?c.indexOf("="):c.indexOf("]=")+1;-1===u?(i=t.decoder(c),s=t.strictNullHandling?null:""):(i=t.decoder(c.slice(0,u)),s=t.decoder(c.slice(u+1))),o.call(r,i)?r[i]=[].concat(r[i]).concat(s):r[i]=s}return r},s=function(e,t,r){if(!e.length)return t;var n,o=e.shift();if("[]"===o&&r.parseArrays)n=[],n=n.concat(s(e,t,r));else{n=r.plainObjects?Object.create(null):{};var a="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,i=parseInt(a,10);r.parseArrays||""!==a?!isNaN(i)&&o!==a&&String(i)===a&&i>=0&&r.parseArrays&&i<=r.arrayLimit?(n=[],n[i]=s(e,t,r)):"__proto__"!==a&&(n[a]=s(e,t,r)):n={0:t}}return n},c=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,c=a.exec(n),u=c?n.slice(0,c.index):n,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}var f=0;while(null!==(c=i.exec(n))&&f<r.depth){if(f+=1,!r.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+n.slice(c.index)+"]"),s(l,t,r)}};e.exports=function(e,t){var r=t||{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!==typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.delimiter="string"===typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:a.delimiter,r.depth="number"===typeof r.depth?r.depth:a.depth,r.arrayLimit="number"===typeof r.arrayLimit?r.arrayLimit:a.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"===typeof r.decoder?r.decoder:a.decoder,r.allowDots="boolean"===typeof r.allowDots?r.allowDots:a.allowDots,r.plainObjects="boolean"===typeof r.plainObjects?r.plainObjects:a.plainObjects,r.allowPrototypes="boolean"===typeof r.allowPrototypes?r.allowPrototypes:a.allowPrototypes,r.parameterLimit="number"===typeof r.parameterLimit?r.parameterLimit:a.parameterLimit,r.strictNullHandling="boolean"===typeof r.strictNullHandling?r.strictNullHandling:a.strictNullHandling,""===e||null===e||"undefined"===typeof e)return r.plainObjects?Object.create(null):{};for(var o="string"===typeof e?i(e,r):e,s=r.plainObjects?Object.create(null):{},u=Object.keys(o),l=0;l<u.length;++l){var f=u[l],d=c(f,o[f],r);s=n.merge(s,d,r)}return n.compact(s)}},b313:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},cbb3:function(e,t,r){"use strict";r("fd4f")},d233:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}();t.arrayToObject=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeof e[n]&&(r[n]=e[n]);return r},t.merge=function(e,r,o){if(!r)return e;if("object"!==typeof r){if(Array.isArray(e))e.push(r);else{if(!e||"object"!==typeof e)return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!==typeof e)return[e].concat(r);var a=e;return Array.isArray(e)&&!Array.isArray(r)&&(a=t.arrayToObject(e,o)),Array.isArray(e)&&Array.isArray(r)?(r.forEach((function(r,a){n.call(e,a)?e[a]&&"object"===typeof e[a]?e[a]=t.merge(e[a],r,o):e.push(r):e[a]=r})),e):Object.keys(r).reduce((function(e,n){var a=r[n];return Object.prototype.hasOwnProperty.call(e,n)?e[n]=t.merge(e[n],a,o):e[n]=a,e}),a)},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;for(var t="string"===typeof e?e:String(e),r="",n=0;n<t.length;++n){var a=t.charCodeAt(n);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?r+=t.charAt(n):a<128?r+=o[a]:a<2048?r+=o[192|a>>6]+o[128|63&a]:a<55296||a>=57344?r+=o[224|a>>12]+o[128|a>>6&63]+o[128|63&a]:(n+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(n)),r+=o[240|a>>18]+o[128|a>>12&63]+o[128|a>>6&63]+o[128|63&a])}return r},t.compact=function(e,r){if("object"!==typeof e||null===e)return e;var n=r||[],o=n.indexOf(e);if(-1!==o)return n[o];if(n.push(e),Array.isArray(e)){for(var a=[],i=0;i<e.length;++i)e[i]&&"object"===typeof e[i]?a.push(t.compact(e[i],n)):"undefined"!==typeof e[i]&&a.push(e[i]);return a}var s=Object.keys(e);return s.forEach((function(r){e[r]=t.compact(e[r],n)})),e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null!==e&&"undefined"!==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},e850:function(e,t,r){"use strict";var n=function(){var e=this;e._self._c;return e._m(0)},o=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"appLoading"},[t("div",[t("span",{staticClass:"first"}),t("span",{staticClass:"two"}),t("span",{staticClass:"three"})])])}],a=(r("2a90"),r("2877")),i={},s=Object(a["a"])(i,n,o,!1,null,"14b59c50",null);t["a"]=s.exports},fd4f:function(e,t,r){}}]);