!function(){var t,e,n,i,r,o,s,a={61987:function(t){var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=e},69919:function(t){var e,n;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=n.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,i=0;n<t.length;n++,i+=8)e[i>>>5]|=t[n]<<24-i%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var n=[],i=0;i<t.length;i+=3)for(var r=t[i]<<16|t[i+1]<<8|t[i+2],o=0;o<4;o++)8*i+6*o<=8*t.length?n.push(e.charAt(r>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],i=0,r=0;i<t.length;r=++i%4)0!=r&&n.push((e.indexOf(t.charAt(i-1))&Math.pow(2,-2*r+8)-1)<<2*r|e.indexOf(t.charAt(i))>>>6-2*r);return n}},t.exports=n},95285:function(t){var e;e=function(){"use strict";var t="millisecond",e="second",n="minute",i="hour",r="week",o="month",s="quarter",a="year",c="date",l="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},f="en",h={};h[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||"th")+"]"}};var m="$isDayjsObject",g=function(t){return t instanceof w||!(!t||!t[m])},v=function t(e,n,i){var r;if(!e)return f;if("string"==typeof e){var o=e.toLowerCase();h[o]&&(r=o),n&&(h[o]=n,r=o);var s=e.split("-");if(!r&&s.length>1)return t(s[0])}else{var a=e.name;h[a]=e,r=a}return!i&&r&&(f=r),r||!i&&f},y=function(t,e){if(g(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new w(n)},b={s:p,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+p(Math.floor(n/60),2,"0")+":"+p(n%60,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,o),s=n-r<0,a=e.clone().add(i+(s?-1:1),o);return+(-(i+(n-r)/(s?r-a:a-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(l){return({M:o,y:a,w:r,d:"day",D:c,h:i,m:n,s:e,ms:t,Q:s})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};b.l=v,b.i=g,b.w=function(t,e){return y(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function p(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[m]=!0}var f=p.prototype;return f.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(u);if(i){var r=i[2]-1||0,o=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(e)}(t),this.init()},f.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},f.$utils=function(){return b},f.isValid=function(){return this.$d.toString()!==l},f.isSame=function(t,e){var n=y(t);return this.startOf(e)<=n&&n<=this.endOf(e)},f.isAfter=function(t,e){return y(t)<this.startOf(e)},f.isBefore=function(t,e){return this.endOf(e)<y(t)},f.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(t,s){var l=this,u=!!b.u(s)||s,d=b.p(t),p=function(t,e){var n=b.w(l.$u?Date.UTC(l.$y,e,t):new Date(l.$y,e,t),l);return u?n:n.endOf("day")},f=function(t,e){return b.w(l.toDate()[t].apply(l.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),l)},h=this.$W,m=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case a:return u?p(1,0):p(31,11);case o:return u?p(1,m):p(0,m+1);case r:var y=this.$locale().weekStart||0,w=(h<y?h+7:h)-y;return p(u?g-w:g+(6-w),m);case"day":case c:return f(v+"Hours",0);case i:return f(v+"Minutes",1);case n:return f(v+"Seconds",2);case e:return f(v+"Milliseconds",3);default:return this.clone()}},f.endOf=function(t){return this.startOf(t,!1)},f.$set=function(r,s){var l,u=b.p(r),d="set"+(this.$u?"UTC":""),p=((l={}).day=d+"Date",l[c]=d+"Date",l[o]=d+"Month",l[a]=d+"FullYear",l[i]=d+"Hours",l[n]=d+"Minutes",l[e]=d+"Seconds",l[t]=d+"Milliseconds",l)[u],f="day"===u?this.$D+(s-this.$W):s;if(u===o||u===a){var h=this.clone().set(c,1);h.$d[p](f),h.init(),this.$d=h.set(c,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},f.set=function(t,e){return this.clone().$set(t,e)},f.get=function(t){return this[b.p(t)]()},f.add=function(t,s){var c,l=this;t=Number(t);var u=b.p(s),d=function(e){var n=y(l);return b.w(n.date(n.date()+Math.round(e*t)),l)};if(u===o)return this.set(o,this.$M+t);if(u===a)return this.set(a,this.$y+t);if("day"===u)return d(1);if(u===r)return d(7);var p=((c={})[n]=6e4,c[i]=36e5,c[e]=1e3,c)[u]||1,f=this.$d.getTime()+t*p;return b.w(f,this)},f.subtract=function(t,e){return this.add(-1*t,e)},f.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=b.z(this),o=this.$H,s=this.$m,a=this.$M,c=n.weekdays,u=n.months,p=n.meridiem,f=function(t,n,r,o){return t&&(t[n]||t(e,i))||r[n].slice(0,o)},h=function(t){return b.s(o%12||12,t,"0")},m=p||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i};return i.replace(d,function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return f(n.monthsShort,a,u,3);case"MMMM":return f(u,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(n.weekdaysMin,e.$W,c,2);case"ddd":return f(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(o);case"HH":return b.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return m(o,s,!0);case"A":return m(o,s,!1);case"m":return String(s);case"mm":return b.s(s,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(t,c,l){var u,d=this,p=b.p(c),f=y(t),h=(f.utcOffset()-this.utcOffset())*6e4,m=this-f,g=function(){return b.m(d,f)};switch(p){case a:u=g()/12;break;case o:u=g();break;case s:u=g()/3;break;case r:u=(m-h)/6048e5;break;case"day":u=(m-h)/864e5;break;case i:u=m/36e5;break;case n:u=m/6e4;break;case e:u=m/1e3;break;default:u=m}return l?u:b.a(u)},f.daysInMonth=function(){return this.endOf(o).$D},f.$locale=function(){return h[this.$L]},f.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=v(t,e,!0);return i&&(n.$L=i),n},f.clone=function(){return b.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},p}(),k=w.prototype;return y.prototype=k,[["$ms",t],["$s",e],["$m",n],["$H",i],["$W","day"],["$M",o],["$y",a],["$D",c]].forEach(function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),y.extend=function(t,e){return t.$i||(t(e,w,y),t.$i=!0),y},y.locale=v,y.isDayjs=g,y.unix=function(t){return y(1e3*t)},y.en=h[f],y.Ls=h,y.p={},y},t.exports=e()},27634:function(t){function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */t.exports=function(t){return null!=t&&(e(t)||"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))||!!t._isBuffer)}},10523:function(t,e,n){var i,r,o,s,a;i=n(69919),r=n(61987).utf8,o=n(27634),s=n(61987).bin,(a=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?s.stringToBytes(t):r.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var n=i.bytesToWords(t),c=8*t.length,l=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<n.length;f++)n[f]=(n[f]<<8|n[f]>>>24)&16711935|(n[f]<<24|n[f]>>>8)&4278255360;n[c>>>5]|=128<<c%32,n[(c+64>>>9<<4)+14]=c;for(var h=a._ff,m=a._gg,g=a._hh,v=a._ii,f=0;f<n.length;f+=16){var y=l,b=u,w=d,k=p;l=h(l,u,d,p,n[f+0],7,-680876936),p=h(p,l,u,d,n[f+1],12,-389564586),d=h(d,p,l,u,n[f+2],17,606105819),u=h(u,d,p,l,n[f+3],22,-1044525330),l=h(l,u,d,p,n[f+4],7,-176418897),p=h(p,l,u,d,n[f+5],12,1200080426),d=h(d,p,l,u,n[f+6],17,-1473231341),u=h(u,d,p,l,n[f+7],22,-45705983),l=h(l,u,d,p,n[f+8],7,1770035416),p=h(p,l,u,d,n[f+9],12,-1958414417),d=h(d,p,l,u,n[f+10],17,-42063),u=h(u,d,p,l,n[f+11],22,-1990404162),l=h(l,u,d,p,n[f+12],7,1804603682),p=h(p,l,u,d,n[f+13],12,-40341101),d=h(d,p,l,u,n[f+14],17,-1502002290),u=h(u,d,p,l,n[f+15],22,1236535329),l=m(l,u,d,p,n[f+1],5,-165796510),p=m(p,l,u,d,n[f+6],9,-1069501632),d=m(d,p,l,u,n[f+11],14,643717713),u=m(u,d,p,l,n[f+0],20,-373897302),l=m(l,u,d,p,n[f+5],5,-701558691),p=m(p,l,u,d,n[f+10],9,38016083),d=m(d,p,l,u,n[f+15],14,-660478335),u=m(u,d,p,l,n[f+4],20,-405537848),l=m(l,u,d,p,n[f+9],5,568446438),p=m(p,l,u,d,n[f+14],9,-1019803690),d=m(d,p,l,u,n[f+3],14,-187363961),u=m(u,d,p,l,n[f+8],20,1163531501),l=m(l,u,d,p,n[f+13],5,-1444681467),p=m(p,l,u,d,n[f+2],9,-51403784),d=m(d,p,l,u,n[f+7],14,1735328473),u=m(u,d,p,l,n[f+12],20,-1926607734),l=g(l,u,d,p,n[f+5],4,-378558),p=g(p,l,u,d,n[f+8],11,-2022574463),d=g(d,p,l,u,n[f+11],16,1839030562),u=g(u,d,p,l,n[f+14],23,-35309556),l=g(l,u,d,p,n[f+1],4,-1530992060),p=g(p,l,u,d,n[f+4],11,1272893353),d=g(d,p,l,u,n[f+7],16,-155497632),u=g(u,d,p,l,n[f+10],23,-1094730640),l=g(l,u,d,p,n[f+13],4,681279174),p=g(p,l,u,d,n[f+0],11,-358537222),d=g(d,p,l,u,n[f+3],16,-722521979),u=g(u,d,p,l,n[f+6],23,76029189),l=g(l,u,d,p,n[f+9],4,-640364487),p=g(p,l,u,d,n[f+12],11,-421815835),d=g(d,p,l,u,n[f+15],16,530742520),u=g(u,d,p,l,n[f+2],23,-995338651),l=v(l,u,d,p,n[f+0],6,-198630844),p=v(p,l,u,d,n[f+7],10,1126891415),d=v(d,p,l,u,n[f+14],15,-1416354905),u=v(u,d,p,l,n[f+5],21,-57434055),l=v(l,u,d,p,n[f+12],6,1700485571),p=v(p,l,u,d,n[f+3],10,-1894986606),d=v(d,p,l,u,n[f+10],15,-1051523),u=v(u,d,p,l,n[f+1],21,-2054922799),l=v(l,u,d,p,n[f+8],6,1873313359),p=v(p,l,u,d,n[f+15],10,-30611744),d=v(d,p,l,u,n[f+6],15,-1560198380),u=v(u,d,p,l,n[f+13],21,1309151649),l=v(l,u,d,p,n[f+4],6,-145523070),p=v(p,l,u,d,n[f+11],10,-1120210379),d=v(d,p,l,u,n[f+2],15,718787259),u=v(u,d,p,l,n[f+9],21,-343485551),l=l+y>>>0,u=u+b>>>0,d=d+w>>>0,p=p+k>>>0}return i.endian([l,u,d,p])})._ff=function(t,e,n,i,r,o,s){var a=t+(e&n|~e&i)+(r>>>0)+s;return(a<<o|a>>>32-o)+e},a._gg=function(t,e,n,i,r,o,s){var a=t+(e&i|n&~i)+(r>>>0)+s;return(a<<o|a>>>32-o)+e},a._hh=function(t,e,n,i,r,o,s){var a=t+(e^n^i)+(r>>>0)+s;return(a<<o|a>>>32-o)+e},a._ii=function(t,e,n,i,r,o,s){var a=t+(n^(e|~i))+(r>>>0)+s;return(a<<o|a>>>32-o)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,e){if(null==t)throw Error("Illegal argument "+t);var n=i.wordsToBytes(a(t,e));return e&&e.asBytes?n:e&&e.asString?s.bytesToString(n):i.bytesToHex(n)}},99828:function(t,e){"use strict";var n,i=Object.prototype.hasOwnProperty;function r(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function o(t){try{return encodeURIComponent(t)}catch(t){return null}}e.stringify=function(t,e){var r,s,a=[];for(s in"string"!=typeof(e=e||"")&&(e="?"),t)if(i.call(t,s)){if(!(r=t[s])&&(null===r||r===n||isNaN(r))&&(r=""),s=o(s),r=o(r),null===s||null===r)continue;a.push(s+"="+r)}return a.length?e+a.join("&"):""},e.parse=function(t){for(var e,n=/([^=?#&]+)=?([^&]*)/g,i={};e=n.exec(t);){var o=r(e[1]),s=r(e[2]);null===o||null===s||o in i||(i[o]=s)}return i}},77315:function(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},86045:function(t,e,n){var i;i=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,i=t.content;this.id=e,this.viewBox=n,this.content=i};t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach(function(e){return delete t[e]})};var e=function(t){var e=!!document.importNode,n=new DOMParser().parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n};function i(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var r=i(function(t,e){var n;n=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){return n&&!0===n.clone&&t(e)?i(Array.isArray(e)?[]:{},e,n):e}function n(n,r,o){var s=n.slice();return r.forEach(function(r,a){void 0===s[a]?s[a]=e(r,o):t(r)?s[a]=i(n[a],r,o):-1===n.indexOf(r)&&s.push(e(r,o))}),s}function i(r,o,s){var a,c=Array.isArray(o),l=(s||{arrayMerge:n}).arrayMerge||n;return c?Array.isArray(r)?l(r,o,s):e(o,s):(a={},t(r)&&Object.keys(r).forEach(function(t){a[t]=e(r[t],s)}),Object.keys(o).forEach(function(n){t(o[n])&&r[n]?a[n]=i(r[n],o[n],s):a[n]=e(o[n],s)}),a)}return i.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw Error("first argument should be an array with at least two elements");return t.reduce(function(t,n){return i(t,n,e)})},i},t.exports=n()}),o=i(function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default}),s=o.svg,a=o.xlink,c={};c[s.name]=s.uri,c[a.name]=a.uri;var l=function(t,e){var n;return void 0===t&&(t=""),"<svg "+Object.keys(n=r(c,e||{})).map(function(t){var e=n[t].toString().replace(/"/g,"&quot;");return t+'="'+e+'"'}).join(" ")+">"+t+"</svg>"};return function(t){function n(){t.apply(this,arguments)}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var i={isMounted:{}};return i.isMounted.get=function(){return!!this.node},n.createFromExistingNode=function(t){return new n({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},n.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},n.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},n.prototype.render=function(){return e(l(this.stringify())).childNodes[0]},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(n.prototype,i),n}(t)},t.exports=i()},33389:function(t,e,n){"use strict";n(69703),n(76281),n(20518),n(78557),n(646),n(95035),n(95021),n(83103),n(17456),n(73687),n(99425),JSON.parse('{"q":[{"sportId":"sr:sport:1","sportName":"Soccer"},{"sportId":"lv:sport:1","sportName":"V-Soccer"},{"sportId":"sr:sport:137","sportName":"ESports Soccer"},{"sportId":"sr:sport:2","sportName":"Basketball"},{"sportId":"sr:sport:153","sportName":"ESports Basketball"},{"sportId":"sr:sport:20","sportName":"Table Tennis"},{"sportId":"sr:sport:5","sportName":"Tennis"},{"sportId":"sr:sport:16","sportName":"American Football"},{"sportId":"sr:sport:23","sportName":"Volleyball"},{"sportId":"sr:sport:4","sportName":"Ice Hockey"},{"sportId":"sr:sport:195","sportName":"ESports Ice Hockey"},{"sportId":"sr:sport:31","sportName":"Badminton"},{"sportId":"sr:sport:22","sportName":"Darts"},{"sportId":"sr:sport:21","sportName":"Cricket"},{"sportId":"sr:sport:13","sportName":"Aussie Rules"},{"sportId":"sr:sport:10","sportName":"Boxing"},{"sportId":"sr:sport:29","sportName":"Futsal"},{"sportId":"sr:sport:19","sportName":"Snooker"},{"sportId":"sr:sport:12","sportName":"Rugby"},{"sportId":"sr:sport:3","sportName":"Baseball"},{"sportId":"sr:sport:6","sportName":"Handball"},{"sportId":"sr:sport:109","sportName":"CS:GO","title":"CS GO","alias":["Counter-Strike","CS GO"]},{"sportId":"sr:sport:110","sportName":"League of Legends","title":"LOL"},{"sportId":"sr:sport:111","sportName":"Dota2"},{"sportId":"sr:sport:112","sportName":"StarCraft"},{"sportId":"sr:sport:113","sportName":"Heartstone"},{"sportId":"sr:sport:118","sportName":"Call Of Duty"},{"sportId":"sr:sport:121","sportName":"Overwatch"},{"sportId":"sr:sport:125","sportName":"Rainbow Six"},{"sportId":"sr:sport:128","sportName":"Rocket League"}]}').q.reduce(function(t,e){return t[e.sportId]=e,t},{})},33597:function(t,e,n){"use strict";n(76281),n(99425)},188:function(t,e,n){"use strict";n.d(e,{Fe:function(){return a},X5:function(){return o},Zg:function(){return r},ou:function(){return c},z9:function(){return s}}),n(24776),n(95021),n(53819);var i,r=(i=location.pathname.match(/^\/([a-z]+)/))&&i[1]?i[1]:sessionStorage.getItem("region")||"ng",o={appAndroidApk:location.origin+"/api/".concat(r,"/common/config/latestDownload/android"),appIosAppleStore:"https://apps.apple.com/".concat(r,"/app/msport-sports-betting-casino/id1606727725")},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"/".concat(r).concat(t)},a=s("/support/about/terms-and-conditions"),c=[{country:"ng",label:"Nigeria",flagUrl:n(92842)},{country:"gh",label:"Ghana",flagUrl:n(2506)},{country:"ug",label:"Uganda",flagUrl:n(25271)}]},28259:function(t,e,n){"use strict";n.d(e,{oG:function(){return s},sK:function(){return a},yV:function(){return o}});var i=n(59186),r=n(62392),o=function(){var t,e={clientid:"wap",platform:"WAP"};return(0,r.YB)()&&(e.AppVersion=i.A.get("appVersion")||(null===(t=window.msUserAgent)||void 0===t?void 0:t.appVersion)||"",(0,r.pT)()?e.clientid="games-wv":e.clientid="app-wv",(0,r.un)()?e.platform="ios":e.platform="android"),e},s=function(){return{clientid:"WEB",platform:"WEB"}},a={}},36700:function(t,e,n){"use strict";n(44962),n(58551),n(78557),n(83994),n(23630),n(82367);var i=new Map,r=n(58449);r.keys().forEach(function(t){var e=r(t);i.set(e.COUNTRY,e)}),e.A=i},78374:function(t,e,n){"use strict";n(24776),n(95021),n(93062),n(33597),n(33389),n(188)},59186:function(t,e,n){"use strict";n(16216),n(77575),n(646),n(95035),n(95021),n(83103),n(73687),e.A={get:function(t){var e=RegExp("(?:^|; )"+encodeURIComponent(t)+"=([^;]*)").exec(document.cookie);return e?decodeURIComponent(e[1]):""},set:function(t,e,n){if(n=Object.assign({path:"/",expires:36500},n),null===e&&(n.expires=-1),"number"==typeof n.expires){var i=n.expires,r=new Date;r.setDate(r.getDate()+i),n.expires=r}return document.cookie=[encodeURIComponent(t),"=",n.raw?String(e):encodeURIComponent(String(e)),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join(""),document.cookie}}},16777:function(t,e,n){t.exports={MAX_PRIZE:1e6,RATIO:.2,DAYS:115.74,round:-10,turns:6+30/360,startTime:1624377600,dialogImg:n(16062)}},7144:function(t,e,n){"use strict";var i,r,o,s,a,c,l,u,d,p=n(41705),f=n(29644);function h(t){var e;if(!(t in window))return!1;try{if(!(e=window[t]))return!1;var n="__storage_test__";return e.setItem(n,n),e.removeItem(n),!0}catch(t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&e&&0!==e.length}}function m(){var t={};return{length:Object.keys(t).length,clear:function(){t={}},getItem:function(e){return t[e]},key:function(){},removeItem:function(e){delete t[e]},setItem:function(e,n){t[e]=n}}}function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t){var i={event:t};e&&(i.eventCategory=e),n&&Object.assign(i,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},n));try{window.DEBUG_TRACE&&console.trace("Trace: ",i),window.dataLayer.push(i)}catch(t){console.error(t)}}}n(29305),n(14382),n(76281),n(44962),n(33087),n(36947),n(36457),n(88908),n(83810),n(78557),n(90076),n(95021),n(17456),n(99425),n(83994),n(23630),n(82367),n(76204),n(51908),n(7393),n(86409),n(11685),h("localStorage")||Object.defineProperty(window,"localStorage",{value:m(),writable:!1}),h("sessionStorage")||Object.defineProperty(window,"sessionStorage",{value:m(),writable:!1}),n(77575),window.mstrace=v;var y=n(27507),b=n(13879);if(y.default.use(b.Ay),n(64062),navigator.serviceWorker&&!/\/m\/mkt\/download/.test(location.pathname)){try{window.onappinstalled=function(){window.mstrace("pwa_installed","wap_display_mode")},window.mstrace((ee=window.matchMedia("(display-mode: standalone)").matches,document.referrer.startsWith("android-app://")?"twa":navigator.standalone||ee?"standalone":"browser"),"wap_display_mode"),window.matchMedia("(display-mode: standalone)").addEventListener("change",function(t){var e="browser";t.matches&&(e="standalone"),window.mstrace(e,"wap_display_mode_changed")})}catch(t){console.error(t)}window.addEventListener("load",function(){navigator.serviceWorker.register("/sw2.js",{scope:"/"}).catch(function(t){return console.warn("Registration failed with "+t)})})}n(97456);var w=n(188);window.goBack=function(){document.referrer,history.length,-1===document.referrer.search(location.hostname)||history.length<1||window.opener?location.href=(0,w.z9)():history.back()};var k=n(35601);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}y.default.use(k.A);var C=w.Zg,S=n(5046)("./".concat(w.Zg,".json")),T=new k.A({messages:(0,p.A)({},C,_(_({},S),{},{URL_FLAG:n(37653)("./".concat(S.COUNTRY,".png"))})),locale:C}),B=n(91249),I=n(34019),N={wap:{theme:"dark",duration:2e3},desktop:{theme:"light",duration:3e3}},O=n(67658),A=(0,O.A)({name:"VToast",setup:function(){var t=(0,B.lWr)().width,e=(0,b.EW)(function(){return(0,b.R1)(t)>=768}),n=(0,b.EW)(function(){return e.value?N.desktop:N.wap});return{isDesktop:e,defaultConfig:n}},data:function(){return{type:"",visible:!1,theme:"",message:"",duration:N.wap,timer:null,closed:!1,classNames:[],onClose:null,closeable:!1,dangerouslyUseHTMLString:!1,top:null}},computed:{isRegSuccess:function(){return"regSuceess"===this.type},platformTheme:function(){return this.theme||this.defaultConfig.theme}},mounted:function(){this.startTimer()},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.timer&&clearTimeout(this.timer),this.closed=!0,this.visible=!1},startTimer:function(){var t=this,e=this.duration||this.defaultConfig.duration;this.timer=setTimeout(function(){t.closed||t.close(),t.onClose&&t.onClose()},e)}}},function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:"v-toast-fade"},on:{"after-leave":this.handleAfterLeave}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],class:["v-toast-wrap"].concat(this.classNames,[this.platformTheme],[{"reg-success":this.isRegSuccess}]),style:{top:this.top?this.top+"px":null}},[this.dangerouslyUseHTMLString?e("span",{staticClass:"v-toast",domProps:{innerHTML:this._s(this.message)}}):e("span",{staticClass:"v-toast",class:[this.type,{"reg-success":this.isRegSuccess}]},[this.isRegSuccess?e("img",{staticClass:"icon-success",attrs:{src:n(7994)}}):"info"===this.type?e("img",{staticClass:"icon",attrs:{src:n(57716)}}):"error"===this.type?e("img",{staticClass:"icon",attrs:{src:n(11696)}}):"success"===this.type?e("img",{staticClass:"icon",attrs:{src:n(595)}}):this._e(),this._v("\n      "+this._s(this.message)+"\n      "),this.closeable?e("img",{staticClass:"icon-close",attrs:{src:n(35266),alt:"close"},on:{click:this.close}}):this._e()])])])},[],!1,null,null,null).exports,E=y.default.extend(A);function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.duration,i=e.classNames,r=e.onClose,o=e.type,s=e.theme,a=e.closeable,c=e.dangerouslyUseHTMLString,l=new E({i18n:T,data:{message:t,duration:n,classNames:void 0===i?[]:i,onClose:r,type:o,theme:s,closeable:void 0!==a&&a,dangerouslyUseHTMLString:void 0!==c&&c}}).$mount();return l.visible=!0,document.body.appendChild(l.$el),l}var R=n(62392);window.onoffline=function(){P("Please check your network connection, and try again")};var D=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;return(0,B.MLh)(window,"resize",(0,I.A)(t,e))},L=(0,O.A)({name:"VDialog",setup:function(){var t=(0,b.nI)().proxy,e=(0,b.KR)(0),n=(0,b.KR)(null),i=(0,B.Lhy)(n),r=function(){(0,b.dY)(function(){var n=t.$refs.content;if(n){var i=n.offsetHeight,r=t.$el.offsetHeight,o=.94*r;e.value=t.noMargin?0:i!==r&&i>o?Math.ceil(i-o):0}})};return(0,b.wB)(i.height,function(){r()}),(0,b.wB)(function(){return t.visible},function(t){t?r():e.value=0}),D(r),{scrollMarginTop:e,updateScrollStyle:r,content:n}},data:function(){return{box:!1,pc:!1,visible:!1,title:void 0,showClose:!0,classNames:[],message:"",action:"",direction:"horizontal",confirmButtonText:"",cancelButtonText:"",callback:null,showFooter:!1,dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,closeOnClickModal:!1,maxWidth:"",haveThreeButton:!1,moreButtonText:[],noMargin:!1}},watch:{visible:function(t){if(t){this.updateScrollStyle();return}this.scrollMarginTop=0}},methods:{doClose:function(){var t=this;this.visible&&(this.visible=!1,this.onClose&&this.onClose(),setTimeout(function(){t.action&&t.callback(t.action,t)}))},handleWrapperClick:function(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleAction:function(t){if(this.box)return this.$emit("action",t);this.action=t,"function"==typeof this.beforeClose?this.beforeClose(t,this,this.doClose):this.doClose()},handleClose:function(){this.handleAction("close")}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"dialog--wrap",class:t.classNames,on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick.apply(null,arguments)}}},[n("transition",{attrs:{name:"scale"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],ref:"content",staticClass:"dialog",class:{"dialog-box":t.box,"dialog-desktop":t.pc,"has-title":t.title&&t.box,"no-title":!t.title,"dialog--html":!!t.dangerouslyUseHTMLString,"dialog--vnode":!!t.$slots.default},style:{marginTop:t.scrollMarginTop+"px",marginBottom:(t.scrollMarginTop?10:0)+"px",maxWidth:t.maxWidth}},[t._t("close-btn",function(){return[t.showClose?n("div",{staticClass:"m-close-btn",on:{click:function(e){return t.handleAction("close")}}},[n("svg",{attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M551.822222 512l318.577778-318.577778c11.377778-11.377778 11.377778-28.444444 0-39.822222s-28.444444-11.377778-39.822222 0L512 472.177778 193.422222 147.911111c-11.377778-11.377778-28.444444-11.377778-39.822222 0s-11.377778 28.444444 0 39.822222L472.177778 512l-318.577778 318.577778c-11.377778 11.377778-11.377778 28.444444 0 39.822222 5.688889 5.688889 11.377778 5.688889 22.755556 5.688889s17.066667 0 22.755555-5.688889L512 551.822222l318.577778 318.577778c5.688889 5.688889 11.377778 5.688889 22.755555 5.688889s17.066667 0 22.755556-5.688889c11.377778-11.377778 11.377778-28.444444 0-39.822222L551.822222 512z"}})])]):t._e()]}),t._v(" "),t._t("dialog-header",function(){return[t.title?n("div",{staticClass:"dialog--header"},[n("h3",{staticClass:"dialog-title"},[t._v("\n            "+t._s(t.title)+"\n          ")])]):t._e()]}),t._v(" "),n("div",{staticClass:"dialog--main"},[t._t("default",function(){return[t.dangerouslyUseHTMLString?n("div",{staticClass:"dialog--body",domProps:{innerHTML:t._s(t.message)}}):n("div",{staticClass:"dialog--body"},[n("p",{staticClass:"dialog-content"},[t._v("\n              "+t._s(t.message)+"\n            ")])]),t._v(" "),!t.box||t.pc&&t.moreButtonText.length<3?n("div",{staticClass:"dialog--footer",class:[t.direction,t.pc?"dialog-desktop--footer":"dialog--footer",{"dialog-single-btn":!t.cancelButtonText||!t.confirmButtonText}]},[t.cancelButtonText?n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleAction("cancel")}}},[t._v(t._s(t.cancelButtonText))]):t._e(),t._v(" "),t.confirmButtonText?n("a",{staticClass:"btn btn--ok",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleAction("confirm")}}},[t._v(t._s(t.confirmButtonText))]):t._e()]):t._e(),t._v(" "),t.moreButtonText.length>=3?n("div",{class:[t.direction,t.pc?"dialog-desktop--footer":"dialog--footer"]},[t._l(t.moreButtonText,function(e,i){return[n("a",{key:i,staticClass:"btn btn--cancel",class:{"btn--other":t.moreButtonText.length>=3},on:{click:function(e){return e.target!==e.currentTarget?null:t.handleAction("confirm"+i)}}},[t._v(t._s(e))])]})],2):t._e()]}),t._v(" "),t.showFooter?n("div",{staticClass:"dialog--footer",class:[t.direction,t.pc?"dialog-desktop--footer":"dialog--footer",{"dialog-single-btn":!t.cancelButtonText||!t.confirmButtonText}]},[t.cancelButtonText?n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleAction("cancel")}}},[t._v(t._s(t.cancelButtonText))]):t._e(),t._v(" "),t.confirmButtonText?n("a",{staticClass:"btn btn--ok",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleAction("confirm")}}},[t._v(t._s(t.confirmButtonText))]):t._e()]):t._e()],2)],2)]),t._v(" "),t._t("content-in-mask")],2)},[],!1,null,null,null).exports,V=n(40694);function $(t,e){return hasOwnProperty.call(t,e)}function M(t){return null!==t&&"object"===(0,V.A)(t)&&$(t,"tag")&&$(t,"componentOptions")}var F={title:null,message:"",showClose:!0,classNames:[],direction:"horizontal",confirmButtonText:"OK",cancelButtonText:"CANCEL",beforeClose:null,showFooter:!1,dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,closeOnClickModal:!1,maxWidth:"",moreButtonText:[]},j=y.default.extend(L),U=[],z=function(t){if(eZ){var e=eZ.callback;"function"==typeof e&&(eq.showInput?e(eq.inputValue,t):e(t)),eZ.resolve&&(t.includes("confirm")?eq.showInput?eZ.resolve({value:eq.inputValue,action:t}):eZ.resolve(t):eZ.reject&&("cancel"===t||"close"===t)&&eZ.reject(t))}},W=function(t){(eq=new j({i18n:T,el:document.createElement("div")})).pc=t,eq.callback=z},K=function t(e){if(W(e),eq.action="",(!eq.visible||eq.closeTimer)&&U.length>0){var n=(eZ=U.shift()).options;for(var i in n)eq[i]=n[i];void 0===n.callback&&(eq.callback=z);var r=eq.callback;eq.callback=function(e,n){r(e,n),t()},M(eq.message)?(eq.$slots.default=[eq.message],eq.message=null):delete eq.$slots.default,["modal","showClose","closeOnClickModal","closeOnPressEscape","closeOnHashChange"].forEach(function(t){void 0===eq[t]&&(eq[t]=!0)}),document.body.appendChild(eq.$el),y.default.nextTick(function(){eq.visible=!0})}};function Y(t){var e=arguments,n=function(n,i){return"string"==typeof n||M(n)?(n={message:n},"string"==typeof e[1]&&(n.title=e[1])):n.callback&&!i&&(i=n.callback),new Promise(function(e,r){U.push({options:Object.assign({},F,H.defaults,n),callback:i,resolve:e,reject:r}),K(t)})};return n.setDefaults=function(t){H.defaults=t},n.close=function(){eq&&(eq.doClose(),eq.visible=!1,U=[],eZ=null),U.length&&U.forEach(function(t){t.doClose()})},n}var H=Y(),G=Y(!0);H.install=function(t){t.prototype.$dialog=H};var Z=(0,O.A)({name:"SvgIcon",props:{iconClass:{type:String,required:!0}},computed:{iconName:function(){return"#".concat(this.iconClass)}}},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",this._g({staticClass:"svg-icon",class:this.iconClass,attrs:{"aria-hidden":"true",viewBox:"0 0 1024 1024"}},this.$listeners),[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,null,null).exports,q=(0,O.A)({name:"InlineSvg",props:{icon:{type:String,default:""},color:{type:String,default:""},width:{type:String,default:""}}},function(){var t=this,e=t.$createElement;return(t._self._c||e)("i",{staticClass:"inline-svg",style:{color:t.color,width:t.width},domProps:{innerHTML:t._s(t.icon)},on:{click:function(e){return t.$emit("click")}}})},[],!1,null,null,null).exports;y.default.component("SvgIcon",Z),y.default.component(q.name,q),n(24776);var J=function(t){return"Code sent. You have ".concat(t," ").concat(1===t?"time":"times"," left to request another one.")},X="Sorry, something went wrong. Please try again later.";n(94);var Q=(0,O.A)({props:{visible:{type:Boolean,default:!1},width:{type:String,default:"16px"},color:{type:String,default:""}}},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"icon-eye",on:{click:function(e){return t.$emit("click")}}},[i("keep-alive",[i("InlineSvg",t.visible?{attrs:{width:t.width,color:t.color,icon:n(33094)}}:{attrs:{width:t.width,color:t.color,icon:n(63911)}})],1)],1)},[],!1,null,"d8a4a078",null).exports,tt=(0,O.A)({name:"VInput",components:{IconEye:Q},props:{type:{type:String,default:"text"},password:{type:Boolean,default:!1},value:{type:String,default:""},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!1},eye:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},eyeClickable:{type:Boolean,default:!0},showAppend:{type:Boolean,default:!1}},data:function(){return{visible:"password"!==this.type&&!this.password,focus:!1,inputType:this.type}},computed:{isPrepend:function(){return this.$slots.prepend},isAppend:function(){return this.clearable||this.eye||this.$slots.append},showAppendText:function(){return this.visible?"hide":"show"},inputListeners:function(){var t=this;return Object.assign({},this.$listeners,{input:function(e){t.$emit("input",e.target.value)},focus:function(e){t.focus=!0,t.$emit("focus",e.target.value)},blur:function(e){t.focus=!1,t.$emit("blur",e.target.value)}})}},mounted:function(){var t=this;this.autofocus&&this.$nextTick(function(){t.$refs.input.focus()}),this.setInputType()},methods:{toggleVisible:function(){var t=this;if(!this.eyeClickable)return!1;this.visible=!this.visible,this._timer&&clearTimeout(this._timer),this._timer=setTimeout(function(){t.setInputType()},300)},setInputType:function(){this.password&&/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(navigator.userAgent)?this.inputType=this.type:this.visible?this.inputType="password"!==this.type?this.type:"text":this.inputType="password"},handleClear:function(){if(!this.disabled){var t="clear";this.$emit("input","",t),this.$emit("change","",t),this.$emit("clear")}},handleFocus:function(){var t=this;this.$refs.input.focus(),this.$nextTick(function(){t.setInputType()})}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-input-wrap",class:{focus:t.focus,disabled:t.disabled},on:{click:t.handleFocus}},[n("div",{staticClass:"v-input"},[t.isPrepend?[n("div",{staticClass:"v-input--prepend"},[t._t("prepend")],2)]:t._e(),t._v(" "),n("input",t._g(t._b({ref:"input",class:["v-input--inner",{disabled:t.disabled,password:t.password&&!t.visible}],attrs:{type:t.inputType,placeholder:t.placeholder,disabled:t.disabled},domProps:{value:t.value}},"input",t.$attrs,!1),t.inputListeners)),t._v(" "),t.isAppend?[n("span",{directives:[{name:"show",rawName:"v-show",value:t.showAppend||!!t.value,expression:"showAppend || !!value"}],staticClass:"v-input--append"},[t._t("append",function(){return[t.eye?n("div",{staticClass:"v-input--hide",on:{click:t.toggleVisible}},[n("IconEye",{staticClass:"icon",attrs:{visible:t.visible}})],1):t.clearable?n("div",{staticClass:"v-input--clear",class:{disabled:t.disabled},on:{click:t.handleClear}},[n("svg",{staticClass:"icon icon-close",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M551.822 512L870.4 193.422c11.378-11.378 11.378-28.444 0-39.822s-28.444-11.378-39.822 0L512 472.178 193.422 147.91c-11.378-11.378-28.444-11.378-39.822 0s-11.378 28.445 0 39.822L472.178 512 153.6 830.578c-11.378 11.378-11.378 28.444 0 39.822 5.689 5.689 11.378 5.689 22.756 5.689s17.066 0 22.755-5.689L512 551.822 830.578 870.4c5.689 5.689 11.378 5.689 22.755 5.689s17.067 0 22.756-5.689c11.378-11.378 11.378-28.444 0-39.822L551.822 512z"}})])]):t._e()]})],2)]:t._e(),t._v(" "),t._t("default")],2)])},[],!1,null,null,null).exports;tt.install=function(t){t.component(tt.name,tt)};var te=(0,O.A)({name:"IconLoading",props:{theme:{type:String,default:"light",validator:function(t){return["light","dark"].includes(t)}}}},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"icon-loading",class:this.theme,attrs:{viewBox:"25 25 50 50"}},[e("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])},[],!1,null,null,null).exports;te.install=function(t){t.component(te.name,te)};var tn=(0,O.A)({name:"VButton",components:{IconLoading:te},props:{type:{type:String,default:"button"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hover:{type:Boolean,default:!1},animated:{type:Boolean,default:!0},showBackgroundAnimation:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},methods:{handleClick:function(t){if(this.loading){this.$emit("on-loading",t);return}this.$emit("click",t)}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"v-button",class:{hover:t.hover,loading:t.loading,disabled:t.disabled,outlined:t.outlined},attrs:{type:t.type},on:{click:function(e){return e.preventDefault(),t.handleClick.apply(null,arguments)}}},[t.showBackgroundAnimation?n("div",{staticClass:"background-animation"},[n("div",{staticClass:"line"})]):t._e(),t._v(" "),t._t("loading",function(){return[t.animated&&t.loading?n("IconLoading"):t._e()]}),t._v(" "),n("span",[t._t("default")],2),t._v(" "),t._t("custom-label")],2)},[],!1,null,null,null).exports;tn.install=function(t){t.component(tn.name,tn)};var ti=(0,O.A)({name:"VDialogBox",components:{VDialog:L},model:{prop:"visible",event:"close"},props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},message:{type:String,default:""},action:{type:String,default:""},direction:{type:String,default:"horizontal"},confirmButtonText:{type:String,default:"OK"},cancelButtonText:{type:String,default:"CANCEL"},showClose:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!1},dangerouslyUseHTMLString:{type:Boolean,default:!1},distinguishCancelAndClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1},moreButtonText:{type:Array,default:function(){return[]}},maxWidth:{type:String,default:""},noMargin:{type:Boolean,default:!1}},setup:function(t){var e=(0,b.KR)();return(0,b.nT)(function(){if(e.value){var n=e.value,i=t.visible,r=t.title,o=t.message,s=t.action,a=t.direction,c=t.confirmButtonText,l=t.cancelButtonText,u=t.showClose,d=t.showFooter,p=t.dangerouslyUseHTMLString,f=t.distinguishCancelAndClose,h=t.closeOnClickModal,m=t.maxWidth,g=t.noMargin;n.box=!0,n.visible=i,n.title=r,n.message=o,n.action=s,n.direction=a,n.confirmButtonText=c,n.cancelButtonText=l,n.showClose=u,n.showFooter=d,n.dangerouslyUseHTMLString=p,n.distinguishCancelAndClose=f,n.closeOnClickModal=h,n.maxWidth=m,n.noMargin=g}}),{dialog:e}},methods:{handleWrapperClick:function(){this.$ref.dialog.handleWrapperClick()},handleAction:function(t){this.$ref.dialog.handleAction(t)},handleClose:function(){this.$ref.dialog.handleAction("close")}}},function(){var t=this,e=t.$createElement;return(t._self._c||e)("VDialog",{ref:"dialog",on:{action:function(e){t.$emit("update-action",e),t.$emit("before-close"),t.$emit("close")}},scopedSlots:t._u([{key:"close-btn",fn:function(){return[t._t("close-btn")]},proxy:!0},{key:"content-in-mask",fn:function(){return[t._t("content-in-mask")]},proxy:!0}],null,!0)},[t._t("default")],2)},[],!1,null,null,null).exports;ti.install=function(t){t.component(ti.name,ti)};var tr=(0,O.A)({name:"VPopup",model:{prop:"visible",event:"close"},props:{type:{type:String,default:"popup-bottom"},visible:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0}},methods:{onAfterEnter:function(){this.$emit("after-enter")},close:function(){this.$emit("close",!1)},maskClick:function(){this.closeOnClickModal&&this.$emit("close",!1)}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"popup-cotainer"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"popup-mask",on:{click:t.maskClick}}),t._v(" "),n("transition",{attrs:{name:t.type},on:{"after-enter":t.onAfterEnter}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"popup-wrap",class:t.type},[t._t("close",function(){return[t.showClose?n("div",{staticClass:"close-btn",on:{click:t.close}},[n("svg",{staticClass:"icon icon-close",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M551.822 512L870.4 193.422c11.378-11.378 11.378-28.444 0-39.822s-28.444-11.378-39.822 0L512 472.178 193.422 147.91c-11.378-11.378-28.444-11.378-39.822 0s-11.378 28.445 0 39.822L472.178 512 153.6 830.578c-11.378 11.378-11.378 28.444 0 39.822 5.689 5.689 11.378 5.689 22.756 5.689s17.066 0 22.755-5.689L512 551.822 830.578 870.4c5.689 5.689 11.378 5.689 22.755 5.689s17.067 0 22.756-5.689c11.378-11.378 11.378-28.444 0-39.822L551.822 512z"}})])]):t._e()]}),t._v(" "),t._t("default")],2)])],1)},[],!1,null,null,null).exports;tr.install=function(t){t.component(tr.name,tr)},n(68854),n(20518),n(26448);var to=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t&&n){var i=t.offsetLeft-n.offsetWidth/2+t.offsetWidth/2;!e&&n.scroll?n.scroll({left:i,behavior:"smooth"}):n.scrollLeft=i}},ts="ontouchend"in window,ta=(0,O.A)({name:"VSnapNav",model:{prop:"value",event:"change"},props:{isCenter:{type:Boolean,default:!0},value:{type:[Number,String],default:0},accpetNone:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},inkbar:{type:Boolean,default:!1},barHeight:{type:String,default:"2px"},forceBarWidth:{type:Number,default:0}},data:function(){return{readyTrans:!1,onceLoad:!1,barWidth:this.forceBarWidth,barOffset:0,xchildren:[]}},computed:{activeIndex:function(){var t=this.xchildren,e=this.value;if(!t||0===t.length||!e)return 0;var n=this.xchildren.findIndex(function(t,n){return t.name===e||n===e});return -1===n?this.accpetNone?-1:0:n},barStyle:function(){if(-1===this.activeIndex)return{};var t={visibility:"visible",width:"".concat(this.barWidth,"px"),height:this.barHeight};if(this.animated){var e="translate3d(".concat(this.barOffset,"px, 0px, 0px)");t.transform=e,t.webkitTransform=e}else t.left="".concat(this.barOffset,"px");return t},lastNameStr:function(){return this.xchildren.reduce(function(t,e){return t+e.name},"")}},watch:{activeIndex:function(t,e){var n=this;this.updateWithActiveIndex(t,e),-1!==t?this.isCenter&&this.xchildren[t]&&this.$nextTick(function(){to(n.xchildren[t].$el,!n.onceLoad,n.$refs.nav),n.onceLoad||(n.onceLoad=!0)}):(this.barOffset=0,this.onceLoad=!1,this.readyTrans=!1)}},mounted:function(){var t=this;this.xchildren=this.getChild(),this.updateWithActiveIndex(this.activeIndex),this.$on("changeItem",function(e){t.$emit("change",e.name)}),window.addEventListener("resize",this.updateBar),ts||this.patchDesktopScroll()},beforeDestory:function(){window.removeEventListener("resize",this.updateBar),this.$off("changeItem"),ts||(this.$refs.nav.removeEventListener("mousedown",this.onMousedown,!1),document.removeEventListener("mouseup",this.onMouseup,!1),document.removeEventListener("mousemove",this.onMousemove,!1))},activated:function(){this.activeIndex>0&&to(this.xchildren[this.activeIndex].$el,!0,this.$refs.nav)},updated:function(){var t=this.getChild(),e=t.reduce(function(t,e){return t+e.name},"");(0!==t.length&&t.length!==this.xchildren.length||e!==this.lastNameStr)&&this.updateChild()},methods:{updateChild:function(){this.xchildren=this.getChild()},getChild:function(){return this.$children.filter(function(t){return t.$options.name&&"VSnapNavItem"===t.$options.name}).sort(function(t,e){return t.order-e.order})},updateBar:function(){var t=this;-1!==this.activeIndex&&this.$nextTick(function(){if(t.$refs.nav){var e=t.$refs.nav.querySelector(".snap-nav-item.active .item-label"),n=e.offsetWidth,i=e.offsetLeft;0===t.forceBarWidth&&(t.barWidth=n||0);var r=(n-t.barWidth)/2||0;t.barOffset=i+r,t.readyTrans||(clearTimeout(t._timer),t._timer=setTimeout(function(){t.readyTrans=!0},300))}})},updateWithActiveIndex:function(t,e){var n=this.xchildren[t],i=this.xchildren[e];n&&n.setActive(!0),i&&i.setActive(!1),this.updateBar()},onMousedown:function(t){var e=t.pageX;this.__pointX=e,document.addEventListener("mousemove",this.onMousemove,!1)},onMousemove:function(t){var e=t.pageX,n=e-this.__pointX;this.__pointX=e;var i=this._scrollElement.scrollLeft-n;i>=0&&i<=this._maxScrollWidth&&(this._scrollElement.scrollLeft-=n)},onMouseup:function(){document.removeEventListener("mousemove",this.onMousemove,!1)},patchDesktopScroll:function(){var t=this.$refs.nav,e=t.scrollWidth;e<=t.offsetWidth||(this._scrollElement=t,this._maxScrollWidth=e,t.addEventListener("mousedown",this.onMousedown,!1),document.addEventListener("mouseup",this.onMouseup,!1))}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"snap-nav-wrap"},[this._t("before"),this._v(" "),e("ul",{ref:"nav",staticClass:"snap-nav"},[this._t("default"),this._v(" "),this.inkbar&&-1!==this.activeIndex?e("li",{staticClass:"snap-ink-bar",class:{trans:this.readyTrans},style:this.barStyle}):this._e()],2),this._v(" "),this._t("after")],2)},[],!1,null,null,null).exports;ta.install=function(t){t.component(ta.name,ta)};var tc=(0,O.A)({name:"VSnapNavItem",props:{name:{type:[String,Number],default:""},order:{type:Number,default:0},disabled:{type:Boolean,default:!1}},data:function(){return{active:!1}},watch:{disabled:function(){this.$parent.updateChild()},name:function(){this.$parent.updateChild()}},methods:{setActive:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.active=t},handleClick:function(){this.disabled||(this.$parent.$emit("changeItem",this),this.$emit("click"))}}},function(){var t=this.$createElement,e=this._self._c||t;return e("li",{class:["snap-nav-item",{"snap-nav-item--disabled":this.disabled,active:this.active}],on:{click:this.handleClick}},[e("span",{staticClass:"item-label"},[this._t("default")],2)])},[],!1,null,null,null).exports;function tl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tl(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}tc.install=function(t){t.component(tc.name,tc)},G.install=function(t){t.prototype.$dialog=G},tu(tu({},ti),{},{mixins:[{mounted:function(){this.dialog.pc=!0}}],install:function(t){t.component("XDialogBox",this)}});var td=n(22959),tp=(0,O.A)({name:"Retry",components:{VButton:tn},props:{loading:{type:[Boolean,Number],default:!0},message:{type:String,default:X},imgUrl:{type:String,default:td},retryBtnText:{type:String,default:""},type:{type:String,default:""},isPage:{type:Boolean,default:!1}},methods:{handleRetry:function(){this.$emit("retry")}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"v-retry"},[e("div",{class:["v-retry-main",{failSmall:!this.isPage}]},[e("img",{class:["v-retry-img",{imgSmall:!this.isPage}],attrs:{src:this.imgUrl}}),this._v(" "),e("p",{staticClass:"fail-text"},[this._v("\n      "+this._s(this.message)+"\n    ")])]),this._v(" "),e("VButton",{staticClass:"retry-btn",on:{click:this.handleRetry}},[this._v("\n    "+this._s(this.retryBtnText||"Retry")+"\n  ")])],1)},[],!1,null,null,null).exports,tf=(0,O.A)({name:"Loading",components:{Retry:tp,IconLoading:te},props:{loading:{type:[Boolean,Number],default:!0},message:{type:String,default:""},imgUrl:{type:String,default:""},retryBtnText:{type:String,default:""},isPage:{type:Boolean,default:!1}},methods:{fail:function(){this.$emit("fail")}}},function(){var t=this.$createElement,e=this._self._c||t;return 0!==this.loading&&!1!==this.loading?e("div",{staticClass:"m-block-loading"},[e("div",{staticClass:"m-block-loading-wrap"},[-1===this.loading?e("Retry",{attrs:{message:this.message,"img-url":this.imgUrl,"retry-btn-text":this.retryBtnText,"is-page":this.isPage},on:{retry:this.fail}}):[e("div",{staticClass:"m-icon-loading-container"},[this.isPage?[e("img",{staticClass:"m-loading-img",attrs:{src:n(75720),alt:"loading icon"}})]:[e("IconLoading")]],2)]],2)]):this._e()},[],!1,null,null,null).exports,th=function(t,e){var i=t.getAttribute("retry-img"),r=t.getAttribute("retry-type");return i||("error"===r?e.page?n(72439):n(17844):e.page?n(54733):n(22959))},tm=y.default.extend(tf),tg=function(){window.location.reload()};y.default.directive("block-loading",{bind:function(t,e){t.__loadingDom=document.createElement("div");var n,i,r=t.getAttribute("retry-btn-text"),o=e.value,s=e.modifiers,a=th(t,s),c=(n=t,i=s,n.getAttribute("retry-message")||(i.game?"Failed to load game data. Please retry.":X));t.__loading=new tm({i18n:T,propsData:{loading:o,message:c,imgUrl:a,retryBtnText:r,isPage:s.page}})},inserted:function(t,e,n){var i=e.arg,r=tg;i&&n.context[i]&&"function"==typeof n.context[i]&&(r=n.context[i]),"function"==typeof i&&(r=i);var o=window.getComputedStyle(t);"fixed"!==(o=o.position)&&"absolute"!==o&&"relative"!==o&&(t.style.position="relative"),t.__retry=function(){r.call(n.context)},t.appendChild(t.__loadingDom),t.__loading.$mount(t.__loadingDom),t.__loading.$on("fail",t.__retry)},componentUpdated:function(t,e){t.__loading&&(t.__loading.loading=e.value)},unbind:function(t){t.__loading&&(t.__loading.$destroy(),t.__loading=null,t.__loadingDom=null)}}),n(91380);var tv=(0,O.A)({name:"Loading",components:{IconLoading:te},data:function(){return{text:"loading",fullscreen:!1,visible:!1,light:!1}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(t){this.text=t}}},function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:"loading-fade"},on:{"after-leave":this.handleAfterLeave}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],class:["loading-mask",{fullscreen:this.fullscreen}]},[e("div",{class:["loading-spinner",{light:this.light}]},[e("div",{staticClass:"icon-loading-container"},[e("IconLoading")],1),this._v(" "),this.text?e("p",{staticClass:"loading-text"},[this._v("\n        "+this._s(this.text)+"\n      ")]):this._e()])])])},[],!1,null,null,null).exports;n(646),n(95035),n(83103),n(73687),function(){if(!document.scrollingElement){var t=null;Object.defineProperty(document,"scrollingElement",{get:function(){if(t)return t;if(document.body.scrollTop)return t=document.body;var e=document.createElement("iframe");e.style.height="1px",document.documentElement.appendChild(e);var n=e.contentWindow.document;n.write('<!DOCTYPE html><div style="height:9999em">x</div>'),n.close();var i=n.documentElement.scrollHeight>n.body.scrollHeight;return e.parentNode.removeChild(e),t=i?document.documentElement:document.body}})}}();var ty=0,tb=(er=new RegExp(en="modal-open"),{afterOpen:function(){var t=function(){if(void 0!==eJ)return eJ;var t=document.createElement("div");t.className="x-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",t.appendChild(n);var i=n.offsetWidth;return t.parentNode.removeChild(t),eJ=e-i}();ei=document.scrollingElement.scrollTop,ty||(document.body.classList.add(en),document.body.style.top=-ei+"px",document.body.style.paddingRight=t+"px"),ty++},beforeClose:function(){!er.test(document.body.className)||--ty||(document.body.classList.remove(en),document.scrollingElement.scrollTop=ei,document.body.style.paddingRight="0px")}}),tw=y.default.extend(tv),tk=function(t,e){e.value?y.default.nextTick(function(){if(e.modifiers.fullscreen)tx(document.body,t,e);else{var n=window.getComputedStyle(t);t.originalPosition=n.position,tx(t,t,e)}}):(e.modifiers.fullscreen&&!e.modifiers.fixed&&tb.beforeClose(),t.domVisible&&t.instance.$on("after-leave",function(){t.domVisible=!1,e.modifiers.fullscreen||(t.style.position=t.originalPosition)}),t.instance.visible=!1)},tx=function(t,e,n){e.domVisible||(n.modifiers.fullscreen?(e.loading.style.height=window.innerHeight+"px",e.loading.style.top="auto"):(Object.keys(e.loadingStyle).forEach(function(t){e.loading.style[t]=e.loadingStyle[t]}),"absolute"!==e.originalPosition&&(t.style.position="relative")),e.domVisible=!0,t.appendChild(e.loading),y.default.nextTick(function(){e.instance.visible=!0,n.modifiers.fullscreen&&tb.afterOpen()}),e.domInserted=!0)};y.default.directive("loading",{bind:function(t,e){var n=e.modifiers,i=n.fullscreen,r=n.light,o=n.fixed,s=new tw({i18n:T,el:document.createElement("div"),data:{text:t.getAttribute("loading-text")||"loading",fullscreen:!!i,light:!!r,fixed:!!o}});t.instance=s,t.loading=s.$el,t.loadingStyle={},tk(t,e)},update:function(t,e){var n=t.getAttribute("loading-text")||"loading";t.instance.setText(n),e.oldValue!==e.value&&tk(t,e)},unbind:function(t,e){tb.beforeClose(),t.instance&&(t.instance.$destroy(),t.instance=null),t.domInserted&&(e.modifiers.fullscreen?document.body.removeChild(t.loading):t.loading&&t.loading.parentNode&&t.loading.parentNode.removeChild(t.loading),t.loading=null)}});var t_=n(40333),tC=n(59186),tS="RHTJ5V",tT="accessToken",tB=(0,t_.nY)("auth",{state:function(){return{loginStatus:tI.check()}},actions:{autoCheck:function(){var t=tI.check();this.update(t)},update:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.loginStatus=t,tI.set(t)},clearToken:function(){tC.A.set(tT,null),tC.A.set("refreshToken",null),tC.A.set("userId",null)}}}),tI={get:function(){return localStorage.getItem(tS)||""},set:function(t){var e=t?w.Zg:"";localStorage.setItem(tS,e)},check:function(){var t=this.get(),e=!!tC.A.get(tT)&&'""'!==tC.A.get(tT),n=window.authenticated,i="true"===n;return e&&i?(this.set(i),i):"${authenticated}"===n&&e?(this.set(!0),!0):t?e?t===w.Zg:(this.set(!1),!1):(this.set(e),!1)}};document.addEventListener("visibilitychange",function(){if("hidden"===document.visibilityState){var t=Date.now();sessionStorage.setItem("v_time",t)}else if("visible"===document.visibilityState){tB().loginStatus||tB().autoCheck();var e=sessionStorage.getItem("v_time");e&&Date.now()-e>108e5&&location.reload()}}),(0,n(300).loadCSS)("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap"),y.default.use(H),n(93062);var tN=n(48428),tO=n.n(tN);function tA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}var tE="".concat(w.Zg,"-channel"),tP=function(){var t=tO()(location.href,!0).query.from||sessionStorage.getItem(tE);if(!t){var e=tO()(document.referrer,!0),n=e.query;if(e.hostname===location.hostname&&n.from){t=n.from;var i=location.search?"".concat(location.search,"&from=").concat(t):"?from=".concat(t);history.replaceState(null,document.title,i)}}return t},tR=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(t=t||tO()(location.href,!0).query.from)&&sessionStorage.setItem(tE,t)},tD=function(){var t=tP();return t&&(t=t.replace(/^creator_/,"")),t||""},tL=function(){var t=tP();if(t&&/^creator_/.test(t)&&(sessionStorage.removeItem(tE),window.m_router)){var e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tA(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tA(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},window.m_router.currentRoute.query);delete e.from,window.m_router.replace({query:e})}},tV=function(){var t={},e=tD();return e&&(t.channel=e),t};n(84734),n(67834);var t$=n(83957),tM=n.n(t$),tF=n(75844);n(49781),n(66184);var tj=["Script error.","IndexSizeError: The index is not in the allowed range.","evaluating 'this.cData.timeSection=360","evaluating 'this.props.match.startsAt')",'evaluating \'n.find(".vsm-main-subtitle-season-tag"',"evaluating 'this.refs[s[r]].lock","SRjQuery(this.props.headerContainer","MediaPlaybackHandler.onMediaElementFound","Cannot read property 'loadEventEnd' of undefined","instantSearchSDKJSBridgeClearHighlight","Identifier 'isMainframe'","$$.blocktoggle is not a function","ResizeObserver loop limit exceeded","Failed to read the 'responseText","document.getElementsByTagName('video')","dltNativeWebview",'Blocked a frame with origin "https://www.msport.com'];function tU(t){var e=t.name,n=t.message,i=t.stack,r=void 0===i?"":i,o=t.source,s=t.lineNo,a=t.columnNo,c=t.request,l=t.response;if((!(l&&/\bOPR\//.test(navigator.userAgent))||("string"!=typeof l||-1===l.indexOf("Unable to connect. Please review your network settings."))&&("object"!==(0,V.A)(l)||"{}"!==JSON.stringify(l)))&&!/TypeError: Cannot read properties of undefined \(reading 'click'\)\\n\s+at <anonymous>:1:\d+/i.test(JSON.stringify(r))){var u={name:void 0===e?"":e,message:void 0===n?"":n,stack:r,source:void 0===o?"":o,lineNo:void 0===s?-1:s,columnNo:void 0===a?-1:a,request:JSON.stringify(void 0===c?{}:c),response:l?window.btoa(JSON.stringify(l)):null,url:location.href,userAgent:navigator.userAgent};/www\.msport\.com/.test(location.hostname)&&fetch("https://report.msport.com/fe",{method:"POST",body:JSON.stringify(u)}).catch(console.error)}}var tz="".concat(w.Zg,"-au"),tW=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?(sessionStorage.setItem(tz,!0),window.loginStatus=t):sessionStorage.removeItem(tz)},tK=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return window.REGION_CONFIG?window.REGION_CONFIG[t]:e},tY=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;if(!t)return t;var n=RegExp("([-/])".concat(w.Zg),"g");return t.replace(n,"$1".concat(e))},tH=function(){return tK("OPERID",T.t("OPERID"))},tG=tY("/api/xx".replace(/xx/g,w.Zg),w.Zg);tY("".replace(/xx/g,w.Zg),w.Zg),tY("".replace(/xx/g,w.Zg),w.Zg);var tZ=n(45841),tq=n(61790),tJ=n.n(tq);n(69703),n(86584);var tX=n(10523),tQ=n.n(tX);n(89336),n(11810),n(16216),n(74576),n(96054);var t0=t0||(eo=Math,el=(ec=(ea={}).lib={}).Base=function(){function t(){}return{extend:function(e){t.prototype=this;var n=new t;return e&&n.mixIn(e),n.hasOwnProperty("init")||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),eu=ec.WordArray=el.extend({init:function(t,e){t=this.words=t||[],es!=e?this.sigBytes=e:this.sigBytes=4*t.length},toString:function(t){return(t||ep).stringify(this)},concat:function(t){var e=this.words,n=t.words,i=this.sigBytes,r=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o<r;o++){var s=n[o>>>2]>>>24-o%4*8&255;e[i+o>>>2]|=s<<24-(i+o)%4*8}else if(n.length>65535)for(var o=0;o<r;o+=4)e[i+o>>>2]=n[o>>>2];else e.push.apply(e,n);return this.sigBytes+=r,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=eo.ceil(e/4)},clone:function(){var t=el.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(4294967296*eo.random()|0);return new eu.init(e,t)}}),ep=(ed=ea.enc={}).Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r<n;r++){var o=e[r>>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i+=2)n[i>>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new eu.init(n,e/2)}},ef=ed.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r<n;r++){var o=e[r>>>2]>>>24-r%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i++)n[i>>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new eu.init(n,e)}},eh=ed.Utf8={stringify:function(t){try{return decodeURIComponent(escape(ef.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return ef.parse(unescape(encodeURIComponent(t)))}},em=ec.BufferedBlockAlgorithm=el.extend({reset:function(){this._data=new eu.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=eh.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,n=e.words,i=e.sigBytes,r=this.blockSize,o=i/(4*r),s=(o=t?eo.ceil(o):eo.max((0|o)-this._minBufferSize,0))*r,a=eo.min(4*s,i);if(s){for(var c=0;c<s;c+=r)this._doProcessBlock(n,c);var l=n.splice(0,s);e.sigBytes-=a}return new eu.init(l,a)},clone:function(){var t=el.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),ec.Hasher=em.extend({cfg:el.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){em.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new eg.HMAC.init(t,n).finalize(e)}}}),eg=ea.algo={},ea);function t1(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}function t2(){return new t1(null)}ev=t0.lib.WordArray,t0.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,i=this._map;t.clamp();for(var r=[],o=0;o<n;o+=3)for(var s=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<n;a++)r.push(i.charAt(s>>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(t){var e=t.length,n=this._map,i=n.charAt(64);if(i){var r=t.indexOf(i);-1!=r&&(e=r)}for(var o=[],s=0,a=0;a<e;a++)if(a%4){var c=n.indexOf(t.charAt(a-1))<<a%4*2,l=n.indexOf(t.charAt(a))>>>6-a%4*2;o[s>>>2]|=(c|l)<<24-s%4*8,s++}return ev.create(o,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},t0.lib.Cipher||(eb=(ey=t0.lib).Base,ew=ey.WordArray,ek=ey.BufferedBlockAlgorithm,(ex=t0.enc).Utf8,e_=ex.Base64,eC=t0.algo.EvpKDF,eS=ey.Cipher=ek.extend({cfg:eb.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=e,this.reset()},reset:function(){ek.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?eR:eE}return function(e){return{encrypt:function(n,i,r){return t(i).encrypt(e,n,i,r)},decrypt:function(n,i,r){return t(i).decrypt(e,n,i,r)}}}}()}),ey.StreamCipher=eS.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),eT=t0.mode={},eB=ey.BlockCipherMode=eb.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),eI=eT.CBC=function(){var t=eB.extend();function e(t,e,n){var i=this._iv;if(i){var r=i;this._iv=void 0}else var r=this._prevBlock;for(var o=0;o<n;o++)t[e+o]^=r[o]}return t.Encryptor=t.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize;e.call(this,t,n,r),i.encryptBlock(t,n),this._prevBlock=t.slice(n,n+r)}}),t.Decryptor=t.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize,o=t.slice(n,n+r);i.decryptBlock(t,n),e.call(this,t,n,r),this._prevBlock=o}}),t}(),eN=(t0.pad={}).Pkcs7={pad:function(t,e){for(var n=4*e,i=n-t.sigBytes%n,r=i<<24|i<<16|i<<8|i,o=[],s=0;s<i;s+=4)o.push(r);var a=ew.create(o,i);t.concat(a)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},ey.BlockCipher=eS.extend({cfg:eS.cfg.extend({mode:eI,padding:eN}),reset:function(){eS.reset.call(this);var t=this.cfg,e=t.iv,n=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else{var i=n.createDecryptor;this._minBufferSize=1}this._mode=i.call(n,this,e&&e.words)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else{var e=this._process(!0);t.unpad(e)}return e},blockSize:4}),eO=ey.CipherParams=eb.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),eA=(t0.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,n=t.salt;if(n)var i=ew.create([1398893684,1701076831]).concat(n).concat(e);else var i=e;return i.toString(e_)},parse:function(t){var e=e_.parse(t),n=e.words;if(1398893684==n[0]&&1701076831==n[1]){var i=ew.create(n.slice(2,4));n.splice(0,4),e.sigBytes-=16}return eO.create({ciphertext:e,salt:i})}},eE=ey.SerializableCipher=eb.extend({cfg:eb.extend({format:eA}),encrypt:function(t,e,n,i){i=this.cfg.extend(i);var r=t.createEncryptor(n,i),o=r.finalize(e),s=r.cfg;return eO.create({ciphertext:o,key:n,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,e,n,i){return i=this.cfg.extend(i),e=this._parse(e,i.format),t.createDecryptor(n,i).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),eP=(t0.kdf={}).OpenSSL={execute:function(t,e,n,i){i||(i=ew.random(8));var r=eC.create({keySize:e+n}).compute(t,i),o=ew.create(r.words.slice(e),4*n);return r.sigBytes=4*e,eO.create({key:r,iv:o,salt:i})}},eR=ey.PasswordBasedCipher=eE.extend({cfg:eE.cfg.extend({kdf:eP}),encrypt:function(t,e,n,i){var r=(i=this.cfg.extend(i)).kdf.execute(n,t.keySize,t.ivSize);i.iv=r.iv;var o=eE.encrypt.call(this,t,e,r.key,i);return o.mixIn(r),o},decrypt:function(t,e,n,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var r=i.kdf.execute(n,t.keySize,t.ivSize,e.salt);return i.iv=r.iv,eE.decrypt.call(this,t,e,r.key,i)}})),eD=t0.lib.BlockCipher,eL=t0.algo,eV=[],e$=[],eM=[],eF=[],ej=[],eU=[],ez=[],eW=[],eK=[],eY=[],function(){for(var t=[],e=0;e<256;e++)e<128?t[e]=e<<1:t[e]=e<<1^283;for(var n=0,i=0,e=0;e<256;e++){var r=i^i<<1^i<<2^i<<3^i<<4;r=r>>>8^255&r^99,eV[n]=r,e$[r]=n;var o=t[n],s=t[o],a=t[s],c=257*t[r]^16843008*r;eM[n]=c<<24|c>>>8,eF[n]=c<<16|c>>>16,ej[n]=c<<8|c>>>24,eU[n]=c;var c=16843009*a^65537*s^257*o^16843008*n;ez[r]=c<<24|c>>>8,eW[r]=c<<16|c>>>16,eK[r]=c<<8|c>>>24,eY[r]=c,n?(n=o^t[t[t[a^o]]],i^=t[t[i]]):n=i=1}}(),eH=[0,1,2,4,8,16,32,64,128,27,54],eG=eL.AES=eD.extend({_doReset:function(){for(var t=this._key,e=t.words,n=t.sigBytes/4,i=((this._nRounds=n+6)+1)*4,r=this._keySchedule=[],o=0;o<i;o++)if(o<n)r[o]=e[o];else{var s=r[o-1];o%n?n>6&&o%n==4&&(s=eV[s>>>24]<<24|eV[s>>>16&255]<<16|eV[s>>>8&255]<<8|eV[255&s]):s=(eV[(s=s<<8|s>>>24)>>>24]<<24|eV[s>>>16&255]<<16|eV[s>>>8&255]<<8|eV[255&s])^eH[o/n|0]<<24,r[o]=r[o-n]^s}for(var a=this._invKeySchedule=[],c=0;c<i;c++){var o=i-c;if(c%4)var s=r[o];else var s=r[o-4];c<4||o<=4?a[c]=s:a[c]=ez[eV[s>>>24]]^eW[eV[s>>>16&255]]^eK[eV[s>>>8&255]]^eY[eV[255&s]]}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,eM,eF,ej,eU,eV)},decryptBlock:function(t,e){var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n,this._doCryptBlock(t,e,this._invKeySchedule,ez,eW,eK,eY,e$);var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n},_doCryptBlock:function(t,e,n,i,r,o,s,a){for(var c=this._nRounds,l=t[e]^n[0],u=t[e+1]^n[1],d=t[e+2]^n[2],p=t[e+3]^n[3],f=4,h=1;h<c;h++){var m=i[l>>>24]^r[u>>>16&255]^o[d>>>8&255]^s[255&p]^n[f++],g=i[u>>>24]^r[d>>>16&255]^o[p>>>8&255]^s[255&l]^n[f++],v=i[d>>>24]^r[p>>>16&255]^o[l>>>8&255]^s[255&u]^n[f++],y=i[p>>>24]^r[l>>>16&255]^o[u>>>8&255]^s[255&d]^n[f++];l=m,u=g,d=v,p=y}var m=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[d>>>8&255]<<8|a[255&p])^n[f++],g=(a[u>>>24]<<24|a[d>>>16&255]<<16|a[p>>>8&255]<<8|a[255&l])^n[f++],v=(a[d>>>24]<<24|a[p>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^n[f++],y=(a[p>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&d])^n[f++];t[e]=m,t[e+1]=g,t[e+2]=v,t[e+3]=y},keySize:8}),t0.AES=eD._createHelper(eG),"Microsoft Internet Explorer"==navigator.appName?(t1.prototype.am=function(t,e,n,i,r,o){for(var s=32767&e,a=e>>15;--o>=0;){var c=32767&this[t],l=this[t++]>>15,u=a*c+l*s;r=((c=s*c+((32767&u)<<15)+n[i]+(1073741823&r))>>>30)+(u>>>15)+a*l+(r>>>30),n[i++]=1073741823&c}return r},eX=30):"Netscape"!=navigator.appName?(t1.prototype.am=function(t,e,n,i,r,o){for(;--o>=0;){var s=e*this[t++]+n[i]+r;r=Math.floor(s/67108864),n[i++]=67108863&s}return r},eX=26):(t1.prototype.am=function(t,e,n,i,r,o){for(var s=16383&e,a=e>>14;--o>=0;){var c=16383&this[t],l=this[t++]>>14,u=a*c+l*s;r=((c=s*c+((16383&u)<<14)+n[i]+r)>>28)+(u>>14)+a*l,n[i++]=268435455&c}return r},eX=28),t1.prototype.DB=eX,t1.prototype.DM=(1<<eX)-1,t1.prototype.DV=1<<eX,t1.prototype.FV=4503599627370496,t1.prototype.F1=52-eX,t1.prototype.F2=2*eX-52;var t4=[];for(e0=0,eQ=48;e0<=9;++e0)t4[eQ++]=e0;for(e0=10,eQ=97;e0<36;++e0)t4[eQ++]=e0;for(e0=10,eQ=65;e0<36;++e0)t4[eQ++]=e0;function t8(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function t3(t){var e=t2();return e.fromInt(t),e}function t6(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function t5(t){this.m=t}function t7(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function t9(){this.i=0,this.j=0,this.S=[]}function et(){var t;t=new Date().getTime(),e2[e4++]^=255&t,e2[e4++]^=t>>8&255,e2[e4++]^=t>>16&255,e2[e4++]^=t>>24&255,e4>=256&&(e4-=256)}if(t5.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t5.prototype.revert=function(t){return t},t5.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t5.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t5.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t7.prototype.convert=function(t){var e=t2();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(t1.ZERO)>0&&this.m.subTo(e,e),e},t7.prototype.revert=function(t){var e=t2();return t.copyTo(e),this.reduce(e),e},t7.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],i=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(n=e+this.m.t,t[n]+=this.m.am(0,i,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t7.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t7.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t1.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t1.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+DV:this.t=0},t1.prototype.fromString=function(t,e){if(16==e)n=4;else if(8==e)n=3;else if(256==e)n=8;else if(2==e)n=1;else if(32==e)n=5;else if(4==e)n=2;else{this.fromRadix(t,e);return}this.t=0,this.s=0;for(var n,i=t.length,r=!1,o=0;--i>=0;){var s=8==n?255&t[i]:function(t,e){var n=t4[t.charCodeAt(e)];return null==n?-1:n}(t,i);if(s<0){"-"==t.charAt(i)&&(r=!0);continue}r=!1,0==o?this[this.t++]=s:o+n>this.DB?(this[this.t-1]|=(s&(1<<this.DB-o)-1)<<o,this[this.t++]=s>>this.DB-o):this[this.t-1]|=s<<o,(o+=n)>=this.DB&&(o-=this.DB)}8==n&&(128&t[0])!=0&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),r&&t1.ZERO.subTo(this,this)},t1.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t1.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},t1.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},t1.prototype.lShiftTo=function(t,e){var n,i=t%this.DB,r=this.DB-i,o=(1<<r)-1,s=Math.floor(t/this.DB),a=this.s<<i&this.DM;for(n=this.t-1;n>=0;--n)e[n+s+1]=this[n]>>r|a,a=(this[n]&o)<<i;for(n=s-1;n>=0;--n)e[n]=0;e[s]=a,e.t=this.t+s+1,e.s=this.s,e.clamp()},t1.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t){e.t=0;return}var i=t%this.DB,r=this.DB-i,o=(1<<i)-1;e[0]=this[n]>>i;for(var s=n+1;s<this.t;++s)e[s-n-1]|=(this[s]&o)<<r,e[s-n]=this[s]>>i;i>0&&(e[this.t-n-1]|=(this.s&o)<<r),e.t=this.t-n,e.clamp()},t1.prototype.subTo=function(t,e){for(var n=0,i=0,r=Math.min(t.t,this.t);n<r;)i+=this[n]-t[n],e[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;n<this.t;)i+=this[n],e[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i-=t[n],e[n++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[n++]=this.DV+i:i>0&&(e[n++]=i),e.t=n,e.clamp()},t1.prototype.multiplyTo=function(t,e){var n=this.abs(),i=t.abs(),r=n.t;for(e.t=r+i.t;--r>=0;)e[r]=0;for(r=0;r<i.t;++r)e[r+n.t]=n.am(0,i[r],e,r,0,n.t);e.s=0,e.clamp(),this.s!=t.s&&t1.ZERO.subTo(e,e)},t1.prototype.squareTo=function(t){for(var e=this.abs(),n=t.t=2*e.t;--n>=0;)t[n]=0;for(n=0;n<e.t-1;++n){var i=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,i,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},t1.prototype.divRemTo=function(t,e,n){var i=t.abs();if(!(i.t<=0)){var r=this.abs();if(r.t<i.t){null!=e&&e.fromInt(0),null!=n&&this.copyTo(n);return}null==n&&(n=t2());var o=t2(),s=this.s,a=t.s,c=this.DB-t6(i[i.t-1]);c>0?(i.lShiftTo(c,o),r.lShiftTo(c,n)):(i.copyTo(o),r.copyTo(n));var l=o.t,u=o[l-1];if(0!=u){var d=u*(1<<this.F1)+(l>1?o[l-2]>>this.F2:0),p=this.FV/d,f=(1<<this.F1)/d,h=1<<this.F2,m=n.t,g=m-l,v=null==e?t2():e;for(o.dlShiftTo(g,v),n.compareTo(v)>=0&&(n[n.t++]=1,n.subTo(v,n)),t1.ONE.dlShiftTo(l,v),v.subTo(o,o);o.t<l;)o[o.t++]=0;for(;--g>=0;){var y=n[--m]==u?this.DM:Math.floor(n[m]*p+(n[m-1]+h)*f);if((n[m]+=o.am(0,y,n,g,0,l))<y)for(o.dlShiftTo(g,v),n.subTo(v,n);n[m]<--y;)n.subTo(v,n)}null!=e&&(n.drShiftTo(l,e),s!=a&&t1.ZERO.subTo(e,e)),n.t=l,n.clamp(),c>0&&n.rShiftTo(c,n),s<0&&t1.ZERO.subTo(n,n)}}},t1.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if((1&t)==0)return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t1.prototype.isEven=function(){return(this.t>0?1&this[0]:this.s)==0},t1.prototype.exp=function(t,e){if(t>4294967295||t<1)return t1.ONE;var n=t2(),i=t2(),r=e.convert(this),o=t6(t)-1;for(r.copyTo(n);--o>=0;)if(e.sqrTo(n,i),(t&1<<o)>0)e.mulTo(i,r,n);else{var s=n;n=i,i=s}return e.revert(n)},t1.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var e,n,i=(1<<e)-1,r=!1,o="",s=this.t,a=this.DB-s*this.DB%e;if(s-- >0)for(a<this.DB&&(n=this[s]>>a)>0&&(r=!0,o=t8(n));s>=0;)a<e?n=(this[s]&(1<<a)-1)<<e-a|this[--s]>>(a+=this.DB-e):(n=this[s]>>(a-=e)&i,a<=0&&(a+=this.DB,--s)),n>0&&(r=!0),r&&(o+=t8(n));return r?o:"0"},t1.prototype.negate=function(){var t=t2();return t1.ZERO.subTo(this,t),t},t1.prototype.abs=function(){return this.s<0?this.negate():this},t1.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0},t1.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+t6(this[this.t-1]^this.s&this.DM)},t1.prototype.mod=function(t){var e=t2();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(t1.ZERO)>0&&t.subTo(e,e),e},t1.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new t5(e):new t7(e),this.exp(t,n)},t1.ZERO=t3(0),t1.ONE=t3(1),t9.prototype.init=function(t){var e,n,i;for(e=0;e<256;++e)this.S[e]=e;for(e=0,n=0;e<256;++e)n=n+this.S[e]+t[e%t.length]&255,i=this.S[e],this.S[e]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t9.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},null==e2){if(e2=[],e4=0,"Netscape"==navigator.appName&&navigator.appVersion<"5"&&window.crypto&&window.crypto.random){var ee,en,ei,er,eo,es,ea,ec,el,eu,ed,ep,ef,eh,em,eg,ev,ey,eb,ew,ek,ex,e_,eC,eS,eT,eB,eI,eN,eO,eA,eE,eP,eR,eD,eL,eV,e$,eM,eF,ej,eU,ez,eW,eK,eY,eH,eG,eZ,eq,eJ,eX,eQ,e0,e1,e2,e4,e8,e3=window.crypto.random(32);for(e8=0;e8<e3.length;++e8)e2[e4++]=255&e3.charCodeAt(e8)}for(;e4<256;)e8=Math.floor(65536*Math.random()),e2[e4++]=e8>>>8,e2[e4++]=255&e8;e4=0,et()}function e6(){}function e5(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}e6.prototype.nextBytes=function(t){var e;for(e=0;e<t.length;++e)t[e]=function(){if(null==e1){for(et(),(e1=new t9).init(e2),e4=0;e4<e2.length;++e4)e2[e4]=0;e4=0}return e1.next()}()},e5.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},e5.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=new t1(t,16),this.e=parseInt(e,16)):alert("Invalid RSA public key")},e5.prototype.encrypt=function(t){var e=function(t,e){if(e<t.length+11)return alert("Message too long for RSA"),null;for(var n=[],i=t.length-1;i>=0&&e>0;){var r=t.charCodeAt(i--);r<128?n[--e]=r:r>127&&r<2048?(n[--e]=63&r|128,n[--e]=r>>6|192):(n[--e]=63&r|128,n[--e]=r>>6&63|128,n[--e]=r>>12|224)}n[--e]=0;for(var o=new e6,s=[];e>2;){for(s[0]=0;0==s[0];)o.nextBytes(s);n[--e]=s[0]}return n[--e]=2,n[--e]=0,new t1(n)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var n=this.doPublic(e);if(null==n)return null;var i=n.toString(16);return(1&i.length)==0?i:"0"+i};var e7=new e5;function e9(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?e9(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e9(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}e7.setPublic("ac3233fe0efc66e8bbab082817eda4402d0199ee9d4d1c3ef0a7c51c6be8fcb080cf5331b6b4dcbc1fc98e21fdc1abd59538a09053b6840db453f03b27fa4dd9c7587d191a800ea2a456e7abe05b4fd1ba02fced10c4e58792f5bddf782b76b1744a51ab2ff8e4bac7e9fd42a0d7fa311f4d01c15250a1ccb1c73d5201bca803","10001");var ne="".concat(w.Zg,"_transId"),nn=function(){var t=localStorage.getItem(ne);if(t)try{var e=t=JSON.parse(t),n=e.key,i=e.transId,r=e.date;if(n&&i&&r&&r>Date.now())return{key:t0.enc.Base64.parse(decodeURIComponent(n)),transId:i,date:r}}catch(t){console.error(t)}return null},ni={remoteCipher:null,removeLocalCipher:function(t){1===t?this.remoteCipher=null:2===t&&localStorage.removeItem(ne)},fetchData:function(){var t=arguments,e=this;return(0,tZ.A)(tJ().mark(function n(){var i,r,o,s,a,c,l,u,d,p,f,h,m,g,v,y;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:"",r=t.length>1&&void 0!==t[1]?t[1]:{},o=t.length>2?t[2]:void 0,c=void 0===(a=(s=t.length>3&&void 0!==t[3]?t[3]:{}).self)||a,u=void 0===(l=s.headers)?{}:l,d="string"==typeof r?r:r.body?JSON.stringify(r.body):JSON.stringify(r),n.next=8,e.encrypt(d,o);case 8:return f=(p=n.sent).body,h=p.headers,n.prev=11,n.next=14,ny.post(i,f,{headers:nt(nt({},u),h),self:!0});case 14:return m=n.sent,n.next=17,e.decrypt(m,o);case 17:if(g=JSON.parse(n.sent),!c){n.next=22;break}return n.abrupt("return",g);case 22:if(1e4!==g.bizCode){n.next=26;break}return n.abrupt("return",g.data);case 26:return(v=Error(g.message)).bizCode=g.bizCode,n.abrupt("return",Promise.reject(v));case 29:n.next=38;break;case 31:return n.prev=31,n.t0=n.catch(11),n.t0.response&&400===n.t0.response.status&&e.removeLocalCipher(o),(y=Error("Sorry, something went wrong. Please try again.")).canceled=n.t0.canceled,y.login=n.t0.login,n.abrupt("return",Promise.reject(y));case 38:case"end":return n.stop()}},n,null,[[11,31]])}))()},encrypt:function(t,e){var n=this;return(0,tZ.A)(tJ().mark(function i(){var r,o,s,a,c,l,u,d;return tJ().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:i.t0=e,i.next=1===i.t0?3:2===i.t0?11:18;break;case 3:return i.next=5,n.getAesCipher();case 5:return o=(r=i.sent).did,s=r.key,a=n.encryptionByAes(t,s),localStorage.setItem("deviceId",o),i.abrupt("return",{body:a,headers:{deviceId:o,did:o}});case 11:return i.next=13,n.createAesCipher();case 13:return l=(c=i.sent).key,u=c.transId,d=n.encryptionByAes(t,l),i.abrupt("return",{body:d,headers:{transId:u}});case 18:return i.abrupt("return",{body:t});case 19:case"end":return i.stop()}},i)}))()},decrypt:function(t,e){var n=this;return(0,tZ.A)(tJ().mark(function i(){var r,o;return tJ().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(1!==e){i.next=8;break}return i.next=3,n.getAesCipher();case 3:return r=i.sent.key,i.abrupt("return",n.decryptionByAes(r,t));case 8:if(2!==e){i.next=14;break}return i.next=11,n.createAesCipher();case 11:return o=i.sent.key,i.abrupt("return",n.decryptionByAes(o,t));case 14:return console.error(Error("Not found valid cipher type")),i.abrupt("return",t);case 16:case"end":return i.stop()}},i)}))()},encryptionByAes:function(t,e){var n=t0.lib.WordArray.random(16),i=t0.AES.encrypt(t,e,{iv:n,mode:t0.mode.CBC,padding:t0.pad.Pkcs7});return t=n.clone().concat(i.ciphertext).toString(t0.enc.Base64)},decryptionByAes:function(t,e){try{var n=window.atob(e),i=window.btoa(n.slice(16)),r=t0.enc.Base64.parse(window.btoa(n.slice(0,16)));return t0.AES.decrypt(i,t,{iv:r,mode:t0.mode.CBC,padding:t0.pad.Pkcs7}).toString(t0.enc.Utf8)}catch(t){console.error(t)}return""},getAesCipher:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i,r;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.remoteCipher){e.next=2;break}return e.abrupt("return",t.remoteCipher);case 2:return e.next=4,ny.post("/patron/cipher");case 4:return n=e.sent,i=t0.enc.Base64.parse(n.symmetricCipher),r={did:n.did,key:i},t.remoteCipher=r,e.abrupt("return",r);case 9:case"end":return e.stop()}},e)}))()},createAesCipher:function(){return(0,tZ.A)(tJ().mark(function t(){var e,n,i,r,o,s,a;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!((e=nn())&&e.date>Date.now())){t.next=3;break}return t.abrupt("return",e);case 3:var c;return i=(n=t0.lib.WordArray.random(16)).toString(t0.enc.Base64),c=e7.encrypt("password=".concat(encodeURIComponent(i))),r=window.btoa(String.fromCharCode.apply(null,c.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" "))),t.next=8,ny({url:"/base/cipher",method:"post",headers:{"Content-type":"text/plain"},data:r});case 8:if(!(o=t.sent)){t.next=14;break}return a=nt(nt({},s={transId:o.transId,key:n,date:Date.now()+36e5}),{},{key:encodeURIComponent(n.toString(t0.enc.Base64))}),localStorage.setItem(ne,JSON.stringify(a)),t.abrupt("return",s);case 14:case"end":return t.stop()}},t)}))()}},nr=function(){return ni.fetchData.apply(ni,arguments)};let no=async(t={})=>{let e=new URLSearchParams(t),{verifyToken:n}=nl();return ny.post("/patron/verifyCode/sms",e.toString(),{self:!0,headers:{verifyToken:n}})},ns=async()=>(await ny.get("/pocket/financialAccounts/balance")).avlBal,na=(t={})=>ny.put("/patron/account/info/whole",t),nc=()=>ny.get("/patron/verify-code/status");var nl=(0,t_.nY)("cloudflare",{state:function(){return{checked:!1,needCheck:!1,cfVisible:!1,cfToken:"",verifyToken:"",widgetId:""}},actions:{setCfToken:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.cfToken=t,this.cfVisible=!1},resetCfToken:function(){var t;this.cfToken&&(this.cfToken="",this.widgetId&&(null===(t=window.turnstile)||void 0===t||t.reset(this.widgetId)))},setVerifyToken:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.verifyToken=t},setWidgetId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.widgetId=t},toggleCloudflareVerify:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.cfVisible=e,e&&this.cfToken&&(this.cfToken="",this.verifyToken="",this.widgetId&&(null===(t=window.turnstile)||void 0===t||t.reset(this.widgetId)))},getCloudflareVerifyStatus:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,nc();case 3:n=e.sent,t.checked=!0,t.needCheck=!!(null!=n&&n.needCheck),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),t.needCheck=!1,console.error(e.t0);case 12:case"end":return e.stop()}},e,null,[[0,8]])}))()}}}),nu=(i=(0,tZ.A)(tJ().mark(function t(){var e;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((e=nl()).checked){t.next=4;break}return t.next=4,e.getCloudflareVerifyStatus();case 4:if(!(e.needCheck&&!e.cfToken)){t.next=7;break}return e.toggleCloudflareVerify(!0),t.abrupt("return",!1);case 7:return t.abrupt("return",!0);case 8:case"end":return t.stop()}},t)})),function(){return i.apply(this,arguments)}),nd=(0,b.KR)(""),np=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";nd.value=t};function nf(){return{ipRegion:nd,updateIPRegion:np}}var nh=n(28259);function nm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function ng(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nm(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nv=[504,403],ny=(o=(r={headers:"web"===window.msPlatform?(0,nh.oG)():(0,nh.yV)(),parser:function(t){var e=t.config,n=t.data;if(e.self)return n;if(1e4===n.bizCode)return n.data;var i=Error(n.message);return i.bizCode=n.bizCode,Promise.reject(i)}}).headers,a=void 0===(s=r.parser)?null:s,c=r.baseURL,u=void 0===(l=r.requestHeaders)?null:l,(d=tM().create({baseURL:c||tG,headers:Object.assign({operid:tH(),ApiLevel:2,devMem:navigator.deviceMemory||"",network:(navigator.connection||{}).effectiveType},void 0===o?{}:o)})).interceptors.request.use(function(t){var e=tP();return e&&!/^creator_/.test(e)&&(t.headers.channel=e),"web"===window.msPlatform&&Object.assign(t.headers,(0,nh.oG)()),u&&Object.assign(t.headers,u()),nh.sK&&"object"===(0,V.A)(nh.sK)&&Object.assign(t.headers,nh.sK),t},function(t){return Promise.reject(t)}),d.interceptors.response.use(function(t){var e=t.headers,n=e.nation,i=e.verifytoken;return(n&&!nd.value&&np(n),i&&nl().setVerifyToken(i),a)?a(t):t.data},function(t){if(tM().isCancel(t)){var e=Error("pending cancel");return e.canceled=!0,Promise.reject(e)}if(!t.response)return Promise.reject(Error("Your request has timed out. Please try again."));var n=t.response.status;if(401===n){tW(),tB().update(!1);var i=Error("Not Login");return i.login=!1,Promise.reject(i)}if(nv.includes(n)||tU(ng(ng({},(0,tF.A)(t,["message","stack"])),{},{name:t.response.statusText,request:(0,tF.A)(t.response.config,["baseURL","url","method","headers","params","data"]),response:t.response.data||{}})),500===n&&"string"==typeof t.response.data&&/Blocked\sby\sAdGuard/i.test(t.response.data))return Promise.reject(Error("Sorry, your request is blocked by an ads filter plugin of your browser. Please close it to have a better MSport experience."));if(400===n&&t.response.data){var r=t.response.data,o=r.bizCode,s=r.message;t.bizCode=o,t.message=s}return Promise.reject(t)}),d),nb=n(6880),nw=function(){var t=tC.A.get("userId");t&&window.dataLayer.push({user_id:t})},nk=function(){(0,nb.Hz)();var t=tC.A.get("userId")||"";v("registercomplete","Reg",{href:location.href,user_id:t})},nx=function(t){var e=t.pageName,n={userId:tC.A.get("userId"),operId:Number(tH()),pageName:e,pagePath:location.pathname,pageURL:location.href};ny.post("/aeroscope/frontend/pageview",n).catch(function(){})},n_=function(t){var e=t.interactionName,n=t.pageName,i={userId:sessionStorage.getItem("reg-userid")||tC.A.get("userId"),operId:Number(tH()),interactionName:e,pageName:n,pagePath:location.pathname,pageURL:location.href};ny.post("/aeroscope/frontend/register/interact",i).catch(function(){})},nC=function(t){var e=t.pageName,n=t.reason,i=t.success,r={userId:tC.A.get("userId"),operId:Number(tH()),pageName:e,pagePath:location.pathname,pageURL:location.href,reason:n};i?r.status="Success":r.status="Fail",ny.post("/aeroscope/frontend/register/submitkyc",r).catch(function(){})},nS=["router","include","exclude"];function nT(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function nB(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nT(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nT(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nI=function(){return n.e(2178).then(n.bind(n,32472))};window.onerror=function(t,e,n,i,r){var o=r&&r.stack||"";return!(tj.some(function(e){return t.indexOf(e)>-1})||/(betradar\.com|betsliplive\.aitcloud)/.test(o)||e&&/^blob:/.test(e)||/\/widgets/.test(location.pathname))&&tU({message:t,stack:o,source:e,lineNo:n,columnNo:i})},window.addEventListener("unhandledrejection",function(t){console.warn("UNHANDLED PROMISE REJECTION: ".concat(t.reason.message,"\n ").concat(t.reason.stack)),t.preventDefault()}),window.msPlatform="wap",y.default.use(t_.R2),y.default.prototype.$region=w.Zg;var nN=(0,t_.Ey)();localStorage.setItem("visited",!0);var nO=n(54476);(0,t_.nY)("wtihdrawTax",{state:function(){return{taxSwitch:!1,taxText:""}},actions:{updateTaxSwitch:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.taxSwitch=t},updateTaxText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.taxText=t}}});var nA=(0,t_.nY)("kyc",{state:function(){return{collectKyc:!1,hasCollect:!1}},actions:{updateConfig:function(t){var e=t.collectKyc,n=t.hasCollect;this.collectKyc=!!(void 0!==e&&e),this.hasCollect=!!(void 0!==n&&n)}}});function nE(){var t=(0,b.KR)(!1),e=(0,t_.bP)(nA()),n=e.collectKyc,i=e.hasCollect;return{kycConfig:(0,b.EW)(function(){return{collectKyc:n.value,hasCollect:i.value}}),kycVisible:t,toggleKyc:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t.value=e}}}n(58551),n(64251);var nP=new y.default,nR="m_sport_user_phone",nD=n(10911);n(9698);var nL=n(95285),nV=n.n(nL),n$=["phone","nickname","email"],nM=["phone","nickname","email"];function nF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function nj(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nF(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nF(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nU="m_nickname",nz=(0,t_.nY)("user",function(){var t,e,n,i,r,o,s,a,c,l,u,d,p=(t=localStorage.getItem(nR)||"",e=(0,b.KR)(t),n=(0,b.EW)(function(){var t=e.value,n=t.length;return t&&n>6?t.substring(0,3)+"*".repeat(n-6)+t.substring(n-3,n):""}),i=function(t){e.value=t,localStorage.setItem(nR,t)},window.addEventListener("storage",function(t){t.key===nR&&t.newValue&&t.newValue!==t.oldValue&&(i(t.newValue),nP.$emit("phone-change"))}),{phone:e,safePhone:n,setPhone:i,removePhone:function(){e.value="",localStorage.removeItem(nR)},convertToSafePhone:function(t){return t&&t.length>6?t.substring(0,3)+"*".repeat(t.length-6)+t.substring(t.length-3,t.length):""}}),h=(r=(0,b.KR)(""),o=(0,b.KR)(!1),s=(0,b.EW)(function(){return o.value?"******":""===r.value?"--":0===r.value?"0":function(t,e){if(!t)return t;if(t=t.toString(),null==e){var n,i;e=-1===(i=(n=t).indexOf("."))?0:n.length-i-1}else e||(e=0);var r=Number(t).toFixed(e).split("."),o=(0,nD.A)(r,2),s=o[0],a=o[1];return s.replace(/\B(?=(\d{3})+(?!\d))/g,",")+(a?"."+a:"")}(r.value,2)}),a=function(t){r.value=t/1e4},c=(0,tZ.A)(tJ().mark(function t(){return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ns();case 2:return a(t.sent),t.abrupt("return",r.value);case 5:case"end":return t.stop()}},t)})),{balance:r,showBalance:s,isHideBalance:o,getBalance:function(){return c.apply(this,arguments)},setBalance:a,toggleHideBalance:function(){o.value=!o.value}}),m=(0,t_.bP)(tB()).loginStatus,g=p.safePhone,v=(0,b.KR)(localStorage.getItem(nU)||""),y=(0,b.EW)(function(){return m.value?v.value||(0,b.R1)(g):""}),w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";v.value=t,localStorage.setItem(nU,t||"")},k=(0,b.KR)(""),x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";k.value=t},_=(0,b.IJ)({}),C=(l=(0,tZ.A)(tJ().mark(function t(){var e,n,i,r,o,s,a,c;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ny.get("/patron/account/info");case 2:i=void 0===(n=(e=t.sent).phone)?"":n,o=void 0===(r=e.nickname)?"":r,a=void 0===(s=e.email)?"":s,c=(0,f.A)(e,n$),p.setPhone(i),w(o),x(a),_.value=c;case 8:case"end":return t.stop()}},t)})),function(){return l.apply(this,arguments)}),S=(u=(0,tZ.A)(tJ().mark(function t(){return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C();case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),console.error(t.t0);case 8:case"end":return t.stop()}},t,null,[[0,5]])})),function(){return u.apply(this,arguments)}),T=(d=(0,tZ.A)(tJ().mark(function t(){var e,n,i,r,o=arguments;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(i in e=o.length>0&&void 0!==o[0]?o[0]:{},n={},e)(r=e[i])&&("gender"===i&&(r=parseInt(r)),n[i]=r);return t.next=5,na(n);case 5:_.value=nj(nj({},_.value),n);case 6:case"end":return t.stop()}},t)})),function(){return d.apply(this,arguments)});return nj(nj(nj({},p),h),{},{nickname:v,showNickname:y,setNickname:w,email:k,setEmail:x,update:function(t){var e=t.phone,n=t.nickname,i=t.email,r=void 0===i?"":i,o=(0,f.A)(t,nM);p.setPhone(void 0===e?"":e),w(void 0===n?"":n),r&&x(r),"status"in o&&(_.value=Object.assign({},_.value,o))},accountInfo:_,getAccountInfo:C,getAccountInfoWrap:S,updateAccountInfo:T,reset:function(){w(),x(),_.value={}}})}),nW=(0,t_.nY)("commonMyBets",{state:function(){return{myBetsCount:0}},actions:{setMyBetsCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.myBetsCount=t},getMyBetsCount:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ny.get("/real-sports-game/frontend/order/my-bets/count?type=0");case 3:n=e.sent,t.myBetsCount=n,e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),t.myBetsCount=0,console.error(e.t0);case 11:case"end":return e.stop()}},e,null,[[0,7]])}))()}}}),nK=(0,t_.nY)("signupVerify",{state:function(){return{userPhone:"",needVerifyCode:!1,resRegisterToken:"",msgRemainNum:3,otpRemainNum:3,sendCode:"",sendPhone:"",voiceStatus:!1,inboundStatus:!1,canOpenKyc:!1,kycData:{}}},actions:{setUserPhone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.userPhone=t},setVerifyStatus:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.needVerifyCode=t},updateKycInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.canOpenKyc=!!t.openKyc,this.kycData=t},setResRegistertoken:function(t){this.resRegisterToken=t},checkPhoneStatus:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){var i,r,o,s,a,c,l;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r=void 0===(i=t.phone)?"":i,o=nl().cfToken,n.next=4,ny.get("/patron/phone/checkStatus",{self:!0,params:{ss:0,phone:r,phoneCountryCode:T.t("COUNTRY_CODE")},headers:{cfToken:o}});case 4:return a=(s=n.sent).bizCode,c=s.data,l=s.message,(11600===a||11601===a)&&(e.userPhone=r),e.updateKycInfo(c||{}),n.abrupt("return",{bizCode:a,data:c,message:l});case 11:case"end":return n.stop()}},n)}))()},getIgnoreVcode:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ny.get("/patron/account/create/ignoreVcode");case 3:n=e.sent,t.setVerifyStatus(!n),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),t.setVerifyStatus(!0),console.error(e.t0);case 11:case"end":return e.stop()}},e,null,[[0,7]])}))()},getVerifyCode:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){var i,r,o,s,a,c,l,u,d;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r=void 0===(i=t.phone)?"":i,s=void 0===(o=t.verifyType)?1:o,a={phone:r,bizType:"REGISTER",verifyType:s},n.next=4,no(a);case 4:return l=(c=n.sent).bizCode,u=c.data,d=c.message,localStorage.setItem("registration_sms_token",null==u?void 0:u.token),1e4===l?(e.resRegisterToken=u.token,sessionStorage.setItem("last_send_phone",r),1===s?(e.msgRemainNum=u.remainMsgNum,sessionStorage.setItem("last_send_time",Date.parse(new Date))):3===s&&(e.otpRemainNum=u.remainMsgNum,sessionStorage.setItem("last_send_otp_time",Date.parse(new Date)))):(11705===l||11812===l)&&(1===s&&(e.msgRemainNum=0),3===s&&(e.otpRemainNum=0)),n.abrupt("return",{bizCode:l,message:d});case 11:case"end":return n.stop()}},n)}))()},getOptionsStatus:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=[{appId:"service-patron",namespace:"application",configKey:"voice.inbound.sms.switch"}],e.next=4,ny.post("/basicParams/values",n);case 4:i=JSON.parse(e.sent[0].configValue),t.voiceStatus=i.voice,t.inboundStatus=i.inbound,e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(0),e.t0,e.abrupt("return",Promise.resolve());case 14:case"end":return e.stop()}},e,null,[[0,10]])}))()},getOTPSendCode:function(){var t=arguments,e=this;return(0,tZ.A)(tJ().mark(function n(){var i,r;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:"",n.next=3,ny.post("/patron/inbound/verify-code",{phoneNo:i,bizType:"REGISTER"});case 3:r=n.sent,e.resRegisterToken=r.token,e.sendCode=r.code,e.sendPhone=r.inboundSmsPlatPhoneNo;case 7:case"end":return n.stop()}},n)}))()},checkVerifyCode:function(){var t=arguments,e=this;return(0,tZ.A)(tJ().mark(function n(){var i,r,o,s,a;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:"",r=e.sendCode,o=e.resRegisterToken,s={phoneNo:i,bizType:"REGISTER",verifyCode:r,token:o},n.next=5,ny.post("/patron/inbound/verify-code/check",s);case 5:a=n.sent.collectKyc,tB().update(!0),nA().updateConfig({collectKyc:a}),nz().setPhone(i),nW().setMyBetsCount(0),localStorage.removeItem("registration_sms_token");case 12:case"end":return n.stop()}},n)}))()},completeRegister:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){var i,r,o,s,a,c,l,u,d,p;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r=void 0===(i=t.phone)?"":i,s=void 0===(o=t.verifyCode)?"":o,a=e.resRegisterToken||localStorage.getItem("registration_sms_token"),n.next=4,ny.put("/patron/register/".concat(r,"/complete"),"token=".concat(a,"&phoneVerifyCode=").concat(s),{headers:tV(),self:!0});case 4:return l=(c=n.sent).bizCode,u=c.data,d=c.message,1e4===l&&((p=u.collectKyc)||tB().update(!0),nA().updateConfig({collectKyc:p}),nz().setPhone(r),nW().setMyBetsCount(0),localStorage.removeItem("registration_sms_token"),tL()),n.abrupt("return",{bizCode:l,message:d});case 10:case"end":return n.stop()}},n)}))()}}}),nY=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"section"},[e("h3",{staticClass:"m-title"},[this._v("\n          Sponsorship\n        ")]),this._v(" "),e("img",{staticClass:"m-partner-item lazyload",attrs:{"data-src":n(67656)}}),this._v(" "),e("img",{staticClass:"m-partner-item lazyload",attrs:{"data-src":n(66043)}})])}];n(67593);var nH=function(t){return parseFloat(t)/1e4},nG=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return parseFloat(t)||0},nZ=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return 100*t+"%"},nq=function(t){var e=t.winningAmount,n=t.stake,i=t.taxA,r=t.taxB;if(!n||!e||!i)return 0;var o=e*i-n*i*r;return o>0?o:0},nJ=function(t){var e=t.winningAmount,n=t.stake,i=t.taxA,r=t.taxB,o=t.stakeRatio;if(!n||!e||!i)return 0;var s=(e*i-n*i*r)*(void 0===o?1:o);return s>0?s:0},nX=(0,t_.nY)("globalConfig",{state:function(){return{loadingConfig:!1,config:{},loadedConfig:!1,quickStake:[],stakeSetting:[],stakeSubmit:[]}},getters:{betSlipDefaultStake:function(t){return t.quickStake[0]||t.minStake},minStake:function(t){return nH(t.config.rsgMinBet)},maxStake:function(t){return nH(t.config.rsgMaxBet)},potWinMax:function(t){return nH(t.config.potWinMax)},maxLimitOdds:function(t){return nH(t.config.potOddsMax)},maxCombsCount:function(){return 2e4},isBetBuilderCanMixBet:function(){return!!this.config.isBetBuilderCanMixBet},flexibleMinOdds:function(t){return nH(t.config.flexibleMinOdds)},suppleMinOdds:function(t){return nH(t.config.suppleMinOdds)},notSupportLiveMagic:function(t){return"true"===t.config.banLiveMagicBet},notSupportFlexible:function(t){return"true"===t.config.banFlexible},notSupportSupple:function(t){return"true"===t.config.banSupple},minMagicSelectionNumber:function(t){return parseFloat(t.config.minMagicSelectionNumber)},magicCombsMap:function(t){return JSON.parse(t.config.constrainedMagicNumber||"{}")},flexibleBonusMinOdds:function(t){return nH(t.config.flexibleBonusMinOdds)},flexibleBonusRatio:function(t){return JSON.parse(t.config.flexibleBonusRatio||"{}")},flexibleSafetyRatio:function(t){return parseFloat(t.config.flexibleSafetyRatio)},suppleMaxOddsSafetyRatio:function(t){return parseFloat(t.config.suppleMaxOddsSafetyRatio)},suppleMinOddsSafetyRatio:function(t){return parseFloat(t.config.suppleMinOddsSafetyRatio)},taxOfWinning:function(t){return nG(t.config.rsTaxL)},taxOfWinningB:function(t){return nG(t.config.rsTaxR)},percentTaxOfWinning:function(t){return nZ(t.taxOfWinning)},taxOfExtraBonus:function(t){return nG(t.config.rsTaxBL)},taxOfExtraBonusB:function(t){return nG(t.config.rsTaxBR)},percentTaxOfExtraBonus:function(t){return nZ(t.taxOfExtraBonus)},vsTaxOfWinning:function(t){return nG(t.config.vsTaxL)},vsTaxOfWinningB:function(t){return nG(t.config.vsTaxR)},vsPercentTaxOfWinning:function(t){return nZ(t.vsTaxOfWinning)},vsTaxOfExtraBonus:function(t){return nG(t.config.vsTaxBL)},vsTaxOfExtraBonusB:function(t){return nG(t.config.vsTaxBR)},vsPercentTaxOfExtraBonus:function(t){return nZ(t.vsTaxOfExtraBonus)},hfTaxBL:function(t){return nG(t.config.hfTaxBL)},hfTaxBR:function(t){return nG(t.config.hfTaxBR)},hfTaxL:function(t){return nG(t.config.hfTaxL)},hfTaxR:function(t){return nG(t.config.hfTaxR)},vSoccerMagicBetting:function(t){return 1===t.config.vSoccerMagicBetting},vSoccerMixedBetting:function(t){return 1===t.config.vSoccerMixedBetting},transactionListTaxFilterEnabled:function(){return this.config.transactionListTaxFilterEnabled},transactionListBonusFilterEnabled:function(){return this.config.transactionListBonusFilterEnabled},telContact:function(){var t=this.config.customerServicePhoneNumber;if("undefined"===t||!t)return null;try{var e=JSON.parse(t);if(0===e.length)return null;return e.map(function(t){return{label:t,value:t.replace(/\D/g,"")}})}catch(e){return console.error("Error customerServicePhoneNumber:",t,e),null}}},actions:{updateLoading:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.loadingConfig=t},setGlobalConfig:function(t){this.config=t,this.loadedConfig=!0},calcTaxInfo:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=1===i;return{winningTax:nq({winningAmount:t,stake:e,taxA:r?this.taxOfWinning:this.vsTaxOfWinning,taxB:r?this.taxOfWinningB:this.vsTaxOfWinningB}),extraBonus:nJ({winningAmount:t,stake:e,taxA:r?this.taxOfExtraBonus:this.vsTaxOfExtraBonus,taxB:r?this.taxOfExtraBonusB:this.vsTaxOfExtraBonusB,stakeRatio:n})}},stakeSettingInfo:function(t){this.stakeSetting=t},submitStakes:function(t){this.stakeSubmit=t},updateQuickStake:function(t){this.quickStake=t.map(function(t){return t/1e4})},fetchQuickSkate:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ny.get("/common/config/custom/stake");case 2:n=e.sent,t.updateQuickStake(n);case 4:case"end":return e.stop()}},e)}))()},pushQuickStake:function(){var t=this.stakeSubmit.map(function(t){return Math.round(1e4*t)}).filter(function(t){return 0!==t});return ny.post("/common/config/custom/stake",t)}}}),nQ=(0,t_.nY)("setting",{state:function(){return{visibleRegionBox:!1}},actions:{toggleRegionBox:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.visibleRegionBox=t}}}),n0=(0,O.A)({name:"Checkbox",model:{prop:"value",event:"click"},props:{value:{type:Boolean,default:!1},name:{type:String,default:""},theme:{type:String,default:""}},methods:{toggleCheck:function(){this.$emit("click",this.name)}}},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{class:["checkbox",{checked:this.value}],on:{click:this.toggleCheck}},[e("img","dark"===this.theme?{directives:[{name:"show",rawName:"v-show",value:!!this.value,expression:"!!value"}],attrs:{src:n(87104),alt:"Checked"}}:{directives:[{name:"show",rawName:"v-show",value:!!this.value,expression:"!!value"}],attrs:{src:n(75599),alt:"Checked"}})])},[],!1,null,null,null).exports,n1=(0,O.A)({name:"SelectRegionBox",components:{Checkbox:n0},data:function(){return{checked:this.$region,regionList:w.ou}},activated:function(){this.checked=this.$region},methods:{onChecked:function(t){this.checked=t,this.$emit("checked",t)}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"select-region select-region-box"},[n("div",{staticClass:"select-region--main"},[n("div",{staticClass:"select-region--title"},[t._v("\n      Change Region\n    ")]),t._v(" "),n("div",{staticClass:"select-region--desc"},[t._v("\n      Select a region to enter\n    ")]),t._v(" "),n("input",{staticClass:"region-checked-value",attrs:{id:"region-checked",type:"text"},domProps:{value:t.checked}}),t._v(" "),n("ul",{staticClass:"region-list"},t._l(t.regionList,function(e){return n("li",{key:e.country,staticClass:"region-item",on:{click:function(n){return t.onChecked(e.country)}}},[n("div",{staticClass:"region-name"},[n("img",{staticClass:"region-flag",attrs:{src:e.flagUrl,alt:""}}),t._v(" "),n("span",{staticClass:"region-label"},[t._v(t._s(e.label))])]),t._v(" "),n("Checkbox",{attrs:{value:t.checked===e.country,name:e.country},on:{click:t.onChecked}})],1)}),0)])])},[],!1,null,null,null).exports,n2=(0,O.A)({components:{VDialogBox:ti,SelectRegionBox:n1},props:{source:{type:String,default:""},regionRedirectUrl:{type:String,default:""}},setup:function(){var t=nf().ipRegion,e=nQ();return{ipRegion:t,visibleRegionBox:(0,t_.bP)(e).visibleRegionBox}},data:function(){return{visible:!1,autochecked:!1,checkedRegion:this.$region}},methods:{closeDialog:function(){tb.beforeClose(),nQ().toggleRegionBox(!1),this.autochecked=!1},onUpdateAction:function(t){"confirm"===t&&this.changeRegion(this.source)},onChecked:function(t){this.checkedRegion=t},changeRegion:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.regionRedirectUrl;!e&&/discounts\/\w{15,}\//.test(location.pathname)&&(e=(0,w.z9)()),function(t){var e=t.region,n=void 0===e?"":e,i=t.source,r=void 0===i?"":i,o=t.auto,s=t.redirectUrl,a=void 0===s?"":s;if(n!==w.Zg){void 0!==o&&o&&(r="IPmatched"),window.mstrace("SwitchCountry_".concat(r),"SwitchCountry"),localStorage.clear(),sessionStorage.clear(),localStorage.setItem("USER_REGION",n);var c=a?location.origin+a:location.href;location.href=c.replace("-".concat(w.Zg,"."),"-".concat(n,".")).replace("/".concat(w.Zg),"/".concat(n))}else localStorage.setItem("USER_REGION",n)}({region:this.checkedRegion,source:t,auto:this.autochecked,redirectUrl:e})}}},function(){var t=this.$createElement,e=this._self._c||t;return e("VDialogBox",{ref:"dialogRegion",staticClass:"dialog-region",attrs:{visible:this.visibleRegionBox,"show-footer":"","confirm-button-text":"Done","cancel-button-text":"Cancel"},on:{"update-action":this.onUpdateAction,close:this.closeDialog}},[e("keep-alive",[this.visibleRegionBox?e("SelectRegionBox",{on:{checked:this.onChecked}}):this._e()],1)],1)},[],!1,null,"64d1194e",null).exports,n4=!1,n8=null,n3=function(t){var e=t.source,n=t.regionRedirectUrl;if(n8)return nQ().toggleRegionBox(!0);n8=new(y.default.extend(n2))({i18n:T,propsData:{source:e,regionRedirectUrl:n}}).$mount(),document.querySelector("body").appendChild(n8.$el),nQ().toggleRegionBox(!0)},n6=(0,O.A)({props:{source:{type:String,default:""},autocheck:{type:Boolean,default:!1},regionRedirectUrl:{type:String,default:""},noChangeRegion:{type:Boolean,default:!1}},setup:function(t){return{ipRegion:nf().ipRegion,disabled:(0,R.YB)()||t.noChangeRegion}},data:function(){return{visible:!1,autochecked:!1,checkedRegion:this.$region}},mounted:function(){var t=this;!this.disabled&&(this.$watch("ipRegion",function(e){e&&t.autocheck&&t.checkRegion()}),this.autocheck&&this.checkRegion())},methods:{openDialog:function(){this.disabled||(n3({source:this.source,regionRedirectUrl:this.regionRedirectUrl}),tb.afterOpen())},checkRegion:function(){!(0,R.YB)()&&!n4&&function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=localStorage.getItem("USER_REGION");if(w.ou.every(function(t){return t.country!==i})&&(i="",localStorage.removeItem("USER_REGION")),i)w.Zg===i||/test/.test(location.host)||(location.href=(t=location.href,e=RegExp("([-/])".concat(w.Zg),"g"),t.replace(e,"$1".concat(i))));else if(n&&n!==w.Zg)return!0}(this.ipRegion)&&(this.autochecked=!0,this.openDialog(),n4=!0)}}},function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"btn-region",attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.openDialog.apply(null,arguments)}}},[t._t("default")],2)},[],!1,null,"5937841e",null).exports,n5=(0,O.A)({computed:{paybillNumberTel:function(){var t=this.$t("PAYBILL_NUMBER");return t&&encodeURIComponent(t)}}},function(){var t=this.$createElement,e=this._self._c||t;return this.$t("PAYBILL_NUMBER")?e("div",{staticClass:"paybill"},[e("h3",{staticClass:"title"},[this._v("\n    Paybill\n  ")]),this._v(" "),e("a",{staticClass:"paybill-number",attrs:{href:"tel:"+this.paybillNumberTel}},[this._v("\n    "+this._s(this.$t("PAYBILL_NUMBER"))+"\n  ")])]):this._e()},[],!1,null,null,null).exports,n7=(0,O.A)({props:{telContact:{type:[Array],default:null}},methods:{handlClose:function(){this.$emit("close")}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pop-tel"},[n("div",{staticClass:"pop-tel-main"},[n("div",{staticClass:"pop-tel-list"},t._l(t.telContact,function(e){return n("a",{key:e.label,staticClass:"pop-tel-item",attrs:{href:"tel:"+e.value},on:{click:t.handlClose}},[t._v("\n        "+t._s(e.label)+"\n      ")])}),0),t._v(" "),n("div",{staticClass:"btns"},[n("button",{staticClass:"btn-cancel",on:{click:t.handlClose}},[t._v("\n        Cancel\n      ")])])])])},[],!1,null,"bea361a4",null).exports,n9=(0,O.A)({},function(t,e){var i=e._c;return i("div",{staticClass:"m-socials"},[e._t("default",function(){return[i("a",{staticClass:"m-social-item",attrs:{href:e.props.facebookHome,target:"_blank",rel:"noopener"}},[i("img",{staticClass:"lazyload",attrs:{"data-src":n(74737),alt:"facebook"}})]),e._v(" "),i("a",{staticClass:"m-social-item",attrs:{href:e.props.twitterHome,target:"_blank",rel:"noopener"}},[i("img",{staticClass:"lazyload",attrs:{"data-src":n(22101),alt:"x.com"}})]),e._v(" "),i("a",{staticClass:"m-social-item",attrs:{href:e.props.youtubeHome,target:"_blank",rel:"noopener"}},[i("img",{staticClass:"lazyload",attrs:{"data-src":n(63744),alt:"Youtube"}})])]})],2)},[],!0,null,"35b73937",null).exports,it=n(48500)("./".concat(w.Zg,"/PaymentWays.vue")).default,ie=(0,O.A)({components:{PaymentWays:it}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-payments"},[e("h3",{staticClass:"m-title"},[this._v("\n    Payment Methods\n  ")]),this._v(" "),e("PaymentWays",{staticClass:"m-payment"})],1)},[],!1,null,null,null).exports,ii=n(18233)("./".concat(w.Zg,"/config.js")).default,ir={name:"LayoutFooter",components:{DialogRegion:n6,PaybillNumber:n5,PopTel:n7,Socials:n9,Payments:ie},props:{hasWebsite:{type:Boolean,default:!1},hasPlatforms:{type:Boolean,default:!0},hasHarmfulTip:{type:Boolean,default:"ug"===w.Zg},regionRedirectUrl:{type:String,default:""},autocheck:{type:Boolean,default:!1}},setup:function(){var t,e=(0,t_.bP)(nX()).telContact,n={visibleTel:t=(0,b.KR)(!1),togglePopTel:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t.value=e}},i=n.visibleTel,r=n.togglePopTel;return{appLinks:w.X5,VUE_APP_HOSTNAME:"www.msport.com",telContact:e,visibleTel:i,togglePopTel:r,youtubeHome:"https://www.youtube.com/channel/UC_i7PNSY3qYUN9ThYinmLiw"}},data:function(){return{config:ii,supportContactUs:(0,w.z9)("/support/about/contact-us?chat=1"),homeUrl:(0,w.z9)(),copyYear:new Date().getFullYear(),generalNavs:[{label:"T&C",href:w.Fe},{label:"How to Play",href:(0,w.z9)("/support/how-to-play")},{label:"About Us",href:(0,w.z9)("/support/about")},{label:"Contact Us",href:(0,w.z9)("/support/about/contact-us")}]}}},io=(0,O.A)(ir,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("footer",{staticClass:"m-footer",class:[t.$region]},[i("div",{staticClass:"top"},[i("div",{staticClass:"left"},[i("div",{staticClass:"section m-sport"},[i("img",{staticClass:"m-logo lazyload",attrs:{"data-src":n(67710),alt:"MSport"}}),t._v(" "),t.config.gamingLicenseLogo?i("img",{staticClass:"m-logo--license lazyload",attrs:{"data-src":t.config.gamingLicenseLogo,alt:""}}):t._e(),t._v(" "),i("p",{attrs:{"data-nosnippet":""}},[t._v("\n          "+t._s(t.$t("LICENSE"))+"\n        ")])]),t._v(" "),i("div",{staticClass:"section m-18"},[i("div",{staticClass:"limit-age"},[t._v("\n          "+t._s(t.$t("LEGAL_AGE"))),i("span",{staticClass:"icon-plus"},[t._v("+")])]),t._v(" "),i("p",{staticClass:"m-18-text"},[t._v("\n          "+t._s(t.$t("LEGAL_AGE_WARNING"))+"\n        ")])]),t._v(" "),i("Payments",{staticClass:"section"}),t._v(" "),i("PaybillNumber",{staticClass:"section paybill"}),t._v(" "),t._m(0)],1),t._v(" "),i("div",{staticClass:"right"},[i("div",{staticClass:"section m-navs"},[i("h3",{staticClass:"m-title"},[t._v("\n          General\n        ")]),t._v(" "),t._l(t.generalNavs,function(e,n){return i("div",{key:n,staticClass:"nav-item"},[i("a",{staticClass:"x-link-active",attrs:{href:e.href}},[t._v(t._s(e.label))])])})],2),t._v(" "),i("div",{staticClass:"section m-services"},[i("h3",{staticClass:"m-title"},[t._v("\n          Customer Service\n        ")]),t._v(" "),i("div",{staticClass:"m-contact",class:{"no-tel":!t.telContact}},[i("a",{staticClass:"m-contact-item x-link-active",attrs:{href:t.supportContactUs}},[i("img",{staticClass:"icon-service lazyload",attrs:{"data-src":n(28488),alt:""}}),t._v(" "),i("span",{staticClass:"m-label"},[t._v("24/7")]),t._v(" "),i("span",{staticClass:"m-value"},[t._v("Online Help")]),t._v(" "),t.telContact?t._e():[i("svg",{attrs:{width:"12",height:"12",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M307.2 153.6c12.8-25.6 64-25.6 89.6 0L755.2 512c25.6 25.6 25.6 64 0 89.6-25.6 25.6-64 25.6-89.6 0L307.2 243.2c-25.6-25.6-25.6-64 0-89.6z",fill:"#666"}}),i("path",{attrs:{d:"M755.2 512c25.6 25.6 25.6 64 0 89.6L396.8 972.8c-25.6 25.6-64 25.6-89.6 0-25.6-25.6-25.6-64 0-89.6L665.6 512c25.6-25.6 64-25.6 89.6 0z",fill:"#666"}})])]],2),t._v(" "),t.telContact?[i("div",{staticClass:"separator"}),t._v(" "),i("div",{staticClass:"m-contact-item"},[i("a",{staticClass:"m-contact-item x-link-active",attrs:{href:t.telContact.length>1?"javascript:;":"tel:"+t.telContact[0].value}},[i("img",{staticClass:"icon-service lazyload",attrs:{"data-src":n(88022),alt:""}}),t._v(" "),i("span",{staticClass:"m-label"},[t._v("Call Us")]),t._v(" "),i("span",{staticClass:"m-value"},[t.telContact.length>1?t._l(t.telContact,function(e){return i("div",{key:e.label,staticClass:"item-tel",on:{click:function(e){return t.togglePopTel(!0)}}},[t._v(t._s(e.label))])}):i("div",{staticClass:"item-tel"},[t._v(t._s(t.telContact[0].label))])],2)])])]:t._e()],2)]),t._v(" "),i("div",{staticClass:"m-platforms"},[t.hasPlatforms?i("DialogRegion",{attrs:{"region-redirect-url":t.regionRedirectUrl,autocheck:t.autocheck,source:"Footer"}},[i("div",{staticClass:"m-region"},[i("img",{staticClass:"lazyload",attrs:{"data-src":t.$t("URL_FLAG"),alt:""}}),t._v(" "),i("span",{staticClass:"m-region-name"},[t._v(t._s(t.$t("COUNTRY_NAME")))]),t._v(" "),i("i",{staticClass:"m-trangle down"})])]):t._e(),t._v(" "),i("Socials",{attrs:{"facebook-home":t.$t("FACEBOOK_HOME"),"twitter-home":t.$t("TWITTER_HOME"),"youtube-home":t.youtubeHome}},[t.hasWebsite?i("a",{attrs:{href:"/"}},[t._v(t._s(t.VUE_APP_HOSTNAME)+" >>")]):t._e()])],1),t._v(" "),i("div",{staticClass:"section download-links"},[i("a",{staticClass:"link-item x-link-active",attrs:{href:t.appLinks.appAndroidApk,download:"MSport","aria-label":"Download for android",target:"_blank"}},[i("img",{staticClass:"lazyload",attrs:{"data-src":n(83259),alt:"Download for android",width:"120",height:"40"}})]),t._v(" "),i("a",{staticClass:"link-item x-link-active",attrs:{href:t.appLinks.appIosAppleStore,"aria-label":"Download on the App Store",target:"_blank"}},[i("img",{staticClass:"lazyload",attrs:{"data-src":n(5298),alt:"Download on the App Store",width:"120",height:"40"}})])]),t._v(" "),t.hasHarmfulTip?i("p",{staticStyle:{"margin-bottom":"20px"}},[t._v("\n        Betting is addictive and can be psychologically harmful.\n      ")]):t._e()])]),t._v(" "),i("p",{staticClass:"m-copyright"},[t._v("\n    \xa9 "+t._s(t.copyYear)+" MSport. All rights reserved.\n  ")]),t._v(" "),t.visibleTel?i("PopTel",{attrs:{"tel-contact":t.telContact},on:{close:function(e){return t.togglePopTel(!1)}}}):t._e()],1)},nY,!1,null,null,null).exports;n(53819);var is=function(t){return t.replace(/\D/g,"")},ia=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:27;return e=is(t),n&&!(e.length<=n)?e.slice(0,n):e},ic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/[\u4E00-\u9FA5]+/g,"")},il=(0,O.A)({components:{VDialogBox:ti},setup:function(){var t=(0,t_.bP)(nl()).cfVisible,e=(0,b.KR)(null);return(0,b.sV)(function(){window.turnstile.ready(function(){var t=window.turnstile.render(e.value,{sitekey:"0x4AAAAAAAwhpUsVBKANtpy4",language:"en-us",callback:function(e){nl().setCfToken(e),nl().setWidgetId(t),(0,B.iXd)("CF_CHALLENGE_SUCCESS").emit()},"error-callback":function(t){tU(t)},"unsupported-callback":function(t){tU(t)}})})}),{cfTurnstile:e,cfVisible:t}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("VDialogBox",{staticClass:"dialog-cloudflare",model:{value:t.cfVisible,callback:function(e){t.cfVisible=e},expression:"cfVisible"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.cfVisible,expression:"cfVisible"}],ref:"cfTurnstile"})])},[],!1,null,"efd38db2",null).exports,iu=(0,O.A)({name:"RegisterInput",model:{prop:"value",event:"input"},props:{maxLength:{type:String,default:""},value:{type:String,default:""},showCode:{type:Boolean,default:!1},inputTitle:{type:String,default:""},status:{type:String,default:"default"},inputType:{type:String,default:""},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},eye:{type:Boolean,default:!1},focusStatus:{type:Boolean,default:!1},locked:{type:Boolean,default:!1},svgWidth:{type:String,default:"16px"},size:{type:String,default:"m"}},data:function(){return{inputStatus:this.status,inputInnerStatus:"blur",visible:!1}},computed:{isAppend:function(){return this.clearable||this.eye},inputInnerType:function(){return"password"!==this.inputType?this.inputType:this.visible?"text":"password"},inputListeners:function(){var t=this;return Object.assign({},this.$listeners,{input:function(e){t.$emit("input",e.target.value),t.$emit("changeInputStatus")},blur:function(e){t.$emit("blur",e)},focus:function(e){t.$emit("focus",e)}})}},watch:{status:function(t){"error"===t&&this.$refs.registerInput.focus(),this.inputStatus=t}},mounted:function(){this.focusStatus&&(this.$refs.registerInput.focus(),document.querySelector(".m-register-input-warp input").focus())},methods:{inputFocus:function(){this.inputInnerStatus="focus"},inputBlur:function(){this.inputInnerStatus="blur"},handleClear:function(){this.$emit("input","")},toggleVisible:function(){this.visible=!this.visible},inputWrapClick:function(){this.$refs.registerInput.focus()},handleClickAppend:function(){if(this.value){if(this.clearable)return this.handleClear();this.eye&&this.toggleVisible()}}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-register-input-warp",class:{inputFocus:"focus"===this.inputInnerStatus,inputError:"error"===this.inputStatus&&"focus"===this.inputInnerStatus,inputSizeL:"l"===this.size},on:{click:this.inputWrapClick}},[this.locked?e("span",{staticClass:"lock"},[e("InlineSvg",{attrs:{width:this.svgWidth,icon:n(29825)}})],1):this._t("before"),this._v(" "),this.showCode?e("div",{staticClass:"m-register-input-code"},[this._v("\n    +"+this._s(this.$t("COUNTRY_CODE"))+"\n  ")]):this._e(),this._v(" "),e("transition",{attrs:{name:"fade-in"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.inputTitle&&("focus"===this.inputInnerStatus||this.value),expression:"inputTitle && (inputInnerStatus === 'focus' || value)"}],class:["inputTitle",{error:"error"===this.inputInnerStatus},{focus:"focus"===this.inputInnerStatus}]},[this._v("\n      "+this._s(this.inputTitle)+"\n    ")])]),this._v(" "),e("input",this._g({ref:"registerInput",staticClass:"m-register-input-inner",class:{innerInputError:"error"===this.inputStatus&&"focus"===this.inputInnerStatus},attrs:{type:this.inputInnerType,placeholder:this.placeholder,disabled:this.disabled,autofocus:this.focusStatus},domProps:{value:this.value},on:{focus:this.inputFocus,blur:this.inputBlur}},this.inputListeners)),this._v(" "),this._t("behind"),this._v(" "),this.isAppend?e("span",{staticClass:"m-register-input-append",on:{click:this.handleClickAppend}},[this.eye&&this.value?[this.visible?e("InlineSvg",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"input-icon-style",attrs:{icon:n(33094)}}):this._e(),this._v(" "),e("InlineSvg",{directives:[{name:"show",rawName:"v-show",value:!this.visible,expression:"!visible"}],staticClass:"input-icon-style",attrs:{icon:n(63911)}})]:[e("InlineSvg",{directives:[{name:"show",rawName:"v-show",value:this.clearable&&this.value,expression:"clearable && value"}],staticClass:"input-icon-style",attrs:{icon:n(38577)}})]],2):this._e()],2)},[],!1,null,null,null).exports;n(99102);var id=n(77083);function ip(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function ih(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ip(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ip(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var im=(0,t_.nY)("signup",{actions:{registerAccount:function(){var t=arguments;return(0,tZ.A)(tJ().mark(function e(){var n,i,r,o,s,a,c,l,u,d,p,f,h;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=(n=t.length>0&&void 0!==t[0]?t[0]:{}).phone,r=n.password,Object.assign(s=void 0===(o=n.kycInfo)?{}:o,{dj6gi5pl:Math.random().toString(36).slice(-3)}),a=new URLSearchParams({phone:i,password:tQ()(r),phoneCountryCode:T.t("COUNTRY_CODE")}),(0,id.A)(s)||a.append("kycInfo",JSON.stringify(s)),c=nl().verifyToken,e.next=7,nr("/patron/register/new",a.toString(),1,{headers:ih(ih({},tV()),{},{verifyToken:c})});case 7:if(u=(l=e.sent).bizCode,d=l.data,p=l.message,nK().setUserPhone(i),2e4!==u){e.next=17;break}d.userId&&sessionStorage.setItem("reg-userid",d.userId),nK().setVerifyStatus(!0),e.next=31;break;case 17:if(1e4!==u){e.next=28;break}f=d.collectKyc,nA().updateConfig({collectKyc:f}),nK().setVerifyStatus(!1),nz().setPhone(i),localStorage.removeItem("registration_sms_token"),tB().update(!0),nW().setMyBetsCount(0),tL(),e.next=31;break;case 28:return(h=Error(p)).bizCode=u,e.abrupt("return",Promise.reject(h));case 31:case"end":return e.stop()}},e)}))()}}}),ig=(0,O.A)({name:"RegisterVerify",props:{size:{type:String,required:!1,default:"m"},status:{type:String,default:"default",required:!1},hidePassword:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1}},data:function(){return{verifyCode:"",list:[0,1,2,3,4,5],isFocus:!1,inputStatus:this.status}},watch:{status:function(t){"error"===t&&this.$refs.registerVerifyInput.focus(),this.inputStatus=t}},mounted:function(){this.autofocus&&this.$refs.registerVerifyInput.focus()},activated:function(){this.verifyCode=""},methods:{inputFocus:function(t){this.isFocus=!0,this.$emit("focus",t)},inputBlur:function(t){this.isFocus=!1,this.$emit("blur",t)},onInput:function(t){this.verifyCode=t.target.value.replace(/[^0-9]/ig,"").slice(0,6),6===this.verifyCode.length?this.$emit("sentVerifyCode",this.verifyCode):this.$emit("changeInputStatus",this.verifyCode)},inputWrapFocus:function(){this.$refs.registerVerifyInput.focus()},parentEmptyCode:function(){this.verifyCode=""}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-register-verify-warp",class:{verifyWarpSizeL:"l"===t.size}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.verifyCode,expression:"verifyCode"}],ref:"registerVerifyInput",staticClass:"m-register-verify-input",attrs:{id:"verifyInput",type:"tel",inputmode:"numeric",unselectable:"true"},domProps:{value:t.verifyCode},on:{focus:t.inputFocus,blur:t.inputBlur,input:[function(e){e.target.composing||(t.verifyCode=e.target.value)},t.onInput]}}),t._v(" "),n("div",{staticClass:"m-verify-input-wrap",on:{click:t.inputWrapFocus}},t._l(t.list,function(e){return n("div",{key:e,class:["input-item",{verifySizeL:"l"===t.size,available:0==e?t.isFocus:t.verifyCode.length>e-1&&t.isFocus,bling:t.verifyCode.length===e&&t.isFocus,inputError:"error"===t.inputStatus}]},[t._v("\n      "+t._s(t.verifyCode.length>e?t.hidePassword?"•":t.verifyCode.substring(e,e+1):"")+"\n    ")])}),0)])},[],!1,null,null,null).exports,iv=(0,O.A)({components:{VButton:tn},props:{phone:{type:String,default:""},count:{type:Number,default:0}},data:function(){return{loading:!1}},computed:{btnText:function(){return this.count?"Got It":"Send Again"}},watch:{btnText:function(t){"Got It"===t&&(this.loading=!1)}},methods:{handleClick:function(){this.count||(this.loading=!0),this.$emit("back")}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"register-calling"},[e("div",{staticClass:"calling-top"},[e("div",{staticClass:"calling-top-tit"},[this._v("\n      Send Calling Code Again "),this.count?this._e():[this._v("\n        ?\n      ")],this._v(" "),e("p",{class:["calling-count",{show:this.count}]},[this._v("\n        "+this._s(this.count)+"s\n      ")])],2)]),this._v(" "),e("div",{staticClass:"calling-text"},[this._v("\n    You will receive a call from us on your mobile number "),e("span",{staticClass:"calling-light"},[this._v("+"+this._s(this.$t("COUNTRY_CODE"))+this._s(this.phone))]),this._v(" within 60 seconds to get a "),e("span",{staticClass:"calling-light"},[this._v("6-digit code")]),this._v(" that you need to enter for verification.\n  ")]),this._v(" "),e("VButton",{staticClass:"calling-button",attrs:{loading:this.loading},on:{click:this.handleClick}},[this._v("\n    "+this._s(this.btnText)+"\n  ")])],1)},[],!1,null,null,null).exports,iy=(0,O.A)({name:"RegisterOptions",components:{VDialogBox:ti,CallingCode:iv,VButton:tn},props:{phone:{type:String,default:""},needTrack:{type:Boolean,default:!1}},setup:function(){var t=(0,t_.bP)(nK());return{voiceStatus:t.voiceStatus,inboundStatus:t.inboundStatus,otpRemainNum:t.otpRemainNum}},data:function(){return{count:0,verifyType:3,timer:null,callingCodeVisible:!1,sendLoading:!1,voiceLoading:!1,visible:!1}},created:function(){this.judgeTimestamp()},mounted:function(){this.visible=!0},beforeDestroy:function(){clearInterval(this.timer)},methods:{judgeTimestamp:function(){var t=Date.parse(new Date),e=sessionStorage.getItem("last_send_otp_time"),n=sessionStorage.getItem("last_send_phone"),i=e?(t-e)/1e3:60;i<60&&this.phone===n&&this.updateCount(60-i)},handleClickVoice:function(){this.judgeVerify(),window.mstrace("Reg3_Voice")},judgeVerify:function(){this.count||this.voiceLoading?this.callingCodeVisible=!0:this.handleVoice()},updateCount:function(t){var e=this;clearInterval(this.timer),this.count=t||60,this.timer=setInterval(function(){e.count--,e.count<=0&&clearInterval(e.timer)},1e3)},handleBack:function(){this.count?this.callingCodeVisible=!1:(this.needTrack&&window.mstrace("VerifybycallingWap_SendCodeAgain"),this.judgeVerify())},handleSend:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!t.sendLoading){e.next=3;break}return e.abrupt("return",!1);case 3:return t.sendLoading=!0,e.next=6,nK().getOTPSendCode(t.phone);case 6:t.sendLoading=!1,t.$emit("send"),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),P(e.t0);case 13:window.mstrace("Reg3_Inbound");case 14:case"end":return e.stop()}},e,null,[[0,10]])}))()},handleVoice:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i,r,o,s;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.voiceLoading=!0,n=t.phone,i=t.verifyType,e.next=5,nK().getVerifyCode({phone:n,verifyType:i});case 5:o=(r=e.sent).bizCode,s=r.message,t.voiceLoading=!1,1e4===o?(t.updateCount(),P(t.needTrack?"Code Sent":J(t.otpRemainNum),{theme:"dark"}),t.callingCodeVisible=!0):(t.callingCodeVisible=!1,t.popupDialog(s,11812===o?"Got It":"")),e.next=18;break;case 12:e.prev=12,e.t0=e.catch(0),t.callingCodeVisible=!1,t.voiceLoading=!1,t.popupDialog(X),console.error(e.t0);case 18:case"end":return e.stop()}},e,null,[[0,12]])}))()},popupDialog:function(t,e){this.$dialog({message:t,cancelButtonText:"",confirmButtonText:e||"OK"})}}},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"register-options",attrs:{"data-category":"Reg"}},[i("transition",{attrs:{name:"slide-down"}},[t.visible?i("div",[i("div",{staticClass:"register-options-text"},[t._v("\n        If you don't receive your code, please try the option(s) below:\n      ")]),t._v(" "),i("div",{staticClass:"register-options-main"},[t.voiceStatus?i("VButton",{staticClass:"register-options-item",attrs:{loading:t.voiceLoading},on:{click:t.handleClickVoice}},[i("InlineSvg",{attrs:{width:"16px",icon:n(18639)}}),t._v(" "),i("span",[t._v("\n            Voice OTP\n            "),t.count?[t._v("("+t._s(t.count)+"s)")]:t._e()],2)],1):t._e(),t._v(" "),t.inboundStatus?i("VButton",{staticClass:"register-options-item",attrs:{loading:t.sendLoading},on:{click:t.handleSend}},[i("InlineSvg",{attrs:{width:"16px",icon:n(16933)}}),t._v(" "),i("span",[t._v("Send SMS to Us")])],1):t._e()],1),t._v(" "),i("VDialogBox",{staticClass:"dialog-calling-code",attrs:{"close-on-click-modal":""},model:{value:t.callingCodeVisible,callback:function(e){t.callingCodeVisible=e},expression:"callingCodeVisible"}},[t.callingCodeVisible?i("CallingCode",{attrs:{phone:t.phone,count:t.count},on:{back:t.handleBack}}):t._e()],1)],1):t._e()])],1)},[],!1,null,null,null).exports,ib=n(100),iw=n.n(ib),ik=(0,O.A)({name:"RegSend",components:{VButton:tn},props:{hasTitle:{type:Boolean,default:!1},phone:{type:String,default:""},fixed:{type:Boolean,default:!1},pageName:{type:String,default:""}},setup:function(){var t=(0,t_.bP)(nK());return{sendCode:t.sendCode,sendPhone:t.sendPhone}},data:function(){return{loading:!1,isAjax:!1}},computed:{smsText:function(){var t=this.sendCode,e=this.sendPhone;return(0,R.un)()?"sms:".concat(e,"&body=").concat(t):"sms:".concat(e,"?body=").concat(t)}},beforeDestroy:function(){clearInterval(this.timer)},mounted:function(){var t=this;this.timer=setInterval(function(){t.check(!0)},5e3),this.$refs.copyCode&&(this.copyCode=new(iw())(this.$refs.copyCode),this.handleCopy(this.copyCode)),this.$refs.copyPhone&&(this.copyPhone=new(iw())(this.$refs.copyPhone),this.handleCopy(this.copyPhone))},methods:{handleCopy:function(t){t.on("success",function(t){P("Copied Successfully !"),t.clearSelection(),window.mstrace("Reg3_InboundCopy")})},check:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,!e.isAjax){n.next=3;break}return n.abrupt("return",!1);case 3:return n.next=5,nK().checkVerifyCode(e.phone);case 5:clearInterval(e.timer),e.loading=!1,e.fixed||tb.beforeClose(),(0,nb.O2)(),nk(),e.$emit("success"),n.next=18;break;case 13:n.prev=13,n.t0=n.catch(0),e.loading=!1,e.fixed||tb.beforeClose(),t||P(n.t0.message);case 18:case"end":return n.stop()}},n,null,[[0,13]])}))()},handleCheck:function(){if(this.loading)return!1;this.loading=!0,this.check()},handleSend:function(){window.mstrace("Reg3_InboundSendSMS");var t=this.pageName;t&&n_({pageName:t,interactionName:"Send OTP Click Send SMS"})}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.fixed",value:this.loading,expression:"loading",modifiers:{fullscreen:!0,fixed:!0}}],staticClass:"send-otp",attrs:{"data-category":"Reg"}},[e("div",{staticClass:"send-otp-top"},[this.hasTitle?e("div",{staticClass:"send-otp-title"},[this._v("\n      Send OTP\n    ")]):this._e(),this._v(" "),e("div",{staticClass:"send-otp-text"},[this._v("\n      Please use your mobile number "),e("span",{staticClass:"col-light"},[this._v("+"+this._s(this.$t("COUNTRY_CODE"))+this._s(this.phone))]),this._v(" to send the following message, then come back to this page and check result.\n    ")]),this._v(" "),e("div",{staticClass:"send-otp-number"},[e("p",{staticClass:"tip-text"},[this._v("\n        Send\n      ")]),this._v(" "),e("div",{staticClass:"number-wrap"},[e("span",{staticClass:"info-num"},[this._v(this._s(this.sendCode))]),this._v(" "),e("span",{ref:"copyCode",staticClass:"copy",attrs:{"data-clipboard-text":this.sendCode}},[this._v("Copy")])]),this._v(" "),e("p",{staticClass:"tip-text"},[this._v("\n        to\n      ")]),this._v(" "),e("div",{staticClass:"number-wrap"},[e("span",{staticClass:"info-num"},[this._v(this._s(this.sendPhone))]),this._v(" "),e("span",{ref:"copyPhone",staticClass:"copy",attrs:{"data-clipboard-text":this.sendPhone}},[this._v("Copy")])])]),this._v(" "),e("a",{staticClass:"send-otp-item",attrs:{href:this.smsText},on:{click:this.handleSend}},[e("InlineSvg",{attrs:{width:"22px",icon:n(16933)}}),this._v("\n      Send SMS\n    ")],1)]),this._v(" "),e("VButton",{staticClass:"check-result",on:{click:this.handleCheck}},[this._v("\n    Check Result\n  ")])],1)},[],!1,null,null,null).exports;n(64628);var ix=(0,t_.nY)("app",function(){return{isAppWebview:(0,b.KR)((0,R.YB)())}});function i_(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function iC(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}n(69892),n(32733),n(84701),n(13225);var iS=Object.freeze([{value:6,label:"NIN (National ID Number)"},{value:3,label:"Passport"},{value:7,label:"Refugee Identity Card"}]);function iT(){return(iT=(0,tZ.A)(tJ().mark(function t(e){return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",nr("/patron/collect/collect-kyc",e,1));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}var iB=(0,O.A)({props:{theme:{type:String,default:"dark"},label:{type:String,default:""},value:{type:String,default:""},errorText:{type:String,default:""},focus:{type:Boolean,default:!1},hasErrorText:{type:Boolean,default:!0}},watch:{errorText:function(t){var e=this;t&&this.$nextTick(function(){e.checkIsInView()})}},methods:{checkIsInView:function(){this.$el.getBoundingClientRect().top<80&&this.$el.scrollIntoView({behavior:"smooth",block:"center"})}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-item",class:[this.theme,{"is-error":!!this.errorText,active:this.value||this.focus,focus:this.focus}]},[this._t("default"),this._v(" "),this.label?e("div",{staticClass:"form-item-label",class:[this.theme]},[this._v("\n    "+this._s(this.label)+"\n  ")]):this._e(),this._v(" "),this.hasErrorText?e("p",{staticClass:"form-error-text"},[this.errorText?[this._v("\n      "+this._s(this.errorText)+"\n    ")]:this._e()],2):this._e()],2)},[],!1,null,null,null).exports,iI=(0,O.A)({components:{FormItem:iB,VInput:tt},model:{prop:"value",event:"input"},props:{theme:{type:String,default:"dark"},value:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},errorText:{type:String,default:""},hasErrorText:{type:Boolean,default:!0}},data:function(){return{focus:!1}},methods:{onFocus:function(){this.focus=!0},onBlur:function(){this.focus=!1,this.$emit("blur")},onInput:function(t,e){t=ic(t),this.$emit("input",t,e)}}},function(){var t=this.$createElement,e=this._self._c||t;return e("FormItem",{class:["input-focus",this.theme],attrs:{theme:this.theme,label:this.label,focus:this.focus,value:this.value,"error-text":this.errorText,"has-error-text":this.hasErrorText}},[e("VInput",{attrs:{value:this.value,disabled:this.disabled,clearable:""},on:{focus:this.onFocus,blur:this.onBlur,input:this.onInput}})],1)},[],!1,null,null,null).exports,iN=["January","February","March","April","May","June","July","August","September","October","November","December"];function iO(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function iA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function iE(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?iA(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):iA(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}iN.map(function(t,e){return t.substring(0,8===e?4:3)});var iP=function(t){return nV()(t).format("YYYYMMDD")},iR=Object.freeze([{value:1,label:"Voter ID"},{value:2,label:"".concat(T.t("COUNTRY_NAME")," Card")},{value:3,label:"Passport"},{value:5,label:"SSNIT"}]);function iD(t){var e,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.noNames,o=(0,b.QW)(t),s=o.firstName,a=void 0===s?"":s,c=o.lastName,l=void 0===c?"":c,u=o.phone,d=iR[1],p=(0,b.KR)(d.label),f=parseInt(T.t("LEGAL_AGE")),h=nV()().subtract(f,"year").toDate(),m={firstName:a.value||"",lastName:l.value||"",idType:d.value,idNumber:"",nationality:T.t("COUNTRY_NAME"),birthday:iP(h),address:"",email:""},g=(0,b.Kh)(iE({},m)),v=(0,b.Kh)({idNumber:"",address:"",email:"",birthday:""}),y=(0,b.KR)(!1),w=(0,b.EW)(function(){return Object.values(v).some(function(t){return!!t})}),k=(0,b.KR)(!1),x=(0,b.EW)(function(){return y.value?"Loading":k.value?"Confirm":"Done"});void 0!==r&&r||((0,b.wB)(function(){return u.value},function(){p.value=d.label,Object.assign(g,m),N("idNumber"),N("address"),N("email")}),(0,b.wB)(a,function(){g.firstName=a.value}),(0,b.wB)(l,function(){g.lastName=l.value}));var _=(0,b.KR)(!1),C=(0,b.KR)({}),S=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_.value=t,t||(N("idNumber"),(0,b.dY)(function(){var t=document.getElementById("input-id-number");if(t){var e=t.querySelectorAll("input");e&&e.length>0&&e[e.length-1].focus()}}))},B=(0,b.EW)(function(){var t=g.birthday;if(t){var e=parseInt(t.slice(4,6))-1;return"".concat(t.slice(6,8)," ").concat(iN[e],", ").concat(t.slice(0,4))}}),I=(0,b.EW)(function(){return k.value?!g.birthday:!g.idNumber||!g.address||!g.email||!!C.value.message}),N=function(t){v[t]="","idNumber"===t&&(C.value={})},O=function(t){var e=t.bizCode,n=t.data,i=t.message;if(1e4===e)return n&&n.birth?(g.birthday=iP(n.birth),{type:"success"}):(k.value=!0,{type:"error-birth"});if([31004,31005,31008,31009,31010].includes(e))return v.idNumber=i,{type:"inline-error"};if([31006,31007,31011,31012,31013].includes(e)){var r=iE(iE({},n),{},{message:i});return 31007===e?r.typeTitle="Ghana Card":31006===e&&(r.typeTitle="Voter ID"),C.value=r,S(!0),{type:"big-error"}}var o=Error(i);return 30006===e&&(o.isErrorBirth=!0),Promise.reject(o)},A=(e=(0,tZ.A)(tJ().mark(function t(){var e,n;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e={idType:g.idType,idNumber:g.idNumber,phone:u.value},t.next=4,function(t){return i$.apply(this,arguments)}(e);case 4:return n=t.sent,t.abrupt("return",O(n));case 6:case"end":return t.stop()}},t)})),function(){return e.apply(this,arguments)}),E=(n=(0,tZ.A)(tJ().mark(function t(){var e,n;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=iE({},g),delete e.firstName,delete e.lastName,k.value||delete e.birthday,t.next=6,function(t){return iM.apply(this,arguments)}(e);case 6:return n=t.sent,t.abrupt("return",O(n));case 8:case"end":return t.stop()}},t)})),function(){return n.apply(this,arguments)});return{idTypeList:iR,idTypeLabel:p,kycForm:g,errorText:v,isEmptyBirth:k,loading:y,btnText:x,parsedBirth:B,defaultBirthday:h,disabled:I,hasError:w,resetErrorText:N,onChangeIdType:function(t){g.idType=t.value,g.idNumber="",p.value=t.label,N("idNumber")},onChangeNation:function(t){g.nationality=t.name},validateForm:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["id","email"],n=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return iO(t,void 0);var n=({}).toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iO(t,void 0):void 0}}(t))){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;if("id"===i){if(v.idNumber=iL(g.idType,g.idNumber),v.idNumber)return!1}else if("email"===i&&(v.email=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="";return t?/[\w\d_]+@[\w\d_]+\.[\w\d_]+/.test(t)||(e="Please enter your valid Email Address"):e="Please enter your Email Address",e}(g.email),v.email))return!1}}catch(t){n.e(t)}finally{n.f()}return!0},getKycInfo:A,postKycForm:E,visibleFailedNumber:_,failedNumberInfo:C,toggleFailedNumber:S}}function iL(t,e){var n="";return e?(1!==t||/^\d{10}$/.test(e))&&(2!==t||/^([A-Za-z]){2,3}([-. ])?(\d){8,9}([-. ])?(\d){1}$/.test(e))&&(3!==t&&4!==t||/^[a-zA-Z0-9]{7,}$/.test(e))||(n="Please enter a valid ID Number"):n="Please enter your ID Number",n}function iV(t){var e="";if(t){var n=new Date(t.slice(0,4),t.slice(4,6)-1,t.slice(6,8)),i=nV()().diff(n,"year"),r=parseInt(T.t("LEGAL_AGE"));i<r&&(e="Players must be ".concat(r," or older to register or play at MSport"))}else e="Please enter your Date of Birth";return e}function i$(){return(i$=(0,tZ.A)(tJ().mark(function t(e){return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",nr("/patron/kyc/verify-by-unique-info",e,1));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}function iM(){return(iM=(0,tZ.A)(tJ().mark(function t(e){return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",nr("/patron/collect/collect-kyc",e,1));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}var iF=(0,O.A)({components:{VInput:tt},model:{prop:"value",event:"input"},props:{inputType:{type:String,default:"text"},theme:{type:String,default:"dark"},value:{type:String,default:""},inputCount:{type:Number,default:3},prefix:{type:String,default:"GHA"}},data:function(){return{cardPrefix:this.prefix,cardMidValue:"",cardLastValue:"",focused:!1}},computed:{hasThirdValue:function(){return this.inputCount>=3}},mounted:function(){if(this.value){var t=this.value.split("-");this.cardPrefix=t[0],this.cardMidValue=t[1],this.hasThirdValue&&(this.cardLastValue=t[2])}},methods:{onInputPrefix:function(t){"tel"===this.inputType&&(t=is(t),this.cardPrefix=t),t.length>=3&&(this.cardPrefix=t.slice(0,3),this.$refs.inputMid.$refs.input.focus()),this.sendCardNumber()},onInputMid:function(t){this.cardMidValue=ia(t,9),t.length>9&&(this.cardLastValue=t.slice(9,10),this.hasThirdValue&&this.$refs.inputLast.$refs.input.focus()),this.sendCardNumber()},onInputLast:function(t){this.cardLastValue=ia(t,1),this.sendCardNumber()},getCardNumber:function(){var t=this.cardMidValue,e=this.cardLastValue;if(!t||this.hasThirdValue&&!e)return"";var n="".concat(this.cardPrefix,"-").concat(t);return this.hasThirdValue?n+"-".concat(e):n},sendCardNumber:function(){var t=this.getCardNumber();this.$emit("input",t)},onFocus:function(){this.focused=!0},onBlur:function(){var t=this;this.focused=!1,this._timer&&clearTimeout(this._timer),this._timer=setTimeout(function(){t.focused||iL(2,t.getCardNumber())||t.$emit("blur")},300)}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-input-card",class:[t.theme]},[n("VInput",{staticClass:"m-card-prefix",attrs:{type:t.inputType},on:{input:t.onInputPrefix,focus:t.onFocus,blur:t.onBlur},model:{value:t.cardPrefix,callback:function(e){t.cardPrefix=e},expression:"cardPrefix"}}),t._v(" "),n("div",{staticClass:"m-card-devide"}),t._v(" "),n("VInput",{ref:"inputMid",staticClass:"m-card-mid",attrs:{type:"tel"},on:{input:t.onInputMid,focus:t.onFocus,blur:t.onBlur},model:{value:t.cardMidValue,callback:function(e){t.cardMidValue=e},expression:"cardMidValue"}}),t._v(" "),t.hasThirdValue?[n("div",{staticClass:"m-card-devide"}),t._v(" "),n("VInput",{ref:"inputLast",staticClass:"m-card-last",attrs:{type:"tel"},on:{input:t.onInputLast,focus:t.onFocus,blur:t.onBlur},model:{value:t.cardLastValue,callback:function(e){t.cardLastValue=e},expression:"cardLastValue"}})]:t._e()],2)},[],!1,null,null,null).exports,ij=n(86045),iU=n.n(ij),iz=n(30230),iW=n.n(iz),iK=new(iU())({id:"icon-arrowleft",use:"icon-arrowleft-usage",viewBox:"0 0 1024 1024",content:'<symbol viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-arrowleft"><path d="M682.667 196.267l-34.134-34.134c-8.533-8.533-17.066-8.533-25.6 0l-332.8 341.334c-8.533 0-8.533 8.533 0 17.066l332.8 341.334c8.534 8.533 17.067 8.533 25.6 0l34.134-25.6c8.533-17.067 8.533-25.6 0-34.134L409.6 512c-8.533-8.533-8.533-17.067 0-25.6l273.067-281.6c8.533 8.533 8.533-8.533 0-8.533z" /></symbol>'});iW().add(iK);var iY=(0,O.A)({components:{IconLoading:te},props:{label:{type:String,default:""},theme:{type:String,default:"dark"},focus:{type:Boolean,default:!1},error:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{handleClick:function(){this.$emit("click")},onBlur:function(){this.$emit("blur")}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-select",class:[this.theme,{focus:this.focus,error:this.error,disabled:this.disabled}],attrs:{tabindex:"3"},on:{blur:this.onBlur,click:this.handleClick}},[this._t("default"),this._v(" "),e("div",{staticClass:"form-select-inner",class:{"flex-end":!this.label}},[e("span",[this._v(this._s(this.label))]),this._v(" "),this.loading?e("IconLoading"):e("svg-icon",{attrs:{"icon-class":"icon-arrowleft"}})],1)],2)},[],!1,null,null,null).exports,iH=(0,O.A)({name:"CountryList",components:{VPopup:tr},model:{prop:"visible",event:"close"},props:{visible:{type:Boolean,default:!1},currentNation:{type:String,default:""}},setup:function(){var t,e;return{countryList:(t=(0,b.IJ)([]),e=(0,b.nI)().proxy,(0,b.sV)(function(){tM()("".concat("https://static.msport.com/ng/main/","lib/country.json")).then(function(n){var i=n.data;i&&(t.value=i,(0,b.dY)(function(){e.scrollToCenter&&e.scrollToCenter()}))})}),{countryList:t}).countryList}},mounted:function(){var t=this;this.$watch("visible",function(e){e&&t.$nextTick(function(){t.scrollToCenter()})})},methods:{close:function(){this.$emit("close",!1)},handleSelect:function(t){this.$emit("change",t),this.close()},isSameOrder:function(t,e){return!e||t.name[0]!==e.name[0]},onAfterEnter:function(){this.scrollToCenter()},scrollToCenter:function(){var t=this.$refs,e=t.scrollContainer,n=t.innerScroller;if(e){var i=e.offsetHeight,r=n.querySelector(".active");if(r){var o=r.offsetTop,s=r.offsetHeight;e.scrollTop=o-Math.floor(i/2)+Math.floor(s/2)}}}}},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("VPopup",{staticClass:"m-country-list-popup",attrs:{visible:t.visible,type:"popup-bottom","close-on-click-modal":""},on:{close:t.close,"after-enter":t.onAfterEnter}},[i("keep-alive",[t.visible?i("div",{staticClass:"m-country-list"},[i("h4",{staticClass:"m-country-list--title"},[t._v("\n        Nationality\n      ")]),t._v(" "),i("div",{ref:"scrollContainer",staticClass:"m-country-list--inner"},[i("ul",{ref:"innerScroller",staticClass:"m-country-list--main"},[t._l(t.countryList,function(e,r){return[t.isSameOrder(e,t.countryList[r-1])?i("div",{key:"order-"+r,staticClass:"label-order",style:{zIndex:r}},[t._v("\n              "+t._s(e.name[0].toUpperCase())+"\n            ")]):t._e(),t._v(" "),i("li",{key:r,staticClass:"m-list-item",class:{active:t.currentNation===e.name},on:{click:function(n){return t.handleSelect(e)}}},[t._v("\n              "+t._s(e.name)+"\n              "),t.currentNation===e.name?i("InlineSvg",{staticClass:"m-status",attrs:{icon:n(66420)}}):t._e()],1)]})],2)])]):t._e()])],1)},[],!1,null,null,null).exports,iG=new(iU())({id:"icon-close",use:"icon-close-usage",viewBox:"0 0 1024 1024",content:'<symbol viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-close"><path d="M825.6 249.6l-44.8-44.8c-6.4-6.4-12.8-6.4-19.2 0L524.8 441.6c-6.4 6.4-12.8 6.4-19.2 0L262.4 198.4c-6.4-6.4-12.8-6.4-19.2 0l-44.8 51.2c-6.4 6.4-6.4 12.8 0 19.2l236.8 236.8c6.4 6.4 6.4 12.8 0 19.2L198.4 761.6c-6.4 6.4-6.4 12.8 0 19.2l44.8 44.8c6.4 6.4 12.8 6.4 19.2 0l236.8-236.8c6.4-6.4 12.8-6.4 19.2 0l236.8 236.8c6.4 6.4 12.8 6.4 19.2 0l44.8-44.8c6.4-6.4 6.4-12.8 0-19.2L582.4 524.8c-6.4-6.4-6.4-12.8 0-19.2l236.8-236.8c6.4-6.4 6.4-19.2 6.4-19.2z" /></symbol>'});iW().add(iG);var iZ=(0,O.A)({name:"SelectIdType",components:{VPopup:tr},model:{prop:"visible",event:"close"},props:{list:{type:Array,default:function(){return[]}},visible:{type:Boolean,default:!1},currentType:{type:[Number,String],default:""}},methods:{close:function(){this.$emit("close",!1)},handleSelect:function(t){this.$emit("change",t),this.close()}}},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("VPopup",{staticClass:"m-select-idtype-popup",attrs:{visible:t.visible,type:"popup-bottom","close-on-click-modal":""},on:{close:t.close}},[i("div",{staticClass:"m-select-idtype"},[i("div",{staticClass:"m-select-idtype--header"},[i("h4",{staticClass:"m-select-idtype--title"},[t._v("\n        ID Type\n      ")])]),t._v(" "),i("div",{staticClass:"m-select-idtype--inner"},[i("ul",{staticClass:"m-select-idtype--main"},[t._l(t.list,function(e,r){return[i("li",{key:r,staticClass:"m-list-item",on:{click:function(n){return t.handleSelect(e)}}},[t._v("\n            "+t._s(e.label)+"\n            "),t.currentType===e.value?i("InlineSvg",{staticClass:"m-status",attrs:{icon:n(66420)}}):t._e()],1)]})],2)])])])},[],!1,null,null,null).exports,iq=(0,O.A)({props:{failedInfo:{type:Object,default:function(){}}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"failed-number"},[n("p",[t._v(t._s(t.failedInfo.message))]),t._v(" "),n("dl",{staticClass:"failed-number-info"},[n("dt",[t._v("Name of "+t._s(t.failedInfo.typeTitle))]),t._v(" "),n("dd",[t._v(t._s(t.failedInfo.idName))]),t._v(" "),n("dt",[t._v("Name of Register Phone Number")]),t._v(" "),n("dd",[t._v(t._s(t.failedInfo.phoneName))])]),t._v(" "),n("button",{staticClass:"failed-number-btn",on:{click:function(e){return t.$emit("close")}}},[t._v("\n    OK\n  ")])])},[],!1,null,"0431eafc",null).exports,iJ=new(iU())({id:"icon-back",use:"icon-back-usage",viewBox:"0 0 1024 1024",content:'<symbol viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-back"><path d="M853.333 469.333H332.8L571.733 230.4 512 170.667 170.667 512 512 853.333l59.733-59.733L332.8 554.667h520.533z" /></symbol>'});iW().add(iJ);var iX=(0,O.A)({name:"KycUg",components:{VButton:tn,IconLoading:te,VDialogBox:ti,InputFocus:iI,InputCard:iF,FormItem:iB,FormSelect:iY,CountryList:iH,SelectIdType:iZ,FailedNumber:iq},props:{proxyApp:{type:Boolean,default:!1},phone:{type:String,default:""},password:{type:String,default:""},type:{type:String,default:""},theme:{type:String,default:"dark"},showTitle:{type:Boolean,default:!0},showTitleOut:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},showBackOut:{type:Boolean,default:!1},bonus:{type:[String,Number],default:""},entry:{type:String,default:""},showBack:{type:Boolean,default:!1},backText:{type:String,default:""},btnBackgroundImage:{type:String,default:""},showSkip:{type:Boolean,default:!0},pageName:{type:String,default:""}},setup:function(t,e){var n,i,r,o,s,a,c,l,u,d,f,h,m,g,v,y,w=e.emit,k=(0,t_.bP)(ix()).isAppWebview,x=(n=(0,b.QW)(t).phone,i=iS[0],r=(0,b.KR)(i.label),o={firstName:"",lastName:"",idType:i.value,idNumber:"",nationality:T.t("COUNTRY_NAME")},s=(0,b.Kh)(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?iC(Object(n),!0).forEach(function(e){(0,p.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):iC(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},o)),a=(0,b.Kh)({errorName:"",firstName:"",lastName:"",idNumber:""}),c=(0,b.KR)(!1),l=(0,b.EW)(function(){return Object.values(a).some(function(t){return!!t})}),u=(0,b.EW)(function(){return c.value?"Loading":"Done"}),(0,b.wB)(function(){return n.value},function(){r.value=i.label,Object.assign(s,o),m("idNumber")}),d=(0,b.KR)(!1),f=(0,b.KR)({}),h=(0,b.EW)(function(){return!s.idNumber||!!f.value.message||!s.firstName||!s.lastName||!!a.firstName||!!a.lastName||!!a.errorName||!!a.idNumber}),m=function(t){a[t]="","idNumber"===t?f.value={}:("firstName"===t||"lastName"===t)&&(a.errorName="")},g=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=s[t];if(e&&/[\d\u4E00-\u9FA5]+/g.test(e))return a[t]="Please enter a valid personal name.",!1;if("firstName"===t){if(!e)return a[t]="Please enter your First Name",!1}else if(!e)return a[t]="Please enter your Last Name",!1;return!0},v=function(t){var e=t.bizCode,n=t.message;return 1e4===e?{type:"success"}:[31004,31005,31008,31009,31010].includes(e)?(a.idNumber=n,{type:"inline-error"}):[13009,31003,31016].includes(e)?(a.errorName=n,{type:"inline-error"}):Promise.reject(Error(n))},y=(0,tZ.A)(tJ().mark(function t(){var e;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,function(t){return iT.apply(this,arguments)}(s);case 2:return e=t.sent,t.abrupt("return",v(e));case 4:case"end":return t.stop()}},t)})),{idTypeList:iS,idTypeLabel:r,kycForm:s,errorText:a,loading:c,btnText:u,disabled:h,hasError:l,resetErrorText:m,onChangeIdType:function(t){s.idType=t.value,s.idNumber="",r.value=t.label,m("idNumber")},onChangeNation:function(t){s.nationality=t.name},validateForm:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["firstName","lastName","id"],n=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return i_(t,void 0);var n=({}).toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i_(t,void 0):void 0}}(t))){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;if("id"===i){if(a.idNumber=function(t,e){var n="";return e?(6!==t||/^[A-Za-z0-9]{11,}$/.test(e))&&(3!==t||/^[A-Za-z0-9]{7,}$/.test(e))&&(7!==t||/^\d{3}-\d{5,}$/.test(e))||(n="Please enter a valid ID Number"):n="Please enter your ID Number",n}(s.idType,s.idNumber),a.idNumber)return!1}else if(("firstName"===i||"lastName"===i)&&!g(i))return!1}}catch(t){n.e(t)}finally{n.f()}return!0},postKycForm:function(){return y.apply(this,arguments)},visibleFailedNumber:d,failedNumberInfo:f,toggleFailedNumber:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d.value=t,t||(m("idNumber"),(0,b.dY)(function(){var t=document.getElementById("input-id-number");if(t){var e=t.querySelectorAll("input");e&&e.length>0&&e[e.length-1].focus()}}))},parseKycResonse:v}),_=x.idTypeList,C=x.idTypeLabel,S=x.kycForm,B=x.errorText,I=x.loading,N=x.btnText,O=x.disabled,A=x.hasError,E=x.parsedBirth,P=x.defaultBirthday,R=x.resetErrorText,D=x.onChangeIdType,L=x.onChangeNation,V=x.validateForm,$=x.postKycForm,M=x.visibleFailedNumber,F=x.failedNumberInfo,j=x.toggleFailedNumber,U=x.parseKycResonse,z=function(t){return"close"===t?"close":(w("back"),"back")},W=(0,b.KR)(!1),K=(0,b.KR)(""),Y=(0,b.KR)(!1),H=(0,b.KR)(""),G=(0,b.KR)(!1),Z=(0,b.KR)(!1),q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("deposit"===t.type&&("topup"===t.entry||"paybill"===t.entry)){W.value=!0,K.value=e;return}return z(e)},J=function t(){(0,nb.fZ)(function(e){"back"===e?"back"===q("back")?(0,nb.Ar)():t():"close"===e&&("close"===q("close")?(0,nb.Ar)():t())},{stopClose:!0})};return(0,b.sV)(function(){J()}),{isAppWebview:k,idTypeList:_,idTypeLabel:C,kycForm:S,errorText:B,loading:I,btnText:N,disabled:O,hasError:A,parsedBirth:E,defaultBirthday:P,resetErrorText:R,onChangeIdType:D,onChangeNation:L,validateForm:V,postKycForm:$,visibleFailedNumber:M,failedNumberInfo:F,toggleFailedNumber:j,parseKycResonse:U,handleBack:q,shouldBack:z,confirmVisible:W,confirmVisibleType:K,confirmWithdrawVisible:Y,confirmWithdrawVisibleType:H,skipDialogVisible:G,skipDialogBirthVisible:Z}},data:function(){return{idTypeVisible:!1,nationVisible:!1}},computed:{isBefore:function(){return!!this.phone}},methods:{openIDType:function(){this.idTypeVisible=!0},openNation:function(){this.nationVisible=!0},onChangeBirth:function(t){this.kycForm.birthday="".concat(t[2]).concat(t[0]).concat(t[1]),this.resetErrorText("birthday")},skipNow:function(){this.$emit("skip"),this.skipDialogVisible=!1,(0,nb.CM)()},handleSkip:function(){this.disabled||this.hasError?this.skipNow():this.skipDialogVisible=!0},onActionSkip:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=6;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.handleSubmit();case 5:e.skipDialogVisible=!1;case 6:case"end":return n.stop()}},n)}))()},onLeaveBirth:function(){this.skipDialogBirthVisible=!1,this.shouldBack()},onActionSkipBirth:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=6;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.handleSubmit();case 5:e.skipDialogBirthVisible=!1;case 6:case"end":return n.stop()}},n)}))()},onActionBeforeBack:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){var i;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=6;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:e.confirmVisible=!1,n.next=10;break;case 6:e.loading=!1,i=e.shouldBack(e.confirmVisibleType),e.confirmVisible=!1,("back"===i||"close"===e.confirmVisibleType)&&(0,nb.Ar)();case 10:case"end":return n.stop()}},n)}))()},onActionBeforeBackWithdraw:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=8;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.handleSubmit();case 5:e.confirmWithdrawVisible=!1,n.next=12;break;case 8:e.loading=!1,e.shouldBack(e.confirmWithdrawVisibleType),e.confirmWithdrawVisible=!1,"close"===e.confirmWithdrawVisibleType&&(0,nb.Ar)();case 12:case"end":return n.stop()}},n)}))()},reolvePostRes:function(t){var e=this;if("success"===t){"here"===this.entry||"independent"===this.type?(P("Account Details Submitted",{classNames:["toast-kyc"],theme:"dark"===this.theme?"light":"dark"}),setTimeout(function(){e.$emit("complete"),(0,nb.CM)()},2e3)):(this.$emit("complete"),(0,nb.CM)());var n=this.pageName;n&&nC({success:!0,pageName:n})}else{this.loading=!1;var i=this.pageName;i&&nC({success:!1,pageName:i,reason:Object.values(this.errorText).filter(function(t){return!!t})[0]||this.failedNumberInfo.message})}},sendRegister:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i,r;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,n=t.phone,i=t.password,r=t.kycForm,e.next=5,im().registerAccount({phone:n,password:i,kycInfo:r});case 5:t.$emit("complete"),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),t.parseKycResonse(e.t0).type||P(e.t0.message);case 12:return e.prev=12,t.loading=!1,e.finish(12);case 15:case"end":return e.stop()}},e,null,[[1,8,12,15]])}))()},handleSubmit:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i,r,o;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.loading||t.disabled)){e.next=2;break}return e.abrupt("return");case 2:if(t.loading=!0,e.prev=3,!t.validateForm()){e.next=17;break}if(!t.isBefore){e.next=10;break}t.proxyApp?((0,nb.R_)(t.kycForm),t.loading=!1):t.sendRegister(),e.next=15;break;case 10:return e.next=12,t.postKycForm();case 12:"inline-error"===(n=e.sent.type)?t.loading=!1:t.reolvePostRes(n);case 15:e.next=20;break;case 17:t.loading=!1,(i=t.pageName)&&nC({success:!1,pageName:i,reason:Object.values(t.errorText).filter(function(t){return!!t})[0]});case 20:e.next=28;break;case 22:e.prev=22,e.t0=e.catch(3),e.t0.isErrorBirth?t.$dialog({message:e.t0.message,cancelButtonText:"",confirmButtonText:"Got It",closeOnClickModal:!0}):t.$dialog({message:e.t0.message,cancelButtonText:"",confirmButtonText:"OK"}),t.loading=!1,(r=t.pageName)&&nC({success:!1,pageName:r,reason:e.t0.message});case 28:o=t.isAppWebview?"RegkycApp_Complete":"RegkycWap_Complete",window.mstrace(o,"reg");case 30:case"end":return e.stop()}},e,null,[[3,22]])}))()}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"kyc-profile-append kyc-ug",class:[t.theme]},[t.showBackOut?n("a",{staticClass:"btn-back",on:{click:t.handleBack}},[t._t("back",function(){return[n("svg-icon",{attrs:{"icon-class":"icon-back"}})]})],2):t._e(),t._v(" "),n("form",{staticClass:"kyc-profile-append-form",attrs:{action:"javascript:;"},on:{submit:t.handleSubmit}},[t.showBack?n("div",{staticClass:"btns-wrap btns-head"},[n("a",{staticClass:"btn btn-back-self",on:{click:t.handleBack}},[n("svg-icon",{attrs:{"icon-class":"icon-back"}}),t._v(" "),t.backText?n("span",{staticClass:"back-text"},[t._v(t._s(t.backText))]):t._e()],1),t._v(" "),t.showTitleOut?n("h3",{staticClass:"profile-title-top"},[t._v("\n        Account Details\n      ")]):t._e(),t._v(" "),n("div",{staticClass:"btn btn-close-wrap"},[t.closable?n("a",{staticClass:"btn-close",on:{click:function(e){return t.$emit("skip")}}},[n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M825.6 249.6l-44.8-44.8c-6.4-6.4-12.8-6.4-19.2 0L524.8 441.6c-6.4 6.4-12.8 6.4-19.2 0L262.4 198.4c-6.4-6.4-12.8-6.4-19.2 0l-44.8 51.2c-6.4 6.4-6.4 12.8 0 19.2l236.8 236.8c6.4 6.4 6.4 12.8 0 19.2L198.4 761.6c-6.4 6.4-6.4 12.8 0 19.2l44.8 44.8c6.4 6.4 12.8 6.4 19.2 0l236.8-236.8c6.4-6.4 12.8-6.4 19.2 0l236.8 236.8c6.4 6.4 12.8 6.4 19.2 0l44.8-44.8c6.4-6.4 6.4-12.8 0-19.2L582.4 524.8c-6.4-6.4-6.4-12.8 0-19.2l236.8-236.8c6.4-6.4 6.4-19.2 6.4-19.2z"}})])]):t._e()])]):t._e(),t._v(" "),n("div",{staticClass:"form-group form-group-top"},[t.showTitle?n("h3",{staticClass:"profile-title"},[t._t("title",function(){return[t._v("\n          Account Details\n        ")]})],2):t._e(),t._v(" "),n("div",{staticClass:"name-wrap"},[n("div",{staticClass:"flex"},[n("InputFocus",{staticClass:"first-name",attrs:{theme:t.theme,label:"First Name","error-text":t.errorText.firstName||t.errorText.errorName,"has-error-text":!1},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("firstName")}},model:{value:t.kycForm.firstName,callback:function(e){t.$set(t.kycForm,"firstName","string"==typeof e?e.trim():e)},expression:"kycForm.firstName"}}),t._v(" "),n("InputFocus",{staticClass:"last-name",attrs:{theme:t.theme,label:"Last Name","error-text":t.errorText.lastName||t.errorText.errorName,"has-error-text":!1},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("lastName")}},model:{value:t.kycForm.lastName,callback:function(e){t.$set(t.kycForm,"lastName","string"==typeof e?e.trim():e)},expression:"kycForm.lastName"}})],1),t._v(" "),n("div",{staticClass:"form-item name-error",class:{"error-last":!!t.errorText.lastName}},[n("p",{staticClass:"form-error-text"},[t.errorText.firstName||t.errorText.lastName||t.errorText.errorName?[t._v("\n              "+t._s(t.errorText.firstName||t.errorText.lastName||t.errorText.errorName)+"\n            ")]:t._e()],2)])]),t._v(" "),n("FormItem",{attrs:{theme:t.theme,label:"Nationality",value:t.kycForm.nationality,focus:t.nationVisible}},[n("FormSelect",{attrs:{theme:t.theme,label:t.kycForm.nationality,focus:t.nationVisible},on:{click:t.openNation}})],1),t._v(" "),n("FormItem",{attrs:{theme:t.theme,label:"ID Type",value:t.idTypeLabel,focus:t.idTypeVisible}},[n("FormSelect",{attrs:{theme:t.theme,label:t.idTypeLabel,focus:t.idTypeVisible},on:{click:t.openIDType}})],1),t._v(" "),7===t.kycForm.idType?[n("FormItem",{attrs:{theme:t.theme,value:t.kycForm.nationality,focus:t.nationVisible,"error-text":t.errorText.idNumber}},[n("InputCard",{attrs:{id:"input-id-number",theme:t.theme,"input-type":"tel","input-count":2,prefix:""},on:{input:function(e){return t.resetErrorText("idNumber")}},model:{value:t.kycForm.idNumber,callback:function(e){t.$set(t.kycForm,"idNumber","string"==typeof e?e.trim():e)},expression:"kycForm.idNumber"}})],1)]:[n("InputFocus",{attrs:{id:"input-id-number",theme:t.theme,label:"ID Number","error-text":t.errorText.idNumber},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("idNumber")}},model:{value:t.kycForm.idNumber,callback:function(e){t.$set(t.kycForm,"idNumber","string"==typeof e?e.trim():e)},expression:"kycForm.idNumber"}})]],2),t._v(" "),n("div",{staticClass:"btn-wrap btn-submit-wrap"},[n("VButton",{staticClass:"btn-submit",class:{bg:!!t.btnBackgroundImage},style:{backgroundImage:t.btnBackgroundImage?"url("+t.btnBackgroundImage+")":""},attrs:{type:"submit",disabled:t.disabled,loading:t.loading},on:{click:t.handleSubmit}},[t._v("\n        "+t._s(t.btnText)+"\n      ")])],1),t._v(" "),t.showSkip?n("a",{staticClass:"btn-skip",on:{click:t.handleSkip}},[t._v("Skip Now")]):t._e()]),t._v(" "),n("SelectIdType",{attrs:{list:t.idTypeList,"current-type":t.kycForm.idType},on:{change:t.onChangeIdType},model:{value:t.idTypeVisible,callback:function(e){t.idTypeVisible=e},expression:"idTypeVisible"}}),t._v(" "),n("CountryList",{attrs:{"current-nation":t.kycForm.nationality},on:{change:t.onChangeNation},model:{value:t.nationVisible,callback:function(e){t.nationVisible=e},expression:"nationVisible"}}),t._v(" "),n("VDialogBox",{attrs:{visible:t.visibleFailedNumber,title:"Failed","close-on-click-modal":!1},on:{close:function(e){return t.toggleFailedNumber(!1)}}},[t.failedNumberInfo.message?n("FailedNumber",{attrs:{"failed-info":t.failedNumberInfo},on:{close:function(e){return t.toggleFailedNumber(!1)}}}):t._e()],1),t._v(" "),"deposit"===t.type?[n("VDialogBox",{staticClass:"dialog-kyc-bonus",attrs:{"show-close":!1},model:{value:t.confirmVisible,callback:function(e){t.confirmVisible=e},expression:"confirmVisible"}},[n("p",{staticClass:"dialog--body"},["topup"===t.entry?[t._v("\n          You are one step away to get "),t.bonus?n("span",{staticClass:"bonus"},[t._v(t._s(t.$t("CURRENCY"))+" "+t._s(t.bonus))]):[t._v("\n            your\n          ")],t._v(" bonus. Do you want to submit the form and get your bonus?\n        ")]:"paybill"===t.entry?[t._v("\n          You are one step away to get your bonus. Do you want to submit the form and get your bonus?\n        ")]:t._e()],2),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBack("cancel")}}},[t._v("Leave")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBack("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n          ")]:[t._v("\n            GET MY BONUS\n          ")]],2)])])]:"withdraw"===t.type?[n("VDialogBox",{staticClass:"dialog-kyc-bonus",attrs:{"show-close":!1},model:{value:t.confirmWithdrawVisible,callback:function(e){t.confirmWithdrawVisible=e},expression:"confirmWithdrawVisible"}},[n("p",{staticClass:"dialog--body"},[t._v("\n        You are one step away to withdraw. Do you want to submit the form and withdraw?\n      ")]),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBackWithdraw("cancel")}}},[t._v("Leave")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBackWithdraw("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n          ")]:[t._v("\n            Continue to "),n("br"),t._v(" Withdraw\n          ")]],2)])])]:t._e(),t._v(" "),n("VDialogBox",{staticClass:"dialog-kyc-skip",attrs:{"close-on-click-modal":""},model:{value:t.skipDialogVisible,callback:function(e){t.skipDialogVisible=e},expression:"skipDialogVisible"}},[n("p",{staticClass:"dialog--body"},[t._v("\n      You've filled in the form. Do you want to submit it now?\n    ")]),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.skipNow.apply(null,arguments)}}},[t._v("Skip")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionSkip("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n        ")]:[t._v("\n          Submit\n        ")]],2)])]),t._v(" "),n("VDialogBox",{staticClass:"dialog-kyc-skip",attrs:{"show-close":!1},model:{value:t.skipDialogBirthVisible,callback:function(e){t.skipDialogBirthVisible=e},expression:"skipDialogBirthVisible"}},[n("p",{staticClass:"dialog--body"},[t._v("\n      Do you want to submit the form?\n    ")]),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.onLeaveBirth.apply(null,arguments)}}},[t._v("Leave")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionSkipBirth("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n        ")]:[t._v("\n          Submit\n        ")]],2)])])],2)},[],!1,null,null,null).exports,iQ=(0,O.A)({props:{title:{type:String,default:""}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"datepicker-header"},[e("div",{staticClass:"title"},[this._v("\n    "+this._s(this.title)+"\n  ")])])},[],!1,null,null,null).exports,i0="ontouchstart"in window,i1=i0?"touchstart":"mousedown",i2=i0?"touchmove":"mousemove",i4=i0?"touchend":"mouseup",i8=function(t){return{x:i0?t.changedTouches[0].clientX:t.clientX,y:i0?t.changedTouches[0].clientY:t.clientY}},i3=(0,O.A)({props:{defaultIndex:{type:Number,default:0},column:{type:Array,default:function(){return[]}},itemHeight:{type:Number,default:0}},data:function(){return{touchParams:{startY:0,endY:0,startTime:0,endTime:0},currIndex:1,transformY:0,scrollDistance:0,rotation:20,timer:null}},watch:{defaultIndex:function(){this.transformY=0,this.modifyStatus()}},mounted:function(){var t=this;this.$nextTick(function(){t.modifyStatus(!0),t.$el.addEventListener(i1,t.touchStart,!1)})},beforeDestroy:function(){this.$el.removeEventListener(i1,this.touchStart,!1),clearTimeout(this.timer)},methods:{setRollerStyle:function(t){var e=Math.abs(this.currIndex-t),n=((24-4*e)/24).toFixed(2),i=-36*(this.currIndex-t)*.85*Math.pow(.96,e);return"transform: translate3d(0, ".concat(i,"px, 0) scale(").concat(n,") ")},isHidden:function(t){return t>=this.currIndex+8||t<=this.currIndex-8},setTransform:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;"end"===e?(this.$refs.list.style.webkitTransition="transform ".concat(n,"ms cubic-bezier(0.19, 1, 0.22, 1)"),this.$refs.roller.style.webkitTransition="transform ".concat(n,"ms cubic-bezier(0.19, 1, 0.22, 1)")):(this.$refs.list.style.webkitTransition="",this.$refs.roller.style.webkitTransition=""),this.$refs.list.style.webkitTransform="translate3d(0, ".concat(t,"px, 0)"),this.scrollDistance=t},setMove:function(t,e,n){var i=this,r=t+this.transformY;if("end"===e){r>0&&(r=0),r<-(this.column.length-1)*this.itemHeight&&(r=-(this.column.length-1)*this.itemHeight);var o=Math.round(r/this.itemHeight)*this.itemHeight;this.setTransform(o,e,n),this.timer=setTimeout(function(){i.setChooseValue(o)},n/2),this.currIndex=Math.abs(Math.round(o/this.itemHeight))+1}else this.setTransform(r,null,null),this.currIndex=Math.abs(Math.round(r/this.itemHeight))+1},touchStart:function(t){t.preventDefault(),this.touchParams.startY=i8(t).y,this.touchParams.startTime=t.timestamp||Date.now(),this.transformY=this.scrollDistance,document.addEventListener(i2,this.touchMove,!1),document.addEventListener(i4,this.touchEnd,!1)},touchMove:function(t){this.touchParams.lastY=i8(t).y,this.touchParams.lastTime=t.timestamp||Date.now();var e=this.touchParams.lastY-this.touchParams.startY;this.setMove(e)},touchEnd:function(t){document.removeEventListener(i2,this.touchMove,!1),document.removeEventListener(i4,this.touchEnd,!1),t.preventDefault(),this.touchParams.lastY=i8(t).y,this.touchParams.lastTime=t.timestamp||Date.now();var e=this.touchParams.lastY-this.touchParams.startY,n=this.touchParams.lastTime-this.touchParams.startTime;n<=300?(e*=2,n+=1e3,this.setMove(e,"end",n)):this.setMove(e,"end")},modifyStatus:function(t){this.currIndex=this.defaultIndex||1;var e=this.defaultIndex?this.defaultIndex*this.itemHeight:0;t&&this.setChooseValue(-e),this.setMove(-e)},setChooseValue:function(t){this.$emit("change",this.column[Math.round(-t/this.itemHeight)])}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"datepicker-colums-item"},[n("div",{ref:"roller",staticClass:"roller"},t._l(t.column,function(e,i){return n("div",{key:"item"+i,staticClass:"roller-item",class:{"roller-item-hidden":t.isHidden(i+1)},style:t.setRollerStyle(i+1)},[t._v("\n      "+t._s(e.name)+"\n    ")])}),0),t._v(" "),n("div",{staticClass:"list-content"},[n("div",{ref:"list",staticClass:"list-panel"},[t._l(t.column,function(e,i){return n("div",{key:i,staticClass:"item"},[t._v("\n        "+t._s(e.name)+"\n      ")])}),t._v(" "),t.column&&1===t.column.length?n("div",{staticClass:"placeholder"}):t._e()],2)])])},[],!1,null,null,null).exports,i6=(0,O.A)({name:"DatePicker",components:{VPopup:tr,VButton:tn,DateHeader:iQ,List:i3},model:{prop:"visible",event:"close"},props:{visible:{type:Boolean,default:!1},itemHeight:{type:[Number,String],default:36},defaultIndex:{type:Array,default:function(){return[new Date().getMonth()+1,new Date().getDate(),new Date().getFullYear()]}},yearsRange:{type:Array,default:function(){return[80,20]}},cancelText:{type:String,default:"Cancel"},confirmText:{type:String,default:"Confirm"},title:{type:String,default:""},validate:{type:Function,default:null},showToolbar:{type:Boolean,default:!0},maskClick:{type:Boolean,default:!0},addZero:{type:Boolean,default:!1}},data:function(){var t=this;return{data:[function(){var t=["January","February","March","April","May","June","July","August","September","October","November","December"],e=[],n=1;for(n=0;n<12;n++)e.push({name:t[n]});return e}(),function(){for(var t,e=[],n=1;n<32;++n)e.push({name:(1===(t=(t=n).toString()).length?"0":"")+t});return e}(),function(){for(var e=new Date().getFullYear(),n=[],i=e-t.yearsRange[0],r=e+t.yearsRange[1];i<=r;i++)n.push({name:i});return n}()],column1:[],column2:[],column3:[],dIndex1:0,dIndex2:0,dIndex3:0,result:[]}},computed:{boxHeight:function(){var t=parseInt(this.itemHeight);return 6*(t=t||36)}},created:function(){this.formateData()},methods:{updateColumns:function(t){var e=t.dIndex1,n=t.dIndex2,i=t.dIndex3;this.dIndex1=e||0,this.dIndex2=n||0,this.dIndex3=i},setDefaultColumns:function(){this.updateColumns({dIndex1:this.defaultIndex[0]-1,dIndex2:this.defaultIndex[1]-1,dIndex3:this.defaultIndex[2]-(new Date().getFullYear()-this.yearsRange[0])})},formateData:function(){this.column1=this.data[0]||[],this.column2=this.data[1]||[],this.column3=this.data[2]||[],this.setDefaultColumns()},getObjectKeys:function(t,e){var n=null;return t.forEach(function(t,i){t===e&&(n=i)}),n},change:function(t,e){this.result[t]=e,this.$emit("change",this.result)},change1:function(t){var e=this.getObjectKeys(this.column1,t);t&&(this.change(0,e+1),this.changeLink("column1"))},change2:function(t){t&&this.change(1,parseInt(t.name))},change3:function(t){t&&(this.change(2,t.name),this.changeLink("column3"))},changeLink:function(t){if("column1"===t||"column3"===t){var e=new Date(new Date(this.result[2],this.result[0],1)-1).getDate();this.dIndex2=this.result[1]>e?e-1:this.result[1]-1,this.column2=this.data[1].slice(0,e)}},close:function(){this.$emit("close",!1),this.setDefaultColumns()},cancel:function(){this.$emit("close",!1),this.setDefaultColumns()},confirm:function(){var t=this;this.addZero&&this.result.forEach(function(e,n){t.result[n]=e<10?"0".concat(+e):e}),(!this.validate||this.validate(this.result))&&(this.$emit("close",!1),this.$emit("confirm",this.result),this.updateColumns({dIndex1:this.result[0]-1,dIndex2:this.result[1]-1,dIndex3:this.result[2]-(new Date().getFullYear()-this.yearsRange[0])}))},clickMask:function(){this.maskClick&&this.$emit("close",!1)}}},function(){var t=this.$createElement,e=this._self._c||t;return e("VPopup",{staticClass:"pickerbox",attrs:{visible:this.visible,type:"popup-bottom","close-on-click-modal":""},on:{close:this.close}},[e("div",{ref:"picker",staticClass:"vue-picker"},[this.showToolbar?e("DateHeader",{attrs:{"cancel-text":this.cancelText,"confirm-text":this.confirmText,title:this.title},on:{cancel:this.cancel,confirm:this.confirm}}):this._e(),this._v(" "),e("div",{staticClass:"content"},[this.visible?e("div",{staticClass:"colums"},[this.column2.length>0?e("List",{attrs:{column:this.column2,"item-height":this.itemHeight,"default-index":this.dIndex2},on:{change:this.change2}}):this._e(),this._v(" "),this.column1.length>0?e("List",{attrs:{column:this.column1,"item-height":this.itemHeight,"default-index":this.dIndex1},on:{change:this.change1}}):this._e(),this._v(" "),this.column3.length>0?e("List",{attrs:{column:this.column3,"item-height":this.itemHeight,"default-index":this.dIndex3},on:{change:this.change3}}):this._e()],1):this._e()]),this._v(" "),this._t("default"),this._v(" "),e("VButton",{on:{click:this.confirm}},[this._v("\n      Done\n    ")])],2)])},[],!1,null,null,null).exports;i6.install=function(t){t.component(i6.name,i6)};var i5=["@gmail.com","@yahoo.com","@email.com","@icloud.com","@hotmail.com","@outlook.com"],i7=(0,O.A)({components:{VInput:tt,FormItem:iB},model:{prop:"value",event:"input"},props:{theme:{type:String,default:"dark"},value:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},errorText:{type:String,default:""}},data:function(){return{focus:!1,visible:!1}},computed:{preparedEmails:function(){var t=this.value;if(!t)return[];var e=t.split("@")[1];if(e){var n=RegExp("".concat(e),"i");return i5.filter(function(t){return n.test(t)})}return i5},expaned:function(){return this.visible&&this.preparedEmails.length}},methods:{parsedAutoEmail:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(-1===t.indexOf("@"))return t+e;var n=t.split("@")[1].length+1;return t+e.slice(n)},setEmail:function(t){var e=this;this.$emit("input",t),this.visible=!1,this.$nextTick(function(){e.$el.querySelector("input").blur()})},onFocus:function(){this.focus=!0,this.value&&(this.visible=!0)},onBlur:function(){var t=this;this.focus=!1,setTimeout(function(){t.visible=!1},200)},onInput:function(t,e){t=ic(t),this.$emit("input",t,e),t&&(this.visible=!0)}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("FormItem",{staticClass:"m-form-item-email",class:[t.theme,{expaned:t.expaned}],attrs:{theme:t.theme,label:t.label,focus:t.focus,value:t.value,"error-text":t.errorText}},[n("VInput",{staticClass:"m-email-input",attrs:{value:t.value,disabled:t.disabled,clearable:""},on:{focus:t.onFocus,blur:t.onBlur,input:t.onInput},scopedSlots:t._u([{key:"prepend",fn:function(){return[n("div",{staticClass:"m-email-scroller"},[t.expaned?n("ul",{staticClass:"email-list-options"},t._l(t.preparedEmails,function(e){return n("li",{key:e,staticClass:"m-select-option",on:{click:function(n){n.stopPropagation(),t.setEmail(t.parsedAutoEmail(t.value,e))}}},[t._v("\n            "+t._s(t.parsedAutoEmail(t.value,e))+"\n          ")])}),0):t._e()])]},proxy:!0}])})],1)},[],!1,null,null,null).exports,i9=(0,O.A)({name:"KycProfile",components:{VButton:tn,VDialogBox:ti,VDatePicker:i6,InputFocus:iI,InputEmail:i7,InputCard:iF,FormItem:iB,FormSelect:iY,CountryList:iH,SelectIdType:iZ,FailedNumber:iq},props:{proxyApp:{type:Boolean,default:!1},theme:{type:String,default:"dark"},phone:{type:String,default:"",required:!0},password:{type:String,default:"",required:!0},firstName:{type:String,default:""},lastName:{type:String,default:""},showTitle:{type:Boolean,default:!0},showBackOut:{type:Boolean,default:!1},showBack:{type:Boolean,default:!1},backText:{type:String,default:""},pageName:{type:String,default:""}},setup:function(t,e){var n=e.emit,i=iD(t),r=i.idTypeList,o=i.idTypeLabel,s=i.kycForm,a=i.errorText,c=i.isEmptyBirth;return{idTypeList:r,idTypeLabel:o,kycForm:s,errorText:a,isEmptyBirth:c,btnText:i.btnText,disabled:i.disabled,parsedBirth:i.parsedBirth,defaultBirthday:i.defaultBirthday,resetErrorText:i.resetErrorText,onChangeIdType:i.onChangeIdType,onChangeNation:i.onChangeNation,validateForm:i.validateForm,getKycInfo:i.getKycInfo,visibleFailedNumber:i.visibleFailedNumber,failedNumberInfo:i.failedNumberInfo,toggleFailedNumber:i.toggleFailedNumber,handleBack:function(){c.value?c.value=!1:n("back")}}},data:function(){return{datePickerVisible:!1,isBirthDateError:!1,idTypeVisible:!1,nationVisible:!1,loading:!1}},computed:{defaultBirth:function(){var t=this.defaultBirthday;return[t.getMonth()+1,t.getDate(),t.getFullYear()]}},methods:{openIDType:function(){this.idTypeVisible=!0},openNation:function(){this.nationVisible=!0},onChangeBirth:function(t){this.kycForm.birthday="".concat(t[2]).concat(t[0]).concat(t[1]),this.resetErrorText("birthday")},openBirth:function(){this.datePickerVisible=!0},validateBirthDate:function(t){var e=iV("".concat(t[2]).concat(t[0]).concat(t[1]));return this.isBirthDateError=e,!e},handleSubmit:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i,r,o;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.loading||t.disabled)){e.next=2;break}return e.abrupt("return");case 2:if(t.loading=!0,e.prev=3,!t.isEmptyBirth){e.next=8;break}t.proxyApp?((0,nb.R_)(t.kycForm),t.loading=!1):t.sendRegister(),e.next=20;break;case 8:if(!t.validateForm()){e.next=17;break}return e.next=12,t.getKycInfo();case 12:"success"===e.sent.type?t.proxyApp?((0,nb.R_)(t.kycForm),t.loading=!1):t.sendRegister():(t.loading=!1,(n=t.pageName)&&nC({success:!1,pageName:n,reason:Object.values(t.errorText).filter(function(t){return!!t})[0]||t.failedNumberInfo.message})),e.next=20;break;case 17:t.loading=!1,(i=t.pageName)&&nC({success:!1,pageName:i,reason:Object.values(t.errorText).filter(function(t){return!!t})[0]});case 20:e.next=28;break;case 22:e.prev=22,e.t0=e.catch(3),e.t0.isErrorBirth?t.$dialog({message:e.t0.message,cancelButtonText:"",confirmButtonText:"Got It"}):t.$dialog({message:e.t0.message,cancelButtonText:"",confirmButtonText:"OK"}),t.loading=!1,(r=t.pageName)&&nC({success:!1,pageName:r,reason:e.t0.message});case 28:o=(0,R.YB)()?"RegkycApp_Complete":"RegkycWap_Complete",window.mstrace(o,"reg");case 30:case"end":return e.stop()}},e,null,[[3,22]])}))()},sendRegister:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i,r,o,s;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,n=t.phone,i=t.password,r=t.kycForm,e.next=5,im().registerAccount({phone:n,password:i,kycInfo:r});case 5:t.$emit("complete"),(o=t.pageName)&&nC({success:!0,pageName:o}),e.next=15;break;case 10:e.prev=10,e.t0=e.catch(1),P(e.t0.message),(s=t.pageName)&&nC({success:!1,pageName:s,reason:e.t0.message});case 15:return e.prev=15,t.loading=!1,e.finish(15);case 18:case"end":return e.stop()}},e,null,[[1,10,15,18]])}))()}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"kyc-profile",class:[t.theme]},[t.showBackOut?n("a",{staticClass:"btn-back",on:{click:t.handleBack}},[t._t("back",function(){return[n("svg-icon",{attrs:{"icon-class":"icon-back"}})]})],2):t._e(),t._v(" "),n("form",{staticClass:"kyc-profile-form",attrs:{action:"javascript:;"},on:{submit:t.handleSubmit}},[t.showBack?n("div",{staticClass:"btns-wrap"},[n("a",{staticClass:"btn-back-self",on:{click:t.handleBack}},[n("svg-icon",{attrs:{"icon-class":"icon-back"}}),t._v(" "),t.backText?n("span",{staticClass:"back-text"},[t._v(t._s(t.backText))]):t._e()],1)]):t._e(),t._v(" "),t.showTitle?n("h3",{staticClass:"profile-title"},[t._v("\n      Account Details\n    ")]):t._e(),t._v(" "),t.isEmptyBirth?n("p",{staticClass:"note-birth"},[t._v("\n      Please confirm that you are over 18 years old to continue.\n    ")]):t._e(),t._v(" "),t.isEmptyBirth?t._e():n("div",{staticClass:"form-group"},[n("div",{staticClass:"name-wrap"},[t.kycForm.firstName&&t.kycForm.lastName?[n("InputFocus",{attrs:{value:t.kycForm.firstName,theme:t.theme,label:"First Name",disabled:!!t.kycForm.firstName}}),t._v(" "),n("InputFocus",{attrs:{value:t.kycForm.lastName,theme:t.theme,label:"Last Name",disabled:!!t.kycForm.lastName}})]:t._e()],2),t._v(" "),n("FormItem",{attrs:{theme:t.theme,label:"Nationality",value:t.kycForm.nationality,focus:t.nationVisible}},[n("FormSelect",{attrs:{theme:t.theme,label:t.kycForm.nationality,focus:t.nationVisible},on:{click:t.openNation}})],1),t._v(" "),n("FormItem",{attrs:{theme:t.theme,label:"ID Type",value:t.idTypeLabel,focus:t.idTypeVisible}},[n("FormSelect",{attrs:{theme:t.theme,label:t.idTypeLabel,focus:t.idTypeVisible},on:{click:t.openIDType}})],1),t._v(" "),2===t.kycForm.idType?[n("FormItem",{attrs:{theme:t.theme,value:t.kycForm.nationality,focus:t.nationVisible,"error-text":t.errorText.idNumber}},[n("InputCard",{attrs:{id:"input-id-number",theme:t.theme},on:{input:function(e){return t.resetErrorText("idNumber")}},model:{value:t.kycForm.idNumber,callback:function(e){t.$set(t.kycForm,"idNumber","string"==typeof e?e.trim():e)},expression:"kycForm.idNumber"}})],1)]:[n("InputFocus",{attrs:{id:"input-id-number",theme:t.theme,label:"ID Number","error-text":t.errorText.idNumber},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("idNumber")}},model:{value:t.kycForm.idNumber,callback:function(e){t.$set(t.kycForm,"idNumber","string"==typeof e?e.trim():e)},expression:"kycForm.idNumber"}})]],2),t._v(" "),t.isEmptyBirth?t._e():n("div",{staticClass:"form-group"},[n("InputEmail",{attrs:{theme:t.theme,label:"Email Address","error-text":t.errorText.email},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("email")}},model:{value:t.kycForm.email,callback:function(e){t.$set(t.kycForm,"email","string"==typeof e?e.trim():e)},expression:"kycForm.email"}}),t._v(" "),n("InputFocus",{attrs:{theme:t.theme,label:"Residential Address","error-text":t.errorText.address},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("address")}},model:{value:t.kycForm.address,callback:function(e){t.$set(t.kycForm,"address","string"==typeof e?e.trim():e)},expression:"kycForm.address"}})],1),t._v(" "),t.isEmptyBirth?n("div",{staticClass:"form-group"},[n("FormItem",{attrs:{theme:t.theme,label:"Date of Birth",value:t.kycForm.birthday,focus:t.datePickerVisible,"error-text":t.errorText.birthday}},[n("FormSelect",{attrs:{theme:t.theme,label:t.parsedBirth,focus:t.datePickerVisible,error:!!t.errorText.birthday},on:{click:t.openBirth}})],1)],1):t._e(),t._v(" "),n("div",{staticClass:"btn-wrap"},[n("VButton",{staticClass:"btn-submit",attrs:{type:"submit",disabled:t.disabled,loading:t.loading},on:{click:t.handleSubmit}},[t._v("\n        "+t._s(t.btnText)+"\n      ")])],1)]),t._v(" "),n("SelectIdType",{attrs:{list:t.idTypeList,"current-type":t.kycForm.idType},on:{change:t.onChangeIdType},model:{value:t.idTypeVisible,callback:function(e){t.idTypeVisible=e},expression:"idTypeVisible"}}),t._v(" "),n("CountryList",{attrs:{"current-nation":t.kycForm.nationality},on:{change:t.onChangeNation},model:{value:t.nationVisible,callback:function(e){t.nationVisible=e},expression:"nationVisible"}}),t._v(" "),n("VDialogBox",{attrs:{visible:t.visibleFailedNumber,title:"Failed","close-on-click-modal":!1},on:{close:function(e){return t.toggleFailedNumber(!1)}}},[t.failedNumberInfo.message?n("FailedNumber",{attrs:{"failed-info":t.failedNumberInfo},on:{close:function(e){return t.toggleFailedNumber(!1)}}}):t._e()],1),t._v(" "),n("VDatePicker",{attrs:{title:"Date of Birth","add-zero":"",validate:t.validateBirthDate,"default-index":t.defaultBirth,"years-range":[100,-t.$t("LEGAL_AGE")]},on:{confirm:t.onChangeBirth,change:function(e){t.isBirthDateError=!1}},model:{value:t.datePickerVisible,callback:function(e){t.datePickerVisible=e},expression:"datePickerVisible"}},[n("div",{staticClass:"birth-error",class:{error:t.isBirthDateError}},[t.isBirthDateError?n("p",[t._v("\n        Players must be "),n("span",{staticStyle:{color:"#ff3826"}},[t._v("18 or older")]),t._v(" to register or play at MSport\n      ")]):t._e()])])],1)},[],!1,null,null,null).exports,rt="ug"===w.Zg?y.default.extend(iX):y.default.extend(i9),re=(0,O.A)({name:"KycProfileAppend",components:{VButton:tn,IconLoading:te,VDialogBox:ti,VDatePicker:i6,InputFocus:iI,InputEmail:i7,InputCard:iF,FormItem:iB,FormSelect:iY,CountryList:iH,SelectIdType:iZ,FailedNumber:iq},props:{type:{type:String,default:""},theme:{type:String,default:"dark"},showTitle:{type:Boolean,default:!0},showTitleOut:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},showBackOut:{type:Boolean,default:!1},bonus:{type:[String,Number],default:""},entry:{type:String,default:""},showBack:{type:Boolean,default:!1},backText:{type:String,default:""},btnBackgroundImage:{type:String,default:""},showSkip:{type:Boolean,default:!0},pageName:{type:String,default:""}},setup:function(t,e){var n=e.emit,i=(0,t_.bP)(ix()).isAppWebview,r=iD(t,{noNames:!0}),o=r.idTypeList,s=r.idTypeLabel,a=r.kycForm,c=r.errorText,l=r.isEmptyBirth,u=r.loading,d=r.btnText,p=r.disabled,f=r.hasError,h=r.parsedBirth,m=r.defaultBirthday,g=r.resetErrorText,v=r.onChangeIdType,y=r.onChangeNation,k=r.validateForm,x=r.postKycForm,_=r.visibleFailedNumber,C=r.failedNumberInfo,S=r.toggleFailedNumber,T=(0,b.KR)(!1),B=function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=document.querySelector(".m-registration .btn-close")||document.querySelector(".kyc-profile-append .btn-close");e&&(t?e.style.display="none":e.style.display="block")},I=function(){var t="noskip"===sessionStorage.getItem("kyc");t&&(T.value=t,B(!0))},N=function(t){return"close"===t?"close":l.value?void(l.value=!1):(n("back"),"back")},O=(0,b.KR)(!1),A=(0,b.KR)(""),E=(0,b.KR)(!1),P=(0,b.KR)(""),D=(0,b.KR)(!1),L=(0,b.KR)(!1),V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("deposit"===t.type){if("topup"===t.entry||"paybill"===t.entry){O.value=!0,A.value=e;return}}else if("withdraw"===t.type){if(l.value&&"withdraw"===t.entry){E.value=!0,P.value=e;return}}else if(l.value&&"close"!==e){L.value=!0;return}return N(e)},$=function t(){(0,nb.fZ)(function(e){"back"===e?"back"===V("back")?(0,nb.Ar)():t():"close"===e&&("close"===V("close")?(0,nb.Ar)():t())},{stopClose:!0})};return(0,b.sV)(function(){"gh"===w.Zg&&t.showSkip&&I(),$()}),(0,b.hi)(function(){T.value&&B(!1)}),(0,b.Y4)(function(){T.value&&B(!1)}),{isAppWebview:i,isIosWebview:i.value&&(0,R.un)(),idTypeList:o,idTypeLabel:s,kycForm:a,errorText:c,isEmptyBirth:l,loading:u,btnText:d,disabled:p,hasError:f,parsedBirth:h,defaultBirthday:m,resetErrorText:g,onChangeIdType:v,onChangeNation:y,validateForm:k,postKycForm:x,visibleFailedNumber:_,failedNumberInfo:C,toggleFailedNumber:S,sessionHideKyc:T,handleBack:V,shouldBack:N,confirmVisible:O,confirmVisibleType:A,confirmWithdrawVisible:E,confirmWithdrawVisibleType:P,skipDialogVisible:D,skipDialogBirthVisible:L}},data:function(){return{datePickerVisible:!1,isBirthDateError:!1,idTypeVisible:!1,nationVisible:!1}},computed:{defaultBirth:function(){var t=this.defaultBirthday;return[t.getMonth()+1,t.getDate(),t.getFullYear()]}},methods:{openIDType:function(){this.idTypeVisible=!0},openNation:function(){this.nationVisible=!0},onChangeBirth:function(t){this.kycForm.birthday="".concat(t[2]).concat(t[0]).concat(t[1]),this.resetErrorText("birthday")},openBirth:function(){this.datePickerVisible=!0},validateBirthDate:function(t){var e=iV("".concat(t[2]).concat(t[0]).concat(t[1]));return this.isBirthDateError=e,!e},skipNow:function(){this.$emit("skip"),this.skipDialogVisible=!1,(0,nb.CM)()},handleSkip:function(){this.disabled||this.hasError?this.skipNow():this.skipDialogVisible=!0},onActionSkip:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=6;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.handleSubmit();case 5:e.skipDialogVisible=!1;case 6:case"end":return n.stop()}},n)}))()},onLeaveBirth:function(){this.skipDialogBirthVisible=!1,this.shouldBack()},onActionSkipBirth:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=6;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.handleSubmit();case 5:e.skipDialogBirthVisible=!1;case 6:case"end":return n.stop()}},n)}))()},onActionBeforeBack:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){var i;return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=9;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:if(!e.isEmptyBirth){n.next=6;break}return n.next=6,e.handleSubmit();case 6:e.confirmVisible=!1,n.next=13;break;case 9:e.loading=!1,i=e.shouldBack(e.confirmVisibleType),e.confirmVisible=!1,("back"===i||"close"===e.confirmVisibleType)&&(0,nb.Ar)();case 13:case"end":return n.stop()}},n)}))()},onActionBeforeBackWithdraw:function(t){var e=this;return(0,tZ.A)(tJ().mark(function n(){return tJ().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("confirm"!==t){n.next=8;break}if(!e.loading){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,e.handleSubmit();case 5:e.confirmWithdrawVisible=!1,n.next=12;break;case 8:e.loading=!1,e.shouldBack(e.confirmWithdrawVisibleType),e.confirmWithdrawVisible=!1,"close"===e.confirmWithdrawVisibleType&&(0,nb.Ar)();case 12:case"end":return n.stop()}},n)}))()},reolvePostRes:function(t){var e=this;if("success"===t){"here"===this.entry||"independent"===this.type?(P("Account Details Submitted",{classNames:["toast-kyc"],theme:"dark"===this.theme?"light":"dark"}),setTimeout(function(){e.$emit("complete"),(0,nb.CM)()},2e3)):(this.$emit("complete"),(0,nb.CM)());var n=this.pageName;n&&nC({success:!0,pageName:n})}else{this.loading=!1;var i=this.pageName;i&&nC({success:!1,pageName:i,reason:Object.values(this.errorText).filter(function(t){return!!t})[0]||this.failedNumberInfo.message})}},handleSubmit:function(){var t=this;return(0,tZ.A)(tJ().mark(function e(){var n,i,r,o,s;return tJ().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.loading||t.disabled)){e.next=2;break}return e.abrupt("return");case 2:if(t.loading=!0,e.prev=3,!t.isEmptyBirth){e.next=12;break}return e.next=7,t.postKycForm();case 7:n=e.sent.type,t.reolvePostRes(n),e.next=24;break;case 12:if(!t.validateForm()){e.next=21;break}return e.next=16,t.postKycForm();case 16:i=e.sent.type,t.reolvePostRes(i),e.next=24;break;case 21:t.loading=!1,(r=t.pageName)&&nC({success:!1,pageName:r,reason:Object.values(t.errorText).filter(function(t){return!!t})[0]});case 24:e.next=32;break;case 26:e.prev=26,e.t0=e.catch(3),e.t0.isErrorBirth?t.$dialog({message:e.t0.message,cancelButtonText:"",confirmButtonText:"Got It",closeOnClickModal:!0}):t.$dialog({message:e.t0.message,cancelButtonText:"",confirmButtonText:"OK"}),t.loading=!1,(o=t.pageName)&&nC({success:!1,pageName:o,reason:e.t0.message});case 32:s=t.isAppWebview?"RegkycApp_Complete":"RegkycWap_Complete",window.mstrace(s,"reg");case 34:case"end":return e.stop()}},e,null,[[3,26]])}))()}}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"kyc-profile-append",class:[t.theme,{"kyc-bitrh":t.isEmptyBirth,"ios-webview":t.isIosWebview}]},[t.showBackOut?n("a",{staticClass:"btn-back",on:{click:t.handleBack}},[t._t("back",function(){return[n("svg-icon",{attrs:{"icon-class":"icon-back"}})]})],2):t._e(),t._v(" "),n("form",{staticClass:"kyc-profile-append-form",class:{"form-bitrh":t.isEmptyBirth},attrs:{action:"javascript:;"},on:{submit:t.handleSubmit}},[t.showBack?n("div",{staticClass:"btns-wrap btns-head"},[n("a",{staticClass:"btn btn-back-self",on:{click:t.handleBack}},[n("svg-icon",{attrs:{"icon-class":"icon-back"}}),t._v(" "),t.backText?n("span",{staticClass:"back-text"},[t._v(t._s(t.backText))]):t._e()],1),t._v(" "),t.showTitleOut?n("h3",{staticClass:"profile-title-top"},[t._v("\n        Account Details\n      ")]):t._e(),t._v(" "),n("div",{staticClass:"btn btn-close-wrap"},[t.closable?n("a",{staticClass:"btn-close",on:{click:function(e){return t.$emit("skip")}}},[n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M825.6 249.6l-44.8-44.8c-6.4-6.4-12.8-6.4-19.2 0L524.8 441.6c-6.4 6.4-12.8 6.4-19.2 0L262.4 198.4c-6.4-6.4-12.8-6.4-19.2 0l-44.8 51.2c-6.4 6.4-6.4 12.8 0 19.2l236.8 236.8c6.4 6.4 6.4 12.8 0 19.2L198.4 761.6c-6.4 6.4-6.4 12.8 0 19.2l44.8 44.8c6.4 6.4 12.8 6.4 19.2 0l236.8-236.8c6.4-6.4 12.8-6.4 19.2 0l236.8 236.8c6.4 6.4 12.8 6.4 19.2 0l44.8-44.8c6.4-6.4 6.4-12.8 0-19.2L582.4 524.8c-6.4-6.4-6.4-12.8 0-19.2l236.8-236.8c6.4-6.4 6.4-19.2 6.4-19.2z"}})])]):t._e()])]):t._e(),t._v(" "),t.isEmptyBirth?t._e():n("div",{staticClass:"form-group form-group-top"},[t.showTitle?n("h3",{staticClass:"profile-title"},[t._t("title",function(){return[t._v("\n          Account Details\n        ")]})],2):t._e(),t._v(" "),n("FormItem",{attrs:{theme:t.theme,label:"Nationality",value:t.kycForm.nationality,focus:t.nationVisible}},[n("FormSelect",{attrs:{theme:t.theme,label:t.kycForm.nationality,focus:t.nationVisible},on:{click:t.openNation}})],1),t._v(" "),n("FormItem",{attrs:{theme:t.theme,label:"ID Type",value:t.idTypeLabel,focus:t.idTypeVisible}},[n("FormSelect",{attrs:{theme:t.theme,label:t.idTypeLabel,focus:t.idTypeVisible},on:{click:t.openIDType}})],1),t._v(" "),2===t.kycForm.idType?[n("FormItem",{attrs:{theme:t.theme,value:t.kycForm.nationality,focus:t.nationVisible,"error-text":t.errorText.idNumber}},[n("InputCard",{attrs:{id:"input-id-number",theme:t.theme},on:{input:function(e){return t.resetErrorText("idNumber")}},model:{value:t.kycForm.idNumber,callback:function(e){t.$set(t.kycForm,"idNumber","string"==typeof e?e.trim():e)},expression:"kycForm.idNumber"}})],1)]:[n("InputFocus",{attrs:{id:"input-id-number",theme:t.theme,label:"ID Number","error-text":t.errorText.idNumber},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("idNumber")}},model:{value:t.kycForm.idNumber,callback:function(e){t.$set(t.kycForm,"idNumber","string"==typeof e?e.trim():e)},expression:"kycForm.idNumber"}})]],2),t._v(" "),t.isEmptyBirth?t._e():n("div",{staticClass:"form-group"},[n("InputEmail",{attrs:{theme:t.theme,label:"Email Address","error-text":t.errorText.email},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("email")}},model:{value:t.kycForm.email,callback:function(e){t.$set(t.kycForm,"email","string"==typeof e?e.trim():e)},expression:"kycForm.email"}}),t._v(" "),n("InputFocus",{attrs:{theme:t.theme,label:"Residential Address","error-text":t.errorText.address},on:{input:function(e,n){return"clear"!==n&&t.resetErrorText("address")}},model:{value:t.kycForm.address,callback:function(e){t.$set(t.kycForm,"address","string"==typeof e?e.trim():e)},expression:"kycForm.address"}})],1),t._v(" "),t.isEmptyBirth?n("div",{staticClass:"form-group form-group-top form-group-birth"},[t.showTitle?n("h3",{staticClass:"profile-title"},[t._t("title",function(){return[t._v("\n          Account Details\n        ")]})],2):t._e(),t._v(" "),n("p",{staticClass:"note-birth"},[t._v("\n        Please confirm that you are over 18 years old to continue.\n      ")]),t._v(" "),n("FormItem",{attrs:{theme:t.theme,label:"Date of Birth",value:t.kycForm.birthday,focus:t.datePickerVisible,"error-text":t.errorText.birthday}},[n("FormSelect",{attrs:{theme:t.theme,label:t.parsedBirth,focus:t.datePickerVisible,error:!!t.errorText.birthday},on:{click:t.openBirth}})],1)],1):t._e(),t._v(" "),n("div",{staticClass:"btn-wrap btn-submit-wrap"},[n("VButton",{staticClass:"btn-submit",class:{bg:!!t.btnBackgroundImage},style:{backgroundImage:t.btnBackgroundImage?"url("+t.btnBackgroundImage+")":""},attrs:{type:"submit",disabled:t.disabled,loading:t.loading},on:{click:t.handleSubmit}},[t._v("\n        "+t._s(t.btnText)+"\n      ")])],1),t._v(" "),!t.showSkip||t.isEmptyBirth||t.sessionHideKyc?t._e():n("a",{staticClass:"btn-skip",on:{click:t.handleSkip}},[t._v("Skip Now")])]),t._v(" "),n("SelectIdType",{attrs:{list:t.idTypeList,"current-type":t.kycForm.idType},on:{change:t.onChangeIdType},model:{value:t.idTypeVisible,callback:function(e){t.idTypeVisible=e},expression:"idTypeVisible"}}),t._v(" "),n("CountryList",{attrs:{"current-nation":t.kycForm.nationality},on:{change:t.onChangeNation},model:{value:t.nationVisible,callback:function(e){t.nationVisible=e},expression:"nationVisible"}}),t._v(" "),n("VDialogBox",{attrs:{visible:t.visibleFailedNumber,title:"Failed","close-on-click-modal":!1},on:{close:function(e){return t.toggleFailedNumber(!1)}}},[t.failedNumberInfo.message?n("FailedNumber",{attrs:{"failed-info":t.failedNumberInfo},on:{close:function(e){return t.toggleFailedNumber(!1)}}}):t._e()],1),t._v(" "),n("VDatePicker",{attrs:{title:"Date of Birth","add-zero":"",validate:t.validateBirthDate,"default-index":t.defaultBirth,"years-range":[100,-t.$t("LEGAL_AGE")]},on:{confirm:t.onChangeBirth,change:function(e){t.isBirthDateError=!1}},model:{value:t.datePickerVisible,callback:function(e){t.datePickerVisible=e},expression:"datePickerVisible"}},[n("div",{staticClass:"birth-error",class:{error:t.isBirthDateError}},[t.isBirthDateError?n("p",[t._v("\n        Players must be "),n("span",{staticStyle:{color:"#ff3826"}},[t._v("18 or older")]),t._v(" to register or play at MSport\n      ")]):t._e()])]),t._v(" "),"deposit"===t.type?[n("VDialogBox",{staticClass:"dialog-kyc-bonus",attrs:{"show-close":!1},model:{value:t.confirmVisible,callback:function(e){t.confirmVisible=e},expression:"confirmVisible"}},[n("p",{staticClass:"dialog--body"},["topup"===t.entry?[t._v("\n          You are one step away to get "),t.bonus?n("span",{staticClass:"bonus"},[t._v(t._s(t.$t("CURRENCY"))+" "+t._s(t.bonus))]):[t._v("\n            your\n          ")],t._v(" bonus. Do you want to submit the form and get your bonus?\n        ")]:"paybill"===t.entry?[t._v("\n          You are one step away to get your bonus. Do you want to submit the form and get your bonus?\n        ")]:t._e()],2),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBack("cancel")}}},[t._v("Leave")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBack("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n          ")]:[t._v("\n            GET MY BONUS\n          ")]],2)])])]:"withdraw"===t.type?[n("VDialogBox",{staticClass:"dialog-kyc-bonus",attrs:{"show-close":!1},model:{value:t.confirmWithdrawVisible,callback:function(e){t.confirmWithdrawVisible=e},expression:"confirmWithdrawVisible"}},[n("p",{staticClass:"dialog--body"},[t._v("\n        You are one step away to withdraw. Do you want to submit the form and withdraw?\n      ")]),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBackWithdraw("cancel")}}},[t._v("Leave")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionBeforeBackWithdraw("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n          ")]:[t._v("\n            Continue to "),n("br"),t._v(" Withdraw\n          ")]],2)])])]:t._e(),t._v(" "),n("VDialogBox",{staticClass:"dialog-kyc-skip",attrs:{"close-on-click-modal":""},model:{value:t.skipDialogVisible,callback:function(e){t.skipDialogVisible=e},expression:"skipDialogVisible"}},[n("p",{staticClass:"dialog--body"},[t._v("\n      You've filled in the form. Do you want to submit it now?\n    ")]),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.skipNow.apply(null,arguments)}}},[t._v("Skip")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionSkip("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n        ")]:[t._v("\n          Submit\n        ")]],2)])]),t._v(" "),n("VDialogBox",{staticClass:"dialog-kyc-skip",attrs:{"show-close":!1},model:{value:t.skipDialogBirthVisible,callback:function(e){t.skipDialogBirthVisible=e},expression:"skipDialogBirthVisible"}},[n("p",{staticClass:"dialog--body"},[t._v("\n      Do you want to submit the form?\n    ")]),t._v(" "),n("div",{staticClass:"dialog--footer horizontal"},[n("a",{staticClass:"btn btn--cancel",on:{click:function(e){return e.target!==e.currentTarget?null:t.onLeaveBirth.apply(null,arguments)}}},[t._v("Leave")]),t._v(" "),n("a",{staticClass:"btn btn--ok",class:{loading:t.loading},on:{click:function(e){return e.target!==e.currentTarget?null:t.onActionSkipBirth("confirm")}}},[t.loading?[n("IconLoading"),t._v(" Loading\n        ")]:[t._v("\n          Submit\n        ")]],2)])])],2)},[],!1,null,null,null).exports,rn="ug"===w.Zg?y.default.extend(iX):y.default.extend(re),ri=(0,O.A)({},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"m-regArea-back",on:{click:function(e){return t.$emit("click")}}},[n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18"}},[n("path",{attrs:{d:"M853.333 469.333H332.8L571.733 230.4 512 170.667 170.667 512 512 853.333l59.733-59.733L332.8 554.667h520.533z",fill:"#333"}})]),t._v(" "),n("span",[t._v("BACK")])])},[],!1,null,"8793e74e",null).exports,rr=(0,O.A)({components:{DialogCloudflareTurnstile:il,RegisterInput:iu,VButton:tn,RegisterVerify:ig,RegisterOptions:iy,Send:ik,KycBefore:rt,KycAppend:rn,BtnBack:ri},props:{loginStep:{type:Number,default:1}},setup:function(){var t,e,n,i,r,o,s,a,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.self,n=(0,b.nI)().proxy,i=(0,t_.bP)(tB()).loginStatus,r=(0,t_.bP)(nK()).kycData,o=nE().kycConfig,s=(0,b.KR)(!1),a=(0,b.Kh)({phone:"",password:""}),c=function(){var t=n.signupForm,e=t.phone,i=t.password;return(n.inputDefault(),n.smsCodeVisible&&window.mstrace("next_buttom","ChannelRegister"),e)?i?void(n.fetchStatus=2,n.fetchCheckPhoneStatus()):(n.passwordErrorStatus=1,n.inputPasswordStatus="error",n.errorTextPassword="Password is required.",!1):(n.inputPhoneStatus="error",n.errorTextPhone="Phone number is required.",!1)};return void 0!==e&&e||(0,B.iXd)("CF_CHALLENGE_SUCCESS").on(c),(0,b.wB)(function(){return a.phone+a.password},function(t){t&&nl().resetCfToken()}),(0,b.wB)(function(){return n.loginStep},function(t){1===t&&nl().resetCfToken()}),{loginStatus:i,kycData:r,kycConfig:o,loading:s,signupForm:a,onInputPhone:function(t){a.phone="zm"!==w.Zg?ia(t,11):/^0/.test(t)?ia(t,10):ia(t,9)},onInputPhoneBlur:function(){var t=a.phone;t&&window.mstrace("RegisterInputPhone","Reg",{value:t})},onInputPassword:function(t){a.password=t.replace(/\s/g,"")},turnBack:function(){nK().canOpenKyc&&2===n.loginStep?n.$emit("changeStep",6):n.$emit("changeStep",1)},turnBackVerify:function(){n.$emit("changeStep",2)},judgeCodeStatus:function(){if(n.countDown)return!1;n.fetchGetVerifyCode()},btnLogin:c,sentVerifyCode:function(t){n.verifyCode=t,n.fetchCompleteRegister()}}}(),l=c.kycData,u=c.kycConfig,d=c.signupForm,p=c.onInputPhone,f=c.onInputPhoneBlur,h=c.onInputPassword,m=c.turnBack,g=c.turnBackVerify,v=c.judgeCodeStatus,y=c.btnLogin,k=c.sentVerifyCode;t=(0,b.nI)().proxy,e=function(){var e=Date.parse(new Date),n=+sessionStorage.getItem("last_send_time"),i=t.signupForm.phone,r=(e-n)/1e3,o=sessionStorage.getItem("last_send_phone");r>60||i!==o?(t.verifyOptionsVisible=!1,t.fetchGetVerifyCode(),window.mstrace("auto_get_code","ChannelRegister")):t.updateCount(60-r)},(0,b.wB)(function(){return t.loginStep},function(n){2===n?(t.verifyCode="",t.inputCodeStatus="default",t.errorTextCode="",clearInterval(t.timer),e()):clearInterval(t.timer)});var x=(n=nK(),r=(i=(0,t_.bP)(n)).voiceStatus,o=i.inboundStatus,s=(0,b.KR)(!1),a=(0,b.EW)(function(){return s.value&&(r.value||o.value)}),(0,b.wB)(function(){return s.value},function(t){t&&n.getOptionsStatus()},{immediate:!0}),{voiceStatus:r,inboundStatus:o,visibleVerifyOptions:a,checkUpdateVisibleVerifyOptions:function(t){var e=t.bizCode,n=t.msgRemainNum;(11705===e||0===n)&&(s.value=!0)}}),_=x.visibleVerifyOptions,C=x.checkUpdateVisibleVerifyOptions,S=function(){var t,e=(0,b.nI)().proxy,n=(0,t_.bP)(nK()),i=n.msgRemainNum,r=n.canOpenKyc,o=(0,b.KR)(""),s=(0,b.KR)(""),a=(0,b.KR)(""),c=(0,b.KR)("default"),l=(0,b.KR)("default"),u=(0,b.KR)("default"),d=(0,b.KR)("Get Code"),p=(0,b.KR)(3),f=(0,b.KR)(null),h=(0,b.KR)(1),m=(0,b.KR)(""),g=(0,b.KR)(!1),v=(0,b.KR)(!1),y=(0,b.KR)(!1),k=(0,b.KR)(null),x=(0,w.z9)("/sign_in?to=".concat(location.origin).concat((0,w.z9)())),_=(0,b.EW)(function(){return 2===h.value?3:1}),C=function(t){d.value="Send Again",f.value=t||60,e.timer=setInterval(function(){f.value--,f.value<=0&&(f.value=0,clearInterval(e.timer),e.checkUpdateVisibleVerifyOptions({msgRemainNum:(0,b.R1)(i)}))},1e3)},S=(t=(0,tZ.A)(tJ().mark(function t(){var n,i,r,s,a;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,nu();case 3:if(t.sent){t.next=7;break}return h.value=1,t.abrupt("return");case 7:return n=e.signupForm.phone,t.next=10,nK().checkPhoneStatus({phone:n});case 10:r=(i=t.sent).bizCode,s=i.message,a=e.registeredTip,t.t0=r,t.next=11e3===t.t0?17:11622===t.t0?17:11623===t.t0?17:11621===t.t0?17:11601===t.t0?22:11600===t.t0?24:11624===t.t0?24:11707===t.t0?26:28;break;case 17:return v.value=!1,h.value=1,c.value="error",o.value=s,t.abrupt("break",31);case 22:return e.judgePassword(),t.abrupt("break",31);case 24:return e.supportLogin&&11600===r?e.handleLogin():(v.value=!1,y.value=!0,h.value=1,c.value="error",o.value=a||s),t.abrupt("break",31);case 26:return nl().toggleCloudflareVerify(!0),t.abrupt("break",31);case 28:v.value=!1,h.value=1,P(s);case 31:t.next=39;break;case 33:t.prev=33,t.t1=t.catch(0),v.value=!1,h.value=1,P(X),console.error(t.t1);case 39:case"end":return t.stop()}},t,null,[[0,33]])})),function(){return t.apply(this,arguments)});function T(){return(T=(0,tZ.A)(tJ().mark(function t(){var n,r,o,s;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,v.value=!0,n=e.signupForm.phone,t.next=5,nK().getVerifyCode({phone:n});case 5:o=(r=t.sent).bizCode,s=r.message,v.value=!1,1e4===o?(C(),P(J((0,b.R1)(i)))):e.popupDialog(s,11705===o?"Got It":""),e.checkUpdateVisibleVerifyOptions({bizCode:o}),t.next=18;break;case 13:t.prev=13,t.t0=t.catch(0),v.value=!1,e.popupDialog(X),console.error(t.t0);case 18:case"end":return t.stop()}},t,null,[[0,13]])}))).apply(this,arguments)}function B(){return(B=(0,tZ.A)(tJ().mark(function t(){var n,i,r;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,i=(n=e.signupForm).phone,r=n.password,t.next=4,im().registerAccount({phone:i,password:r});case 4:e.afterRegister(),t.next=12;break;case 7:t.prev=7,t.t0=t.catch(0),v.value=!1,h.value=1,P(t.t0.message);case 12:case"end":return t.stop()}},t,null,[[0,7]])}))).apply(this,arguments)}function I(){return(I=(0,tZ.A)(tJ().mark(function t(){var n,i,r,o;return tJ().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return v.value=!0,t.prev=1,n=e.signupForm.phone,t.next=5,nK().completeRegister({phone:n,verifyCode:m.value});case 5:r=(i=t.sent).bizCode,o=i.message,v.value=!1,1e4===r?(nk(),e.regSuccess()):(h.value=1,11700===r||11701===r||11702===r?(u.value="error",a.value=o):P(o)),t.next=18;break;case 12:t.prev=12,t.t0=t.catch(1),h.value=1,t.t0,v.value=!1,P(X);case 18:case"end":return t.stop()}},t,null,[[1,12]])}))).apply(this,arguments)}return{msgRemainNum:i,canOpenKyc:r,errorTextPhone:o,errorTextPassword:s,errorTextCode:a,inputPhoneStatus:c,inputPasswordStatus:l,inputCodeStatus:u,verifyTipText:d,passwordErrorStatus:p,countDown:f,fetchStatus:h,verifyCode:m,smsCodeVisible:g,loadingStatus:v,loginTipBtn:y,timer:k,loginLink:x,buttonStatusLogin:_,onInputPhoneFocus:function(){window.mstrace("phone_amount","ChannelRegister")},onInputPwdFocus:function(){window.mstrace("password_amount","ChannelRegister")},onInputPwdBlur:function(){s.value=""},updateCount:C,fetchCheckPhoneStatus:S,fetchGetVerifyCode:function(){return T.apply(this,arguments)},afterRegister:function(){v.value=!1,h.value=1,nK().needVerifyCode?(e.smsCodeVisible=!0,e.turnBackVerify()):((0,nb.O2)(),nk(),e.regSuccess())},fetchRegister:function(){return B.apply(this,arguments)},fetchCompleteRegister:function(){return I.apply(this,arguments)},judgePassword:function(){s.value="",p.value=1,s.value=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="";return t.length<6?e="Password cannnot be shorter than 6 characters.":t.length>14?e="Password cannnot be longer than 14 characters.":/^(?![^a-zA-Z]+$)(?!\D+$)/.test(t)?(/[^\x00-\xff]/g.test(t)||!/^\S*$/g.test(t))&&(e="Password contains invalid characters, please delete and try again."):e="Password must contain at least one letter and one number.",e}(e.signupForm.password),s.value?(v.value=!1,h.value=1,l.value="error"):nK().canOpenKyc?(e.$emit("changeStep",6),h.value=1):e.fetchRegister()},popupDialog:function(t,n){e.$dialog({message:t,cancelButtonText:"",confirmButtonText:n||"OK"}).catch(function(){})},changeInputStatus:function(){c.value="default",o.value="",y.value=!1},changeInputStatusPwd:function(){l.value="default",p.value=3,s.value="Use 6-14 charachers with at least one letter and one number."},changeInputStatusCode:function(){u.value="default",a.value=""},inputDefault:function(){p.value=1,c.value="default",l.value="default",u.value="default",o.value="",s.value="",a.value=""}}}();return{kycConfig:u,kycData:l,signupForm:d,onInputPhone:p,onInputPassword:h,turnBack:m,turnBackVerify:g,judgeCodeStatus:v,btnLogin:y,sentVerifyCode:k,visibleVerifyOptions:_,checkUpdateVisibleVerifyOptions:C,msgRemainNum:S.msgRemainNum,canOpenKyc:S.canOpenKyc,errorTextPhone:S.errorTextPhone,errorTextPassword:S.errorTextPassword,errorTextCode:S.errorTextCode,inputPhoneStatus:S.inputPhoneStatus,inputPasswordStatus:S.inputPasswordStatus,inputCodeStatus:S.inputCodeStatus,verifyTipText:S.verifyTipText,passwordErrorStatus:S.passwordErrorStatus,countDown:S.countDown,fetchStatus:S.fetchStatus,verifyCode:S.verifyCode,smsCodeVisible:S.smsCodeVisible,loadingStatus:S.loadingStatus,loginTipBtn:S.loginTipBtn,timer:S.timer,loginLink:S.loginLink,buttonStatusLogin:S.buttonStatusLogin,onInputPhoneFocus:S.onInputPhoneFocus,onInputPwdFocus:S.onInputPwdFocus,onInputPhoneBlur:f,onInputPwdBlur:S.onInputPwdBlur,updateCount:S.updateCount,fetchCheckPhoneStatus:S.fetchCheckPhoneStatus,fetchGetVerifyCode:S.fetchGetVerifyCode,afterRegister:S.afterRegister,fetchRegister:S.fetchRegister,fetchCompleteRegister:S.fetchCompleteRegister,judgePassword:S.judgePassword,popupDialog:S.popupDialog,changeInputStatus:S.changeInputStatus,changeInputStatusPwd:S.changeInputStatusPwd,changeInputStatusCode:S.changeInputStatusCode,inputDefault:S.inputDefault}},data:function(){return{registeredTip:"Registered mobile number cannot get new user voucher again.",isYellow:"1"===tO()(location.href,!0).query.btype,isGreen:"2"===tO()(location.href,!0).query.btype}},computed:{btnText:function(){return this.isYellow?"JOIN & DEPOSIT to GET":this.isGreen?"Join & GET NOW!":"JOIN MSPORT TO GET"}},methods:{handleClickJoin:function(){1===this.buttonStatusLogin&&this.btnLogin(1),window.mstrace("Reg9_JoinMsportToGet")},handleSend:function(){this.$emit("changeStep",4)},gotoPage:function(){var t=tO()(location.href,!0).query.to;t&&/^https?:\/\/[\w\d-]+\.msport\.com\/?$/.test(t)?location.href=decodeURIComponent(t):location.href=(0,w.z9)()},regSuccess:function(){var t=this;P("Registration Successful!",{type:"regSuceess"});var e="gh"===this.$region&&"hide"===sessionStorage.getItem("kyc");if(this.kycConfig.collectKyc&&!e){this.$emit("changeStep",7);return}setTimeout(function(){t.gotoPage()},1e3)}}},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen",value:t.loadingStatus,expression:"loadingStatus",modifiers:{fullscreen:!0}}],staticClass:"m-channel-regArea",class:{"step-kyc":7===t.loginStep}},[1===t.loginStep?i("form",{staticClass:"m-regArea-item"},[i("div",{staticClass:"m-phone-wrap inputWrap"},[i("div",{class:{marB15:!t.errorTextPhone}},[i("RegisterInput",{attrs:{status:t.inputPhoneStatus,"input-type":"tel",placeholder:"Mobile Phone Number","show-code":"",clearable:""},on:{changeInputStatus:t.changeInputStatus,focus:t.onInputPhoneFocus,blur:t.onInputPhoneBlur,input:t.onInputPhone},model:{value:t.signupForm.phone,callback:function(e){t.$set(t.signupForm,"phone",e)},expression:"signupForm.phone"}})],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.errorTextPhone,expression:"errorTextPhone"}],staticClass:"m-channelReg-error"},[t._v("\n        "+t._s(t.errorTextPhone)+"\n        "),i("a",{directives:[{name:"show",rawName:"v-show",value:t.loginTipBtn,expression:"loginTipBtn"}],staticClass:"m-error-text-log",attrs:{href:t.loginLink}},[t._v("Log In")])])]),t._v(" "),i("div",{staticClass:"m-password inputWrap"},[i("div",{class:{marB30:!t.errorTextPassword}},[i("RegisterInput",{attrs:{status:t.inputPasswordStatus,"input-type":"password",placeholder:"Set Password",eye:""},on:{changeInputStatus:t.changeInputStatusPwd,focus:t.onInputPwdFocus,blur:t.onInputPwdBlur,input:t.onInputPassword},model:{value:t.signupForm.password,callback:function(e){t.$set(t.signupForm,"password",e)},expression:"signupForm.password"}},[i("span",{staticClass:"lock",attrs:{slot:"before"},slot:"before"},[i("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M793.6 414.72H691.2V281.6c0-97.28-81.92-179.2-179.2-179.2s-179.2 81.92-179.2 179.2v174.08H230.4V281.6C230.4 128 358.4 0 512 0s281.6 128 281.6 281.6v133.12z"}}),i("path",{attrs:{d:"M204.8 409.6h614.4c30.72 0 51.2 20.48 51.2 51.2v460.8c0 30.72-20.48 51.2-51.2 51.2H204.8c-30.72 0-51.2-20.48-51.2-51.2V460.8c0-30.72 20.48-51.2 51.2-51.2z"}})])])])],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.errorTextPassword,expression:"errorTextPassword"}],class:["m-channelReg-error",{defaultError:3===t.passwordErrorStatus}]},[t._v("\n        "+t._s(t.errorTextPassword)+"\n      ")])]),t._v(" "),i("div",{staticClass:"marT5"},[i("VButton",{staticClass:"m-register-button",class:{isYellow:t.isYellow,isGreen:t.isGreen,normal:!t.isYellow&&!t.isGreen},attrs:{type:"submit",loading:3===t.buttonStatusLogin},on:{click:function(e){return e.preventDefault(),t.handleClickJoin.apply(null,arguments)}}},[t._v("\n        "+t._s(t.btnText)+"\n      ")])],1)]):t._e(),t._v(" "),2===t.loginStep?i("div",{staticClass:"item-verify"},[i("BtnBack",{on:{click:t.turnBack}}),t._v(" "),i("div",{staticClass:"m-regArea-verify"},[i("div",{staticClass:"m-register-verify-text"},[t._v("\n        We've sent you a "),i("span",{staticClass:"bold-light"},[t._v("6-digit")]),t._v(" code to "),i("span",{staticClass:"bold-light"},[t._v("+"+t._s(t.$t("COUNTRY_CODE"))+t._s(t.signupForm.phone))]),t._v(". Enter the code to verify your Mobile Number\n      ")]),t._v(" "),i("div",{class:["m-register-verify-wrap","inputWrap",{marB20:!t.errorTextCode}]},[i("RegisterVerify",{ref:"childVerify",attrs:{status:t.inputCodeStatus},on:{sentVerifyCode:t.sentVerifyCode,changeInputStatus:t.changeInputStatusCode}})],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.errorTextCode,expression:"errorTextCode"}],staticClass:"m-channelReg-error"},[t._v("\n        "+t._s(t.errorTextCode)+"\n      ")]),t._v(" "),i("div",{staticClass:"m-register-verify-countBox"},[i("span",{class:["verifyTipText",{countDisabled:t.countDown}],on:{click:t.judgeCodeStatus}},[t._v("\n          Send Code Again")]),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.countDown,expression:"countDown"}]},[t._v(t._s(t.countDown)+"s")])])]),t._v(" "),t.visibleVerifyOptions?i("RegisterOptions",{attrs:{phone:t.signupForm.phone},on:{send:t.handleSend}}):t._e()],1):t._e(),t._v(" "),4===t.loginStep?i("div",{staticClass:"reg-send"},[i("BtnBack",{on:{click:t.turnBackVerify}}),t._v(" "),i("Send",{attrs:{phone:t.signupForm.phone,"page-name":"Reg9"},on:{success:t.regSuccess}})],1):t._e(),t._v(" "),i("keep-alive",[6===t.loginStep?i("KycBefore",{staticClass:"kyc-before",attrs:{theme:"light","show-title":!1,phone:t.signupForm.phone,password:t.signupForm.password,"first-name":t.kycData.firstName,"last-name":t.kycData.lastName,"show-back-out":"","show-skip":!1},on:{back:function(){return t.$emit("changeStep",1)},complete:t.afterRegister}},[i("img",{staticClass:"img-back",attrs:{slot:"back",src:n(86703),alt:"back"},slot:"back"})]):t.kycConfig.collectKyc&&7===t.loginStep?i("KycAppend",{attrs:{theme:"light","show-title":!1,"show-title-out":!1,"show-back":"",closable:"","page-name":"Reg9"},on:{back:t.gotoPage,complete:t.gotoPage,skip:t.gotoPage}}):t._e()],1),t._v(" "),i("DialogCloudflareTurnstile")],1)},[],!1,null,null,null).exports,ro=n(22626),rs=n(20643),ra={name:"AuthorizedInfo",components:{VButton:tn},props:{buttonText:{type:String,default:"Go to Homepage"},waplink:{type:String,default:(0,w.z9)()},applink:{type:String,default:ro.Ct},theme:{type:String,default:""},topImg:{type:String,default:""},authorizedTextA:{type:String,default:"You have logged in with the registered phone number:"},authorizedTextB:{type:String,default:""},showSafePhone:{type:Boolean,default:!0}},setup:function(){var t=nz(),e=(0,t_.bP)(t);return{phone:e.phone,safePhone:e.safePhone}},computed:{formatNumber:function(){return this.showSafePhone?this.safePhone:this.phone}},mounted:function(){this.safePhone||this.phone||nz().getAccountInfoWrap()},methods:{handleClick:function(){this.waplink&&(0,rs.we)(this.waplink,this.applink),this.$emit("jump")}}},rc=(0,O.A)(ra,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"authorized",class:[this.theme]},[this.topImg?e("div",{staticClass:"authorized-top"},[e("img",{attrs:{src:this.topImg}})]):this._e(),this._v(" "),this.safePhone?e("p",{staticClass:"user-phone"},[this._v("\n    "+this._s(this.authorizedTextA)+" +"+this._s(this.$t("COUNTRY_CODE"))+this._s(this.formatNumber)+"\n    "),this.authorizedTextB?[e("br"),this._v(this._s(this.authorizedTextB)+"\n    ")]:this._e()],2):this._e(),this._v(" "),e("VButton",{staticClass:"authorized-btn",on:{click:this.handleClick}},[this._v("\n    "+this._s(this.buttonText)+"\n  ")])],1)},[],!1,null,"247791d2",null).exports,rl=(0,O.A)({methods:{handleClickLogo:function(){this.$emit("click")}}},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"partner-bvb"},[e("img",{attrs:{src:n(44626),alt:"MSport"},on:{click:this.handleClickLogo}})])},[],!1,null,"62c4201a",null).exports,ru=n(52288)("./".concat(w.Zg,"/config.js")),rd=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e9,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.4,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:180,r=e*n,o=(e-r)/(86400*i);return function(n){var i=o*n+(r-t*o);return i<=e?i:e}},rp=ru.MAX_PRIZE,rf=ru.RATIO,rh=ru.DAYS;!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.router,i=e.include,r=e.exclude,o=(0,f.A)(e,nS),s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#app";if(i&&!i.includes(w.Zg)||r&&r.includes(w.Zg))return new y.default({render:function(t){return t(nI)}}).$mount(s);var a=nB(nB({i18n:T},o),{},{pinia:nN,render:function(e){return e(t)},beforeCreate:function(){tR()},created:function(){tB().loginStatus&&nw(),"gh"===w.Zg&&(/kyc=noskip/.test(location.href)?sessionStorage.setItem("kyc","noskip"):/kyc=hide/.test(location.href)&&sessionStorage.setItem("kyc","hide"))}});n&&(a.router=n,window.m_router=n),new y.default(a).$mount(s)}((0,O.A)({components:{VDialogBox:ti,RegisterArea:rr,LayoutFooter:io,PartnerBvb:rl,Authorized:rc},setup:function(){return{loginStatus:(0,t_.bP)(tB()).loginStatus,kycConfig:nE().kycConfig,canOpenKyc:(0,t_.bP)(nK()).canOpenKyc}},data:function(){return{config:ru,loginStep:1,amount:0,fingerShow:!localStorage.getItem("register_lottery"),visible:!1,voice:!0,clickAble:!0,isUsed:localStorage.getItem("register_lottery")||!1}},watch:{amount:function(t,e){(0,nO.A)({targets:".amount",innerHTML:[e,t],easing:"linear",round:ru.round})}},mounted:function(){nx({pageName:"Reg9"});var t=document.getElementById("slotPointer");t&&t.appendChild(this.$refs.contentGo),this.roundStart(),this.isUsed&&(0,nO.A)({targets:"#lottery",rotate:{value:"".concat(ru.turns,"turn"),duration:0}})},methods:{goHome:function(){location.href=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.query,i=e.keys;return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.query,r=void 0===i?{}:i,o=n.keys,s=void 0===o?[]:o;if(!s||!s.length)return t;var a=tO()(t,!0);if(e){var c=tO()(e,!0).query;s.forEach(function(t){var e=c[t];e&&(a.query[t]=e)})}return r&&Object.assign(a.query,r),a.toString()}(t,location.href,{query:void 0===n?{}:n,keys:void 0===i?[]:i})}("/".concat(this.$region),{keys:["from"]})},roundStart:function(){var t=this,e=parseInt(window.currentTime),n=Date.now(),i=rd(ru.startTime,rp,rf,rh);this.timer=setInterval(function(){var r=i((e+(Date.now()-n))/1e3);t.amount=ru.getAmount?ru.getAmount(r):r,r===rp&&clearInterval(t.timer)},2e3)},changeStep:function(t){this.loginStep=t},handleVoice:function(){this.voice=!this.voice},triggerMusic:function(t){var e=this.$refs[t];this.voice&&e&&(e.currentTime=0,e.pause(),e.play().catch(function(t){console.error(t)}))},openDialog:function(){this.visible=!0,tb.afterOpen()},onCloseDialog:function(){tb.beforeClose(),this.visible=!1},handleClick:function(){var t=this;if(!this.clickAble)return!1;this.isUsed?this.openDialog():(this.clickAble=!1,this.triggerMusic("rotate"),this.isUsed=!0,localStorage.setItem("register_lottery",!0),this.fingerShow=!1,nO.A.remove("#lottery"),(0,nO.A)({targets:"#lottery",rotate:{value:"".concat(ru.turns,"turn"),easing:"easeInOutQuint",duration:4e3},complete:function(){t.clickAble=!0,t.triggerMusic("success"),t.openDialog()}})),window.mstrace("reg9_go","ChannelRegister"),n_({pageName:"Reg9",interactionName:"Reg9 Click Go"})}}},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"page-lottery"},[i("PartnerBvb",{staticClass:"bvb-logo",on:{click:t.goHome}}),t._v(" "),i("div",{ref:"contentGo",staticClass:"channel-register-lottery-go"},[t.fingerShow?i("img",{staticClass:"channel-register-lottery-finger",attrs:{src:n(76841),alt:""}}):t._e(),t._v(" "),i("span",{staticClass:"channel-register-lottery-btn",on:{click:t.handleClick}})]),t._v(" "),i("LayoutFooter",{attrs:{"has-website":!0,"has-platforms":!1}}),t._v(" "),i("VDialogBox",{attrs:{"show-close":!1,"close-on-click-modal":""},on:{close:t.onCloseDialog},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[!t.loginStatus||t.kycConfig.collectKyc||t.canOpenKyc?[i("img",{attrs:{src:t.config.dialogImg,alt:""}}),t._v(" "),i("RegisterArea",{attrs:{"login-step":t.loginStep},on:{changeStep:t.changeStep}})]:i("Authorized")],2),t._v(" "),i("div",{staticClass:"channel-register-lottery-voice",on:{click:t.handleVoice}},[i("InlineSvg",t.voice?{attrs:{icon:n(46531)}}:{attrs:{icon:n(48964)}})],1),t._v(" "),i("audio",{ref:"rotate"},[i("source",{attrs:{src:n(81501),type:"audio/mpeg"}})]),t._v(" "),i("audio",{ref:"success"},[i("source",{attrs:{src:n(8629),type:"audio/mpeg"}})])],1)},[],!1,null,"2c7f8448",null).exports,{exclude:["zm"]})},4913:function(t,e,n){t.exports={MAX_PRIZE:1e9,RATIO:.4,DAYS:180,round:1,turns:6+30/360,startTime:1611763200,dialogImg:n(90774),getAmount:function(t){return 10*Math.round(t/10)}}},69076:function(t,e,n){t.exports={MAX_PRIZE:1e10,RATIO:17926e-8,DAYS:180,round:1,turns:6+30/360,startTime:1628409600,dialogImg:n(49163),getAmount:function(t){return 10*Math.round(t/10)}}},11717:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var i={gamingLicenseLogo:n.p+"images/c6b162d0.png"}},11646:function(t,e,n){"use strict";n.r(e),e.default={}},5503:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var i={gamingLicenseLogo:n.p+"images/f96f3b93.png"}},18220:function(t,e,n){"use strict";n.r(e),e.default={}},48127:function(t,e,n){"use strict";n.d(e,{_:function(){return c}});var i=n(40694);n(94),n(95021),n(53819),n(11810);var r=n(59186),o=n(62392),s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split(".");return{major:e[0],minor:e[1],patch:e[2]}},a=function(){var t,e=r.A.get("appVersion")||(null===(t=window.msUserAgent)||void 0===t?void 0:t.appVersion);if(!e){var n=navigator.userAgent.match(/appVersion\/(\d+\.\d+\.\d+)/);e=n?n[1]:"1.0.0"}var i=s(e);return{version:e,major:i.major,minor:i.minor,patch:i.patch}},c=function(t){if(!(0,o.YB)())return!0;var e="1.0.0",n=e,r=e,c=e;"string"==typeof t?n=t:"object"===(0,i.A)(t)&&(n=t.android||e,r=t.ios||e,c=t.iosGame||e);var l=a()||e,u=n;if((0,o.VS)()?u=r:(0,o.pT)()&&(u=c),l.version===u)return!0;var d=s(u),p=function(t,e){return Number(t)>Number(e)};return l.major!==d.major?p(l.major,d.major):l.minor===d.minor?p(l.patch,d.patch):p(l.minor,d.minor)}},62392:function(t,e,n){"use strict";n.d(e,{VS:function(){return s},YB:function(){return o},pT:function(){return r},un:function(){return i}}),n(84734),n(95021),n(17456);var i=function(){return/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(navigator.userAgent)},r=function(){return window.msUserAgent?"msportGames"===window.msUserAgent.appName:-1!==window.navigator.userAgent.indexOf("msportGames/app")},o=function(){return!!window.msUserAgent||-1!==window.navigator.userAgent.indexOf("msport/app")||r()},s=function(){return window.msUserAgent?"ios"===window.msUserAgent.platform&&"msport"===window.msUserAgent.appName:o()&&/os\/iOS/i.test(window.navigator.userAgent)&&!r()}},6880:function(t,e,n){"use strict";n.d(e,{Ar:function(){return d},CM:function(){return p},Gx:function(){return c},Hz:function(){return m},O2:function(){return h},R_:function(){return f},_1:function(){return l},fZ:function(){return u}}),n(29305),n(32733),n(76204),n(24776),n(44962),n(77575),n(83810),n(78557),n(90076),n(95021),n(17456),n(73687),n(83994),n(53819),n(97456),n(82367),n(99102),n(11810);var i=n(59186);n(188),n(28259);var r=n(62392),o=n(48127),s=n(22626);function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t&&(window.WebViewJavascriptBridge?window.WebViewJavascriptBridge.callHandler(t,e,n):document.addEventListener("WebViewJavascriptBridgeReady",function(){window.WebViewJavascriptBridge.callHandler(t,e,n)},!1))}var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,r.YB)()){var n="action_jump_page";/^msport:/.test(t)?a(n,{param:t}):a(n,{param:"msport://web?url=".concat(t)})}else e&&(location.href=e)},l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return c(s.Ct+(t||""))},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.stopClose,i=void 0!==n&&n;if((0,r.YB)()){var o=function(){window.WebViewJavascriptBridge.registerHandler("webviewBeforeClose",function(e,n){t&&t(e),n&&n(i?"":"close")})};window.WebViewJavascriptBridge?o():document.addEventListener("WebViewJavascriptBridgeReady",function(){o()},!1)}},d=function(t){(0,r.YB)()?a("action_close_web_view"):t&&t()},p=function(){(0,r.YB)()&&a("action_close_web_view",{autoLaunch:/autoLaunch=1/i.test(location.search)?1:2})},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a("action_sync_kyc_info",t)},h=function(){if((0,r.YB)()){var t={refreshToken:encodeURIComponent(i.A.get("refreshToken")),accessToken:encodeURIComponent(i.A.get("accessToken")),userId:encodeURIComponent(i.A.get("userId"))};if((0,r.VS)()){var e=location.pathname.match(/(\S*)\/msport_world_cup/);t.isRefresh=e?0:1}a("action_login",t)}};function m(){(0,r.YB)()&&(0,o._)({ios:"1.0.5"})&&a("action_notice_webRegister")}},22626:function(t,e,n){"use strict";n.d(e,{Ct:function(){return i}});var i="msport://main?page=Msport"},20643:function(t,e,n){"use strict";n.d(e,{eM:function(){return a},we:function(){return s}}),n(95021),n(97456);var i=n(188),r=n(6880),o=n(62392);n(78374);var s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.YB)()&&e?(0,r.Gx)(e):location.href=t},a=function(){(0,o.YB)()?(0,r._1)():location.href=(0,i.z9)()+location.search}},40419:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});var i=[function(t,e){var i=e._c;return i("div",{staticClass:"payment-ways"},[i("img",{staticClass:"m-item lazyload",attrs:{"data-src":n(17362),alt:"MTN"}}),e._v(" "),i("img",{staticClass:"m-item lazyload",attrs:{"data-src":n(26703),alt:"vodafone"}}),e._v(" "),i("img",{staticClass:"m-item lazyload",attrs:{"data-src":n(79357),alt:"aireltigo"}})])}],r=(0,n(67658).A)({},function(t,e){return e._c,e._m(0)},i,!0,null,"246ff8a2",null).exports},1515:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});var i=[function(t,e){var i=e._c;return i("div",{staticClass:"payment-ways"},[i("img",{staticClass:"lazyload",attrs:{"data-src":n(22465),alt:"ALAT"}}),e._v(" "),i("img",{staticClass:"lazyload",attrs:{"data-src":n(34825),alt:"Sterling"}}),e._v(" "),i("img",{staticClass:"lazyload",attrs:{"data-src":n(15531),alt:"UBA"}}),e._v(" "),i("img",{staticClass:"lazyload",attrs:{"data-src":n(71293),alt:"FirstBank"}}),e._v(" "),i("img",{staticClass:"lazyload",attrs:{"data-src":n(82654),alt:"GTBank"}}),e._v(" "),i("img",{staticClass:"lazyload",attrs:{"data-src":n(79985),alt:"ZENITH"}})])}],r=(0,n(67658).A)({},function(t,e){return e._c,e._m(0)},i,!0,null,"0cca1976",null).exports},58079:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});var i=[function(t,e){var i=e._c;return i("div",{staticClass:"payment-ways"},[i("img",{staticClass:"lazyload",attrs:{"data-src":n(26233),alt:"MTN"}}),e._v(" "),i("img",{staticClass:"lazyload",attrs:{"data-src":n(15779),alt:"AIRTEL"}})])}],r=(0,n(67658).A)({},function(t,e){return e._c,e._m(0)},i,!0,null,"129ca6a4",null).exports},13371:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var i=(0,n(67658).A)({},function(){var t=this.$createElement;return(this._self._c||t)("div")},[],!1,null,null,null).exports},48428:function(t,e,n){"use strict";var i=n(77315),r=n(99828),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function d(t){return(t||"").toString().replace(o,"")}var p=[["#","hash"],["?","query"],function(t,e){return m(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function h(t){"undefined"!=typeof window?e=window:void 0!==n.g?e=n.g:"undefined"!=typeof self?e=self:e={};var e,i,r=e.location||{},o={},s=typeof(t=t||r);if("blob:"===t.protocol)o=new v(unescape(t.pathname),{});else if("string"===s)for(i in o=new v(t,{}),f)delete o[i];else if("object"===s){for(i in t)i in f||(o[i]=t[i]);void 0===o.slashes&&(o.slashes=a.test(t.href))}return o}function m(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function g(t,e){t=(t=d(t)).replace(s,""),e=e||{};var n,i=l.exec(t),r=i[1]?i[1].toLowerCase():"",o=!!i[2],a=!!i[3],c=0;return o?a?(n=i[2]+i[3]+i[4],c=i[2].length+i[3].length):(n=i[2]+i[4],c=i[2].length):a?(n=i[3]+i[4],c=i[3].length):n=i[4],"file:"===r?c>=2&&(n=n.slice(2)):m(r)?n=i[4]:r?o&&(n=n.slice(2)):c>=2&&m(e.protocol)&&(n=i[4]),{protocol:r,slashes:o||m(r),slashesCount:c,rest:n}}function v(t,e,n){if(t=(t=d(t)).replace(s,""),!(this instanceof v))return new v(t,e,n);var o,a,c,l,f,y,b=p.slice(),w=typeof e,k=0;for("object"!==w&&"string"!==w&&(n=e,e=null),n&&"function"!=typeof n&&(n=r.parse),o=!(a=g(t||"",e=h(e))).protocol&&!a.slashes,this.slashes=a.slashes||o&&e.slashes,this.protocol=a.protocol||e.protocol||"",t=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||u.test(t))||!a.slashes&&(a.protocol||a.slashesCount<2||!m(this.protocol)))&&(b[3]=[/(.*)/,"pathname"]);k<b.length;k++){if("function"==typeof(l=b[k])){t=l(t,this);continue}c=l[0],y=l[1],c!=c?this[y]=t:"string"==typeof c?~(f="@"===c?t.lastIndexOf(c):t.indexOf(c))&&("number"==typeof l[2]?(this[y]=t.slice(0,f),t=t.slice(f+l[2])):(this[y]=t.slice(f),t=t.slice(0,f))):(f=c.exec(t))&&(this[y]=f[1],t=t.slice(0,f.index)),this[y]=this[y]||o&&l[3]&&e[y]||"",l[4]&&(this[y]=this[y].toLowerCase())}n&&(this.query=n(this.query)),o&&e.slashes&&"/"!==this.pathname.charAt(0)&&(""!==this.pathname||""!==e.pathname)&&(this.pathname=function(t,e){if(""===t)return e;for(var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),i=n.length,r=n[i-1],o=!1,s=0;i--;)"."===n[i]?n.splice(i,1):".."===n[i]?(n.splice(i,1),s++):s&&(0===i&&(o=!0),n.splice(i,1),s--);return o&&n.unshift(""),("."===r||".."===r)&&n.push(""),n.join("/")}(this.pathname,e.pathname)),"/"!==this.pathname.charAt(0)&&m(this.protocol)&&(this.pathname="/"+this.pathname),i(this.port,this.protocol)||(this.host=this.hostname,this.port=""),this.username=this.password="",this.auth&&(~(f=this.auth.indexOf(":"))?(this.username=this.auth.slice(0,f),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=this.auth.slice(f+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(this.auth)),this.auth=this.password?this.username+":"+this.password:this.username),this.origin="file:"!==this.protocol&&m(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString()}v.prototype={set:function(t,e,n){switch(t){case"query":"string"==typeof e&&e.length&&(e=(n||r.parse)(e)),this[t]=e;break;case"port":this[t]=e,i(e,this.protocol)?e&&(this.host=this.hostname+":"+e):(this.host=this.hostname,this[t]="");break;case"hostname":this[t]=e,this.port&&(e+=":"+this.port),this.host=e;break;case"host":this[t]=e,c.test(e)?(e=e.split(":"),this.port=e.pop(),this.hostname=e.join(":")):(this.hostname=e,this.port="");break;case"protocol":this.protocol=e.toLowerCase(),this.slashes=!n;break;case"pathname":case"hash":if(e){var o="pathname"===t?"/":"#";this[t]=e.charAt(0)!==o?o+e:e}else this[t]=e;break;case"username":case"password":this[t]=encodeURIComponent(e);break;case"auth":var s=e.indexOf(":");~s?(this.username=e.slice(0,s),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=e.slice(s+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(e))}for(var a=0;a<p.length;a++){var l=p[a];l[4]&&(this[l[1]]=this[l[1]].toLowerCase())}return this.auth=this.password?this.username+":"+this.password:this.username,this.origin="file:"!==this.protocol&&m(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString(),this},toString:function(t){t&&"function"==typeof t||(t=r.stringify);var e,n=this.host,i=this.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var o=i+(this.protocol&&this.slashes||m(this.protocol)?"//":"");return this.username?(o+=this.username,this.password&&(o+=":"+this.password),o+="@"):this.password?o+=":"+this.password+"@":"file:"!==this.protocol&&m(this.protocol)&&!n&&"/"!==this.pathname&&(o+="@"),(":"===n[n.length-1]||c.test(this.hostname)&&!this.port)&&(n+=":"),o+=n+this.pathname,(e="object"==typeof this.query?t(this.query):this.query)&&(o+="?"!==e.charAt(0)?"?"+e:e),this.hash&&(o+=this.hash),o}},v.extractProtocol=g,v.location=h,v.trimLeft=d,v.qs=r,t.exports=v},97438:function(t,e,n){"use strict";n.d(e,{EW:function(){return o.EW},IG:function(){return o.IG},KR:function(){return o.KR},Kh:function(){return o.Kh},LE:function(){return s},QW:function(){return o.QW},R1:function(){return o.R1},Sg:function(){return a},WQ:function(){return o.WQ},dY:function(){return o.dY},g8:function(){return o.g8},hZ:function(){return o.hZ},i9:function(){return o.i9},jr:function(){return o.jr},lW:function(){return o.lW},nI:function(){return o.nI},nT:function(){return o.nT},o5:function(){return o.o5},sV:function(){return o.sV},uY:function(){return o.uY},ux:function(){return o.ux},wB:function(){return o.wB}});var i,r=n(27507),o=n(13879);(i=(i=r.default)||r.default)&&!i.__composition_api_installed__&&i.use(o.Ay);var s=!0,a=!1;r.default.version},67658:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c){if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}}return{exports:t,options:l}}n.d(e,{A:function(){return i}})},75204:function(t,e,n){var i={"./gh.json":64746,"./ng.json":96002,"./ug.json":48653,"./zm.json":42748};function r(t){return Promise.resolve().then(function(){if(!n.o(i,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}var r=i[t];return n.t(r,19)})}r.keys=function(){return Object.keys(i)},r.id=75204,t.exports=r},58449:function(t,e,n){var i={"./gh.json":64746,"./ng.json":96002,"./ug.json":48653,"./zm.json":42748};function r(t){return n(o(t))}function o(t){if(!n.o(i,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id=58449},5046:function(t,e,n){var i={"./gh.json":64746,"./ng.json":96002,"./ug.json":48653,"./zm.json":42748};function r(t){return n(o(t))}function o(t){if(!n.o(i,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id=5046},37653:function(t,e,n){var i={"./gh.png":2506,"./ng.png":92842,"./ug.png":25271,"./zm.png":13492};function r(t){return n(o(t))}function o(t){if(!n.o(i,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id=37653},300:function(t,e,n){var i;i=void 0!==n.g?n.g:this,e.loadCSS=function(t,e,n,r){var o,s=i.document,a=s.createElement("link");if(e)o=e;else{var c=(s.body||s.getElementsByTagName("head")[0]).childNodes;o=c[c.length-1]}var l=s.styleSheets;if(r)for(var u in r)r.hasOwnProperty(u)&&a.setAttribute(u,r[u]);a.rel="stylesheet",a.href=t,a.media="only x",function t(e){if(s.body)return e();setTimeout(function(){t(e)})}(function(){o.parentNode.insertBefore(a,e?o:o.nextSibling)});var d=function(t){for(var e=a.href,n=l.length;n--;)if(l[n].href===e)return t();setTimeout(function(){d(t)})};function p(){a.addEventListener&&a.removeEventListener("load",p),a.media=n||"all"}return a.addEventListener&&a.addEventListener("load",p),a.onloadcssdefined=d,d(p),a}},52288:function(t,e,n){var i={"./gh/config.js":16777,"./ng/config.js":4913,"./ug/config.js":69076};function r(t){return n(o(t))}function o(t){if(!n.o(i,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id=52288},48500:function(t,e,n){var i={"./gh/PaymentWays.vue":40419,"./ng/PaymentWays.vue":1515,"./ug/PaymentWays.vue":58079,"./zm/PaymentWays.vue":13371};function r(t){return n(o(t))}function o(t){if(!n.o(i,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id=48500},18233:function(t,e,n){var i={"./gh/config.js":11717,"./ng/config.js":11646,"./ug/config.js":5503,"./zm/config.js":18220};function r(t){return n(o(t))}function o(t){if(!n.o(i,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id=18233},75599:function(t,e,n){"use strict";t.exports=n.p+"images/8a6b9aa6.png"},87104:function(t,e,n){"use strict";t.exports=n.p+"images/65b016d1.svg"},35266:function(t,e,n){"use strict";t.exports=n.p+"images/852c7ad0.png"},11696:function(t,e,n){"use strict";t.exports=n.p+"images/8beee114.png"},57716:function(t,e,n){"use strict";t.exports=n.p+"images/4ad9f4b1.png"},7994:function(t,e,n){"use strict";t.exports=n.p+"images/af42e261.png"},595:function(t,e,n){"use strict";t.exports=n.p+"images/329e9e60.png"},66043:function(t,e,n){"use strict";t.exports=n.p+"images/e92a1d9f.png"},67656:function(t,e,n){"use strict";t.exports=n.p+"images/7f09f22c.png"},83259:function(t,e,n){"use strict";t.exports=n.p+"images/118d4690.png"},5298:function(t,e,n){"use strict";t.exports=n.p+"images/af5744dd.png"},74737:function(t,e,n){"use strict";t.exports=n.p+"images/9c115e5e.png"},2506:function(t,e,n){"use strict";t.exports=n.p+"images/7a08aa32.png"},92842:function(t,e,n){"use strict";t.exports=n.p+"images/8442967e.png"},25271:function(t,e,n){"use strict";t.exports=n.p+"images/c3abdfd8.png"},13492:function(t,e,n){"use strict";t.exports=n.p+"images/7d1e08b0.png"},88022:function(t,e,n){"use strict";t.exports=n.p+"images/68256dc0.svg"},28488:function(t,e,n){"use strict";t.exports=n.p+"images/24bc8a42.svg"},75720:function(t,e,n){"use strict";t.exports=n.p+"images/8ce8668c.svg"},67710:function(t,e,n){"use strict";t.exports=n.p+"images/051ab11d.png"},44626:function(t,e,n){"use strict";t.exports=n.p+"images/ace798ed.png"},22101:function(t,e,n){"use strict";t.exports=n.p+"images/fbc19d49.png"},63744:function(t,e,n){"use strict";t.exports=n.p+"images/96b57e07.png"},16062:function(t,e,n){"use strict";t.exports=n.p+"images/a7fe4424.png"},76841:function(t,e,n){"use strict";t.exports=n.p+"images/a03b5d77.png"},8629:function(t,e,n){"use strict";t.exports=n.p+"assets/d59c80b4.mp3"},81501:function(t,e,n){"use strict";t.exports=n.p+"assets/686a42c2.mp3"},90774:function(t,e,n){"use strict";t.exports=n.p+"images/2496b551.png"},49163:function(t,e,n){"use strict";t.exports=n.p+"images/1e7d932f.png"},86703:function(t,e,n){"use strict";t.exports=n.p+"images/79df43a1.svg"},17362:function(t,e,n){"use strict";t.exports=n.p+"images/6fcbc86b.png"},79357:function(t,e,n){"use strict";t.exports=n.p+"images/60401a2b.png"},26703:function(t,e,n){"use strict";t.exports=n.p+"images/a41c9161.png"},22465:function(t,e,n){"use strict";t.exports=n.p+"images/0e9056a0.png"},71293:function(t,e,n){"use strict";t.exports=n.p+"images/eaa3da26.png"},82654:function(t,e,n){"use strict";t.exports=n.p+"images/f4fe0edf.png"},34825:function(t,e,n){"use strict";t.exports=n.p+"images/2db6a8a4.png"},15531:function(t,e,n){"use strict";t.exports=n.p+"images/140ad71b.png"},79985:function(t,e,n){"use strict";t.exports=n.p+"images/cd15f803.png"},15779:function(t,e,n){"use strict";t.exports=n.p+"images/2d8bfeed.png"},26233:function(t,e,n){"use strict";t.exports=n.p+"images/964cdb41.png"},17844:function(t,e,n){"use strict";t.exports=n.p+"images/57051855.png"},72439:function(t,e,n){"use strict";t.exports=n.p+"images/64c4b113.png"},22959:function(t,e,n){"use strict";t.exports=n.p+"images/3b2d3d9d.png"},54733:function(t,e,n){"use strict";t.exports=n.p+"images/7f423500.png"},18639:function(t){"use strict";t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M716.8 454.4c0 19.2 12.8 32 32 32s32-12.8 32-32c0-108.8-89.6-204.8-204.8-204.8-12.8 6.4-25.6 19.2-25.6 38.4s12.8 32 32 32c76.8 0 134.4 64 134.4 134.4z"/><path d="M851.2 454.4c0 19.2 12.8 32 32 32s32-12.8 32-32c0-185.6-147.2-332.8-332.8-332.8-19.2 0-32 12.8-32 32s12.8 38.4 32 38.4c147.2 0 268.8 115.2 268.8 262.4zM960 729.6l-6.4-6.4-134.4-102.4c-38.4-32-96-32-134.4 6.4l-57.6 57.6c-64-38.4-115.2-76.8-160-128-44.8-44.8-83.2-96-121.6-160l51.2-64c38.4-38.4 38.4-89.6 6.4-134.4l-102.4-128c-32-38.4-96-44.8-140.8-12.8 0 6.4-6.4 6.4-6.4 6.4L64 153.6c-83.2 83.2 38.4 320 262.4 544 224 224 454.4 345.6 544 262.4l89.6-89.6c38.4-38.4 38.4-102.4 0-140.8zm-51.2 96l-96 96c-44.8 44.8-249.6-70.4-448-262.4-192-192-307.2-403.2-256-448l89.6-96c12.8-6.4 38.4-6.4 51.2 6.4L352 256c6.4 12.8 6.4 32 0 44.8l-76.8 70.4c-12.8 12.8-12.8 25.6-6.4 38.4C307.2 480 358.4 550.4 416 608s128 108.8 198.4 147.2c12.8 6.4 32 6.4 38.4-6.4l76.8-76.8c12.8-12.8 32-12.8 44.8 0l134.4 108.8c12.8 6.4 12.8 32 0 44.8z"/></svg>'},38577:function(t){"use strict";t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M825.6 249.6l-44.8-44.8c-6.4-6.4-12.8-6.4-19.2 0L524.8 441.6c-6.4 6.4-12.8 6.4-19.2 0L262.4 198.4c-6.4-6.4-12.8-6.4-19.2 0l-44.8 51.2c-6.4 6.4-6.4 12.8 0 19.2l236.8 236.8c6.4 6.4 6.4 12.8 0 19.2L198.4 761.6c-6.4 6.4-6.4 12.8 0 19.2l44.8 44.8c6.4 6.4 12.8 6.4 19.2 0l236.8-236.8c6.4-6.4 12.8-6.4 19.2 0l236.8 236.8c6.4 6.4 12.8 6.4 19.2 0l44.8-44.8c6.4-6.4 6.4-12.8 0-19.2L582.4 524.8c-6.4-6.4-6.4-12.8 0-19.2l236.8-236.8c6.4-6.4 6.4-19.2 6.4-19.2z"/></svg>'},16933:function(t){"use strict";t.exports='<svg viewBox="0 0 1365 1024" xmlns="http://www.w3.org/2000/svg"><path d="M1171.911 22.756H193.422c-91.022 0-164.978 73.955-164.978 164.977v654.223c0 91.022 73.956 164.977 164.978 164.977H1177.6c91.022 0 164.978-73.955 164.978-164.977V182.044c-5.69-85.333-79.645-159.288-170.667-159.288zm0 79.644c5.689 0 17.067 0 22.756 5.689L711.11 585.956c-17.067 17.066-45.511 17.066-56.889 0L164.978 108.089c5.689 0 17.066-5.689 22.755-5.689h984.178zm85.333 739.556c0 45.51-34.133 79.644-79.644 79.644H193.422c-45.51 0-79.644-34.133-79.644-79.644V182.044c-5.69 0 0-5.688 0-11.377l483.555 472.177c22.756 22.756 56.89 34.134 85.334 34.134 34.133 0 62.577-11.378 85.333-34.134l483.556-477.866c0 5.689 5.688 11.378 5.688 17.066v659.912z"/></svg>'},63911:function(t){"use strict";t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M134.4 147.2l128 128c-83.2 51.2-147.2 121.6-192 204.8L64 492.8l6.4 12.8c96 179.2 262.4 281.6 448 281.6 70.4 0 147.2-19.2 211.2-51.2l140.8 140.8 51.2-44.8-736-729.6-51.2 44.8zm275.2 275.2l192 192c-19.2 12.8-44.8 19.2-70.4 19.2-38.4 0-70.4-12.8-96-38.4-25.6-25.6-38.4-64-38.4-96-6.4-32 0-57.6 12.8-76.8zM371.2 384c-57.6 76.8-44.8 179.2 19.2 249.6s172.8 76.8 249.6 19.2l44.8 44.8c-51.2 25.6-108.8 32-166.4 32-160 0-300.8-89.6-390.4-236.8 44.8-76.8 102.4-134.4 172.8-179.2l70.4 70.4zm601.6 96l6.4 12.8-6.4 12.8c-38.4 64-83.2 121.6-140.8 172.8L793.6 640c51.2-38.4 89.6-89.6 121.6-147.2C825.6 339.2 684.8 256 524.8 256c-38.4-6.4-70.4 0-108.8 6.4l-44.8-44.8c51.2-12.8 102.4-25.6 153.6-25.6 185.6 0 352 108.8 448 288zm-262.4 83.2L665.6 512v-19.2c0-76.8-64-134.4-140.8-134.4h-19.2l-44.8-51.2c19.2-6.4 44.8-12.8 70.4-12.8 108.8 0 192 89.6 192 192 0 32 0 51.2-12.8 76.8z"/></svg>'},33094:function(t){"use strict";t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M529.92 295.68A195.84 195.84 0 10668.16 352a192 192 0 00-138.24-56.32zm0 333.44A138.24 138.24 0 11669.44 489.6a140.8 140.8 0 01-40.96 99.2 142.08 142.08 0 01-98.56 40.32zm441.6-152.96A515.2 515.2 0 00521.6 192a512 512 0 00-448 284.16L64 489.6l7.68 14.08a512 512 0 00448 284.16 512 512 0 00448-284.16l7.04-14.08zm-448 256A453.12 453.12 0 01128 489.6a452.48 452.48 0 01393.6-239.36A455.68 455.68 0 01913.92 489.6a455.68 455.68 0 01-392.32 240z"/></svg>'},29825:function(t){"use strict";t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M793.6 414.72H691.2V281.6c0-97.28-81.92-179.2-179.2-179.2s-179.2 81.92-179.2 179.2v174.08H230.4V281.6C230.4 128 358.4 0 512 0s281.6 128 281.6 281.6v133.12z"/><path d="M204.8 409.6h614.4c30.72 0 51.2 20.48 51.2 51.2v460.8c0 30.72-20.48 51.2-51.2 51.2H204.8c-30.72 0-51.2-20.48-51.2-51.2V460.8c0-30.72 20.48-51.2 51.2-51.2z"/></svg>'},48964:function(t){"use strict";t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M224.205 314.317L455.68 124.774a38.349 38.349 0 0150.534 4.25c4.199 8.397 8.448 12.595 8.448 21.043v703.386a37.837 37.837 0 01-37.939 37.939 32.256 32.256 0 01-21.043-8.448l-239.872-193.74H38.912a37.734 37.734 0 01-37.94-37.94V352.256a37.734 37.734 0 0137.94-37.94zM691.763 731.29a35.84 35.84 0 11-50.585-50.535 248.218 248.218 0 008.448-341.145 38.298 38.298 0 010-50.535 38.4 38.4 0 0150.534 0 312.73 312.73 0 01-8.397 442.215zM868.66 891.392a35.84 35.84 0 01-50.534-50.586 488.909 488.909 0 000-669.696 38.298 38.298 0 010-50.534 38.4 38.4 0 0150.534 0 557.21 557.21 0 010 770.816z"/><path d="M51.2 123.597L123.494 51.2 992.41 920.064l-72.397 72.397z"/></svg>'},66420:function(t){"use strict";t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M396.8 800c-19.2 0-32-6.4-44.8-19.2L108.8 537.6C96 524.8 89.6 512 89.6 492.8s6.4-32 19.2-44.8c25.6-25.6 64-25.6 89.6 0l243.2 243.2c12.8 12.8 19.2 32 19.2 44.8s-6.4 32-19.2 44.8S416 800 396.8 800z"/><path d="M409.6 812.8c-19.2 0-32-6.4-44.8-19.2s-19.2-25.6-19.2-44.8 6.4-32 19.2-44.8l486.4-486.4c25.6-25.6 64-25.6 89.6 0 12.8 12.8 19.2 32 19.2 44.8s-6.4 32-19.2 44.8L454.4 793.6c-12.8 12.8-25.6 19.2-44.8 19.2z"/></svg>'},46531:function(t){"use strict";t.exports='<svg viewBox="0 0 1028 1024" xmlns="http://www.w3.org/2000/svg"><path d="M224.205 314.317L455.68 124.774a38.349 38.349 0 0150.534 4.25c4.199 8.397 8.448 12.595 8.448 21.043v703.386a37.837 37.837 0 01-37.939 37.939 32.256 32.256 0 01-21.043-8.448l-239.872-193.74H38.912a37.734 37.734 0 01-37.94-37.94V352.256a37.734 37.734 0 0137.94-37.94zM691.763 731.29a35.84 35.84 0 11-50.585-50.535 248.218 248.218 0 008.448-341.145 38.298 38.298 0 010-50.535 38.4 38.4 0 0150.534 0 312.73 312.73 0 01-8.397 442.215zM868.66 891.392a35.84 35.84 0 01-50.534-50.586 488.909 488.909 0 000-669.696 38.298 38.298 0 010-50.534 38.4 38.4 0 0150.534 0 557.21 557.21 0 010 770.816z"/></svg>'},64746:function(t){"use strict";t.exports=JSON.parse('{"COUNTRY":"gh","COUNTRY_NAME":"Ghana","CURRENCY":"GHS","CURRENCY_UNIT":"₵","COUNTRY_CODE":"233","OPERID":"3","PRODUCT_CODE":"4000","ZENDESK_KEY":"d6b2b613-1cfa-4e79-9679-61b33fba8d5c","EMAIL_SUPPORT":"support.ghana@msport.com","EMAIL_MARKETING":"marketing.ghana@msport.com","EMAIL_OPERATIONS":"operations.ghana@msport.com","FACEBOOK_HOME":"https://www.facebook.com/msport.gh/","TWITTER_HOME":"https://mobile.twitter.com/MSportGhana","PAYBILL_NUMBER":"*711*800#","LICENSE":"MSport.com operations are organized under the laws of Ghana and approval of National Gaming Board, with license number: GCSB2417103L and casino license number: GCCA24R1642U.","LEGAL_AGE":"18","LEGAL_AGE_WARNING":"Players must be 18 or older to register or play at MSport. Please note that gambles may have negative effects if not made with temperance."}')},96002:function(t){"use strict";t.exports=JSON.parse('{"COUNTRY":"ng","COUNTRY_NAME":"Nigeria","CURRENCY":"NGN","CURRENCY_UNIT":"₦","COUNTRY_CODE":"234","OPERID":"2","PRODUCT_CODE":"3000","ZENDESK_KEY":"a49c926a-f400-4c8f-9c0b-2d5399f20a18","EMAIL_SUPPORT":"support.nigeria@msport.com","EMAIL_MARKETING":"marketing.nigeria@msport.com","EMAIL_OPERATIONS":"operations.nigeria@msport.com","FACEBOOK_HOME":"https://www.facebook.com/MSport.ng","TWITTER_HOME":"https://twitter.com/MSportOfficial","PAYBILL_NUMBER":"","LICENSE":"MSport Nigeria is licensed by National Lottery Regulatory Commission(NLRC) under License No. 0001024.","LEGAL_AGE":"18","LEGAL_AGE_WARNING":"Players must be 18 or older to register or play at MSport. Please note that gambles may have negative effects if not made with temperance."}')},48653:function(t){"use strict";t.exports=JSON.parse('{"COUNTRY":"ug","COUNTRY_NAME":"Uganda","CURRENCY":"UGX","CURRENCY_UNIT":"UGX","COUNTRY_CODE":"256","OPERID":"4","PRODUCT_CODE":"5000","ZENDESK_KEY":"b47a1bd4-5a43-4eeb-a9ca-8ab71cac2a59","EMAIL_SUPPORT":"support.uganda@msport.com","EMAIL_MARKETING":"marketing.uganda@msport.com","EMAIL_OPERATIONS":"operations.uganda@msport.com","FACEBOOK_HOME":"https://www.facebook.com/msport.uganda","TWITTER_HOME":"https://twitter.com/MSportUganda","PAYBILL_NUMBER":"","LICENSE":"MSport.com operations are organized under the laws of Uganda and regulated by the Lotteries and Gaming Regulatory Board, with license number: NLGRB-BM-90-753.","LEGAL_AGE":"25","LEGAL_AGE_WARNING":"Players must be above legal age to register or play at MSport. Please note that gambles may have negative effects if not made with temperance."}')},42748:function(t){"use strict";t.exports=JSON.parse('{"COUNTRY":"zm","COUNTRY_NAME":"Zambia","CURRENCY":"ZMW","CURRENCY_UNIT":"K","COUNTRY_CODE":"260","OPERID":"5","PRODUCT_CODE":"6000","ZENDESK_KEY":"bd03680c-131b-4245-871e-d0b1efd2e345","EMAIL_SUPPORT":"support.zambia@msport.com","EMAIL_MARKETING":"marketing.zambia@msport.com","EMAIL_OPERATIONS":"operations.zambia@msport.com","FACEBOOK_HOME":"https://www.facebook.com/msport.zambia","TWITTER_HOME":"https://twitter.com/MSportZambia","PAYBILL_NUMBER":"","LICENSE":"","LEGAL_AGE":"18","LEGAL_AGE_WARNING":"Players must be above legal age to register or play at MSport. Please note that gambles may have negative effects if not made with temperance."}')}},c={};function l(t){var e=c[t];if(void 0!==e)return e.exports;var n=c[t]={exports:{}};return a[t].call(n.exports,n,n.exports,l),n.exports}l.m=a,t=[],l.O=function(e,n,i,r){if(n){r=r||0;for(var o=t.length;o>0&&t[o-1][2]>r;o--)t[o]=t[o-1];t[o]=[n,i,r];return}for(var s=1/0,o=0;o<t.length;o++){for(var n=t[o][0],i=t[o][1],r=t[o][2],a=!0,c=0;c<n.length;c++)(!1&r||s>=r)&&Object.keys(l.O).every(function(t){return l.O[t](n[c])})?n.splice(c--,1):(a=!1,r<s&&(s=r));if(a){t.splice(o--,1);var u=i();void 0!==u&&(e=u)}}return e},l.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(e,{a:e}),e},n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},l.t=function(t,i){if(1&i&&(t=this(t)),8&i||"object"==typeof t&&t&&(4&i&&t.__esModule||16&i&&"function"==typeof t.then))return t;var r=Object.create(null);l.r(r);var o={};e=e||[null,n({}),n([]),n(n)];for(var s=2&i&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach(function(e){o[e]=function(){return t[e]}});return o.default=function(){return t},l.d(r,o),r},l.d=function(t,e){for(var n in e)l.o(e,n)&&!l.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},l.f={},l.e=function(t){return Promise.all(Object.keys(l.f).reduce(function(e,n){return l.f[n](t,e),e},[]))},l.u=function(t){return"js/notfound.26bf4397.js"},l.miniCssF=function(t){return"css/notfound.ca327115.css"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i={},l.l=function(t,e,n,r){if(i[t]){i[t].push(e);return}if(void 0!==n)for(var o,s,a=document.getElementsByTagName("script"),c=0;c<a.length;c++){var u=a[c];if(u.getAttribute("src")==t){o=u;break}}o||(s=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,l.nc&&o.setAttribute("nonce",l.nc),o.src=t),i[t]=[e];var d=function(e,n){o.onerror=o.onload=null,clearTimeout(p);var r=i[t];if(delete i[t],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(t){return t(n)}),e)return e(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),s&&document.head.appendChild(o)},l.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.j=4598,l.p="https://static.msport.com/ng/main/",function(){if("undefined"!=typeof document){var t=function(t,e,n,i,r){var o=document.createElement("link");return o.rel="stylesheet",o.type="text/css",l.nc&&(o.nonce=l.nc),o.onerror=o.onload=function(n){if(o.onerror=o.onload=null,"load"===n.type)i();else{var s=n&&n.type,a=n&&n.target&&n.target.href||e,c=Error("Loading CSS chunk "+t+" failed.\n("+s+": "+a+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=s,c.request=a,o.parentNode&&o.parentNode.removeChild(o),r(c)}},o.href=e,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o),o},e=function(t,e){for(var n=document.getElementsByTagName("link"),i=0;i<n.length;i++){var r=n[i],o=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(o===t||o===e))return r}for(var s=document.getElementsByTagName("style"),i=0;i<s.length;i++){var r=s[i],o=r.getAttribute("data-href");if(o===t||o===e)return r}},n={4598:0};l.f.miniCss=function(i,r){n[i]?r.push(n[i]):0!==n[i]&&({2178:1})[i]&&r.push(n[i]=new Promise(function(n,r){var o=l.miniCssF(i),s=l.p+o;if(e(o,s))return n();t(i,s,null,n,r)}).then(function(){n[i]=0},function(t){throw delete n[i],t}))}}}(),r={4598:0},l.f.j=function(t,e){var n=l.o(r,t)?r[t]:void 0;if(0!==n){if(n)e.push(n[2]);else{var i=new Promise(function(e,i){n=r[t]=[e,i]});e.push(n[2]=i);var o=l.p+l.u(t),s=Error();l.l(o,function(e){if(l.o(r,t)&&(0!==(n=r[t])&&(r[t]=void 0),n)){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}},"chunk-"+t,t)}}},l.O.j=function(t){return 0===r[t]},o=function(t,e){var n,i,o=e[0],s=e[1],a=e[2],c=0;if(o.some(function(t){return 0!==r[t]})){for(n in s)l.o(s,n)&&(l.m[n]=s[n]);if(a)var u=a(l)}for(t&&t(e);c<o.length;c++)i=o[c],l.o(r,i)&&r[i]&&r[i][0](),r[i]=0;return l.O(u)},(s=self.webpackChunk=self.webpackChunk||[]).forEach(o.bind(null,0)),s.push=o.bind(null,s.push.bind(s));var u=l.O(void 0,[814,2487,4416,2111,9103,3133,1193,3198,8156,8126,1989],function(){return l(7144)});l.O(u)}();